Skip to content
Snippets Groups Projects
__init__.py 1 KiB
Newer Older
  • Learn to ignore specific revisions
  • bl_info = {
        "name": "Oscurart Chain and Rope Maker",
        "author": "Oscurart",
    
        "blender": (2, 63, 0),
    
        "location": "Add > Mesh",
    
        "description": "Create chains and ropes along armatures/curves",
    
        "warning": "",
    
        "wiki_url": "http://wiki.blender.org/index.php/Extensions:2.6/Py/"
    
            "Scripts/Add_Mesh/Oscurart_Chain_Rope_Maker",
    
        "tracker_url": "https://developer.blender.org/T28136",
    
        "category": "Object"}
    
    
    import bpy
    
    from .oscurart_chain_maker import *
    
    def register():
        bpy.utils.register_class(OBJECT_OT_add_object)
        bpy.types.INFO_MT_curve_add.append(oscRopeButton)
        bpy.utils.register_module(__name__)
        bpy.types.INFO_MT_mesh_add.append(menu_oscChain)
    
    def unregister():
        bpy.utils.unregister_class(OBJECT_OT_add_object)
        bpy.types.INFO_MT_curve_add.remove(oscRopeButton)
        bpy.utils.unregister_module(__name__)
    
        bpy.types.INFO_MT_mesh_add.remove(menu_oscChain)
    
    
    if __name__ == "__main__":
        register()