
andreahaku/openscad_claude_skill
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
OpenSCAD를 사용하여 프로그래밍 3D CAD에 대한 Claude Code 기술. 디자인, 미리 보기, iterate, STL에서 재구성, 그리고 수출 3D 인쇄 모델 - AI 중심의 시각적 피드백과 자동화 된 메쉬 ...
개요
OpenSCAD를 사용하여 프로그래밍 3D CAD에 대한 Claude Code 기술. 디자인, 미리 보기, iterate, STL에서 재구성, 그리고 3D 인쇄할 수 있는 모형 - AI 몬 시각적인 의견 및 자동화한 메시 비교로. - - 렌더링 된 부분으로 "I need a spacer"에서 한 라운드 여행 : 가정은 추측됩니다, 다음 앞에 요청 대신 다시 나열 - - - booleans (import () + cut/add/trim)와 기존 STL을 편집, 한쪽으로 측정 된 프로필에서 정리, 그래서 3 번째 대신 첫 번째 인쇄에 맞는 - 생성 .
개요(AI 번역)
OpenSCAD를 사용하여 프로그래밍 3D CAD에 대한 Claude Code 기술. 디자인, 미리 보기, iterate, STL에서 재구성, 그리고 3D 인쇄할 수 있는 모형 - AI 몬 시각적인 의견 및 자동화한 메시 비교로.
특징
- ** 빠른 모드 ** - "I need a spacer"에서 렌더링 된 부분에 한 라운드 여행 : 가정은 추측된다, 다음 앞에 묻는 대신 다시 나열
-Modify 모드 — booleans (
import()] + cut/add/trim)를 가진 기존의 STL를 수정하지 않고, -Printer Calibration — Clearances는 1개의 측정된 단면도에서, 그래서 3의 대신 첫번째 인쇄에 부분 적합 - **Programmatic 3D 모델링 ** -
.scad자연적인 언어 묘사에서 파일 생성 - **AI 비전 피드백 루프 ** - 다중 각도 PNG 미리보기를 렌더링하고 결정적으로 refine 디자인 분석
- **STL-to-SCAD 재구성 ** - SVG 프로파일링 및 SDF 최적화를 사용하여 기하학 OpenSCAD 코드로 역설계 STL 메쉬
- **Image-to-CAD 복제 ** - 참조 사진에서 물리적 개체를 재현 -Parametric design - CLI [T2] 플래그를 통해 과도한 변수로 모든 차원
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
OpenSCAD Claude Code Skill
A Claude Code skill for programmatic 3D CAD using OpenSCAD. Design, preview, iterate, reconstruct from STL, and export 3D-printable models — with AI-driven visual feedback and automated mesh comparison.
Features
- Quick mode — One round trip from “I need a spacer” to a rendered part: assumptions are guessed, then listed back explicitly instead of asked for up front
- Modify mode — Edit an existing STL with booleans (
import()+ cut/add/trim) in minutes, without reconstructing it - Printer calibration — Clearances descend from one measured profile, so a part fits on the first print instead of the third
- Programmatic 3D modeling — Generate
.scadfiles from natural language descriptions - AI vision feedback loop — Render multi-angle PNG previews and analyze them to iteratively refine designs
- STL-to-SCAD reconstruction — Reverse-engineer STL meshes into parametric OpenSCAD code using SVG profiling and SDF optimization
- Image-to-CAD replication — Reproduce physical objects from reference photos
- Parametric design — All dimensions as variables, overridable via CLI
-Dflags - Mesh comparison — Boolean diff rendering and IoU scoring to verify reconstruction accuracy
- Printability analysis — Wall thickness, overhang, and manifold validation
- Reusable module library — Common 3D printing patterns (counterbores, heat-set bosses, ribs, snap-fits)
- Eval framework — Automated testing with 20 binary assertions across 4 scenarios (100% pass rate)
Prerequisites
OpenSCAD, reachable from the CLI. Every script resolves it as $OPENSCAD_BIN, else
command -v openscad — no path is hardcoded.
sudo pacman -S openscad # Arch / Omarchy
brew install openscad # macOS
sudo apt install openscad # Debian / Ubuntu
Python packages, needed only by Reconstruct and Replicate. Quick, Modify, Design and Export work without them.
# Arch: install from the repos, the interpreter is externally managed and pip will refuse
sudo pacman -S python-trimesh python-numpy python-scipy python-shapely python-rtree
# macOS / other
pip3 install trimesh numpy scipy rtree shapely
Claude Code CLI installed.
Calibrate the printer, once
Clearances are the difference between a part that fits and a reprint. Print
templates/calibration-comb.scad one time, measure it, and write the numbers into
templates/printer-profile.scad. Until profile_measured is set to true the skill uses
declared defaults and says so whenever it emits a part whose function depends on a fit.
Installation
Option 1: Clone and symlink (recommended)
추천 도구
다른 키워드를 입력하거나 필터를 제거해 보세요.
설치
npx skillfish add andreahaku/openscad_claude_skill