Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormeta-androcto <meta.androcto1@gmail.com>2017-05-22 03:01:22 +0300
committermeta-androcto <meta.androcto1@gmail.com>2017-05-22 03:01:22 +0300
commitcfc5f457766db91e26fd00c9317ee1261d688181 (patch)
tree7010da1902ef8ac4b0405910bbc05965241c66ed /mesh_tissue/__init__.py
parent05fa3eed2b86275098573fe166db083d1c68db0c (diff)
initial commit mesh tissue tesselation: T51508 by @Alessandro Zomparelli (alessandrozompa)
Diffstat (limited to 'mesh_tissue/__init__.py')
-rw-r--r--mesh_tissue/__init__.py77
1 files changed, 77 insertions, 0 deletions
diff --git a/mesh_tissue/__init__.py b/mesh_tissue/__init__.py
new file mode 100644
index 00000000..1c0945ed
--- /dev/null
+++ b/mesh_tissue/__init__.py
@@ -0,0 +1,77 @@
+# ##### BEGIN GPL LICENSE BLOCK #####
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# ##### END GPL LICENSE BLOCK #####
+
+# --------------------------------- TISSUE ------------------------------------#
+#-------------------------------- version 0.29 --------------------------------#
+# #
+# Creates duplicates of selected mesh to active morphing the shape according #
+# to target faces. #
+# #
+# Alessandro Zomparelli #
+# (2017) #
+# #
+# http://www.co-de-it.com/ #
+# http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Mesh/Tissue #
+# #
+################################################################################
+
+
+if "bpy" in locals():
+ import importlib
+ importlib.reload(tessellate_numpy)
+ importlib.reload(colors_groups_exchanger)
+ importlib.reload(dual_mesh)
+
+else:
+ from . import tessellate_numpy
+ from . import colors_groups_exchanger
+ from . import dual_mesh
+
+import bpy
+from mathutils import Vector
+#bpy.types.Object.vertexgroup = bpy.props.StringProperty()
+#bpy.types.Panel.vertexgroup = bpy.props.StringProperty()
+
+bl_info = {
+ "name": "Tissue",
+ "author": "Alessandro Zomparelli (Co-de-iT)",
+ "version": (0, 2, 9),
+ "blender": (2, 7, 8),
+ "location": "",
+ "description": "Tools for Computational Design",
+ "warning": "",
+ "wiki_url": ("http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/M"
+ "esh/Tissue"),
+ "tracker_url": "https://plus.google.com/u/0/+AlessandroZomparelli/",
+ "category": "Mesh"}
+
+
+def register():
+ bpy.utils.register_module(__name__)
+ bpy.types.Object.tissue_tessellate = bpy.props.PointerProperty(
+ type=tessellate_numpy.tissue_tessellate_prop)
+
+
+def unregister():
+ tessellate_numpy.unregister()
+ colors_groups_exchanger.unregister()
+ dual_mesh.unregister()
+
+
+if __name__ == "__main__":
+ register()