cq-acis
Parse ACIS SAT/SAB data and convert supported B-rep geometry to CadQuery/OpenCascade shapes.
日本語版: README.ja.md
This project is experimental. Supported geometry depends on the save version and producer. Unsupported entities remain available as raw records; conversion raises an error when it cannot build the requested shape within source precision. Projected 2D trims are checked against the unchanged 3D curves.
Features
- Read legacy and modern SAT headers, counted strings, and entity references.
- Decode SAT save versions 105, 400, 600, and 700, plus selected SAB and Autodesk ShapeManager binary profiles.
- Convert supported lines, circles, ellipses, planes, cylinders, cones, spheres, and tori, with experimental support for explicit NURBS and selected tolerant boundaries.
- Convert procedural ASM curves and surfaces through the B-spline fit saved beside them, reported as derived geometry with its fit tolerance.
- Inspect topology, metadata, diagnostics, and the source data of unknown records.
- Use a shared model API to connect external decoders to the CadQuery converter.
See geometry support and limitations and SAB/ASM support for the accepted profiles.
Installation
Requires Python 3.11 or newer. Parsing and the shared model need no geometry kernel; shape conversion needs one of two extras:
python -m pip install "cq-acis[cadquery]" # CadQuery 2.8 or later: shapes, Workplanes, authoring
python -m pip install "cq-acis[occt]" # bare OCCT shapes via cadquery-ocp-novtk, without CadQuery
A plain pip install cq-acis installs only the parser and the shared model
(since 0.4.0; earlier releases always installed CadQuery). Installing a prebuilt
wheel does not require Rust. To install from a source checkout, install Rust
1.83 or newer and a C linker first, then run:
python -m pip install -e ".[cadquery]"
The platform requirements of CadQuery or OCP also apply.
Quick start
Parse SAT records and follow topology references:
from pathlib import Path
from cq_acis import parse_sat_model
model = parse_sat_model(Path("model.sat").read_bytes())
for body in model.bodies():
lump = model.resolve(body.lump)
print(body.index, lump.index if lump else None)
Import a SAT file as a CadQuery Workplane:
from cq_acis import import_sat_file
result = import_sat_file("model.sat")
shape = result.val()
assert shape.isValid()
print(shape.Volume())
For binary SAB/ASM input:
from pathlib import Path
from cq_acis import parse_sab_model, to_cadquery
model = parse_sab_model(Path("model.sab").read_bytes(), source_id="model.sab")
print(model.diagnostics)
result = to_cadquery(model)
Without CadQuery (cq-acis[occt]), convert to bare OCCT shapes instead:
from cq_acis import convert_model_occt
shapes = convert_model_occt(model) # one TopoDS_Shape per body
Parsing a file does not guarantee that all its geometry can be converted. See usage and error handling.
Documentation
- Documentation index
- Usage, export, and visual inspection
- Shared model API
- Geometry support and limitations
- SAB/ASM support and history limitations
- Tolerant boundaries and finite UV trims
- Rust APIs: acis-core, acis-py-bridge
The public API and supported format subset may change as coverage expands.
License
The project code is licensed under the MIT License. See third-party notices for dependency attribution. The repository's test corpus is excluded from the Python distributions and has separate license notices.
Metadata
Release files for cq-acis 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cq_acis-0.4.1.tar.gz | 161.5 kB | With provenance | Details for cq_acis-0.4.1.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| cq_acis-0.4.1-cp310-abi3-win_amd64.whl | CPython 3.10 | abi3 | Windows x86-64 | Details for cq_acis-0.4.1-cp310-abi3-win_amd64.whl |
| cq_acis-0.4.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.10 | abi3 | Linux glibc 2.17+ x86-64 | Details for cq_acis-0.4.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
| cq_acis-0.4.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | CPython 3.10 | abi3 | Linux glibc 2.17+ ARM64 | Details for cq_acis-0.4.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
| cq_acis-0.4.1-cp310-abi3-macosx_11_0_arm64.whl | CPython 3.10 | abi3 | macOS 11.0+ ARM64 | Details for cq_acis-0.4.1-cp310-abi3-macosx_11_0_arm64.whl |
| cq_acis-0.4.1-cp310-abi3-macosx_10_12_x86_64.whl | CPython 3.10 | abi3 | macOS 10.12+ x86-64 | Details for cq_acis-0.4.1-cp310-abi3-macosx_10_12_x86_64.whl |
Total release size: 2.9 MB
Release files / cq_acis-0.4.1.tar.gz
| Download URL | cq_acis-0.4.1.tar.gz |
|---|---|
| Size | 161.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
65b7208ee8d5c40d855cf4dc9087c7f2176071ab14ea7b630f8c8fc8f9dc2eea
|
|
BLAKE2b-256 checksum How to use checksums |
5475f40f26e9731982d4c389816cd5f8264d18b91dcd9e306a780c9a020cb250
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logRelease files / cq_acis-0.4.1-cp310-abi3-win_amd64.whl
| Download URL | cq_acis-0.4.1-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 502.2 kB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
a3b9b6434ba0af4639c952d1ee9a4ac8b88256633d30b97d3ddc7539ab5a382b
|
|
BLAKE2b-256 checksum How to use checksums |
ddfd5e5c74266fb5f4e6ee21533216394c968311983df9f52ae144f91d236d6b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logRelease files / cq_acis-0.4.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | cq_acis-0.4.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 585.8 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
85e3c39783f37fa2c4e32d1781e4d7735c0b5711f7cc985d5211551ffcc87d8d
|
|
BLAKE2b-256 checksum How to use checksums |
ed43fd37871164eb97a8ee9c479e5fa97b308f621a01f1d08d3f7bcb509f056a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logRelease files / cq_acis-0.4.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | cq_acis-0.4.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 557.8 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
e927592c5e670d5b79f3b9939aeb06a1b1191f6e810023c94d350edb0b969fa4
|
|
BLAKE2b-256 checksum How to use checksums |
a0964ecc7cc915cabe790e6a182e82ea2035d5cfa8bb9cbc2f6c258a724724ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logRelease files / cq_acis-0.4.1-cp310-abi3-macosx_11_0_arm64.whl
| Download URL | cq_acis-0.4.1-cp310-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 545.5 kB |
| Tags | CPython 3.10 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
ba5e02b2e6737ae9dba9d09ad68fdd17a3fea51870267255609fa46d00918b49
|
|
BLAKE2b-256 checksum How to use checksums |
2752a7b9f60837409f8c643ffea016a5451acf45a067365a1b9de4538d0024e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logRelease files / cq_acis-0.4.1-cp310-abi3-macosx_10_12_x86_64.whl
| Download URL | cq_acis-0.4.1-cp310-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 550.5 kB |
| Tags | CPython 3.10 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
adaffc891a74b12ea1ffaddd523c380e20a087fa68896b45f30ea79d4422e5f9
|
|
BLAKE2b-256 checksum How to use checksums |
cb3da8aac52b5454f91593ee91d62a81492f626089fe326631adc59b8b746056
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logSecurity for cq-acis 0.4.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 6 files in this release have been uploaded with provenance metadata.
Attestation for cq_acis-0.4.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.