alessandro-zomparelli / tissue

Tissue - Blender's add-on for computational design
1.02k stars 74 forks source link

Convert to Dual Mesh give error #77

Closed JoelGodin closed 4 years ago

JoelGodin commented 4 years ago

Trying to convert to dual mesh on 2.91 gave an error, so I tried 2.90 (Aug 8 version) and it gives the same error.

bpy.ops.mesh.select_mode(use_extend=False, use_expand=False, type='VERT', action='TOGGLE') bpy.ops.mesh.select_all(action='SELECT') bpy.ops.mesh.quads_convert_to_tris(quad_method='FIXED', ngon_method='BEAUTY') bpy.ops.mesh.select_all(action='DESELECT') bpy.ops.object.editmode_toggle() bpy.ops.object.modifier_add(type='SUBSURF') bpy.ops.object.dual_mesh() Python: Traceback (most recent call last): File "/Users/joelgodin/Library/Application Support/Blender/2.91/scripts/addons/tissue-0-3-44/dual_mesh.py", line 247, in execute apply_as='DATA', modifier='dual_mesh_subsurf' File "/Applications/Blender/Blender 2.91.app/Contents/Resources/2.91/scripts/modules/bpy/ops.py", line 201, in call ret = op_call(self.idname_py(), None, kw) TypeError: Converting py args to operator properties: : keyword "apply_as" unrecognized

location: :-1

alessandro-zomparelli commented 4 years ago

Hi @JoelGodin , I'm not sure for the version 2.91, but the latest development branch works fine with 2.90. Please check that: https://github.com/alessandro-zomparelli/tissue/tree/b280-dev

JoelGodin commented 4 years ago

Yes, works in 2.91 now.