Inventor Din Partsのロゴ

Inventor Din Parts

コミュニティ
NeonGlay
inventor-din-parts

Build standard DIN/ISO mechanical parts (hex nuts, hex bolts, washers, flanges) in Autodesk Inventor via the project's MCP server, using parametric templates. Use this skill whenever the user asks for a specific standard part by designation — "DIN 934 M16 nut", "DIN 933 M20×60 bolt", "DIN 125 washer", "DIN 2573 DN150 flange", "M12 nut", "ISO 4032 nut", "stud M10×80", or Ukrainian equivalents like "гайка М16", "болт М20×60", "фланець DIN", "шайба М12". Also triggers on phrases that imply a standard part — "стандартний болт", "звичайна гайка з різьбою", "плоска шайба". This skill assumes the `inventor-modeling` skill provides the core API knowledge; consult that for general gotchas first.

概要

公開者NeonGlay
リポジトリinventor-mcp
スキル名inventor-din-parts
スター
50
フォーク
20
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

DIN/ISO Standard Mechanical Parts — Parametric Templates

Prerequisite

Read inventor-modeling skill first if any uncertainty about Inventor MCP setup, units, the "positive extrude" rule, etc. This skill builds on those primitives.

When to use this skill

User wants a specific standard part with a defined designation:

  • DIN 934 / ISO 4032 hex nut
  • DIN 933 / ISO 4017 hex bolt (full thread)
  • DIN 931 / ISO 4014 hex bolt (partial thread)
  • DIN 125 / ISO 7089 flat washer
  • DIN 127 spring washer
  • DIN 2573 / EN 1092 flange

If the user says just "make a part shaped like X", that's the inventor-modeling skill (not this one).

Standard dimension tables

These are the authoritative dimensions. Always use them — don't ask the user "what's the height of M16 nut".

DIN 934 — Hex Nut (ISO 4032)

Threads (across flats)m (height)Coarse pitch
M584.00.8
M6105.01.0
M8136.51.25
M10168.01.5
M121810.01.75
M142111.02.0
M162413.02.0
M182715.02.5
M203016.02.5
M223218.02.5
M243619.03.0
M274122.03.0
M304624.03.5
M365529.04.0

Helper: circumradius = s / √3, apothem = s / 2.

DIN 933 — Hex Bolt (fully threaded), DIN 931 (partially threaded)

Threads (across flats, head)k (head height)Common lengths
M6104.08…200
M8135.310…300
M10166.416…300
M12187.520…300
M162410.025…300
M203012.530…300
M243615.040…300
M304618.760…300

DIN 125 — Flat Washer, type A (ISO 7089)

For threadd1 (inner)d2 (outer)t (thickness)
M55.3101.0
M66.4121.6
M88.4161.6
M1010.5202.0
M1213.0242.5
M1415.0282.5
M1617.0303.0
M2021.0373.0
M2425.0444.0
M3031.0564.0

Templates

DIN 934 Hex Nut — with revolve-cut chamfers (NOT Chamfer feature)

python
"""DIN 934 hex nut — parametric. Pass thread spec, get the part."""
import sys, os, math
sys.path.insert(0, r"C:\path	o\inventor-mcp")  # repo root
from src.inventor_api import InventorConnection

# === DIMENSIONS ===
thread = "M16"               # ← change this
s      = 24                  # across flats (look up from table)
m      = 13                  # height
pitch  = 2.0                 # coarse pitch
diameter = 16                # nominal thread diameter (number after M)

# === COMPUTED ===
R         = s / math.sqrt(3)         # circumradius
r_in      = s/2 - 1                  # chamfer inner radius (just inside apothem)
r_out     = s/2 + 2                  # chamfer outer (past corners)
drop      = (r_out - r_in) * math.tan(math.radians(30))   # 30° chamfer

# === BUILD ===
inv = InventorConnection()
inv.connect()
print(inv.create_part(template="metric", name=f"HexNut_{thread}_DIN934"))

# 1. Hex prism (positive extrude!)
inv.create_sketch("XY")
inv.draw_polygon(0, 0, radius=R, sides=6)
inv.extrude(m, "positive", "join")

# 2. Tapped through-hole
inv.hole(x=0, y=0, diameter=diameter, depth=0, tapped=True, pitch=pitch)

# 3. Top chamfer via revolve cut (XZ plane, axis=Z)
inv.create_sketch("XZ")
inv.draw_closed_profile([[r_in, m], [r_out, m], [r_out, m - drop]])
inv.revolve(axis="Z", operation="cut")

# 4. Bottom chamfer via revolve cut
inv.create_sketch("XZ")
inv.draw_closed_profile([[r_in, 0], [r_out, 0], [r_out, drop]])
inv.revolve(axis="Z", operation="cut")

print(inv.save_document(f"./HexNut_{thread}_DIN934.ipt"))

Why revolve-cut chamfer instead of Chamfer feature? The Inventor Chamfer knocks the same width off each of the 12 hex edges → 12 small flat facets. The real DIN 934 chamfer is a single conical surface that "eats" the corners more deeply than the flats. Verify with a Face Types check: a correctly-built DIN 934 nut shows Cone: 2 faces.

DIN 933 Hex Bolt (fully threaded)

python
thread, s, k = "M16", 24, 10.0
diameter, pitch, length = 16, 2.0, 50    # M16x50

R = s / math.sqrt(3)

inv = InventorConnection(); inv.connect()
inv.create_part(template="metric", name=f"HexBolt_{thread}x{length}_DIN933")

