Przejdź do treści
Biblioteka skilli
Projektowanie i UX · Budowanie i kod

inventor-modeling

/inventor-modeling

Buduje i edytuje parametryczne części 3D w Autodesk Inventor: wały, wsporniki, obudowy z blachy, szkice, otwory i wzory przez narzędzia MCP.

Licencja
MIT
Ostatnia zmiana repozytorium
12.11.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 12.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Buduje i edytuje parametryczne części 3D w Autodesk Inventor: wały, wsporniki, obudowy z blachy, szkice, otwory i wzory przez narzędzia MCP.

Wyzwalacze z opisu

the hole didnedge index changedchamfer failed
Oryginalny opis (EN)

Build and edit parametric 3D parts (.ipt) in Autodesk Inventor 2026/2027 through the inventor MCP tools. Use whenever the user wants to create, modify or inspect an Inventor part — shafts, brackets, plates, housings, sheet-metal enclosures; sketches, extrudes, revolves, holes (drilled, tapped, counterbored), fillets, chamfers, patterns; saving or exporting; or troubleshooting "the hole didn't cut", "edge index changed", "chamfer failed". For standard fasteners and flanges by designation (DIN/ISO), use inventor-din-parts instead.

Jak działa

  1. Tools first, Python last
  2. Workflow
  3. Rules that prevent most failures
  4. Sheet metal
  5. Parametric discipline (when the user wants a maintainable model)
  6. Reading drawings the user provides
  7. When something "didn't work"
  8. Related
Sekcje z nagłówków SKILL.md, w oryginale · 116 linii, 889 słów
Podgląd SKILL.md
---
name: inventor-modeling
description: Build and edit parametric 3D parts (.ipt) in Autodesk Inventor 2026/2027 through the inventor MCP tools. Use whenever the user wants to create, modify or inspect an Inventor part — shafts, brackets, plates, housings, sheet-metal enclosures; sketches, extrudes, revolves, holes (drilled, tapped, counterbored), fillets, chamfers, patterns; saving or exporting; or troubleshooting "the hole didn't cut", "edge index changed", "chamfer failed". For standard fasteners and flanges by designation (DIN/ISO), use inventor-din-parts instead.
---

# Parametric part modeling in Inventor

If the `inventor-company-profile` skill is loaded, its rules (templates, naming, standards,
modeling habits) override the defaults below.

## Tools first, Python last

