mayo
mayo copied to clipboard
About warning of import dxf
Hello dear developers,
I imported a dxf model I designed. As you can see from the image below, view are none.
dxf.zip
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?
Thanks a lot.
ZWsoft, A very popular design software in China in recent years
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