# 1. Hex head
inv.create_sketch("XY")
inv.draw_polygon(0, 0, radius=R, sides=6)
inv.extrude(k, "positive", "join")

# 2. Threaded shaft — extrude from the top face of the head downward
#    (or upward, picking a direction that keeps things tidy)
inv.create_sketch("XY")
inv.draw_circle(0, 0, diameter)
inv.extrude(length, "negative", "join")   # negative = shaft sticks "down" from XY

# 3. Head chamfers (revolve-cut, same pattern as DIN 934)
r_in, r_out = s/2 - 1, s/2 + 2
drop = (r_out - r_in) * math.tan(math.radians(30))
inv.create_sketch("XZ")
inv.draw_closed_profile([[r_in, k], [r_out, k], [r_out, k - drop]])
inv.revolve(axis="Z", operation="cut")

# 4. Thread tip chamfer — small 45° on the bottom end of the shaft
#    (cosmetic, helps the bolt "enter" a hole in assembly)
inv.create_sketch("XZ")
inv.draw_closed_profile([[diameter/2 - 1, -length], [diameter/2, -length], [diameter/2, -length + 1]])
inv.revolve(axis="Z", operation="cut")

Threads on bolts: Inventor does not render visible helical threads on external surfaces by default — there is no built-in API method exposed via this MCP. The bolt above is a "blank stud" geometry. For documentation drawings, add a cosmetic thread annotation in the drawing view, not on the 3D part.

DIN 125 Washer

python
thread, d1, d2, t = "M16", 17.0, 30, 3.0

inv = InventorConnection(); inv.connect()
inv.create_part(template="metric", name=f"Washer_{thread}_DIN125")

# Outer ring
inv.create_sketch("XY")
inv.draw_circle(0, 0, d2)
inv.extrude(t, "positive", "join")

# Inner hole
inv.create_sketch("XY")
inv.draw_circle(0, 0, d1)
inv.extrude(extent_type="all", operation="cut")

(A washer doesn't need a hole() feature — simple circle + extrude cut is cleaner.)

DIN 2573 / EN 1092 Welding Flange (PN6, DN150)

This is the "blind disc with bolt circle" pattern. For DN150 PN6:

  • Outer Ø D = 285 mm, thickness ≈ 22 mm
  • Bore Ø d = 168 mm
  • Bolt PCD = 240 mm, 8× Ø18 bolt holes (M16)
python
inv = InventorConnection(); inv.connect()
inv.create_part(template="metric", name="DIN2573_DN150_PN6")

# Disc
inv.create_sketch("XY")
inv.draw_circle(0, 0, 285)
inv.extrude(22, "positive", "join")

# Bore (with PCD as construction circle for documentation)
inv.create_sketch("XY")
inv.draw_circle(0, 0, 168)
inv.draw_circle(0, 0, 240, construction=True)   # bolt PCD ref
inv.extrude(extent_type="all", operation="cut")

# One M16 bolt hole at PCD, then circular pattern × 8
inv.hole(x=120, y=0, diameter=16, depth=0, tapped=False)
features = inv.list_features()
hole_idx = features[-1]["index"]
inv.circular_pattern(feature_index=hole_idx, count=8, angle=360, axis="Z")

Strategy for unfamiliar standards

If the user asks for a standard not listed above (e.g., "DIN 580 eye bolt", "DIN 6912 low-head socket cap"):

  1. Acknowledge: "У мене немає таблиці DIN 580 в шаблонах. Ось ключові розміри з пам'яті: [...]. Підтвердиш?"
  2. Ask the user to confirm 2-3 critical dimensions (across flats / outer Ø / thread Ø / height).
  3. Build using whichever feature pattern fits (extrude + hole + chamfer + revolve, etc.).
  4. Don't fabricate dimensions — for safety-critical parts the user may rely on the model, so verified numbers matter.

Execution conventions

  • Default to Python script (python -X utf8 my_part.py), not raw MCP tool calls. Scripts are easier to iterate, more readable, and reload the latest inventor_api.py automatically (no MCP server restart needed). Save scripts under the inventor-mcp project root\.
  • Use unique filenames for each variant (HexNut_M16_DIN934.ipt, HexNut_M16_DIN934_v2.ipt). Saving over an open file fails with E_INVALIDARG.
  • After build, run a one-line verification: face count + volume + Z range. Catches "feature created but didn't cut" silently.
  • Report concrete results (file name, volume, face count) so the user can verify at a glance.

よくある質問

AIスキル「Inventor Din Parts」では何ができますか?

Build standard DIN/ISO mechanical parts (hex nuts, hex bolts, washers, flanges) in Autodesk Inventor via the project's MCP server, using parametric templates. Use this skill whenever the user asks for a specific standard part by designation — "DIN 934 M16 nut", "DIN 933 M20×60 bolt", "DIN 125 washer", "DIN 2573 DN150 flange", "M12 nut", "ISO 4032 nut", "stud M10×80", or Ukrainian equivalents like "гайка М16", "болт М20×60", "фланець DIN", "шайба М12". Also triggers on phrases that imply a standard part — "стандартний болт", "звичайна гайка з різьбою", "плоска шайба". This skill assumes the...

TypingMindでInventor Din Partsを使うメリットは何ですか?

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

TypingMindにInventor Din Partsをインストールするにはどうすればよいですか?

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

Inventor Din Partsを使えるAIモデルはどれですか?

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

Inventor Din Partsで使えるAIモデルの数に制限はありますか?

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

AIスキル「Inventor Din Parts」は無料ですか?

はい。NeonGlayがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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