def execute(self, context): dm = context.scene.mv.dm grp = fd_utils.create_group('PART',(24,18,.75)) dm.add_group_to_scene(grp) grp.mv.build_cage() obj_bp = grp.mv.get_bp() obj_bp.select = True context.scene.objects.active = obj_bp return {'FINISHED'}
def execute(self, context): dm = context.scene.mv.dm grp = fd_utils.create_group('PART', (24, 18, .75)) dm.add_group_to_scene(grp) grp.mv.build_cage() obj_bp = grp.mv.get_bp() obj_bp.select = True context.scene.objects.active = obj_bp return {'FINISHED'}
def execute(self, context): wm = context.window_manager dm = context.scene.mv.dm grp = fd_utils.create_group('INSERT',(18,-23,34)) dm.add_group_to_scene(grp) grp.mv.build_cage() obj_bp = grp.mv.get_bp() obj_bp.select = True context.scene.objects.active = obj_bp return {'FINISHED'}
def execute(self, context): wm = context.window_manager dm = context.scene.mv.dm grp = fd_utils.create_group('INSERT', (18, -23, 34)) dm.add_group_to_scene(grp) grp.mv.build_cage() obj_bp = grp.mv.get_bp() obj_bp.select = True context.scene.objects.active = obj_bp return {'FINISHED'}