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.0.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.0-py3-none-any.whl (44.8 kB view details)

Uploaded Python 3

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

Hashes for microfinity-0.1.0.tar.gz
Algorithm Hash digest
SHA256 48effd6892aacf5a4a951d7b23cc514ba988fdb508931d502393453860dd0c55
MD5 af2615b144e1ee918b25a512beb07dff
BLAKE2b-256 3161562e7e647d2514a396420935a617ca81027d86746c943991a1c484d5088a

See more details on using hashes here.

Provenance

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

Publisher: publish.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.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

Hashes for microfinity-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b5df1b528719f533a426bcf8e35917d5233b71b5719c32c900ceea375e1dae5c
MD5 63ab11c7c8ec13d3ac32bf7aa9637812
BLAKE2b-256 417bfed5ad9ab4d8d20513962a7e5d21ce3043d04055d83094ea272ddeef1ac9

See more details on using hashes here.

Provenance

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

Publisher: publish.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