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

✍️ OpenClawRadar📅 Published: March 31, 2026🔗 Source
AI-generated 3D-printable pegboard from hand-drawn sketch
Ad

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/ and models/pieces/
  • Python scripts in scripts/ for generating shapes, gears, boards, and repository assets
  • AGENTS.md with instructions for coding agents to extend the set
Ad

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.py

The 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

Ad

👀 See Also

Solo Founder Uses Claude Code for FDA Submission and Patent Review
Use Cases

Solo Founder Uses Claude Code for FDA Submission and Patent Review

A solo founder building a contactless sleep monitor used Claude Code for a 10-hour session to file an FDA Pre-Submission, create 8 regulatory documents, run a parallel agent patent review, and update 38 document references after regulatory changes.

OpenClawRadar
Building a 20K+ Line Production SaaS Platform with Claude Code: Lessons from Agentic Engineering at Scale
Use Cases

Building a 20K+ Line Production SaaS Platform with Claude Code: Lessons from Agentic Engineering at Scale

A developer open-sourced LastSaaS, a production-ready SaaS boilerplate built entirely through conversation with Claude Code, featuring Go backend, React frontend, multi-tenant auth, Stripe billing, and a built-in MCP server. The project reveals what works and requires discipline when using AI agents for large-scale development.

OpenClawRadar
Emergency coding setup: Claude Code on OCI free VM with Termux on Android
Use Cases

Emergency coding setup: Claude Code on OCI free VM with Termux on Android

A developer shares a setup using Oracle Cloud Infrastructure's free VM (24GB RAM, 4 vCPUs) with Claude Code installed, accessed via Termux on Android for emergency coding when a laptop isn't available. The setup requires Claude Pro ($20/month) or Max ($100/month) subscription.

OpenClawRadar
Recursive AI Agent System Builds and Improves Its Own Website
Use Cases

Recursive AI Agent System Builds and Improves Its Own Website

A developer built a website using Claude Code that generates its own newsletter content, then uses that content to identify gaps and create an improvement backlog. The system runs on a weekly pipeline deployed on Vercel.

OpenClawRadar