Repository navigation
First stable release of the merged package: OCCTSwiftTools, OCCTSwiftAIS and OCCTSwiftCADKit versioned and released together. Everything in v2.0.0-rc3, plus two fixes.
Requires OCCTSwift 3.0.0 (from: "3.0.0"), OCCTSwiftViewport 1.2.0 and OCCTSwiftIO 1.8.0. Platforms: macOS / iOS (device + simulator).
Fixed after rc3
CADViewportViewfroze its bodies at first render (#23). It passed.constant(bodies)to a renderer that captures its binding once, so bodies added or edited after the first render never reached the screen. Selection highlights built later were the visible symptom. The view now hands the renderer a reference-typed box refreshed on everybodyevaluation.- The face selection highlight never rendered (#22, #24). The highlight duplicates the face's own triangles, so on the default layer it tied the real surface's depth and lost the strict
.lesstest. It now usesrenderLayer: .overlayandisPickable: false. Trade-off: an overlay draws through occluding geometry, so a highlighted face on the far side of a solid shows through it.
Changelog
Full history in docs/CHANGELOG-OCCTSwiftCADKit.md.