Code Monkey home page Code Monkey logo

tissue's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tissue's Issues

Can't install tissue add-on on ubuntu

Click to install, either version 0.3.25 (came with Blender) or 0.3.31 (downloaded zip) and getting a 'failed to import multiarray from numpy.core' message.

I've attached the system info generated by blender and distro stuff below:

:~$ cat /etc/os-release
NAME="GalliumOS"
VERSION="3.0 (Bismuth)"
ID=galliumos
ID_LIKE="ubuntu debian"
PRETTY_NAME="GalliumOS 3.0"
VERSION_ID="3.0"
HOME_URL="https://galliumos.org/"
SUPPORT_URL="https://galliumos.org/"
BUG_REPORT_URL="https://https://github.com/GalliumOS/galliumos-distro/issues"
VERSION_CODENAME=bismuth
UBUNTU_CODENAME=bionic


Blender 2.82 (sub 1) System Information

Blender:

version: 2.82 (sub 1), branch: Unknown, commit date: Unknown Unknown, hash: Unknown, type: Unknown
build date: Unknown, Unknown
platform: Unknown
binary path: '/usr/lib/blender/blender'
build cflags: Unknown
build cxxflags: Unknown
build linkflags: Unknown
build system: Unknown

Python:

version: 3.7.3 (default, Apr 3 2019, 19:16:38)
[GCC 8.0.1 20180414 (experimental) [trunk revision 259383]]
paths:
'/usr/share/blender/2.82/scripts/startup'
'/usr/share/blender/2.82/scripts/modules'
'/usr/lib/python37.zip'
'/usr/lib/python3.7'
'/usr/lib/python3.7/lib-dynload'
'/usr/lib/python3/dist-packages'
'/usr/share/blender/2.82/scripts/freestyle/modules'
'/usr/share/blender/2.82/scripts/addons/modules'
'/home/kester/.config/blender/2.82/scripts/addons/modules'
'/usr/share/blender/2.82/scripts/addons'
'/usr/share/blender/2.82/scripts/addons_contrib'

Python (External Binary):

binary path: '/usr/bin/python'
version:

Directories:

scripts:
'/usr/share/blender/2.82/scripts/modules'
'/usr/share/blender/2.82/scripts'
'/home/kester/.config/blender/2.82/scripts'
user scripts: '/home/kester/.config/blender/2.82/scripts'
pref scripts: None
datafiles: '/home/kester/.config/blender/2.82/datafiles/'
config: '/home/kester/.config/blender/2.82/config/'
scripts : '/home/kester/.config/blender/2.82/scripts/'
autosave: '/home/kester/.config/blender/2.82/autosave/'
tempdir: '/tmp/blender_4B9AbO/'

FFmpeg:

avcodec: '57, 107, 100'
avdevice: '57, 10, 100'
avformat: '57, 83, 100'
avutil: '55, 78, 100'
swscale: ' 4, 8, 100'

SDL:

Version: 2.0.8
Loading method: dynamically loaded by Blender (WITH_SDL_DYNLOAD=ON)

Other Libraries:

OpenColorIO: 1, 1, 0
OpenImageIO: 1, 8, 15
OpenShadingLanguage: 1, 9, 9
OpenSubdiv: 0, 0, 0
OpenVDB: 5, 0, 0
Alembic: 1, 7, 8

OpenGL:

