OBJ-to-IGES icon indicating copy to clipboard operation
OBJ-to-IGES copied to clipboard

Errors with STL file

Open yvanblanchard opened this issue 1 year ago • 5 comments

Hello,

I compiled your code and ran it with stanford bunny STL mesh, but I got lots of errors. See output console and STL file attached:

image

image

Bunny.zip

yvanblanchard avatar May 24 '23 11:05 yvanblanchard

Sorry. STL files cannot be used for input. Please try converting them to OBJ format before executing.

Sanaxen avatar May 18 '24 00:05 Sanaxen

Thank you @Sanaxen

I tried with OBJ file (converted from STL), but the program stops (or hangs) at very beginning:

image

I tried various way of converting to OBJ, and same issue. I also tried other obj files (original), but still failed.

Here is the OBJ file Bunny-OBJ.zip

yvanblanchard avatar May 20 '24 15:05 yvanblanchard

Sorry for the lack of explanation. This tool is for OBJs with UV information.

The attached log shows an error for vertex uv num error. This tool is called from mesh2cad when converting OBJ to CAD data, so it is recommended to use mesh2cad.

However, when I tried it, it generated a non-manifold part. I ended up with an incomplete conversion. I tried several parameters without success.

I assume that the topology of the mesh data is correct, but it fails if there are small or collapsed triangles. It is important to clean up the mesh data automatically.

However, this could be due to mesh2cad's segmentation process. At this time it is not possible to automatically clean up the data output by segmentation.

I have attached the incomplete conversion. iges.zip

Sanaxen avatar May 22 '24 02:05 Sanaxen

uvmapping.zip

Sanaxen avatar May 22 '24 02:05 Sanaxen

I used meshlab's function “Decimation with Simplified Quadric Edge Collapse”. Conversion to CAD data went well.

image image iges (2).zip uvmapping (2).zip

Sanaxen avatar Jun 08 '24 23:06 Sanaxen