mirror of
https://github.com/Ruudjhuu/gridfinity_build123d.git
synced 2026-02-04 05:16:37 -07:00
Create gridfinity items with build123d
- Python 99.8%
- Shell 0.2%
|
|
||
|---|---|---|
| .github | ||
| .vscode | ||
| docs | ||
| src/gridfinity_build123d | ||
| tests | ||
| tools | ||
| .coveragerc | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| .readthedocs.yaml | ||
| LICENSE | ||
| mypy.ini | ||
| pyproject.toml | ||
| README.md | ||
| requirements.txt | ||
gridfinity_build123d
Gridfinity (design by Zack Freedman) is a grid based storage solution. This repository contains python modules to create gridfinity capable objects in build123d.
See the documentation for more information and examples.

Installation
python3 -m pip install git+https://github.com/Ruudjhuu/gridfinity_build123d
Usage
import build123d
from gridfinity_build123d import (
BaseEqual,
Bin,
Compartment,
CompartmentsEqual,
)
part = Bin(
BaseEqual(grid_x=2, grid_y=1),
height_in_units=3,
compartments=CompartmentsEqual(compartment_list=[Compartment()]),
)
build123d.export_stl(part, "bin_2x1x3.stl")
build123d.export_step(part, "bin_2x1x3.step")
Credits
@zackfreedman -- gridfinity
grizzie17 -- gridfinity-refined