renderer: 'Mesa DRI Intel(R) HD Graphics 5500 (Broadwell GT2) '
vendor: 'Intel Open Source Technology Center'
version: '4.5 (Core Profile) Mesa 19.0.8'
extensions:
GL_3DFX_texture_compression_FXT1
GL_AMD_conservative_depth
GL_AMD_draw_buffers_blend
GL_AMD_gpu_shader_int64
GL_AMD_multi_draw_indirect
GL_AMD_query_buffer_object
GL_AMD_seamless_cubemap_per_texture
GL_AMD_shader_trinary_minmax
GL_AMD_texture_texture4
GL_AMD_vertex_shader_layer
GL_AMD_vertex_shader_viewport_index
GL_ANGLE_texture_compression_dxt3
GL_ANGLE_texture_compression_dxt5
GL_APPLE_object_purgeable
GL_ARB_ES2_compatibility
GL_ARB_ES3_1_compatibility
GL_ARB_ES3_2_compatibility
GL_ARB_ES3_compatibility
GL_ARB_arrays_of_arrays
GL_ARB_base_instance
GL_ARB_blend_func_extended
GL_ARB_buffer_storage
GL_ARB_clear_buffer_object
GL_ARB_clear_texture
GL_ARB_clip_control
GL_ARB_compressed_texture_pixel_storage
GL_ARB_compute_shader
GL_ARB_conditional_render_inverted
GL_ARB_conservative_depth
GL_ARB_copy_buffer
GL_ARB_copy_image
GL_ARB_cull_distance
GL_ARB_debug_output
GL_ARB_depth_buffer_float
GL_ARB_depth_clamp
GL_ARB_derivative_control
GL_ARB_direct_state_access
GL_ARB_draw_buffers
GL_ARB_draw_buffers_blend
GL_ARB_draw_elements_base_vertex
GL_ARB_draw_indirect
GL_ARB_draw_instanced
GL_ARB_enhanced_layouts
GL_ARB_explicit_attrib_location
GL_ARB_explicit_uniform_location
GL_ARB_fragment_coord_conventions
GL_ARB_fragment_layer_viewport
GL_ARB_fragment_shader
GL_ARB_framebuffer_no_attachments
GL_ARB_framebuffer_object
GL_ARB_framebuffer_sRGB
GL_ARB_get_program_binary
GL_ARB_get_texture_sub_image
GL_ARB_gpu_shader5
GL_ARB_gpu_shader_fp64
GL_ARB_gpu_shader_int64
GL_ARB_half_float_pixel
GL_ARB_half_float_vertex
GL_ARB_indirect_parameters
GL_ARB_instanced_arrays
GL_ARB_internalformat_query
GL_ARB_internalformat_query2
GL_ARB_invalidate_subdata
GL_ARB_map_buffer_alignment
GL_ARB_map_buffer_range
GL_ARB_multi_bind
GL_ARB_multi_draw_indirect
GL_ARB_occlusion_query2
GL_ARB_pipeline_statistics_query
GL_ARB_pixel_buffer_object
GL_ARB_point_sprite
GL_ARB_polygon_offset_clamp
GL_ARB_program_interface_query
GL_ARB_provoking_vertex
GL_ARB_query_buffer_object
GL_ARB_robust_buffer_access_behavior
GL_ARB_robustness
GL_ARB_sample_shading
GL_ARB_sampler_objects
GL_ARB_seamless_cube_map
GL_ARB_seamless_cubemap_per_texture
GL_ARB_separate_shader_objects
GL_ARB_shader_atomic_counter_ops
GL_ARB_shader_atomic_counters
GL_ARB_shader_ballot
GL_ARB_shader_bit_encoding
GL_ARB_shader_clock
GL_ARB_shader_draw_parameters
GL_ARB_shader_group_vote
GL_ARB_shader_image_load_store
GL_ARB_shader_image_size
GL_ARB_shader_objects
GL_ARB_shader_precision
GL_ARB_shader_storage_buffer_object
GL_ARB_shader_subroutine
GL_ARB_shader_texture_image_samples
GL_ARB_shader_texture_lod
GL_ARB_shader_viewport_layer_array
GL_ARB_shading_language_420pack
GL_ARB_shading_language_packing
GL_ARB_stencil_texturing
GL_ARB_sync
GL_ARB_tessellation_shader
GL_ARB_texture_barrier
GL_ARB_texture_buffer_object
GL_ARB_texture_buffer_object_rgb32
GL_ARB_texture_buffer_range
GL_ARB_texture_compression_bptc
GL_ARB_texture_compression_rgtc
GL_ARB_texture_cube_map_array
GL_ARB_texture_filter_anisotropic
GL_ARB_texture_float
GL_ARB_texture_gather
GL_ARB_texture_mirror_clamp_to_edge
GL_ARB_texture_multisample
GL_ARB_texture_non_power_of_two
GL_ARB_texture_query_levels
GL_ARB_texture_query_lod
GL_ARB_texture_rectangle
GL_ARB_texture_rg
GL_ARB_texture_rgb10_a2ui
GL_ARB_texture_stencil8
GL_ARB_texture_storage
GL_ARB_texture_storage_multisample
GL_ARB_texture_swizzle
GL_ARB_texture_view
GL_ARB_timer_query
GL_ARB_transform_feedback2
GL_ARB_transform_feedback3
GL_ARB_transform_feedback_instanced
GL_ARB_transform_feedback_overflow_query
GL_ARB_uniform_buffer_object
GL_ARB_vertex_array_bgra
GL_ARB_vertex_array_object
GL_ARB_vertex_attrib_64bit
GL_ARB_vertex_attrib_binding
GL_ARB_vertex_buffer_object
GL_ARB_vertex_shader
GL_ARB_vertex_type_10f_11f_11f_rev
GL_ARB_vertex_type_2_10_10_10_rev
GL_ARB_viewport_array
GL_ATI_blend_equation_separate
GL_ATI_texture_float
GL_EXT_abgr
GL_EXT_blend_equation_separate
GL_EXT_draw_buffers2
GL_EXT_draw_instanced
GL_EXT_framebuffer_blit
GL_EXT_framebuffer_multisample
GL_EXT_framebuffer_multisample_blit_scaled
GL_EXT_framebuffer_object
GL_EXT_framebuffer_sRGB
GL_EXT_packed_depth_stencil
GL_EXT_packed_float
GL_EXT_pixel_buffer_object
GL_EXT_polygon_offset_clamp
GL_EXT_provoking_vertex
GL_EXT_shader_framebuffer_fetch_non_coherent
GL_EXT_shader_integer_mix
GL_EXT_shader_samples_identical
GL_EXT_texture_array
GL_EXT_texture_compression_dxt1
GL_EXT_texture_compression_rgtc
GL_EXT_texture_compression_s3tc
GL_EXT_texture_filter_anisotropic
GL_EXT_texture_integer
GL_EXT_texture_sRGB
GL_EXT_texture_sRGB_decode
GL_EXT_texture_shared_exponent
GL_EXT_texture_snorm
GL_EXT_texture_swizzle
GL_EXT_timer_query
GL_EXT_transform_feedback
GL_EXT_vertex_array_bgra
GL_EXT_vertex_attrib_64bit
GL_IBM_multimode_draw_arrays
GL_INTEL_performance_query
GL_KHR_blend_equation_advanced
GL_KHR_context_flush_control
GL_KHR_debug
GL_KHR_no_error
GL_KHR_robust_buffer_access_behavior
GL_KHR_robustness
GL_MESA_pack_invert
GL_MESA_shader_integer_functions
GL_MESA_texture_signed_rgba
GL_NV_conditional_render
GL_NV_depth_clamp
GL_NV_packed_depth_stencil
GL_NV_texture_barrier
GL_OES_EGL_image
GL_S3_s3tc

