jesterKing / import_3dm

Blender importer script for Rhinoceros 3D files
MIT License
302 stars 38 forks source link

Fix invalid faces #26

Closed tsvilans closed 5 years ago

tsvilans commented 5 years ago

Fixes invalid faces

Fixes issue where triangulated meshes from Rhino were causing invalid meshes in Blender. This is because Rhino stores every face as 4 ints ([0,1,2,3]), even tris. Tris repeat the last index ([0,1,2,2]), and this causes problems when constructing a Blender mesh, which treats those as invalid quads.

detailed explanation