A python library to make Gridfinity compatible objects with CadQuery.
Project description
microfinity
A Python library to make Gridfinity compatible objects with CadQuery.
The Gridfinity system was created by Zach Freedman as a versatile system of modular organization and storage modules. This library provides Python classes to create parameterized Gridfinity components including boxes, baseplates, drawer spacers, and rugged storage boxes.
Note: This is a fork of cq-gridfinity by Michael Gale.
Installation
pip install microfinity
Or install from source:
git clone https://github.com/nullstack65/microfinity.git
cd microfinity
pip install -e .
Dependencies
Quick Start
import microfinity
print(microfinity.__version__)
from microfinity import *
# Make a simple box
box = GridfinityBox(3, 2, 5, holes=True, scoops=True, labels=True)
box.save_stl_file()
# Output: gf_box_3x2x5_holes_scoops_labels.stl
CLI Commands
microfinity-box
microfinity-box 2 3 5 -m -f stl
microfinity-base
microfinity-base 7 4 -s -f stl
microfinity-rugged
microfinity-rugged 5 4 6 --box --lid -f stl
Classes
GridfinityBox- Boxes with dividers, scoops, labels, magnet holesGridfinityBaseplate- Baseplates with optional mounting tabsGridfinityDrawerSpacer- Spacers for fitting baseplates in drawersGridfinityRuggedBox- Rugged storage boxes with lids and handles
Development
python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
pytest
References
- Gridfinity wiki
- Original cq-gridfinity by Michael Gale
License
MIT License. Originally created by Michael Gale.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file microfinity-0.1.0.tar.gz.
File metadata
- Download URL: microfinity-0.1.0.tar.gz
- Upload date:
- Size: 38.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48effd6892aacf5a4a951d7b23cc514ba988fdb508931d502393453860dd0c55
|
|
| MD5 |
af2615b144e1ee918b25a512beb07dff
|
|
| BLAKE2b-256 |
3161562e7e647d2514a396420935a617ca81027d86746c943991a1c484d5088a
|
Provenance
The following attestation bundles were made for microfinity-0.1.0.tar.gz:
Publisher:
publish.yml on nullStack65/microfinity
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
microfinity-0.1.0.tar.gz -
Subject digest:
48effd6892aacf5a4a951d7b23cc514ba988fdb508931d502393453860dd0c55 - Sigstore transparency entry: 780453302
- Sigstore integration time:
-
Permalink:
nullStack65/microfinity@047ea9375f81beb54d72e2e7b9208f6b04fc4a95 -
Branch / Tag:
refs/heads/releases - Owner: https://github.com/nullStack65
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@047ea9375f81beb54d72e2e7b9208f6b04fc4a95 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file microfinity-0.1.0-py3-none-any.whl.
File metadata
- Download URL: microfinity-0.1.0-py3-none-any.whl
- Upload date:
- Size: 44.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5df1b528719f533a426bcf8e35917d5233b71b5719c32c900ceea375e1dae5c
|
|
| MD5 |
63ab11c7c8ec13d3ac32bf7aa9637812
|
|
| BLAKE2b-256 |
417bfed5ad9ab4d8d20513962a7e5d21ce3043d04055d83094ea272ddeef1ac9
|
Provenance
The following attestation bundles were made for microfinity-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on nullStack65/microfinity
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
microfinity-0.1.0-py3-none-any.whl -
Subject digest:
b5df1b528719f533a426bcf8e35917d5233b71b5719c32c900ceea375e1dae5c - Sigstore transparency entry: 780453304
- Sigstore integration time:
-
Permalink:
nullStack65/microfinity@047ea9375f81beb54d72e2e7b9208f6b04fc4a95 -
Branch / Tag:
refs/heads/releases - Owner: https://github.com/nullStack65
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@047ea9375f81beb54d72e2e7b9208f6b04fc4a95 -
Trigger Event:
workflow_dispatch
-
Statement type: