def Callback_radius_type(self, context):
     scn = bpy.context.scene.atom_blend
     choose_objects("ATOM_RADIUS_TYPE",
                    scn.action_type,
                    None,
                    None,
                    scn.radius_type,
                    scn.radius_type_ionic,
                    None)
 def execute(self, context):
     scn = bpy.context.scene.atom_blend
     choose_objects("STICKS_RADIUS_ALL",
                    scn.action_type,
                    None,
                    None,
                    None,
                    None,
                    1.0/scn.sticks_all)
     return {'FINISHED'}
 def execute(self, context):
     scn = bpy.context.scene.atom_blend
     choose_objects("ATOM_RADIUS_ALL",
                    scn.action_type,
                    1.0/scn.radius_all,
                    None,
                    None,
                    None,
                    None)
     return {'FINISHED'}
 def execute(self, context):
     scn = bpy.context.scene.atom_blend
     choose_objects("ATOM_REPLACE_OBJ",
                    scn.action_type,
                    None,
                    None,
                    None,
                    None,
                    None)
     return {'FINISHED'}
 def Callback_radius_pm(self, context):
     scn = bpy.context.scene.atom_blend
     choose_objects("ATOM_RADIUS_PM",
                    scn.action_type,
                    None,
                    [scn.radius_pm_name,
                    scn.radius_pm],
                    None,
                    None,
                    None)
Esempio n. 6
0
 def execute(self, context):
     scn = bpy.context.scene.atom_blend
     choose_objects("ATOM_DEFAULT_OBJ", None, None, None, None, None)
     return {'FINISHED'}