r2
Free open-source Cloudflare R2 desktop client and S3 GUI for macOS, Windows, and Linux. Manage Cloudflare R2, AWS S3, M…
Simple yet powerful CAD (Computer Aided Design) library, written with Python.
Mechanical design as code -- a Python CAD library for engineers who prefer scripts and automation over clicks.
PyMADCAD is a script-based CAD library where the Python script is the model. Design mechanical parts with transparent, composable geometry you can version, diff, test, and automate -- no parametric black box, no opaque GUI. It outputs triangulated meshes ready for rendering, simulation, or 3D printing.
uimadcad is the graphical frontend for pymadcad -- an interactive 3D editor with multi-view scene, script editor, and quick primitive tools. Everything you can do in the GUI, you can also do in a script.
Website · Documentation · Examples · Matrix chat
pip install pymadcad
Optional file format support:
pip install pymadcad[stl,ply,obj]
from madcad import * show(extrusion(ArcThrough(+Y, Z, -Y), 2*X))
from madcad import * m1 = brick(width=vec3(2)) m2 = m1.transform(vec3(0.5, 0.3, 0.4)).transform(quat(0.7 * vec3(1, 1, 0))) show([difference(m1, m2)])
See the examples/ folder and the guide for more.
pymadcad/
├── madcad/ # Python module
├── src/ # Rust extensions for the python module (performance-critical operations)
├── examples/ # example of mechanisms designed with madcad
├── tests/ # all unit tests for madcad
└── docs/ # docs based on mkdocs
This python module stands as a library proposing few data structures and a lot of functions to operate them. It is mostly functional and straight forward code style
The rust extension of pymadcad standard as madcad.core and is based on pyo3 and built with maturin
Here are recommended ways to work with this repo
# clone this repository from official sources git clone https://github.com/jimy-byerley/pymadcad cd pymadcad # Install dependencies uv sync
# build the Rust extension for inplace use of madcad, add --release for bechmarks maturin develop # Run tests pytest # run tests but skip visual checks MADCAD_VISUALCHECK=false pytest # Build and serve the docs locally mkdocs serve
# build pymadcad package maturin build --release # just build the docs website mkdocs build
Copyright 2019-2026 Yves Dejonghe jimy.byerley@gmail.com
Distributed under the LGPL-v3 license.
more like this
Free open-source Cloudflare R2 desktop client and S3 GUI for macOS, Windows, and Linux. Manage Cloudflare R2, AWS S3, M…
simple generator for 3D-printed frames for a moxon rectangle antenna
GPX 轨迹转 3D 可打印地形模型 | Hiking trail to 3D printable terrain | Electron + Vue。 一款面向户外爱好者与 3D 打印玩家的 Web 工具。将 GPX 徒步/骑行轨迹一键转…
search projects, people, and tags