b3dkit
Utilities for build123d parts that have to be printed and assembled: splitting parts too big for the bed, snapping them together, fastening them, and venting them.
All linear dimensions are in millimeters and all angles are in degrees, matching build123d.
Installation
pip install b3dkit
Requires Python 3.11+ and build123d 0.11+. To run the __main__ demo in each
module, which previews parts in VS Code, install the viewer extra:
pip install b3dkit[viewer]
What's in it
| dovetail | Splits a Part into two that slide together with tight tolerances, for parts larger than your build volume. Includes a "snugtail" style suited to 3D printing, which wraps three sides for a large friction and glue surface. |
| click_fit | A tapered divot that prints and assembles better than a half sphere, letting parts click into place. |
| twist_snap | A connector and socket that lock with a twist, for joints meant to be opened repeatedly. |
| ball_socket | A ball mount and matching socket. |
| bolt_fittings | Bolt holes, countersinks, nut traps and heat-set insert recesses, sized for M3 by default. |
| hexwall | A honeycomb of hexagonal holes, flat or wrapped around a cone or cylinder, for venting and lightening. |
| basic_shapes | Rounded, polygonal, diamond and teardrop cylinders, plus the trigonometry helpers that place them. |
| antichamfer | Extends a face outward with a taper, like a foot or flat crown moulding. |
| slide_box, high_top_slide_box | Boxes with sliding lids. |
| Point | A lightweight 2D point with the geometry helpers the rest of the library needs. |
Example
from build123d import Align, Box, BuildPart, Mode
from b3dkit import DovetailStyle, Point, dovetail_split
with BuildPart(mode=Mode.PRIVATE) as oversized:
Box(50, 40, 50, align=(Align.CENTER, Align.CENTER, Align.MIN))
# split it into a mating pair that fits the bed
tail, socket = dovetail_split(
oversized.part,
Point(0, -20),
Point(0, 20),
style=DovetailStyle.SNUGTAIL,
)
Documentation
Full documentation, including a generated API reference, is at b3dkit.readthedocs.io.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
History
b3dkit began as fb-library, a way to isolate common utilities from
Fender-Bender. It outgrew that
project, and was renamed during a rewrite that reworked names and usage to feel
closer to native build123d.
License
Licensed under the terms of the MIT license.
Metadata
Release files for b3dkit 0.5.2
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 |
|---|---|---|---|---|
| b3dkit-0.5.2.tar.gz | 257.6 kB | With provenance | Details for b3dkit-0.5.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| b3dkit-0.5.2-py3-none-any.whl | Python 3 | none | any | Details for b3dkit-0.5.2-py3-none-any.whl |
Total release size: 296.6 kB
Release files / b3dkit-0.5.2.tar.gz
| Download URL | b3dkit-0.5.2.tar.gz |
|---|---|
| Size | 257.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fce9d3d86dfbe7ab432d82bf367eb542d31569914c522b5d23fabe49ba22d7f5
|
|
BLAKE2b-256 checksum How to use checksums |
8fe84dc7a14c713f4d410bae34c227bb2a1b35c9211a9e993bb714b05ba9e2bf
|
| 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 Oct 3, 2026.
Transparency logRelease files / b3dkit-0.5.2-py3-none-any.whl
| Download URL | b3dkit-0.5.2-py3-none-any.whl |
|---|---|
| Size | 39.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
598bf3f5a1d110af14c4770ff63ea09ef71ec4b09d55a05795303a950687ce2f
|
|
BLAKE2b-256 checksum How to use checksums |
b3a55052ef537be53a15744f716fea20fd3210dee3e0731663d7200963fb099b
|
| 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 Oct 3, 2026.
Transparency logSecurity for b3dkit 0.5.2
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for b3dkit-0.5.2.tar.gz
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 Oct 3, 2026.
Transparency logA 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.