Repository navigation
GettingStarted
Kit requires Python 3.11 or newer. From an isolated checkout, install the locked environment:
uv sync --frozen --all-groups --all-extras --python 3.11The distribution is named kit, but this revision packages the convert and interchange Python modules. Import the conversion API from convert:
from convert import convert as ConvertDoc
Result = ConvertDoc("bracket.SLDPRT", "bracket.FCStd", allow_carrier=False)The destination suffix selects the writer unless destination_format is supplied. Existing destinations are protected by default; use overwrite=True only when replacement is intended. Inspect Result.output, Result.dropped, Result.requirements, Result.application_usable, and Result.vendor_loadable.
strict=True controls reader validation. allow_carrier=False separately rejects outputs whose attestation fails application usability, vendor loadability, no dropped capabilities, or no unmet requirements. The default allow_carrier=True can preserve neutral data in a carrier that the target application cannot use. Neither an attestation nor a successful function return replaces target-application acceptance evidence.
See the API reference, conversion engine, and gotchas. Dependency installation is not test execution; run tests only in remote CI, as required by AGENTS.md.
Published from repository revision 1149072d · PR #50 is awaiting merge · Maintenance guide
- Home
- Getting started
- API reference
- Architecture
- Conversion engine
- Contributing
- Change entries
- Gotchas
- Maintaining the wiki
- Assembly & Constraints Model
- Boundary Representation (B-Rep)
- Neutral Document Model
- Parametric Features Model