Skip to content

v3.0.0-beta.1

Pre-release
Pre-release

Choose a tag to compare

@gsdali gsdali released this 29 Sep 12:38
617b3b4

Pre-release. Pinned exactly to, and built and tested against, OCCTSwift 4.0.0-beta.4 and OCCTSwiftIO 2.0.0-beta.1. A consumer only gets this by naming it; the stable line stays at v2.0.0.

Breaking: CADLoadResult's GD&T element types

OCCTSwift 4.0.0 replaces the untyped DimensionInfo, GeomToleranceInfo and DatumInfo with the typed Document.Dimension, Document.GeomTolerance and Document.Datum (OCCTSwift#996). CADLoadResult.dimensions, .geomTolerances and .datums, and their initializer parameters, now use the new types, so the major version moves. Document.Dimension.value is Double? and a range dimension reports its bounds through .bounds.

Dependencies

  • OCCTSwift exact: "4.0.0-beta.4". Exact, not from:, because v4.0.0-kernel.N tags sort above every beta and a from: range would resolve to one of them.
  • OCCTSwiftIO from: "2.0.0-beta.1".

swift build --build-tests is clean and all test targets pass, locally and in CI on the release commit. Full history in docs/CHANGELOG-OCCTSwiftCADKit.md.