alessandro-zomparelli / mesh_sync

Mesh Sync add-on for Blender
53 stars 8 forks source link

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

Open arthurvilarinho opened 9 months ago

arthurvilarinho commented 9 months ago

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?

alessandro-zomparelli commented 9 months ago

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 :-)