iGeo icon indicating copy to clipboard operation
iGeo copied to clipboard

Surfaces missing when exported *.obj geometry is opened in some software

Open ianisl opened this issue 11 years ago • 2 comments

Hi,

Thanks for this excellent library! It seems that when exporting geometries as .obj, some ISurface elements don't appear as surfaces in some softwares.

For instance, when I open the geometry exported from igeo_tutorial15_2 in Meshlab (or zbrush), I only get some vertices and no faces. Opening the same obj file in Rhino gives the proper geometry.

It seems that geometries created with IMesh are correctly read by meshlab: for instance, geometries exported from igeo_tutorial8_3 appear as proper surfaces (not just vertices).

ianisl avatar Nov 21 '13 21:11 ianisl

OBJ importers in some software ignore NURBS surfaces even though OBJ format is defined to contain NURBS surface. In those software, surfaces would be needed to be converted to polygon mesh. I just noticed that igeo doesn't have a quick method to convert ISurface to IMesh. I'll make one.

sghr avatar Nov 22 '13 00:11 sghr

Thanks for the explanation. A method to convert ISurface to IMesh would be amazing!

ianisl avatar Nov 22 '13 08:11 ianisl