AI-generated 3D-printable pegboard from hand-drawn sketch

From sketch to 3D print in minutes
A developer created a 3D-printable pegboard toy by feeding a hand-drawn sketch into Codex with just two dimensional constraints. Instead of spending hours in Fusion 360, they got printable models in about a minute, then iterated on fit and feel through test prints.
Repository structure and contents
The GitHub repository contains parametric Python generators instead of hand-edited meshes, making modifications straightforward. Key components include:
- Seven flat play pieces with 8.45mm holes in
models/pieces/ - Four smooth gears in
models/gears/that mesh on the 40mm peg grid - Two printable boards plus a tuned peg in
models/boards/andmodels/pieces/ - Python scripts in
scripts/for generating shapes, gears, boards, and repository assets AGENTS.mdwith instructions for coding agents to extend the set
Tuned dimensions and specifications
The system uses these specific measurements after iteration:
- Grid pitch: 40.0mm
- Piece hole diameter: 8.45mm
- Gear hole diameter: 8.45mm
- Peg: 7.72mm diameter, 40.0mm long, 1.2mm end roundover
- Printed board hole diameter: 8.30mm (still being validated)
How to regenerate and modify
The setup uses standard Python tooling:
python3 -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt
python scripts/generate_pegboard_shapes.py
python scripts/generate_pegboard_gears.py
python scripts/generate_pegboard_board.py
python scripts/generate_repository_assets.pyThe AGENTS.md file provides instructions for coding agents to extend the set, including building larger pegboards (like 6x6), modifying peg lengths, adding new pieces for different peg combinations, scaling the system up or down, or generating tighter/looser fit-test variants.
📖 Read the full source: HN AI Agents
👀 See Also

Developer Creates 3D GitHub City Visualization Using Claude Code in One Day
A developer built Git City, a 3D visualization where GitHub users appear as pixel art buildings with height based on commits and width on repositories, using Claude Code exclusively in one day. The project uses Next.js, Three.js, Supabase, and Vercel.

Developer builds complex system in 20 hours using Claude AI without writing code
A developer with 28 years of experience used Claude AI to build a nearly complete product in one week and 20 hours without writing any code, describing the AI as a "wingman" that helps identify hazards and blind spots during development.

Practical Applications of OpenClaw for One-Person Company Operations
A developer shares their experience using OpenClaw for running a one-person company, noting it runs on your own machine in a VM or on a Mac Mini and connects to existing tools. The post suggests it's most applicable for repetitive tasks and small operations work rather than fully autonomous company management.

Hybrid Local+API Approach Cuts AI Costs by 79% in Month-Long Test
A developer running a 24/7 AI assistant on a Hetzner VPS reduced monthly costs from $288 to $60 by strategically combining local models with API calls. The setup uses nomic-embed-text for embeddings and Qwen2.5 7B for background tasks, routing more complex work to Claude models.