FA

flowful-ai/cad-skill

Productivity workflow

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

706 stars 品質 62 トレンド 44NOASSERTION

CadQueryによるパラメトリック3Dプリント可能なモデル生成のためのClaude Codeスキル

概要

CadQueryを使ってパラメトリック3Dプリント可能なモデルを生成するためのClaudeコードスキルです。物理オブジェクトを記述すると、Claudeはパラメトリックスクリプトを書き、STLをエクスポートし、プレビューをレンダリングし、適切になるまで繰り返します。 全文を読む:私はクロードに3Dプリント可能な部品の設計を教えました。その方法はこちらです。 上記のMX Master 3ビン(例/mx_master3_bin_3x3.py、MakerWorldで印刷・公開)はスキャンからポケットへのパイプラインを示しています。outline_from_scan.py 3Dスキャンからマウスの実際のフットプリントをたどり、輪郭はバウンディングスクエアを最小化する角度に回転させて、ビンが4x3ではなく3x3グリッドに収まるようにしています。そして、親指レストの下に傾いたサムスクープがスライドしてマウスを持ち上げます。 一度インストールすると、Claude Code内で2つの方法でスキルが発動します。 - 印刷したい部品を説明してください(「Arduino Unoの壁掛けを設計する」「この箱にスナップフィットの蓋が必要です」)。Claudeはトリガーキーワード(3Dプリント、STL、CadQuery、エンクロージャー、ブラケットなど)からスキルを習得します。

概要(AI 翻訳)

CadQueryを使ってパラメトリック3Dプリント可能なモデルを生成するためのClaudeコードスキルです。物理オブジェクトを記述すると、Claudeはパラメトリックスクリプトを書き、STLをエクスポートし、プレビューをレンダリングし、適切になるまで繰り返します。

全文を読む:私はクロードに3Dプリント可能な部品の設計を教えました。その方法はこちらです。

さらなる例

MakerWorldに掲載。

上記のMX Master 3ビン(例/mx_master3_bin_3x3.py、MakerWorldで印刷・公開)はスキャンからポケットへのパイプラインを示しています:outline_from_scan.pyは3Dスキャンからマウスの実際のフットプリントをたどり、輪郭はバウンディングスクエアを最小化する角度に回転させて、ビンが4x3ではなく3x3グリッドに収まるようにしています。そして、親指レストの下に傾いたサムスクープがスライドしてマウスを持ち上げます。

設置

使用法

一度インストールすると、Claude Code内で2つの方法でスキルが発動します。

  • Auto-trigger. 印刷したい部品を説明してください(「Arduino Unoの壁掛けを設計する」「この箱にスナップフィットの蓋が必要」)。Claudeはトリガーキーワード(3Dプリント、STL、CadQuery、エンクロージャー、ブラケットなど)からスキルを習得します。
  • **明示的なスラッシュコマンド。

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

CAD Skill for Claude Code

A Claude Code skill for generating parametric 3D-printable models using CadQuery. Describe a physical object, and Claude will write a parametric script, export STL, render previews, and iterate with you until it’s right.

Read the full write-up: I Taught Claude to Design 3D-Printable Parts. Here’s How

More examples

Published on MakerWorld.

The MX Master 3 bin above (examples/mx_master3_bin_3x3.py, printed and published on MakerWorld) shows the scan-to-pocket pipeline: outline_from_scan.py traces the mouse’s real footprint from a 3D scan, the outline is rotated to the angle that minimizes its bounding square so the bin fits a 3x3 grid instead of 4x3, and a tilted thumb scoop ramps under the thumb rest to lift the mouse out.

Installation

mkdir -p ~/.claude/skills
git clone https://github.com/flowful-ai/cad-skill ~/.claude/skills/parametric-3d-printing

Usage

Once installed, the skill activates in two ways inside Claude Code:

  • Auto-trigger. Describe a part you want to print (“design a wall mount for an Arduino Uno”, “I need a snap-fit lid for this box”) and Claude picks up the skill from its trigger keywords (3D print, STL, CadQuery, enclosure, bracket, and so on).
  • Explicit slash command. Type /parametric-3d-printing to invoke it directly, useful when your request does not contain the obvious keywords.

Claude will then walk you through requirements, build the model in phases (base shape, features, finish), and deliver an STL plus a rendered preview.

Dependencies

Requires Python 3.10-3.12 (CadQuery’s OCC kernel does not have wheels for 3.13+):

python3.12 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt

Files

File Purpose
SKILL.md Skill definition and workflow instructions for Claude
GitHub で README 全文を見る

推奨ツール

別のキーワードを試すか、フィルタを外してください。

インストール

npx skillfish add flowful-ai/cad-skill
MCP 初心者?mcpskill.org のガイドから始めましょう →