Implementation Dependent OpenGL Limits:

Maximum DrawElements Vertices: 3000
Maximum DrawElements Indices: 3000

GLSL:
Maximum Varying Floats: 128
Maximum Vertex Attributes: 16
Maximum Vertex Uniform Components: 16384
Maximum Fragment Uniform Components: 16384
Maximum Vertex Image Units: 32
Maximum Fragment Image Units: 32
Maximum Pipeline Image Units: 192

Cycles:

CPU device capabilities: SSE2 SSE3 SSE41 AVX AVX2

Enabled add-ons:

io_anim_bvh (version: (1, 0, 0), path: /usr/share/blender/2.82/scripts/addons/io_anim_bvh/init.py)
io_curve_svg (version: (), path: /usr/share/blender/2.82/scripts/addons/io_curve_svg/init.py)
io_mesh_ply (version: (1, 1, 0), path: /usr/share/blender/2.82/scripts/addons/io_mesh_ply/init.py)
io_mesh_stl (version: (1, 1, 3), path: /usr/share/blender/2.82/scripts/addons/io_mesh_stl/init.py)
io_mesh_uv_layout (version: (1, 1, 1), path: /usr/share/blender/2.82/scripts/addons/io_mesh_uv_layout/init.py)
io_scene_fbx (version: (4, 20, 1), path: /usr/share/blender/2.82/scripts/addons/io_scene_fbx/init.py)
io_scene_gltf2 (version: (1, 0, 10), path: /usr/share/blender/2.82/scripts/addons/io_scene_gltf2/init.py)
io_scene_obj (version: (3, 7, 0), path: /usr/share/blender/2.82/scripts/addons/io_scene_obj/init.py)
io_scene_x3d (version: (2, 2, 5), path: /usr/share/blender/2.82/scripts/addons/io_scene_x3d/init.py)
cycles (version: (), path: /usr/share/blender/2.82/scripts/addons/cycles/init.py)

