Create gridfinity items with build123d
  • Python 99.8%
  • Shell 0.2%
Find a file
2025-12-04 20:58:09 +01:00
.github Merge pull request #121 from mulmschneider/patch-1 2025-03-26 18:49:46 +01:00
.vscode add pre-commit hooks 2024-03-08 14:36:54 +01:00
docs fix formatting/linting issues due to new ruff 2025-03-26 19:01:51 +01:00
src/gridfinity_build123d fix formatting/linting issues due to new ruff 2025-03-26 19:01:51 +01:00
tests format according to ruff standards 2025-02-09 10:08:03 +01:00
tools add pre-commit hooks 2024-03-08 14:36:54 +01:00
.coveragerc add pre-commit hooks 2024-03-08 14:36:54 +01:00
.gitignore add pre-commit hooks 2024-03-08 14:36:54 +01:00
.pre-commit-config.yaml add markdown exclusion for trailing whitespaces 2025-10-04 13:21:43 +02:00
.readthedocs.yaml add readthedocs config 2023-12-24 14:50:02 +01:00
LICENSE Initial commit 2023-10-04 19:46:42 +02:00
mypy.ini add pre-commit hooks 2024-03-08 14:36:54 +01:00
pyproject.toml update bd_warehouse dependency 2025-02-09 09:57:27 +01:00
README.md Update README.md 2025-10-04 13:15:10 +02:00
requirements.txt Bump ocp-vscode from 2.9.0 to 3.0.1 2025-12-01 03:25:16 +00:00

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