[Bf-extensions-cvs] [da9a50a4] blender-v3.1-release: Tissue: Update to 3.52

Aaron Carlisle noreply at git.blender.org
Tue Mar 1 16:59:31 CET 2022


Commit: da9a50a46ed3e293146428a87a275a947a54b9fe
Author: Aaron Carlisle
Date:   Tue Mar 1 10:59:09 2022 -0500
Branches: blender-v3.1-release
https://developer.blender.org/rBAda9a50a46ed3e293146428a87a275a947a54b9fe

Tissue: Update to 3.52

>From https://github.com/alessandro-zomparelli/tissue/releases/tag/v0-3-52
with https://github.com/alessandro-zomparelli/tissue/pull/131 applied.

Fixes T80702
Fixes T73136

===================================================================

A	mesh_tissue/README.md
M	mesh_tissue/__init__.py
D	mesh_tissue/colors_groups_exchanger.py
A	mesh_tissue/config.py
A	mesh_tissue/curves_tools.py
M	mesh_tissue/dual_mesh.py
M	mesh_tissue/lattice.py
A	mesh_tissue/material_tools.py
M	mesh_tissue/numba_functions.py
A	mesh_tissue/polyhedra.py
M	mesh_tissue/tessellate_numpy.py
A	mesh_tissue/tissue_properties.py
M	mesh_tissue/utils.py
A	mesh_tissue/utils_pip.py
M	mesh_tissue/uv_to_mesh.py
A	mesh_tissue/weight_tools.py

===================================================================