Change the name of Tessallate Button

Hi, first of all huge thank you for this amazing plugin, I'm having a lot of fun with it.
I would like to suggest some small UI change, which would help first time users and add to UI consistency, I think. Tessallate button actually opens tessallation properties popup window. From the first time user perspective it is like: "Ok, if I click this button, it will tessallate, but where can I set tessallation properties first?"
Common practice is that buttons have names of what they do if it is possible.
I would suggest that you change the name of the button to Tessellation Settings or something like this, which would make UI more self-explanatory. And then on the popup, on the end it is OK button. OK what? OK to save settings somewhere, or OK to tessalate? I would change OK button name to "Tessallate" or "OK, Tessalate" or "Tessalate Now" or something like this.

Beside these small and minor UI inconsistencies, for me this is one of the most genious blender plugins. Congrats!

ModuleNotFoundError

Trying to run the latest tissue (0.3.32) on the latest blender 2.81 (version: 2.81 (sub 3), branch: master, commit date: 2019-08-28 03:44, hash: rBf88022b96f3a)

Traceback (most recent call last): File "C:\Users\dimitar\Downloads\blender-2.81.0-git.f88022b96f3a-windows64\2.81\scripts\modules\addon_utils.py", line 351, in enable mod = __import__(module_name) ModuleNotFoundError: No module named 'tissue'

The shipped version of tissue (0.3.25) loads and runs without a problem

Help with pieces turning...

This is not really a bug issue so I'm not sure if it's ok to ask about this here.
I'm using Tessalate. I've created a component mesh similar to one you used in one of your videos. My base mesh is a logo that I drew and then modeled. When I tessalate the component to the base mesh, some pieces end up turning in different directions. Is there any advice you can give on how to correct this?
Screen Shot 2019-05-03 at 4 14 48 PM
I've attached a screen shot. I hope this helps.
Thanks for a great add-on!

Scale in Global and Local mode

The scaling factor shouldn't be based on component bounding box, but on a square 1x1 in local and scale.x * scale.y in local mode.

Tessellate - Offset to Origin

Add an option in order to set the offset of the components according to the origin of the object.
Currently in order to do that, Local coordinates must be used, but this may be more complex for some users.

Question about g-code export

Hi, I'm having a lot of fun with your plugin, thank you so much for sharing this amazing project with all of us!
I'm wondering what is the purpose of g-code exporter in dev branch?
Because normal workflow for milling would be to export stl to some CAD/CAM package (e.g. Fusion 360 or Powermill) for setting toolpaths for 3D/4D/5D/6D milling.
In the case of 3D printing normal workflow would be to export file to Prusa Slicer (e.g. for Prusa printer) to fine-tune printing process there. Because, you know, "right tool for the right job"...
Or maybe I totally missed some special functionality of g-code exporter? Please let me know!

Speaking of import/export capabilities I would to suggest some text format (e.g. json) to export tessalation data. That way users of your plugin would easily exchange "tissues" among themselves, apply them to different objects or build templates for tessalations. For the ispiration I'm attaching video of such capability in latest version of BY-GEN plugin, which is also great plugin for generative modelling. Just my 0.2 $

how to use this on blender 2.8 ?

Hi @alessandro-zomparelli , I've tried edge version of Tissue addon on blender 2.8 but I really don't know how to use this because there is no buttons added to the blender tools icons. It is supposed to add it to the blender tool bar ?

thanks

Problems installing

I did installation like it is write. It work but when I tried to tessellate an object it was giving me an error so I uninstalled it and tried to reinstall it but now I can't reinstall it. I even deleted the version that comes with blender and reinstalling still did not work. I'm wondering if you can add an update button straight into the default app.

Name error

I'm continuously getting an error saying "name'module_filesystem_remove' is not defined"
please help me with this

Numba indicator?

Hi Alessandro, I tried installing Numba and wondering if there is a way to turn this on and off or indicator whether Numba is properly installed and now the speed is like 100x faster for RD, etc?

