Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some model types in dxf data cannot be read #282

Open
NoWhere-NowHere-TLD opened this issue Jul 28, 2024 · 4 comments
Open

some model types in dxf data cannot be read #282

NoWhere-NowHere-TLD opened this issue Jul 28, 2024 · 4 comments
Assignees

Comments

@NoWhere-NowHere-TLD
Copy link

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

@HuguesDelorme
Copy link
Member

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 HuguesDelorme self-assigned this Jul 29, 2024
@HuguesDelorme HuguesDelorme added this to the version/future milestone Jul 29, 2024
@NoWhere-NowHere-TLD
Copy link
Author

NoWhere-NowHere-TLD commented Jul 29, 2024

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.

@HuguesDelorme
Copy link
Member

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

@NoWhere-NowHere-TLD
Copy link
Author

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants