Skip to content

v2.0.0

Latest

Choose a tag to compare

@gsdali gsdali released this 29 Sep 10:00
fcb891e

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

  • CADViewportView froze 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 every body evaluation.
  • 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 .less test. It now uses renderLayer: .overlay and isPickable: 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.