Frame Tessellation bugs

. Error when zero Frame Thickness
. Material offset for Fill and Bounds not working
. Material offset should be visible even if not using Multicomponents, but disabled

UV to Mesh is broken

Hi,

I'm on blender 2.8 hash: rB12da679fa094

Tried to use the UV to Mesh option, but I got this error.

Traceback (most recent call last):
File "C:\Users***\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\tissue-b280-dev\uv_to_mesh.py", line 88, in execute
me0 = ob0.to_mesh(bpy.context.depsgraph, apply_modifiers=self.apply_modifiers)
AttributeError: 'Context' object has no attribute 'depsgraph'

location: :-1

thank you
Max

Numba pre-installed, but maybe there is an issue

I am getting this weird error:

Collecting numba
Could not install packages due to an EnvironmentError: Could not find a suitable TLS CA certificate bundle, invalid path: /var/folders/r3/13y_zxhn0557ftnbz9xrt7x00000gn/T/tmpirxrgymy/pip-10.0.1-py2.py3-none-any.whl/pip/_vendor/certifi/cacert.pem

And when running Reaction Diffusion, it feels like it's doing nothing, or too slow.

Bisect option for Local/Global mapping

Allow to use Bisect in U and V according to Local/Global coordinates.
Options:
. "Keep open" / "Cap" / "Mark Seams"
. "Remove" / "Repeat-Loop"

Maybe different options for U and V is better.

Transfer UV map

Transfer UV map from base object.
Should be optional because can slow down the tessellation.

Tissue tesselate BUG?

Hi Allessandro, i think i found a bug.

I have a mesh and a mesh wire. The result looks right but there is a quadratic structure in the tesselated mesh:

bildschirmfoto 2018-03-19 um 15 28 04

bildschirmfoto 2018-03-19 um 15 28 38

Here is the blend:
Tissue Bug.blend.zip

Tessellate crashes in blender 2.8 beta with tissue b2.80-dev

Hi I get the following stack

Read prefs: /home/kai/.config/blender/2.80/config/userpref.blend
found bundled python: /home/kai/Apps/blender/2.80/python
Traceback (most recent call last):
File "/home/kai/.config/blender/2.80/scripts/addons/tissue-b280-dev/tessellate_numpy.py", line 2378, in execute
auto_layer_collection()
File "/home/kai/.config/blender/2.80/scripts/addons/tissue-b280-dev/tessellate_numpy.py", line 67, in auto_layer_collection
if layer.hide_viewport or layer.collection.hide_viewport:
AttributeError: 'LayerCollection' object has no attribute 'hide_viewport'

location: :-1

location: :-1

If I delete 'layer.hide_viewport or ' in line 67 in tessellate_numpy.py it works. I don't now the side effect though.

2.8 version broken since most recent API change

Hi,

I'm very interested to try Tissue, but Blender 2.8's API had just changed again, causing many add-ons not to work anymore, including Tissue.

Many thanks in advance for fixing it.

Kind regards,

Metin

Bug while working with units and unit scale

Hi,

thank you for the great work you did with that tissue add-on.
Currently I'm running into this issue.
I'm working on data, that came from CAD models. In order to have them in correct dimensions (necessary for physics based renderings - in my case optics) I've to use Blender's unit capabilities. Usually they are set to pre-defined "Millimeters".

In that case there seems to be some trouble with the tessaltion option in this add-on.
Results look totally destroyed.
Please have look into that. Thanks a lot.

Toolshelf not working

Hello! I tried to install Tissue Addon for Blender, but instead of the separate toolshelf I see in the tutorials I only get this small sub-shelf without the Tessellate options. What is wrong here? I use Blender 2.78.5

grafik My screen

grafik How it should be (image by Blenderwiki)

Thanks in advance!

Patches in hidden layers

Error creating Patch Tessellation, if the active layer is hidden, it's not possible to join them.

UI and usability - suggestions and feedbacks

I'm opening this issue in order to collect in one place feedbacks about UI and usability.
Adding so many options to the Tessellation allows to cover many different cases, but at the same time it can make difficult to orient in all such settings.
If you have any comment that can help to improve the usability of the tools keeping them technically correct they are welcome.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.