OBJ file output from Houdini 19.5, won't load into PrusaSlicer.
 
Notifications
Clear all

OBJ file output from Houdini 19.5, won't load into PrusaSlicer.  

  RSS
neuro
(@neuro)
Active Member
OBJ file output from Houdini 19.5, won't load into PrusaSlicer.

Any idea why the OBJ loader doesn't seem to want to load my obj file output from Houdini 19.5 software?

I validated the OBJ by loading it into another 3D software and then exporting it out again, then Slicer was able to load it. So it validates that the Houdini exported data is valid, just that PrusaSlicer doesn't like it and needs an intermediate software to write it out in a way that it likes.

Why might Slicer be struggling with this? I'm using 2.5.0 on a Mac M1 Ventura 13.1.

I attached a zip file containing the OBJ if anyone has any insights. Its just a flat disc, very simple.

Thanks!3dprint.obj

 

Best Answer by JimB:

Looks like a problem with the model or the program that did the original exporting.  Prusa-slicer (2.5.0) outputs to the terminal:

[2023-02-27 13:45:38.730476] [0x00007fa8dbf7f900] [error] load_obj: failed to parse /home/jfb/junkdir/3dprint.obj. The file contains polygons with more than 4 vertices.

Also tried it with meshlab and it didn't like it either for what looks like might be the same reason.

meshlab: ./vcglib/wrap/io_trimesh/import_obj.h:640: static int vcg::tri::io::ImporterOBJ<OpenMeshType>::Open(OpenMeshType&, const char*, vcg::tri::io::ImporterOBJ<OpenMeshType>::Info&) [with OpenMeshType = CMeshO]: Assertion `(numTriangles +numVertices) == numVerticesPlusFaces+extraTriangles' failed.
This topic was modified 2 years ago by neuro
Posted : 27/02/2023 6:45 am
neuro
(@neuro)
Active Member
Topic starter answered:
RE:

FYI, I used photoshop 2023 to load the file in and save out. Not my first choice but thats all I had and it worked.

Posted : 27/02/2023 7:49 am
JimB
 JimB
(@jimb)
Estimable Member
RE: OBJ file output from Houdini 19.5, won't load into PrusaSlicer.

Looks like a problem with the model or the program that did the original exporting.  Prusa-slicer (2.5.0) outputs to the terminal:

[2023-02-27 13:45:38.730476] [0x00007fa8dbf7f900] [error] load_obj: failed to parse /home/jfb/junkdir/3dprint.obj. The file contains polygons with more than 4 vertices.

Also tried it with meshlab and it didn't like it either for what looks like might be the same reason.

meshlab: ./vcglib/wrap/io_trimesh/import_obj.h:640: static int vcg::tri::io::ImporterOBJ<OpenMeshType>::Open(OpenMeshType&, const char*, vcg::tri::io::ImporterOBJ<OpenMeshType>::Info&) [with OpenMeshType = CMeshO]: Assertion `(numTriangles +numVertices) == numVerticesPlusFaces+extraTriangles' failed.
Posted : 27/02/2023 6:59 pm
neuro liked
neuro
(@neuro)
Active Member
Topic starter answered:
RE: OBJ file output from Houdini 19.5, won't load into PrusaSlicer.

Thats extremely useful info, thank you JimB. Houdini is quite robust, so hopefully I can try and spot/correct this situation before export.

Posted : 27/02/2023 7:24 pm
Share: