Skip to main content

cadaclysm

CAD file format reading and exact B-rep modelling.

File formats (import cadaclysm): STEP (AP203, AP214, AP242 and the other APs whose schemas it carries), IGES, IFC (2x3, 4, 4.3), Rhino .3dm, ACIS .sat, BREP (.brep) and OpenSCAD (.scad).

  • The assembly tree with names, colours, placements and attributes, and SQL-style filters to find nodes.
  • The exact B-rep geometry of every body, tessellated to the tolerance you ask for and handed back as zero-copy numpy arrays.
  • Export to glTF/GLB, OBJ and STL.

B-rep (from cadaclysm import blacksmith): an exact boundary-representation modelling kernel.

  • Extrude, revolve, sweep and loft; join, cut and common; fillet, chamfer and shell.
  • Open a B-rep body from a STEP, ACIS, Rhino, BREP, IGES or IFC file and keep modelling it.
  • Write STEP, with every schema built in.

Install

pip install cadaclysm            # the reader and the kernel, with their libraries
pip install "cadaclysm[numpy]"   # plus numpy, for meshes as arrays

Wheels for Windows x64, macOS 11+ (Apple silicon and Intel), and Linux x64 and arm64 (glibc 2.17+); Python 3.8 or later. The wheel carries the libraries and the wrappers of one release, so the two always match.

Build a part, then read it back

from cadaclysm.blacksmith import Axis, Profile, Selector, Workplane

plate = Workplane.xy().extrude(Profile.rect(120, 80), 14).solid()
boss = (Workplane.from_solid(plate)
        .faces(Selector.max(Axis.Z)).workplane()
        .extrude(Profile.circle(22), 26).solid())
part = plate.join(boss).cut(Workplane.xy().extrude(Profile.circle(11), 60).solid().translate(0, 0, -10))
part.step("plate.stp")
import cadaclysm

with cadaclysm.open("plate.stp") as scene:
    for node in scene.walk():
        print("  " * node.depth + node.label, f"[{node.kind}]")
    for placement in scene.placements:           # meshes need numpy
        print(placement.geometry.label, placement.geometry.mesh.triangle_count, "triangles")
    scene.save("plate.glb")

Licence

Everything works without a licence; a notice is printed to stderr on every open and every export. A licence file removes it: set CADACLYSM_LICENSE (a path or the text), put cadaclysm.lic in the working directory, or load it from code:

import cadaclysm
from cadaclysm import blacksmith

cadaclysm.license("cadaclysm.lic")
blacksmith.license("cadaclysm.lic")

The libraries are proprietary; the EULA ships in this package's licence file. Licences: https://cadaclysm.blitter.studio/license

The wheel's own libraries are used unless CADACLYSM_LIBRARY or CADACLYSM_BLACKSMITH_LIBRARY is set in the environment -- unset those when moving from the SDK, since they override the wheel's own files.

Documentation: https://cadaclysm.blitter.studio/docs/python.html. The C API and the C#, Go, Java, Node and Swift wrappers are in the SDK: https://github.com/rdeioris/cadaclysm-sdk

Release files for cadaclysm 0.5.1

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

Built distributions (wheels)

Table of built distributions (wheels) for cadaclysm 0.5.1
File
cadaclysm-0.5.1-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
cadaclysm-0.5.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details
cadaclysm-0.5.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details
cadaclysm-0.5.1-py3-none-macosx_11_0_universal2.whl Python 3 none macOS 11.0+ universal2 (ARM64, x86-64) Details

Total release size: 26.8 MB

Release files / cadaclysm-0.5.1-py3-none-win_amd64.whl

Download URL cadaclysm-0.5.1-py3-none-win_amd64.whl
Size 5.4 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
deab2a80ae83b2862490e93fff23751c864f1a010376ea27044d055836b49caa
BLAKE2b-256 checksum
How to use checksums
792fbdc95dc9eb60b90c275ef044fc836ef44ab85584d93e046f73ae920c077c
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 19, 2026.

Transparency log

Release files / cadaclysm-0.5.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL cadaclysm-0.5.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 5.6 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
22ca96ff420aa110809143182709a94ee87e3ea9fdbee5b27d1a405faf727dd1
BLAKE2b-256 checksum
How to use checksums
acf6f54d0ea1b73d54b0e23def7c158347b60753fa9dc631c4bf78e124d46293
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 19, 2026.

Transparency log

Release files / cadaclysm-0.5.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL cadaclysm-0.5.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 5.1 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
89d7c2fe6b52b7e67367a69b2447d88d818735a7bac33a0a6419e3fb5e208cb9
BLAKE2b-256 checksum
How to use checksums
48f52aab2e788a0b7dcfdc87c0694ed97d47950e50c1476b53824cd469b57815
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 19, 2026.

Transparency log

Release files / cadaclysm-0.5.1-py3-none-macosx_11_0_universal2.whl

Download URL cadaclysm-0.5.1-py3-none-macosx_11_0_universal2.whl
Size 10.7 MB
Tags Python 3 macOS 11.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
2e03b08bc44b6e8c30ce81dc6795b8eff057779219343ffd20a50d89c8724c2b
BLAKE2b-256 checksum
How to use checksums
8de77dda7e4b553e25f910f6686c8d0e2b8842e27600955ad2cd48f33d7b632d
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 19, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.5.1 This release

4 release files

0.5.0

4 release files

0.4.5

4 release files

0.4.4

4 release files

0.4.3

4 release files

0.4.2

4 release files

0.4.1

4 release files

0.4.0

4 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