Skip to content
Back to skills

Assemblies And Mechanisms

ASecurity

Design multi-part Form Studio assemblies and moving parts — pin hinges, sliders, gears, cams, linkages, lids, threads — declare how they meet and move, check the motion, and document them (parts list, assembly order, instructions). Use when a design has more than one part or anything moves. For clips, snap hooks and living hinges use snap-fits-and-living-hinges; for a gap at worst case use dimensioning-and-tolerances.

  • 18 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agentsexpressspringdocumentation

Works with

  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 3, 2026

npx -y skills add kaizensx/form-studio --skill assemblies-and-mechanisms --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Assemblies And Mechanisms?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Assemblies And Mechanisms
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/kaizensx-assemblies-and-mechanisms/badge)](https://www.skillsdirectory.com/skills/kaizensx-assemblies-and-mechanisms)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: assemblies-and-mechanisms
description: Design multi-part Form Studio assemblies and moving parts — pin hinges, sliders, gears, cams, linkages, lids, threads — declare how they meet and move, check the motion, and document them (parts list, assembly order, instructions). Use when a design has more than one part or anything moves. For clips, snap hooks and living hinges use snap-fits-and-living-hinges; for a gap at worst case use dimensioning-and-tolerances.
---

# Assemblies and mechanisms

FORM tools: `design_guide()`, `design_brief()`, `plan_design()`, `create_design()`, `edit_design()`, `render()`,
`calculate()`, `linkage_synthesis()`, `motion_study()`, `animate()`, `assembly_sequence()`,
`assembly_instructions()`, `place_part()`, `robot_files()`, `tolerance_stack()`, `mass_properties()`, `bom()`,
`slice_test_piece()`.

Read `references/mechanisms.md` (the same text as `design_guide(topic="mechanisms")`): the form.craft helpers for
hinges, snaps, sliders, gears, cams, linkages and fits, with their clearances.

Modelling
- Several parts are separate solids, side by side with a gap, with `solids = N` in the design and `craft.parts(...)`
  returning them by name. Each part gets its own features so renders name them. A design the brief's words make
  multi-part needs `parts` and `clearances` in `plan_design()`.
- Define motion first: travel, range of angle, speed, load, ratio. Then shafts, bearing surfaces, axial retention,
  backlash convention and fastener access.
- Size it before you draw it: `calculate()` runs a standard's equations for a snap fit, a living hinge, a spring, a
  bolted joint, a gear pair, a cam or a fit at temperature (called with no calculator it lists them with every
  input). Each number comes back as computed, specified or assumed with its source; report those words as they are.
  `not_computed` names what a missing material value left out: ask for it or say it is missing, never fill it in.
  `build=True` writes the part as a design; `project=` with `at=` and `normal=` puts a snap hook or an insert boss
  on a face. A four-bar from the poses or the path it must reach: `linkage_synthesis()`.
- For a print, make the smallest mechanism first (one hinge knuckle, one gear pair) before the full assembly.

Declaring the assembly (`design_guide(topic="assemblies")`)
- Parts form a tree. Give every part at most one parent: a part with `attach="arm"` for a part fixed to another (a bolt,
  a cap), or one joint that moves it: a hinge on the cup with `parent="arm"`. A joint moves its part and
  everything attached below it, so the cup and its bolt swing with the arm. Axes and origins are written with every
  joint at 0; a child joint's axis rides with its parent.
- Ratchets and detents: `step=15` checks only the positions the joint can rest at. Say so when you report.
- Declare a Mate (kind pin, thread, slip, press, snap or contact, with its `clearance`) for every pair that touches
  or interlocks by design. Threads also take `axis=` and `origin=` so their arbitrary phase is searched. Undeclared
  pairs are checked for overlap at rest and through every joint. Mates are also what a tolerance stack follows.
- Check your placement before anything else: a fit row that says "no surfaces within N mm" means a part is not where
  its mate is. build123d Rot with angles (x, y, z) is the matrix Rx·Ry·Rz; verify where an axis lands instead of reasoning it out.
- Explode offsets are relative to the parent part.
- A part in the wrong place after it builds: `place_part` (project, part, move= or rotate=) writes the placement
  into the source as one revision; joint=<value> makes a pose along the part's own joint its assembled position
  (the joint's range shifts so its ends stay where they were). Refused with the reason for a placement written as
  an expression or a value outside the travel.

Motion: be exact about what was evaluated
- Form Studio sweeps each joint with its chain on the mesh (stated tolerance), refines near contact, and reports the
  first contact angle and the worst overlap (volume from the B-rep). Between positions it proves freedom only where the
  clearance exceeds how far any point can travel; elsewhere the row says "sampled only". Quote that wording.
- The checks run in a time budget (`[assembly].budget_s`, or `budget_s` on the Assembly). A partial row says which range
  was checked ("checked -60 to 15°, not beyond"); never report the unchecked part as clear.
- `animate(kind="morph", from_rev=..., to_rev=...)` builds every in-between revision for real; it shows a design change,
  not a mechanism moving. `animate(kind="motion")` and `motion_study(video=True)` film the mechanism moving (MP4).
- Linkages, gears and cams: declare `loops=[Loop(...)]` and `couplings=[gears(...), rack(...), cam(...)]`, then
  `motion_study()`: loops are solved per frame (frames the linkage cannot reach are reported, never posed), clearance is
  checked at every frame with the minimum gap and when it happens, and holding torque under gravity comes from the
  parts' masses. Quote the evidence classes it gives (kinematics, mesh distance, virtual work).
- `robot_files()` writes URDF, SRDF and MJCF with inertia from the B-rep; give every part a material first. Report which
  parser loaded the files (yourdfpy, MuJoCo) or that they were validated structurally only.

Documentation
- Parts list: `bom()`. Made parts with material; purchased parts with standard and size (no invented SKUs).
- Assembly steps in order, with tool access and the removal or service path. `assembly_sequence()` computes a feasible
  order and each part's insertion direction (geometric feasibility only: say so); the exploded view and
  `assembly_instructions()` then follow it. A set it cannot take apart one at a time is reported: do not invent an order.
- `render(view="assembled")` and `render(view="exploded")` show the parts in place and pulled apart.

Files in this skill

  • SKILL.md5.8 KB
  • references/mechanisms.md2.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.