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.18.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.18-cp312-abi3-win_amd64.whl (10.4 MB view details)

Uploaded CPython 3.12+Windows x86-64

compas_occt-0.1.18-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.18-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.18-cp312-abi3-macosx_11_0_arm64.whl (14.5 MB view details)

Uploaded CPython 3.12+macOS 11.0+ ARM64

compas_occt-0.1.18-cp311-cp311-win_amd64.whl (10.4 MB view details)

Uploaded CPython 3.11Windows x86-64

compas_occt-0.1.18-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (19.8 MB view details)

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

compas_occt-0.1.18-cp311-cp311-macosx_11_0_x86_64.whl (15.9 MB view details)

Uploaded CPython 3.11macOS 11.0+ x86-64

compas_occt-0.1.18-cp311-cp311-macosx_11_0_arm64.whl (14.5 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

compas_occt-0.1.18-cp310-cp310-win_amd64.whl (10.4 MB view details)

Uploaded CPython 3.10Windows x86-64

compas_occt-0.1.18-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (19.8 MB view details)

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

compas_occt-0.1.18-cp310-cp310-macosx_11_0_x86_64.whl (15.9 MB view details)

Uploaded CPython 3.10macOS 11.0+ x86-64

compas_occt-0.1.18-cp310-cp310-macosx_11_0_arm64.whl (14.5 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

compas_occt-0.1.18-cp39-cp39-win_amd64.whl (10.4 MB view details)

Uploaded CPython 3.9Windows x86-64

compas_occt-0.1.18-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (19.8 MB view details)

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

compas_occt-0.1.18-cp39-cp39-macosx_11_0_x86_64.whl (15.9 MB view details)

Uploaded CPython 3.9macOS 11.0+ x86-64

compas_occt-0.1.18-cp39-cp39-macosx_11_0_arm64.whl (14.5 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for compas_occt-0.1.18.tar.gz
Algorithm Hash digest
SHA256 b681339c5124ca35fd54c445d1fc88ac6fb249525457b3243f57ac4790735d22
MD5 06dbde36e7934c8eb88f8efcf5e86043
BLAKE2b-256 65197551c525f6a8fb0a81409ee670fca577aa5f9c70b7f99d5e5968e04e960e

See more details on using hashes here.

Provenance

The following attestation bundles were made for compas_occt-0.1.18.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.18-cp312-abi3-win_amd64.whl.

File metadata

  • Download URL: compas_occt-0.1.18-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/6.1.0 CPython/3.13.12

File hashes

Hashes for compas_occt-0.1.18-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b31ebdba78d6fe1d0c991bfd16a33209a47124a0d2db2cf18d827026aac6eec7
MD5 ba63c199f3b526f9a940459e84fc0b14
BLAKE2b-256 c7efed91dacd43bf662c49d0d3afdffb2742e8bcd4f547fd5841d7f468eb3eb6

See more details on using hashes here.

Provenance

The following attestation bundles were made for compas_occt-0.1.18-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.18-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for compas_occt-0.1.18-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e3d08d35dceebd00c9e4ed37bdf853a2bfbfd92564deb4f1bffa37bf46257837
MD5 6d04f8e821ed4a914764b5ab3b497735
BLAKE2b-256 d77280c4a397481b6304740482e48c87556127ae3fa475d541879df119f9afa5

See more details on using hashes here.

Provenance

The following attestation bundles were made for compas_occt-0.1.18-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.18-cp312-abi3-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for compas_occt-0.1.18-cp312-abi3-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 59652d717a4530067e50bfc80965a56a8a4650c77253f5fb22a48529381eba3a
MD5 bdd0bad8a349fde195981b5e22c51323
BLAKE2b-256 a9451895976476ca8e7d4b279cee4413bacd58fb0aa6a9d2e74b6ce0162c3a5c

See more details on using hashes here.

Provenance

The following attestation bundles were made for compas_occt-0.1.18-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.18-cp312-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for compas_occt-0.1.18-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3fa52e2598131796b3edf0797e7ed1e2110e16027b68681f63a3afeebfe2c212
MD5 bcca336c882e983a8b8d452bb4a7f513
BLAKE2b-256 58f724163e33cd221202183064cf5fd375a8d90bc3498c47d2bbf08574462a7e

See more details on using hashes here.

Provenance

The following attestation bundles were made for compas_occt-0.1.18-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.

File details

Details for the file compas_occt-0.1.18-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for compas_occt-0.1.18-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 877c4b6d0ddb1826a1678dc1b98139afd186a6b37cab52e13a8fafaec54c1afa
MD5 d6f4d2686b46cf4915ac4e1050f80f5f
BLAKE2b-256 7bb3a71d9b7e165c45d4a0c551a75e6831144c9d858d6ee7a6789aab7a1e5139

See more details on using hashes here.

Provenance

The following attestation bundles were made for compas_occt-0.1.18-cp311-cp311-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.18-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for compas_occt-0.1.18-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 da1640377b0cff6e4d525806ab6a869b1005bd08cfe913d0f488a39ddb7bf239
MD5 5c9673baa2a1f1ca665e619bc333fdbb
BLAKE2b-256 0c19cf7d84ddaeac8b4cb65a62f42afaceacc9e8e8e533ffed3fbd1a303986d0

See more details on using hashes here.

Provenance

The following attestation bundles were made for compas_occt-0.1.18-cp311-cp311-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.18-cp311-cp311-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for compas_occt-0.1.18-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 7ea24b0f610b4698b77adb5a7647530356fe82d58d3f97e5ea9495e9d47553c2
MD5 73892ee2dbfc73548c980149606d7170
BLAKE2b-256 dd1c1a76e30619a27808a1af89708e7c572663156010674f036ba309f5eb6189

See more details on using hashes here.

Provenance

The following attestation bundles were made for compas_occt-0.1.18-cp311-cp311-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.18-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for compas_occt-0.1.18-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 76c247a64881fbc58c555c937120004f8239526f5bb3829893ad770533fda2ca
MD5 51c1cd31d6f84cd2212810f79843898c
BLAKE2b-256 5a08519c4ecd8b85f4dc4499d1da9a6aa918354ee685b6237da06188514c1aff

See more details on using hashes here.

Provenance

The following attestation bundles were made for compas_occt-0.1.18-cp311-cp311-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.

File details

Details for the file compas_occt-0.1.18-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for compas_occt-0.1.18-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 39821d23b137ba9a95124e391bcb8e2dbd2f979402929057368d442baceb754a
MD5 61c1513ea661fb4cedce009a2a7a71cf
BLAKE2b-256 015f6e2d351ccd426dc90fe94278ce1d109675e7df5b32948d4f179c8c82d663

See more details on using hashes here.

Provenance

The following attestation bundles were made for compas_occt-0.1.18-cp310-cp310-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.18-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for compas_occt-0.1.18-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2e99163c99eaa4c825612848e502e416f7be7bc93d1fcd3e8197e62bad402244
MD5 a1094569e7b28188cada2d5f65953518
BLAKE2b-256 b8f2d7982d16a8944b86ecde552e1df88fedccb19d525ffddc99fdf7b0ffb84c

See more details on using hashes here.

Provenance

The following attestation bundles were made for compas_occt-0.1.18-cp310-cp310-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.18-cp310-cp310-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for compas_occt-0.1.18-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 3cd45af696c5201c7d5f27bcbac90acbc9429c899f2a267aeee043d7c1690038
MD5 b905c516ad1ef98421413a76dd10a430
BLAKE2b-256 9ad080eb7e01fc8ee0f95ab1fba77be6f5fd814228cff548811ca29e4d78c893

See more details on using hashes here.

Provenance

The following attestation bundles were made for compas_occt-0.1.18-cp310-cp310-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.18-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for compas_occt-0.1.18-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 800e3604777930c48a1f468c668e3c69dc16f88c03fe1017ae4c2600c7a7a4c0
MD5 1704b89aa180f3a79a4823080baf9e6a
BLAKE2b-256 aea1f529dc714dba3e2fac1b0f462fd7402858c2d6389c291de3b8ff845fb7ea

See more details on using hashes here.

Provenance

The following attestation bundles were made for compas_occt-0.1.18-cp310-cp310-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.

File details

Details for the file compas_occt-0.1.18-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: compas_occt-0.1.18-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 10.4 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for compas_occt-0.1.18-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 54ebf05a765ac4e6261ce0e1f32f6fec7249a4b08a3210accc5b59299897de33
MD5 cb830d5fd148a9cc3c49c235c71f9f71
BLAKE2b-256 7f9cf8a62ded9e394e7db5ad5a1d19f0ccabb930ced085f3d73fdf9f876099b1

See more details on using hashes here.

Provenance

The following attestation bundles were made for compas_occt-0.1.18-cp39-cp39-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.18-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for compas_occt-0.1.18-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1b9de082ab75939c1443eed32f39f02a9d77a21e8308db64403ba4aa825a9c8e
MD5 14965e00c2c2147d0c8ad52d121f9eaf
BLAKE2b-256 e211c542730e93fd40d55fb7e984e718077a390389cfdf9adfaafdb2069e2fd4

See more details on using hashes here.

Provenance

The following attestation bundles were made for compas_occt-0.1.18-cp39-cp39-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.18-cp39-cp39-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for compas_occt-0.1.18-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 d7c9d60a06ad7d40f442265c23e461d88447da59c1a5e852d66ab0df409f7c00
MD5 608097b1a086863da20b65e6f3897b3d
BLAKE2b-256 ecb154cad3278538dd98c2863faf84d451e907580c22fa4b3203593a9a3fbc8e

See more details on using hashes here.

Provenance

The following attestation bundles were made for compas_occt-0.1.18-cp39-cp39-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.18-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for compas_occt-0.1.18-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ce6efbdfb2190a4946fc158ae41dff09a5520b46db218ab43d7ae32fd6583a5a
MD5 fca56c7548b6d542f85f1af2aec2853e
BLAKE2b-256 02d6b177ab47997d2147b094add76ac8915d0ab0db4810b823a8761f69251184

See more details on using hashes here.

Provenance

The following attestation bundles were made for compas_occt-0.1.18-cp39-cp39-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

0.1.19

5 files

This release

0.1.18 This release

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