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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

compas_occt-0.1.19.tar.gz (5.9 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

compas_occt-0.1.19-cp312-abi3-win_amd64.whl (10.4 MB view details)

Uploaded CPython 3.12+Windows x86-64

compas_occt-0.1.19-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (19.8 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

compas_occt-0.1.19-cp312-abi3-macosx_11_0_x86_64.whl (15.9 MB view details)

Uploaded CPython 3.12+macOS 11.0+ x86-64

compas_occt-0.1.19-cp312-abi3-macosx_11_0_arm64.whl (14.5 MB view details)

Uploaded CPython 3.12+macOS 11.0+ ARM64

File details

Details for the file compas_occt-0.1.19.tar.gz.

File metadata

  • Download URL: compas_occt-0.1.19.tar.gz
  • Upload date:
  • Size: 5.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for compas_occt-0.1.19.tar.gz
Algorithm Hash digest
SHA256 12f903ba5a8ad9507c0de649abc48dfd48fd6feb6b036af53a6b0e0d1c86e4aa
MD5 8a7e13b5fd801955fe2aeea94b456dbc
BLAKE2b-256 b208e1fa7530930deb420f1d139c4e901204806530064bcacf66d2b74f5141cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for compas_occt-0.1.19.tar.gz:

Publisher: release.yml on petrasvestartas/compas_occt

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file compas_occt-0.1.19-cp312-abi3-win_amd64.whl.

File metadata

  • Download URL: compas_occt-0.1.19-cp312-abi3-win_amd64.whl
  • Upload date:
  • Size: 10.4 MB
  • Tags: CPython 3.12+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for compas_occt-0.1.19-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 16a5681e2ed3107178bc4954ac1b15c045ddd848169fc69bcc989a3bb3604cc5
MD5 207aea37bc2abe968e09f171acdc1119
BLAKE2b-256 c34a2248f8cce6e18573afce0d8f7ec29e3605eed3ea5619b2945c88cba998bc

See more details on using hashes here.

Provenance

The following attestation bundles were made for compas_occt-0.1.19-cp312-abi3-win_amd64.whl:

Publisher: release.yml on petrasvestartas/compas_occt

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file compas_occt-0.1.19-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for compas_occt-0.1.19-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7d8501e80ee7a5083daf0cc7978b08fab9467d61cb633a8cc0bbb7ed3a9c91d2
MD5 4e731f69839a753103ab8deed265b51b
BLAKE2b-256 5a70b7574d94faf2a52c2fb67463a3f6caf0e078c02e94556244bf5e7b3e3c90

See more details on using hashes here.

Provenance

The following attestation bundles were made for compas_occt-0.1.19-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: release.yml on petrasvestartas/compas_occt

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file compas_occt-0.1.19-cp312-abi3-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for compas_occt-0.1.19-cp312-abi3-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 a9d3e487b1e163dc16416a97bc45f429ba56d642ef86084ccd399ec528f522ae
MD5 1cf87adaf3c5003f01bb3e9fe12d4ed3
BLAKE2b-256 7b01a59ddc4a149017ff95a469a27170b18ed9a43d20f1a2b48d2d04c1748707

See more details on using hashes here.

Provenance

The following attestation bundles were made for compas_occt-0.1.19-cp312-abi3-macosx_11_0_x86_64.whl:

Publisher: release.yml on petrasvestartas/compas_occt

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file compas_occt-0.1.19-cp312-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for compas_occt-0.1.19-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 10d158b13e168fe86bb3944c7a5e06bafbd44071900cdedadf473c949968c380
MD5 0586dc9ee2b158ab5c50c9a505ec76aa
BLAKE2b-256 0c98e325d6d63794719bb43be1f840f204cbf5b8a61a1804c92f5929edc1bcb9

See more details on using hashes here.

Provenance

The following attestation bundles were made for compas_occt-0.1.19-cp312-abi3-macosx_11_0_arm64.whl:

Publisher: release.yml on petrasvestartas/compas_occt

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.1.20

5 files

This release

0.1.19 This release

5 files

0.1.18

17 files

0.1.17

17 files

0.1.16

17 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