Repository navigation
v2.0.0-beta.10
Pre-release
Pre-release
Pre-release, pinned exactly to OCCTSwift 4.0.0-beta.6. A consumer only gets this by naming it; the stable line stays at v1.8.0.
A JWW reads at full size, with its dimensions (#67).
- Each element is multiplied by its own layer group's scale;
DrawingResult.layerGroupScalesstates each group's. - Dimensions Jw_cad keeps as loose pieces come back as
.dimensionentities, listed inDrawingResult.rebuiltDimensions. Values nothing explains are listed inDrawingResult.unexplainedDimensionValues, each with a warning. ShapeLoaderreads a JWW the same way. JWW solid fills are reported.- Breaking: every JWW is now at full size (80 times larger for a drawing at 1:80). JWW layers are named
<group>-<layer>in hexadecimal (0-E).DrawingWarning.Kindgains three cases. - On the JNR 2120 all 29 dimensions come back at 1:80, with no value left unexplained.
ShapeLoader fits a DXF or DWG spline or ellipse to lines and circular arcs (#75), instead of flattening it to chords. It uses SwiftDXF's Entity.fitted(tolerance:). A JWW's ellipses come the same way. This changes the compound for drawings with splines or ellipses: fewer edges, with arcs among them.
The unused MeshIO dependency is gone from the OCCTSwiftIO target (#29).
Newer readers underneath. The minimum versions move to SwiftJWW 1.5.0, SwiftDXF 0.5.0 and SwiftDWG 0.2.0:
- An elliptical arc with a negative sweep in a JWW is drawn correctly.
- Text from a DXF, a DWG and a JWW comes back decoded (
%%cas⌀, stacked tolerances kept as data). - R14 lightweight polylines and hatches in a DWG are read instead of coming through empty.
The full changelog is in docs/CHANGELOG.md.