Skip to main content

compas_occt

Fast OpenCASCADE (OCCT 8) geometry for COMPAS — NURBS curves and surfaces, Breps, booleans, and STEP/IGES/STL/BREP I/O.

It's a drop-in replacement for compas_occ with the same API, but links OCCT directly through one compiled nanobind module instead of depending on pythonocc-core.

Install

pip install compas_occt

Usage

from compas.geometry import Box, Point
from compas.geometry import Brep, NurbsCurve

# COMPAS dispatches to the OCCT backend
brep = Brep.from_box(Box(1))
brep.to_step("box.step")

curve = NurbsCurve.from_points([Point(0, 0, 0), Point(3, 6, 0), Point(6, -3, 3), Point(10, 0, 0)])
print(curve.length())

Documentation

https://petrasvestartas.github.io/compas_occt/

Contributing

See the docs for building from source. Report bugs on the issue tracker.

License

MIT

Metadata

Release files for compas-occt 0.1.20

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for compas-occt 0.1.20
File Size Uploaded
compas_occt-0.1.20.tar.gz 5.9 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for compas-occt 0.1.20
File
compas_occt-0.1.20-cp312-abi3-win_amd64.whl CPython 3.12 abi3 Windows x86-64 Details
compas_occt-0.1.20-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 abi3 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details
compas_occt-0.1.20-cp312-abi3-macosx_11_0_x86_64.whl CPython 3.12 abi3 macOS 11.0+ x86-64 Details
compas_occt-0.1.20-cp312-abi3-macosx_11_0_arm64.whl CPython 3.12 abi3 macOS 11.0+ ARM64 Details

Total release size: 66.6 MB

Release files / compas_occt-0.1.20.tar.gz

Download URL compas_occt-0.1.20.tar.gz
Size 5.9 MB
Tags Source
SHA-256 checksum
How to use checksums
afcad174924b4093c1cc2e65a079a6cfcd4bd15579c7467706b02366e9c7cade
BLAKE2b-256 checksum
How to use checksums
d0997823085aa04992230803d7381fa4358fec0e9edeb707265f46131d8dd145
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 Sep 1, 2026.

Transparency log

Release files / compas_occt-0.1.20-cp312-abi3-win_amd64.whl

Download URL compas_occt-0.1.20-cp312-abi3-win_amd64.whl
Size 10.4 MB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
4add99fd572a1a0acc1bf6b6f22a38ce38c39a8573cc87ffc0d888508bed1baf
BLAKE2b-256 checksum
How to use checksums
6f5b630095560d304325feed789e874150489167713a36998753694f74954020
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 Sep 1, 2026.

Transparency log

Release files / compas_occt-0.1.20-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL compas_occt-0.1.20-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 19.8 MB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
44fe56c0c4d9d0ec4e10ccaf727d623ae34767e96c160f8372171a29433a1cd4
BLAKE2b-256 checksum
How to use checksums
79b9c0713304116f00291edd64da96bcdfa4c6f0a74776a0eb92a186a908e92d
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 Sep 1, 2026.

Transparency log

Release files / compas_occt-0.1.20-cp312-abi3-macosx_11_0_x86_64.whl

Download URL compas_occt-0.1.20-cp312-abi3-macosx_11_0_x86_64.whl
Size 15.9 MB
Tags CPython 3.12 abi3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
eaec96377d483df63afd5a2ebe0ae2997286865fe049f231ca7af32205947be8
BLAKE2b-256 checksum
How to use checksums
12f6fe4cd1f59fd5eaa2c9446dded729815ac8afbb0d0dc492790ea1ac593a77
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 Sep 1, 2026.

Transparency log

Release files / compas_occt-0.1.20-cp312-abi3-macosx_11_0_arm64.whl

Download URL compas_occt-0.1.20-cp312-abi3-macosx_11_0_arm64.whl
Size 14.5 MB
Tags CPython 3.12 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
452bdd0b51e634328b319659ed992217491bdd6ba846f936c225ad655a89c7c4
BLAKE2b-256 checksum
How to use checksums
4a9a155813ae83d949f69be5771286dbe90969248c58b3c87d6d288786d95e33
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 Sep 1, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.20 This release

5 release files

0.1.19

5 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page