diff --git a/mesh_tissue/README.md b/mesh_tissue/README.md
new file mode 100644
index 00000000..dfdc6fec
--- /dev/null
+++ b/mesh_tissue/README.md
@@ -0,0 +1,47 @@
+# Tissue
+![cover](http://www.co-de-it.com/wordpress/wp-content/uploads/2015/07/tissue_graphics.jpg)
+Tissue - Blender's add-on for computational design by Co-de-iT
+http://www.co-de-it.com/wordpress/code/blender-tissue
+
+Tissue is already shipped with both Blender. However I recommend to update the default version downloading manually the most recent one, for more updated features and more stability.
+
+### Blender 2.93
+
+Tissue v0.3.52 for Blender 2.93 (latest stable release): https://github.com/alessandro-zomparelli/tissue/releases/tag/v0-3-52
+
+Development branch (usually the most updated version): https://github.com/alessandro-zomparelli/tissue/tree/b290-dev
+
+### Blender 2.79 (unsupported)
+
+Tissue v0.3.4 for Blender 2.79b (latest stable release): https://github.com/alessandro-zomparelli/tissue/releases/tag/v0-3-4
+
+Development branch (most updated version): https://github.com/alessandro-zomparelli/tissue/tree/dev1
+
+
+### Installation:
+
+1. Start Blender. Go to "Edit" and then "Preferences"
+2. Open the "Add-ons" preferences
+3. Click "install..." and point Blender at the downloaded zip file (on OSX it may have extracted the zip automatically, that won't work, so you have to zip the extracted folder again)
+4. You may see now two different versions of Tissue, activate only the second one and ignore the first one
+
+### Documentation
+
+Tissue documentation for Blender 2.80: https://github.com/alessandro-zomparelli/tissue/wiki
+
+
+### Issues
+Please help me keeping Tissue stable and updated, report any issues or feedback here: https://github.com/alessandro-zomparelli/tissue/issues
+
+### Contribute
+Tissue is free and open-source. I really think that this is the power of Blender and I wanted to give my small contribution to it.
+
+If you like my work and you want to help me, please consider to support me on **Patreon**, where I share some tips about Blender, Tissue and scripting: https://www.patreon.com/alessandrozomparelli
+
+[![Patreon](http://alessandrozomparelli.com/wp-content/uploads/2020/04/patreon-transparent-vector-small.png)](https://www.patreon.com/alessandrozomparelli)
+
+A special thanks to all my patrons, in particular to my **Tissue Supporters**: *TomaLaboratory*, *Scott Shorter*, *Garrett Post*, *Kairomon*, *Art Evans*, *Justin Davis*, *John Wise*, *Avi Bryant*, *Ahmed Saber*, *SlimeSound Production*, *Steffen Meier*.
+
+Many thanks,
+
+Alessandro
diff --git a/mesh_tissue/__init__.py b/mesh_tissue/__init__.py
index 762d425a..cfbfacf1 100644
--- a/mesh_tissue/__init__.py
+++ b/mesh_tissue/__init__.py
@@ -33,9 +33,9 @@
 bl_info = {
     "name": "Tissue",
     "author": "Alessandro Zomparelli (Co-de-iT)",
-    "version": (0, 3, 25),
-    "blender": (2, 80, 0),
-    "location": "Sidebar > Edit Tab",
+    "version": (0, 3, 52),
+    "blender": (2, 93, 0),
+    "location": "",
     "description": "Tools for Computational Design",
     "warning": "",
     "doc_url": "{BLENDER_MANUAL_URL}/addons/mesh/tissue.html",
@@ -47,59 +47,107 @@ bl_info = {
 if "bpy" in locals():
     import importlib
     importlib.reload(tessellate_numpy)
-    importlib.reload(colors_groups_exchanger)
+    importlib.reload(tissue_properties)
+    importlib.reload(weight_tools)
     importlib.reload(dual_mesh)
     importlib.reload(lattice)
     importlib.reload(uv_to_mesh)
     importlib.reload(utils)
+    importlib.reload(config)
+    importlib.reload(material_tools)
+    importlib.reload(curves_tools)
+    importlib.reload(polyhedra)
 
 else:
     from . import tessellate_numpy
-    from . import colors_groups_exchanger
+    from . import tissue_properties
+    from . import weight_tools
     from . import dual_mesh
     from . import lattice
     from . import uv_to_mesh
     from . import utils
+    from . import config
+    from . import material_tools
+    from . import curves_tools
+    from . import polyhedra
 
 import bpy
 from bpy.props import PointerProperty, CollectionProperty, BoolProperty
 
+
 classes = (
-    tessellate_numpy.tissue_tessellate_prop,
-    tessellate_numpy.tessellate,
-    tessellate_numpy.update_tessellate,
+    config.tissuePreferences,
+    config.tissue_install_numba,
+
+    tissue_properties.tissue_prop,
+    tissue_properties.tissue_tessellate_prop,
+    tessellate_numpy.tissue_tessellate,
+    tessellate_numpy.tissue_update_tessellate,
+    tessellate_numpy.tissue_update_tessellate_deps,
     tessellate_numpy.TISSUE_PT_tessellate,
-    tessellate_numpy.rotate_face,
+    tessellate_numpy.tissue_rotate_face_left,
+    tessellate_numpy.tissue_rotate_face_right,
+    tessellate_numpy.tissue_rotate_face_flip,
     tessellate_numpy.TISSUE_PT_tessellate_object,
-
-    colors_groups_exchanger.face_area_to_vertex_groups,
-    colors_groups_exchanger.vertex_colors_to_vertex_groups,
-    colors_groups_exchanger.vertex_group_to_vertex_colors,
-    colors_groups_exchanger.TISSUE_PT_weight,
-    colors_groups_exchanger.TISSUE_PT_color,
-    colors_groups_exchanger.weight_contour_curves,
-    colors_groups_exchanger.weight_contour_mask,
-    colors_groups_exchanger.weight_contour_displace,
-    colors_groups_exchanger.harmonic_weight,
-    colors_groups_exchanger.edges_deformation,
-    colors_groups_exchanger.edges_bending,
-    colors_groups_exchanger.weight_laplacian,
-    colors_groups_exchanger.reaction_diffusion,
-    colors_groups_exchanger.start_reaction_diffusion,
-    colors_groups_exchanger.TISSUE_PT_reaction_diffusion,
-    colors_groups_exchanger.reset_reaction_diffusion_weight,
-    colors_groups_exchanger.formula_prop,
-    colors_groups_exchanger.reaction_diffusion_prop,
-    colors_groups_exchanger.weight_formula,
-    colors_groups_exchanger.curvature_to_vertex_groups,
-    colors_groups_exchanger.weight_formula_wiki,
+    tessellate_numpy.TISSUE_PT_tessellate_frame,
+    tessellate_numpy.TISSUE_PT_tessellate_component,
+    tessellate_numpy.TISSUE_PT_tessellate_thickness,
+    tessellate_numpy.TISSUE_PT_tessellate_direction,
+    tessellate_numpy.TISSUE_PT_tessellate_options,
+    tessellate_numpy.TISSUE_PT_tessellate_coordinates,
+    tessellate_numpy.TISSUE_PT_tessellate_rotation,
+    tessellate_numpy.TISSUE_PT_tessellate_selective,
+    tessellate_numpy.TISSUE_PT_tessellate_morphing,
+    tessellate_numpy.TISSUE_PT_tessellate_iterations,
+    tessellate_numpy.tissue_render_animation,
+
+    weight_tools.face_area_to_vertex_groups,
+    weight_tools.vertex_colors_to_vertex_groups,
+    weight_tools.vertex_group_to_vertex_colors,
+    weight_tools.vertex_group_to_uv,
+    weight_tools.TISSUE_PT_weight,
+    weight_tools.TISSUE_PT_color,
+    weight_tools.weight_contour_curves,
+    weight_tools.tissue_weight_contour_curves_pattern,
+    weight_tools.weight_contour_mask,
+    weight_tools.weight_contour_displace,
+    weight_tools.harmonic_weight,
+    weight_tools.edges_deformation,
+    weight_tools.edges_bending,
+    weight_tools.weight_laplacian,
+    weight_tools.reaction_diffusion,
+    weight_tools.start_reaction_diffusion,
+    weight_tools.TISSUE_PT_reaction_diffusion,
+    weight_tools.TISSUE_PT_reaction_diffusion_weight,
+    weight_tools.reset_reaction_diffusion_weight,
+    weight_tools.formula_prop,
+    weight_tools.reaction_diffusion_prop,
+    weight_tools.weight_formula,
+    weight_tools.update_weight_formula,
+    weight_tools.curvature_to_vertex_groups,
+    weight_tools.weight_formula_wiki,
+    weight_tools.tissue_weight_distance,
+    weight_tools.random_weight,
+    weight_tools.bake_reaction_diffusion,
+    weight_tools.reaction_diffusion_free_data,
+    weight_tools.tissue_weight_streamlines,
 
     dual_mesh.dual_mesh,
     dual_mesh.dual_mesh_tessellated,
 
     lattice.lattice_along_surface,
 
-    uv_to_mesh.uv_to_mesh
+    material_tools.random_materials,
+    material_tools.weight_to_materials,
+
+    curves_tools.tissue_to_curve_prop,
+    curves_tools.tissue_convert_to_curve,
+    curves_tools.tissue_convert_to_curve_update,
+    curves_tools.TISSUE_PT_convert_to_curve,
+
+    uv_to_mesh.uv_to_mesh,
+
+    polyhedra.polyhedra_wireframe
 )
 
 def register():
@@ -107,28 +155,29 @@ def register():
     for cls in classes:
         bpy.utils.register_class(cls)
     #bpy.utils.register_module(__name__)
+    bpy.types.Object.tissue = PointerProperty(
+                                    type=tissue_properties.tissue_prop
+                                    )
     bpy.types.Object.tissue_tessellate = PointerProperty(
-                                            type=tessellate_numpy.tissue_tessellate_prop
+                                            type=tissue_properties.tissue_tessellate_prop
+                                            )
+    bpy.types.Object.tissue_to_curve = PointerProperty(
+                                            type=curves_tools.tissue_to_curve_prop
                                             )
     bpy.types.Object.formula_settings = CollectionProperty(
-                                            type=colors_groups_exchanger.formula_prop
+                                            type=weight_tools.formula_prop
                                             )
     bpy.types.Object.reaction_diffusion_settings = PointerProperty(
-                        type=colors_groups_exchanger.reaction_diffusion_prop
+                        type=weight_tools.reaction_diffusion_prop
                         )
-    # colors_groups_exchanger
-    bpy.app.handlers.frame_change_post.append(colors_groups_exchanger.reaction_diffusion_def)
+    # weight_tools
+    bpy.app.handlers.frame_change_post.append(weight_tools.reaction_diffusion_def)
     #bpy.app.handlers.frame_change_post.append(tessellate_numpy.anim_tessellate)
 
 def unregister():
     from bpy.utils import unregister_class
     for cls in classes:
         bpy.utils.unregister_class(cls)
-    #tessellate_numpy.unregister()
-    #colors_groups_exchanger.unregister()
-    #dual_mesh.unregister()
-    #lattice.unregister()
-    #uv_to_mesh.unregister()
 
     del bpy.types.Object.tissue_tessellate
 
diff --git a/mesh_tissue/colors_groups_exchan

@@ Diff output truncated at 10240 characters. @@



More information about the Bf-extensions-cvs mailing list