diff options
author | meta-androcto <meta.androcto1@gmail.com> | 2017-04-13 10:11:34 +0300 |
---|---|---|
committer | meta-androcto <meta.androcto1@gmail.com> | 2017-04-13 10:11:34 +0300 |
commit | cf9a8fe381ef820b7035471f1b59f3b901c8e51e (patch) | |
tree | ac427122761180587b51105ef9842d9b1170e15e | |
parent | 03c455fb409b864f424876d24c641e101d6b4409 (diff) |
add mesh extra objects: add triangle mesh T36524
-rw-r--r-- | add_mesh_extra_objects/__init__.py | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/add_mesh_extra_objects/__init__.py b/add_mesh_extra_objects/__init__.py index b3eb833d..2b426920 100644 --- a/add_mesh_extra_objects/__init__.py +++ b/add_mesh_extra_objects/__init__.py @@ -29,10 +29,18 @@ bl_info = { "location": "View3D > Add > Mesh", "description": "Add extra mesh object types", "warning": "", - "wiki_url": "https://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Add_Mesh/Add_Extra", + "wiki_url": "http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Add_Mesh/Add_Extra", "category": "Add Mesh", } +from .geodesic_domes import __init__ +from .geodesic_domes import add_shape_geodesic +from .geodesic_domes import forms_271 +from .geodesic_domes import geodesic_classes_271 +from .geodesic_domes import third_domes_panel_271 +from .geodesic_domes import vefm_271 + + if "bpy" in locals(): import importlib importlib.reload(add_mesh_star) @@ -56,11 +64,7 @@ if "bpy" in locals(): importlib.reload(add_mesh_beam_builder) importlib.reload(Wallfactory) importlib.reload(Blocks) - importlib.reload(add_shape_geodesic) - importlib.reload(forms_271) - importlib.reload(geodesic_classes_271) - importlib.reload(third_domes_panel_271) - importlib.reload(vefm_271) + importlib.reload(add_mesh_triangles) else: from . import add_mesh_star from . import add_mesh_twisted_torus @@ -83,12 +87,7 @@ else: from . import add_mesh_beam_builder from . import Wallfactory from . import Blocks - - from .geodesic_domes import add_shape_geodesic - from .geodesic_domes import forms_271 - from .geodesic_domes import geodesic_classes_271 - from .geodesic_domes import third_domes_panel_271 - from .geodesic_domes import vefm_271 + from . import add_mesh_triangles import bpy from bpy.types import Menu @@ -162,7 +161,7 @@ class INFO_MT_mesh_math_add(Menu): layout.operator("mesh.primitive_xyz_function_surface", text="XYZ Math Surface") self.layout.operator("mesh.primitive_solid_add", text="Regular Solid") - + self.layout.operator("mesh.make_triangle", icon = "MESH_DATA") class INFO_MT_mesh_mech(Menu): # Define the "Math Function" menu |