Skip to main content

A python library to make Gridfinity compatible objects with CadQuery.

Project description

microfinity

PyPI python version CadQuery cq-kit license code style: black

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 holes
  • GridfinityBaseplate - Baseplates with optional mounting tabs
  • GridfinityDrawerSpacer - Spacers for fitting baseplates in drawers
  • GridfinityRuggedBox - Rugged storage boxes with lids and handles

Development

python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
pytest

References

License

MIT License. Originally created by Michael Gale.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

microfinity-0.1.3.tar.gz (38.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

microfinity-0.1.3-py3-none-any.whl (44.8 kB view details)

Uploaded Python 3

File details

Details for the file microfinity-0.1.3.tar.gz.

File metadata

  • Download URL: microfinity-0.1.3.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

Hashes for microfinity-0.1.3.tar.gz
Algorithm Hash digest
SHA256 a42ff0ca6765e340cb887892d6332bf9113742b7ae299ce7160fe78689049830
MD5 0dd974bdead9ec3fda2d992d14298a70
BLAKE2b-256 efde192ad7743f35e88697fb319dd91616060f3b1dadb67882e57f86c016dfce

See more details on using hashes here.

Provenance

The following attestation bundles were made for microfinity-0.1.3.tar.gz:

Publisher: release-please.yml on nullStack65/microfinity

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file microfinity-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: microfinity-0.1.3-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

Hashes for microfinity-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1845764c7fcac730d173c50eb7679add59bd45405724349484cdd68a6d77b54c
MD5 ae3e6176f1170d431b336c19829cec54
BLAKE2b-256 6a0f85b43f40b9c5466923fdb4168adeb7cf9b277996e882f825f1c9a7c39191

See more details on using hashes here.

Provenance

The following attestation bundles were made for microfinity-0.1.3-py3-none-any.whl:

Publisher: release-please.yml on nullStack65/microfinity

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page