Skip to content

v2.0.0-beta.5

Pre-release
Pre-release

Choose a tag to compare

@gsdali gsdali released this 24 Oct 03:00
0695776

Fixed

Builds against SwiftDXF 0.3.0. SwiftDXF 0.3.0 added DXF.Entity.spline, which made the DXF.Entity switch in DXFLoader non-exhaustive, so beta.4 no longer compiled when SwiftPM resolved SwiftDXF 0.3.0. The requirement is now from: "0.3.0".

Added

  • DXFLoader.loadContours(from:options:) and DXFLoader.contourFaces(of:options:): closed DXF outlines as OCCT faces with holes, built on SwiftDXF's Drawing.contours. Faces are sorted by outer area, largest first.
  • DXFContourResult and DXFContourFace.
  • Splines now come through the legacy compound path as flattened straight edges instead of being dropped.

Closes #51.