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

Uploaded CPython 3.12+Windows x86-64

compas_occt-0.1.20-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.20-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.20-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.20.tar.gz.

File metadata

  • Download URL: compas_occt-0.1.20.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.20.tar.gz
Algorithm Hash digest
SHA256 afcad174924b4093c1cc2e65a079a6cfcd4bd15579c7467706b02366e9c7cade
MD5 9ec17f160ae39ad13689755d05f2cc6e
BLAKE2b-256 d0997823085aa04992230803d7381fa4358fec0e9edeb707265f46131d8dd145

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: compas_occt-0.1.20-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.20-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 4add99fd572a1a0acc1bf6b6f22a38ce38c39a8573cc87ffc0d888508bed1baf
MD5 737f8767c55f8ada4ede5c7ec2a040b5
BLAKE2b-256 6f5b630095560d304325feed789e874150489167713a36998753694f74954020

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for compas_occt-0.1.20-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 44fe56c0c4d9d0ec4e10ccaf727d623ae34767e96c160f8372171a29433a1cd4
MD5 b4228f209709f977b2d02b227d11dee5
BLAKE2b-256 79b9c0713304116f00291edd64da96bcdfa4c6f0a74776a0eb92a186a908e92d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for compas_occt-0.1.20-cp312-abi3-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 eaec96377d483df63afd5a2ebe0ae2997286865fe049f231ca7af32205947be8
MD5 2bd2658231dc140b1fd038263d0c3259
BLAKE2b-256 12f6fe4cd1f59fd5eaa2c9446dded729815ac8afbb0d0dc492790ea1ac593a77

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for compas_occt-0.1.20-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 452bdd0b51e634328b319659ed992217491bdd6ba846f936c225ad655a89c7c4
MD5 ee164b4013cced82420f34f791290658
BLAKE2b-256 4a9a155813ae83d949f69be5771286dbe90969248c58b3c87d6d288786d95e33

See more details on using hashes here.

Provenance

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

This release

0.1.20 This release

5 files

0.1.19

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