mayo icon indicating copy to clipboard operation
mayo copied to clipboard

About warning of import dxf

Open thyis opened this issue 1 year ago • 3 comments

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

thyis avatar Dec 28 '23 01:12 thyis

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?

HuguesDelorme avatar Jan 09 '24 09:01 HuguesDelorme

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

thyis avatar Jan 11 '24 07:01 thyis

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

HuguesDelorme avatar Jan 18 '24 09:01 HuguesDelorme