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

About warning of import dxf #250

Open
thyis opened this issue Dec 28, 2023 · 3 comments
Open

About warning of import dxf #250

thyis opened this issue Dec 28, 2023 · 3 comments
Assignees
Labels

Comments

@thyis
Copy link

thyis commented Dec 28, 2023

Hello dear developers,
I imported a dxf model I designed. As you can see from the image below, view are none.
image
dxf.zip

@HuguesDelorme HuguesDelorme self-assigned this Jan 9, 2024
@HuguesDelorme HuguesDelorme added this to the version/future milestone Jan 9, 2024
@HuguesDelorme
Copy link
Member

After investigation it appears that some BSpline entities are not correct for OpenCascade.
For example first BSpline entity in 88732000.dxf:

  • degree is 3
  • it's non-periodic(flags = 8)
  • 16 control points(poles)
  • 20 knots(5 unique knots)
  • Multiplicities(mults) of the unique knots are: 4, 4, 4, 4, 4

OpenCascade states that each multiplicity must be <= degree(or degree+1 at the first and last knot of a non-periodic curve).
For that entity, BSpline mults are incorrect.
Which software did you use to generate these files?

@thyis
Copy link
Author

thyis commented Jan 11, 2024

Thanks a lot.
ZWsoft, A very popular design software in China in recent years

@HuguesDelorme
Copy link
Member

HuguesDelorme commented Jan 18, 2024

As you are a commercial user of ZWsoft that would be great if you ask them about this issue. The software is creating BSPLINE entities that seem to be ill-formed(at least for OpenCascade)
Come back here if you have feedback from ZWsoft dev

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

No branches or pull requests

2 participants