Skip to content

v1.8.0 — Exporter.writeBREP(allowInvalid:)

Choose a tag to compare

@gsdali gsdali released this 19 Jun 23:59
· 12 commits to main since this release
94eea64

Feature (additive). Exporter.writeBREP (and the Shape.writeBREP instance wrapper) gain allowInvalid: Bool = false. When true, the shape.isValid pre-check is skipped and the shape is serialized as-is — BREP is OCCT's lossless native format and BRepTools::Write does not require a valid shape, and loadBREP already doesn't gate on read. Lets an in-progress reconstruction (a compound of loose analytic faces) be persisted and reloaded for measurement / diagnostics.

Default false preserves the existing gate; other exporters unchanged. Enables OCCTMCP #41. No xcframework change.

PR #248.