Use the dedicated MCP tools. Reach for `execute_python` only for what they cannot do
(it runs arbitrary Python on the user's PC; COM units there are **cm and radians**).

| Need | Tool |
|---|---|
| Start | `connect` → `create_part(template="metric" \| "sheet_metal" \| "<company .ipt template path>")` or `open_document(path)` |
| Sketch | `create_sketch(plane="XY"\|"XZ"\|"YZ", face_index=…, offset=…)` then `draw_rectangle`, `draw_circle`, `draw_line`, `draw_polygon`, `draw_closed_profile(points=[[x,y],…])` |
| Solid | `extrude(distance, direction, operation, extent_type)`, `revolve(angle, axis, operation)` |
| Details | `hole`, `hole_linear`, `fillet(edge_indices=[…], radius)`, `chamfer(edge_indices=[…], distance)`, `circular_pattern(feature_index, count, angle, axis)` |
| Find geometry | `list_faces`, `list_edges`, `find_face(x=…, z=…)`, `find_edge(y=…, z=…)`, `navigate_topology("Extrusion1/Face[1]")` |
| Check | `inspect` (volume, bbox, features), `capture_views` (picture from 7 directions), `get_feature_tree_json` |
| Parameters | `get_parameters`, `set_parameter(name, "50 mm")`, `add_parameter` |
| Undo safety | `transaction("begin")` … `transaction("commit")` / `transaction("abort")` |
| Finish | `save_document(path)`, `export_document(path, "STEP")` (exports a copy) |

All tool inputs are **millimeters and degrees**. Feature tools return a volume/face/edge
report (`| V 23497 (-503 mm³) | F7 E14`) — read it; a cut that removes no volume did nothing.

## Workflow

1. `connect`, then `create_part` (or `open_document`).
2. For anything multi-step or risky: `transaction("begin")`.
3. Sketch → feature → check the report → next feature.
4. After any feature that changes topology, **re-find faces/edges** (`find_edge`, `list_edges`) —
   indices renumber.
5. `inspect` and, for anything visual, `capture_views` to confirm the shape. Show the image.
6. `transaction("commit")`, then `save_document` only when the user wants it saved.

## Rules that prevent most failures

1. **Edge and face indices are not stable.** Every fillet, chamfer, hole or cut renumbers them.
   Look them up right before use; never reuse numbers from before a feature.
2. **Put all edges of one chamfer/fillet in a single call** (`edge_indices=[5, 8, 11, 14]`);
   a second call would use stale indices.
3. **`draw_polygon(radius=…)` is the circumradius.** For a hexagon with width across flats `s`:
   `radius = s / √3` (M16 nut, s=24 → 13.856).
4. **Revolve around a work axis**, no construction line needed:
   `create_sketch("XY")` → `draw_closed_profile([[0,0],[30,0],[30,8],[15,60],[0,60]])` →
   `revolve(axis="Y")`. Keep the profile on one side of the axis (x ≥ 0 for axis Y).
   Grooves: same with `operation="cut"`.
5. **Holes:** `hole(x, y, diameter, depth, tapped, pitch)` drills from the XY plane and picks the
   direction that removes material — it fails loudly if nothing is cut. Tapped sizes are exact
   (`diameter=2.5, tapped=True` → M2.5x0.45). For holes on other faces, or holes that must stay
   at a distance from edges when the part changes, use `hole_linear` (face + two edges + distances,
   optional counterbore: M5 ISO 4762 → `diameter=5.5, cbore_diameter=10, cbore_depth=5.5`).
6. **Bolt circles:** one `hole`, then `circular_pattern(feature_index=<that hole>, count=8)`.
7. **Feature order matters:** material added after a cut fills the cut where they overlap.
   Stop new bosses/ribs short of existing bores, or add them before the cut.
8. **Fillets move neighbouring edges** (they get longer/shorter). Re-find edges by coordinate
   after every fillet.
9. **Offset sketch planes:** `create_sketch("XY", offset=16)` sketches 16 mm above XY
   (XY→+Z, XZ→+Y, YZ→+X).
10. **Sketch axes on the base planes:** XY: x→+X, y→+Y. **XZ: x→−X (mirrored), y→+Z.**
    YZ: x→+Y, y→+Z. Faces: the sketch origin is not the face center — check with
    `navigate_topology` or `execute_python` (`sketch.SketchToModelSpace`).

## Sheet metal

```
create_part(template="sheet_metal", name="Enclosure")
set_sheet_metal_thickness(0.8)                         # mm
create_sketch("XY"); draw_rectangle(width=200, height=450)
sheet_metal_face()
flange(edge_indices=[find_edge(y=-225, z=0.8)], distance=450, angle=90)
# re-find the next edge after every flange
create_sketch(face_index=<find_face(y=225, min_area=10000)>)
draw_circle(x=100, y=130, diameter=120); draw_rectangle(x=100, y=32.5, width=158, height=45)
sheet_metal_cut()
```

- Use **Sheet Metal Cut**, never an extrude cut: its depth follows the thickness parameter.
- Sketch cuts **on the panel face**, not on a work plane.
- All openings on one panel go in **one sketch → one cut**.
- Flange `distance` is measured from the outer intersection (equals the visible height).
- Proof it is real sheet metal: the user can create a Flat Pattern without errors.

## Parametric discipline (when the user wants a maintainable model)

- Name features and sketches meaningfully (`execute_python`: `feat.Name = "Bore20"`) —
  auto-names like "Sketch4" are never reused and become confusing.
- Drive key sizes from user parameters (`add_parameter("width", "120 mm")`, then use `width` in
  expressions with `set_parameter`).
- Fully constrained sketches (dimensions from the projected origin, symmetry about projected
  axes) need `execute_python`; see `docs/inventor-api-notes.md` for the API calls.

## Reading drawings the user provides

- Lines that look horizontal/vertical are, unless noted. Symmetric parts may be dimensioned on
  one side only — mirror it.
- Unspecified radii: estimate against known features and say so.
- **If a dimension is ambiguous, ask.** Do not guess.

## When something "didn't work"

1. Read the volume report of the last feature; run `inspect` and `capture_views`.
2. Hole/cut removed nothing → check the sketch position/plane; the tool reports this now.
3. Chamfer/fillet failed or hit the wrong edge → indices were stale; `list_edges` and retry
   with all edges in one call.
4. Revolve cut had no effect → the profile is outside the body or on the wrong side of the axis.
5. Still stuck → `check_health_and_popups` (a dialog may be blocking Inventor) and the
   `inventor-diagnostics` skill.

## Related

- `inventor-din-parts` — standard nuts, bolts, washers, flanges by designation.
- `inventor-assemblies` — putting parts together.
- `docs/inventor-api-notes.md` — raw COM API details for `execute_python`.

Wersje

W bazie nie ma innych skilli o nazwie inventor-modeling.

Migawka bazy z 13.11.2026 · wersja paczki 84b57edd8fd0 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 1 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 90inventor-din-parts
    Buduje w Inventorze standardowe części DIN i ISO, np. nakrętki, śruby, podkładki i kołnierze, na podstawie oznaczenia.
  • 98solidworks-fillet-chamfer-cnc
    Automatyzuje w SolidWorks części do obróbki CNC z wieloma zaokrągleniami i fazami: uchwyty, obudowy, płyty z otworami i eksport STEP.
  • 90inventor-assemblies
    Buduje i naprawia zestawy Autodesk Inventor przez narzędzia MCP: umieszcza części, ustala więzy i sprawdza elementy pływające.
  • 100fusion-fast-modeling
    Buduje, zmienia i eksportuje modele parametryczne w Autodesk Fusion 360 przez skrypty MCP: wsporniki, obudowy, płyty z otworami i zaokrąglenia.
  • 100openscad-design
    Projektuje, zmienia i sprawdza części 3D do druku w OpenSCAD przez narzędzia MCP: wsporniki, obudowy, adaptery i przyrządy.
  • 98inventor-addin-scaffold
    Tworzy szkielet wtyczki do Autodesk Inventor 2025 w .NET 8 z architekturą warstwową, logowaniem i obsługą wyjątków.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.