Dealga McArdle
Dealga McArdle
@MonZop you are correct ``` core_createModels() 0 Import Failed: ('Unable to generate 3D model from PDB File', KeyError('bpy_prop_collection[key]: key "SE" not found',)) ```
I'm not ready to ditch the existing code yet, it may be possible to significantly speed up the set-up of the rigidbody simulation by first carefully constructing the (a)cyclic dependency...
there's an import error, in 2.73, ``` Blender Game Engine Started Python module can't be imported - object 'Empty', controller 'Python Script': ImportError: No module named 'BioBlender2' Blender Game Engine...
in 2.73 using the branch (2.73_Comp_Explore) To my surprise the Game engine does run, but doesn't record anything (no cache) probably because of the failed import. I'll investigate.
 i'll add some update prints so it shows when a keyframe is added, else it is impossible to tell if it's actually performing useful work
OK i see, those keyframes are inserted upon .pdb import if there are several conformations present in the file.
I've noticed this. this worked in 0.6 ? It will be the first thing I look at tomorrow (cross differential between older and newer version of addon)
The dropdown options comes from this line ``` split.prop(bpy.context.scene.objects[str(m)].game, "physics_type") ``` the options are generic to the physics type, from what I can tell: http://www.blender.org/api/blender_python_api_2_73_5/bpy.types.GameObjectSettings.html?highlight=physics_type#bpy.types.GameObjectSettings.physics_type (produces the same list) Perhaps...
This however does not seem to be the reason for the GE to fail to do anything, it is an `import` issue as mentioned here: https://github.com/MonZop/BioBlender/issues/2#issuecomment-72259622
could you add a few simple molecules for the purpose of testing the GE , bones / joints ?