Draft Fabrication Plansのロゴ

Draft Fabrication Plans

コミュニティ
lukapiskorec
draft-fabrication-plans

Use when asked for fabrication files, production drawings, printable A2 or A3 plans, sections, elevations, glue-up templates, a cut list or a stick or material order for building a physical scale model of a finished CraftBot experiment model. Not part of an experiment run.

概要

公開者lukapiskorec
リポジトリcraftbot
スキル名draft-fabrication-plans
スター
191
フォーク
29
同梱ファイル
指示のみ
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    lukapiskorecがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Draft Fabrication Plans」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/lukapiskorec/craftbot/tree/main/skills/draft-fabrication-plans
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/lukapiskorec/craftbot.git /tmp/craftbot
mkdir -p .claude/skills
cp -r /tmp/craftbot/skills/draft-fabrication-plans .claude/skills/draft-fabrication-plans
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでDraft Fabrication Plansを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にDraft Fabrication Plansを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Draft Fabrication Plansは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Draft fabrication plans

Overview

A fabrication set turns one finished model version into what a person needs to build it by hand from stock sticks: a model regenerated at the real stick sizes, a cut list and order, and sheets drawn 1:1 to the physical model so sticks can be laid on the paper. It lives in experiments/<NN>/fabrication/<Run>/, where <Run> is the name of the run folder the model comes from (GPT-6, Fable), so the sets of different models of one experiment never mix. One set per run, for one version; the README and the title block name the version. The run folder itself is a finished record: read it, never edit it.

The code is the fabrication kit in tools/. Read tools/API_FABRICATION.md, not the modules. The worked example is experiments/16_Expressive_Structure/fabrication/GPT-6/ (README, model, cut list, drawings, pedestal and front page scripts); copy its shape.

Decisions that are the user's

Ask before building, one question at a time, each with a recommendation:

  1. Which run and version (default: the latest version of the named run). An experiment often has several run folders; never guess between them, and never write into another run's fabrication subfolder.
  2. The stock: supplier page, profiles, stick length. Open the page and read every variant with its price and whether it is in stock. An out-of-stock profile is not an option.
  3. Paper size (default A2) and whether the whole model or a part is built.
  4. Scale and profile pairing, once you have computed the candidates below.

Scale and sticks

Scale is set by the paper, not by taste. The sheets are templates, so the largest view must fit one sheet at model size:

blender --background <version>.blend --python tools/export_members.py -- x.json     # prints extent and smallest scale for A2

Then for each candidate scale, real section x 1000 / scale gives the ideal stick. Offer the nearest in-stock profiles and say what each does to the design (a 36 x 90 slat at 1:15 is 2.4 x 6, so 3x5 means 45 x 75 real). Prefer whole sticks over ripped ones, and a wider board over an exact one when it cuts the piece count. Check the longest member against the stick length. Give a rough stick count and cost per option.

Procedure

  1. fab_model.py: a parametric copy of the version script. Replace the stock sizes by stick mm x scale, and derive every number that encoded the old section (wall build-ups, laps, offsets written as literals). Tag each member obj['stock'] = '3x5' (thickness x face in mm). A part that is not cut from sticks (a slab, a sheet panel) gets no tag: it is drawn, and left out of the cut list. Keep the overlap and contact checks and end with export_members.write_members(...), passing the frame lines and levels the drawings need as extra keys.
  2. Make it buildable, and write each change in the README. One long member instead of one piece per bay. Webs and rungs run to the far edge of what they join, for a glue lap. No stubs under 5 mm. A piece as long as the stick has zero slack: say so.
  3. fab_cutlist.py: prices ({'3x5': 0.40}, EUR per stick) and supplier text, then cutlist.write_cutlist. It asserts every tagged piece fits its stick section, which catches a wrong tag and a slab tagged as a stick.
  4. fab_drawings.py: the sheet list with drafting.SheetSet. Usual set: plans per layer, a plan section, elevations, two sections, one glue-up template per planar assembly (frame, wall panel), an unrolled sheet for any folded or ruled surface, axonometrics per viewer layer. One drawing per sheet is one call; a composed sheet is built by hand:
