Skip to content

v1.7.10 — degenerate-hole crash fix (#234)

Choose a tag to compare

@gsdali gsdali released this 19 Jun 19:59
· 22 commits to main since this release

Bug fix + docs. No new operations; no xcframework change (same v1.7.1 binary).

  • #234faceAddHole rejects degenerate hole wires. A 2-vertex / zero-area / collinear hole wire was accepted, producing an invalid face whose extruded prism SIGSEGV'd OCCT's ShapeFix (Shape.healed()) — an uncatchable OS signal. faceAddHole now returns nil for a hole wire with < 3 distinct vertices or all-collinear points, breaking the crash chain at the source.
  • #178 — loft polar-iterator fix is upstream. The BRepFill_CompatibleWires guard (#176) shipped in OCCT 8.0.0p1; the carried local patch was dropped. Stale CLAUDE.md / test references corrected (the #176 regression passes against the unpatched p1 xcframework).
  • #210 — context7. Runnable-snippet doc comments on the core ops + a CLAUDE.md doc-standards rule. The Swift API is now indexed and queryable on context7 (/gsdali/occtswift).

📖 Docs & cookbook: https://gsdali.github.io/OCCTSwift/