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

One Month with OpenClaw: Personalization Successes and Stability Challenges
An AI researcher replaced ChatGPT Plus with OpenClaw for one month, achieving personalized chatbot functionality through USER.md and PERSONAL_MODEL.md files, daily check-in agents, and spending reports, but encountered persistent breakage requiring Claude Code intervention.

Claude AI Adopts Custom Terminology from 300-Page Specifications Without Prompting
A developer loaded over 300 pages of formal specifications into Claude AI as project knowledge, including 88,000 words across 20 papers, 35 falsifiers, a glossary, field guide, test suite, and compression toolkit. Claude began using the custom vocabulary operationally to describe its own processes without being prompted.

Claude Built a Skeuomorphic Keyboard Simulator in One Session — Public Transcripts, CORS Proxied Unsplash Backgrounds
A single Claude session produced a skeuomorphic typing app with public transcript, hidden input for native shortcut handling, SVG keys from Figma, and CORS-proxied Unsplash backgrounds served as WebP.

Solo Founder Builds News Analysis Platform with Claude Code: Lessons on Scaling and Debugging
A solo founder without a CS degree built The Daily Martian, a news analysis platform analyzing 40+ outlets using Python/FastAPI, PostgreSQL, Redis, and React/TypeScript, primarily through Claude Code. The developer shares specific challenges including context loss, database connection issues, and debugging strategies.