python
sheets = SheetSet(scale, 'Experiment NN - Title', 'Run vXX, stick model', viewer_url=URL, studio='{protocell:labs}')
wall = Drawing(panel, X, Z)                                    # viewer at cross(X, Z) = -y
add_marks(wall, 'level', [(0, '+0'), (100, '+100')])           # positions in model mm
sheets.view('Wall template', wall, note, labelled=panel, layers=depth_layers(panel, wall.toward))

sheet = sheets.blank()                                         # several drawings on one sheet
ox, oy = place(main.bounds(), sheet.w, sheet.h)                # raises if it does not fit at 1:1
main.paint(sheet, ox, oy); paint_extras(sheet, main, ox, oy)
annotate(sheet, main, frame, layers, ox, oy)
side.paint(sheet, ox + main.bounds()[2] + 24 - side.bounds()[0], oy)
sheets.add('Frame template', sheet, note)                      # title block and number
sheets.write(os.path.join(HERE, 'pdf'), os.path.join(HERE, 'svg'))      # HERE = fabrication/<Run>/
  1. Look at every sheet (below), then write the README: decisions, geometry changes, run commands, sheet list, known limits.

Sheet conventions

  • Every number on a sheet is model mm, levels included. Say so in the title block. Real metres appear only in the check bar.
  • The length is written on the piece. A lollipop beside it carries the stick profile and the layer. L1 lies on the paper, higher layers stack towards the viewer; a template is drawn as seen from above the table.
  • A layered assembly gets three views on one sheet: the template with the middle layer grey (Drawing(..., shade=is_web), a function of a member), a side view with the layer codes, and a small axonometric. annotate labels plies that share one outline once, with the codes joined (L2+L4).
  • Drawing(members, right, up, cut=c) removes what is nearer to the viewer than c, measured along the viewer axis cross(right, up). With X, Z the viewer stands at -y, so the section at y = 700 looking towards +y is cut=-700. A section plane that lands on a seam between boards cuts nothing: move it a fraction of a board.
  • An axonometric that is not at model size needs its own scale_text ('Axonometric, scale 1:20.').
  • Every sheet is portrait, for binding. A view or a composition that is wider than tall is drawn on a landscape blank (sheets.blank(landscape=True)), centred with sheets.place(bounds, sheet), and SheetSet.add turns it a quarter turn: its bottom edge lies along the right edge and the drawing reads with the sheet turned clockwise, while the labels read upright, because such a blank sets its text at -90 degrees. A label offset written for the sheet as read (a baseline a little below a centre, a name under a strip) goes through sheet.offset(dx, dy) so it turns with the page; lollipop, annotate and paint_extras already do. A composed sheet that has to read upright (the pedestal sheets) is laid out portrait from the start.
  • Title block, 32 mm, left to right: the QR code to the viewer model; two list columns with DATE and the credits of the set, SheetSet(..., credits=[('SUPERVISION', ...), ('AGENTS', ...), ('WORKFLOW', ...), ('DISCLAIMER', ...), ('SOURCE CODE', ...)]), split where the line count balances and spread between the top and bottom of the QR code; SCALE ('1:15, drawn 1:1 to the model, units mm') over a print check bar of 1 m real on the QR code's bottom line, ticks every 10 cm labelled 0cm, 50cm, 100cm; TITLE over PROJECT (experiment, 'Experiment 16 - Expressive Structure, GPT-6 v02') over the studio mark in MEK-Mono, flush right; the sheet number in a black box at the right edge, the side seen first in a bound folder. Printing is at 100 %. The layout is title_blocks.FOOTERS['r'], the default, chosen by Luka on 2026-09-25 from the study; SheetSet(..., footer='a') to 'q' picks an older one, title_blocks.HEIGHTS is what each keeps clear, and tools/footer_study/pdf/00_all_versions.pdf shows them all. A note longer than the sheet wraps onto a second line.
  • Text pages: a set opens with the run's documents (brief, concept, design notes, version notes) behind a project description, flowed by tools/newsprint.py into four justified columns of Times like an old newspaper, at the largest type that fills two pages, cut after the second. SheetSet.page adds such a sheet without a title block; it takes a number like any other. See fab_frontpage.py of the worked example: the masthead, the QR code to the repository and the agent team organigram (tools/organigram.py) are drawn there.
  • SheetSet.write prints the PDFs with headless Chrome, which embeds the fonts (Segoe UI and Times New Roman from Windows, MEK-Mono from viewer/fonts). The SVGs name the fonts without embedding them; sheet_png.py adds MEK-Mono when it rasterizes.

