fougue / mayo

3D CAD viewer and converter based on Qt + OpenCascade
BSD 2-Clause "Simplified" License
1.34k stars 263 forks source link

Problems exporting from imported PLY, IGES, STL, BREP file formats #166

Closed Abde5 closed 1 year ago

Abde5 commented 1 year ago

Hello,

Thanks again for the active development of Mayo. It's crazy good.

Whenever I import a PLY, IGES, STL file in Mayo, I am not able to export them to any format. I tried exporting as GLTF, which gives a 1KB file with no data, and when exporting as an OBJ, there is a "writing problem" error.

The importing works well, is only the exporting to other formats where I am encountering problems.

HuguesDelorme commented 1 year ago

Hello @Abde5 Thanks for reporting the issue, I could reproduce it. However exporting IGES "data" to glTF, STL, OBJ, ... works fine on my side

Abde5 commented 1 year ago

Hello @HuguesDelorme

Thanks for answering the issue. You are right, this behaviour happens only in poor-written iges files. I tried with a better IGES file and it seems to work perfectly.

Chris-SP365 commented 1 year ago

Hi,

for me there is always a "File transfer problem" when exporting while no node is selected. Maybe this could be related to some problems you see. Otherwise it's a separate issue. Then I could open a new issue if you like.

HuguesDelorme commented 1 year ago

Hello @INPUTsys-Chris Yes that's a different issue. When no Model tree nodes were selected then there's nothing to export and Mayo reports a somewhat confusing error. That would be kind you file a different bug report for this one, thanks!