Skip to content

v0.6.2 — Drop edge/vertex workaround (Tools 0.5.0)

Choose a tag to compare

@gsdali gsdali released this 03 May 07:51
· 17 commits to main since this release
062f6a7

Drops the populateEdgeVertexPickArrays workaround — OCCTSwiftTools v0.5.0 now populates body.vertices / vertexIndices / edgeIndices on the source-shape convention, so AIS no longer has to override Tools' output. Closes OCCTSwiftTools#10.

InteractiveContext.display(_:) is back to a thin wrapper around CADFileLoader.shapeToBodyAndMetadata. ~30 lines removed; the round-trip from a vertex pick's primitiveIndex to Selection.vertices (via shape.vertex(at: idx)) keeps working because the data is now identical between Tools' output and what AIS used to write.

Dependencies

Floor raised to OCCTSwiftTools ≥ 0.5.0 (transitively OCCTSwiftViewport ≥ 0.55.1, OCCTSwift ≥ 0.168.0).

Tests

146 across 12 suites, all green. No new tests; the existing EdgeVertexSelection round-trips now exercise Tools' implementation rather than AIS's override. Run with OCCT_SERIAL=1 swift test --parallel --num-workers 1.