Checking the sheets

SheetSet.write also writes SVG, the quickest thing to look at. Rasterize with tools/sheet_png.py (headless Chrome) and read the PNG:

python tools/sheet_png.py <set>/svg/11_frame_f0_template.svg out.png
python tools/sheet_png.py <set>/svg/11_frame_f0_template.svg zoom.png --zoom 150 120 60    # 60 mm square, mm from the top-left

Look at a whole sheet and at one joint at high zoom for every sheet type. Read one PDF with the Read tool to confirm it parses. When refactoring, keep a copy of svg/ and compare byte for byte.

Traps

SymptomCause and fix
A member looks inside out or hollow in an axonometric, no lines missingFaces wound inwards. Blender's renders hide it, the drawings cull back faces. export_members asserts it; fix the winding in fab_model.py (for mesh_prism, swap the two rings). Suspect this before calling odd geometry real.
Lines erased at joints in a Freestyle SVGFreestyle drops edges lying in or near a touching face, and no inset cures it. Use drafting.Axo (hidden_lines.py): exact, seconds, not minutes.
Wrong overlaps in a tilted viewPainter's sorting (Drawing) is exact only for axis-aligned views. Tilted views are Axo.
... does not fit the sheetThe scale is too large for a 1:1 template. Use min_scale, or split the assembly. Do not shrink one drawing.
Two stacked label lines land side by side on a turned sheetThe offsets were written in landscape mm. Put them through sheet.offset.
SyntaxError only inside BlenderBlender's Python is 3.11: no backslash inside an f-string expression. Anything export_members imports must parse there.
A patch script dies in bash with "unexpected EOF"An apostrophe inside a heredoc. Write the script with the Write tool and run the file.
Tools not found when a script movesThe scripts reach tools/ by a relative path: four levels up from fabrication/<Run>/.
piece ... exceeds the stickA member longer than the stock. Splice it on a support in fab_model.py.
... does not fit the 3x5 stick it is tagged withA wrong tag, or a slab or panel tagged as a stick. Fix the tag, or leave stock unset.
Two lengths overprinted, lollipops stackedPieces that overlap in the view without sharing an outline. Label one subset per sheet, or pass fewer members to labelled.

.blend files are git-ignored; fab_model.py regenerates them. Commit scripts, members.json, the cut list, the order, pdf/ and svg/.

よくある質問

AIスキル「Draft Fabrication Plans」では何ができますか?

Use when asked for fabrication files, production drawings, printable A2 or A3 plans, sections, elevations, glue-up templates, a cut list or a stick or material order for building a physical scale model of a finished CraftBot experiment model. Not part of an experiment run.

TypingMindでDraft Fabrication Plansを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Draft Fabrication Plansはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにDraft Fabrication Plansをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/lukapiskorec/craftbot/tree/main/skills/draft-fabrication-plansを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Draft Fabrication Plansを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Draft Fabrication Plansで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもDraft Fabrication Plansを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Draft Fabrication Plans」は無料ですか?

lukapiskorecがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