mesh_sync icon indicating copy to clipboard operation
mesh_sync copied to clipboard

'Mesh' object has no attribute 'calc_normals' --> Blender 4.0.2

Open arthurvilarinho opened this issue 1 year ago • 1 comments

Hello Alessandro, good afternoon. I love using Mesh Sync in my everyday workflow between grasshopper and blender.

The problem is that I used the addon recently with Blender 4.0.2 and had this problem when exporting the geometry:

Python: Traceback (most recent call last): File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\mesh_sync.py", line 274, in execute simple_export(ob, ob.sync_out_path) File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\mesh_sync.py", line 114, in simple_export mesh.calc_normals() AttributeError: 'Mesh' object has no attribute 'calc_normals'. Did you mean: 'flip_normals'?

image

image

Any Thoughts?

arthurvilarinho avatar Feb 01 '24 20:02 arthurvilarinho

Hi @arthurvilarinho ! Thanks for reporting that. I updated the code creating a new version: https://github.com/alessandro-zomparelli/mesh_sync/releases/tag/v1-0-0 Let me know if it works now :-)

alessandro-zomparelli avatar Feb 11 '24 10:02 alessandro-zomparelli