mayo icon indicating copy to clipboard operation
mayo copied to clipboard

some model types in dxf data cannot be read

Open NoWhere-NowHere-TLD opened this issue 1 year ago • 4 comments

e.g the four surface types in dxf(ExtrudedSurface,SweptSurface...). Maybe it doesn't support 3dsolid. Do you plan to support these types? thanks for you looking at this question

NoWhere-NowHere-TLD avatar Jul 28 '24 14:07 NoWhere-NowHere-TLD

Mayo doesn't support those types yet. Current development version supports 3D meshes(see this issue) Can you provide some sample DXF files for these surface types? It's probably easy to support them with OpenCascade

HuguesDelorme avatar Jul 29 '24 08:07 HuguesDelorme

Mayo doesn't support those types yet. Current development version supports 3D meshes(see this issue) Can you provide some sample DXF files for these surface types? It's probably easy to support them with OpenCascade

thanks for your answer. How can I give you the SweptSurface dxf file, I think it might not be appropriate to put it directly into the github project. If you don't mind I can put it. And I find the group codes 310 in the dxf file, but when I convert the binary codes to ascii myself, I got messy code. I'm the newbie to using OpenCascade(also parsing of dxf), could it parsing the dxf? I am planning to use dxflib or libdxf, could it(also OpenCascade) process the soft or hard pointers?(I think libdxf maybe could). I feel a little daze about it. Thanks again for reading this comment.

NoWhere-NowHere-TLD avatar Jul 29 '24 17:07 NoWhere-NowHere-TLD

Hello you can try to put the DXF files in a ZIP archive and share it here in this thread OpenCascade provides support of DXF format but only through a commercial and closed component

HuguesDelorme avatar Jul 30 '24 07:07 HuguesDelorme

dxfSample.zip Thank you for your reply. The purpose of parsing dxf is to convert it to obj, It's a part of my supervisor's assignment, and he can't help me much more on this. I couldn't find an open source library to do this, so I try to write(add) it myself. I looked at the code for reading dxf in mayo, but I couldn't find a place to start. I am now looking for the relevant information of dxf to see(like sat format, dxf R13 reference), if there is any better information please recommend. I haven't written much English, so please forgive me if the writing is a little inappropriate. thanks!

NoWhere-NowHere-TLD avatar Jul 30 '24 09:07 NoWhere-NowHere-TLD