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.0

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.0
File
cadaclysm-0.5.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
cadaclysm-0.5.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details
cadaclysm-0.5.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details
cadaclysm-0.5.0-py3-none-macosx_11_0_universal2.whl Python 3 none macOS 11.0+ universal2 (ARM64, x86-64) Details

Total release size: 26.7 MB

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

Download URL cadaclysm-0.5.0-py3-none-win_amd64.whl
Size 5.4 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
eb31035c24d3d7e4bc27edb3e76321932120623e7775cf0e6d1a6649f852bf8f
BLAKE2b-256 checksum
How to use checksums
652896e5803059edc763051fcea1e4e6c89acba6c95aa05b6e30226f28039c0e
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.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL cadaclysm-0.5.0-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
9aea0964747706dc5cf6eae8b7574d1fcb969f37df8d127ee3d10f0d9565b07e
BLAKE2b-256 checksum
How to use checksums
718ce83aba2beacd73dad280ef630efe329da63a13e097f8988c7a36d7c4b835
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.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL cadaclysm-0.5.0-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
3fcd441a9a4d1cec006f8733a152ad09056c82e35cee06a2ffad5f991756f64e
BLAKE2b-256 checksum
How to use checksums
a0722e2b5d957ca17fa61b640faf5dc3fd8c18ccc4d1e942d56220fe2158ac7e
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.0-py3-none-macosx_11_0_universal2.whl

Download URL cadaclysm-0.5.0-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
2191c22121395d55113e41e3792c39a38bdc594928d792f11523c03dc351074a
BLAKE2b-256 checksum
How to use checksums
d0bcc2d5bb88d145661d8caf3d5a6e6d384db209ad16359e059ac5c5a762433c
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

0.5.1

4 release files

This release

0.5.0 This release

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