CadKit
# project.py
import cadquery as cq
import cadkit as ck
PLATE_LENGTH = 60
PLATE_WIDTH = 24
PLATE_THICKNESS = 6
MOUNT_EDGE_DISTANCE = 10
MOUNT_HOLE_DIAMETER = 4.3
MOUNT_X = PLATE_LENGTH / 2 - MOUNT_EDGE_DISTANCE
def plate_body():
# Local datum: centre of the bottom face. Dimensions are millimetres.
return cq.Workplane("XY").rect(PLATE_LENGTH, PLATE_WIDTH).extrude(PLATE_THICKNESS)
plate = ck.Part(
"plate",
body=plate_body,
manufacture=ck.FDM("PETG"),
features={
"mounting-holes": ck.Hole(
diameter=MOUNT_HOLE_DIAMETER, depth=PLATE_THICKNESS, through=True,
pattern=ck.PointPattern(((-MOUNT_X, 0), (MOUNT_X, 0))),
),
},
)
assembly = ck.Assembly("bracket")
installed_plate = assembly.add("plate", plate)
assembly.fix(installed_plate)
PROJECT = assembly.as_project()
CadKit favours explicit design intent: named inputs drive local parts, parts own their manufacturing definitions, and assemblies own placement and relationships. The project-structure guide shows how to grow this into cohesive modules, with a runnable example and supported escape hatches.
Install
macOS and Linux — arm64 and x86_64:
curl -fsSL https://aurkakoak.github.io/cadkit/install.sh | sh
On macOS, open ~/Applications/CadKit.app. On Linux, launch CadKit from the
application menu or run ~/.local/bin/cadkit-desktop. Python and the CAD libraries
are included.
You can also download a DMG or Linux archive from Releases. Unsigned builds may show a macOS security warning.
Python — requires uv:
uv init --python 3.12 my-cad-project
cd my-cad-project
uv add cadkit-py
# Save the example above as project.py.
uv run cadkit --project project:PROJECT build all
For a custom desktop environment: uv add 'cadkit-py[desktop]'.
Agent skill:
npx skills add aurkakoak/cadkit --skill cadkit
Documentation · Run from source · Release process
Licence
CadKit's original code and documentation are licensed under Apache-2.0. Bundled third-party code retains its own copyright notices and licences; the included cq_warehouse fastener code is also Apache-2.0.
Metadata
Release files for cadkit-py 0.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cadkit_py-0.7.0.tar.gz | 185.8 kB | Without provenance | Details for cadkit_py-0.7.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cadkit_py-0.7.0-py3-none-any.whl | Python 3 | none | any | Details for cadkit_py-0.7.0-py3-none-any.whl |
Total release size: 347.4 kB
Release files / cadkit_py-0.7.0.tar.gz
| Download URL | cadkit_py-0.7.0.tar.gz |
|---|---|
| Size | 185.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
13981e8da156bacb6390b5bc0b2a02bb4335b4a5647a72525630363166f92243
|
|
BLAKE2b-256 checksum How to use checksums |
c55621d12388975f9b678e9f8f99eda8bf846bacd2fcac462915c16fe13319ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / cadkit_py-0.7.0-py3-none-any.whl
| Download URL | cadkit_py-0.7.0-py3-none-any.whl |
|---|---|
| Size | 161.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
027ca0740402fa935ae5d6dc38adde1cc6c1ad91572950327c4ee6bef490ece6
|
|
BLAKE2b-256 checksum How to use checksums |
37b423d2037a6c54b980c4938cd323c017f3a29bb7766328434d438899e03719
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for cadkit-py 0.7.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.