About cloth-sim
cloth-sim is a garment simulation skill for artists creating clothing, flags, and other fabric assets. It covers mesh preparation, stable pinning, simulation direction, and baking results into shape keys or caches.
Key features
- 01Garment mesh preparation
- 02Pin and collision vertex groups
- 03Cloth simulation setup
- 04Pre-roll settling and art direction
- 05Bake to shape keys or caches
Use cases
- 01Simulating character clothing drape
- 02Creating cloth motion for flags or capes
- 03Preparing simulation results for game or cinematic export
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ arjun988/ blender-skills --skill cloth-simAfter installing, type/cloth-simin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
references/bake-targets.mdcloth-settings-presets.mdpin-and-collide.mdDetails
From the project READMECloth Sim
Garment blockout → sim → art-direct → bake. Stable pins. Engine-friendly caches/shape keys.
When to Use
- Dresses, capes, coats, flags, banners
- Character clothing that needs drape
- Baking sim to shape keys or Alembic/USD caches
- Pre-roll settling before animation export
Workflow
Garment mesh (quad-friendly) → Vertex groups (pin/collide)
→ Cloth modifier settings → Collision objects
→ Pre-roll settle → Sim pass → Art-direct fixes
→ Bake shape keys / cache → Cleanup → Export
Mesh Prep
- Quads preferred; even density on deforming areas
- Avoid long skinny triangles on folds
- Apply scale before sim
- Separate garment from body collider
Vertex Groups
| Group | Purpose |
|---|---|
PIN_Cloth | Anchors (waist, shoulders, collar) |
COL_Ignore | Optional non-colliding regions |
STIFF_High | Belts, seams that should resist stretch |
Settings Starters
| Look | Quality | Speed | Bending |
|---|---|---|---|
| Soft dress | 8–12 | 1.0 | Low |
| Stiff coat | 5–8 | 1.0 | Higher |
| Flag/cape | 8–10 | 1.0–1.5 | Low–mid |
Tune mass and air viscosity for scale. Always run a settle pre-roll.
Bake Targets
| Target | Use |
|---|---|
| Shape keys | Game poses / few frames |
| Alembic/USD | Cinematic caches |
| Armature weights | If converting to deform-only |
Constraints
MUST DO
- Apply scale; define pin groups before long sims
- Collide against simplified body capsule/mesh
- Art-direct after sim (sculpt/corrective keys)
MUST NOT DO
- Sim hero cloth on ultra-dense sculpt meshes
- Skip pre-roll (starts mid-air / exploding)
- Export raw unstable caches
Reference Guide
| Topic | Reference | Load When |
|---|---|---|
| Cloth Settings Presets | references/cloth-settings-presets.md | When needed |
| Pin And Collide | references/pin-and-collide.md | When needed |
| Bake Targets | references/bake-targets.md | When needed |
Comments
Markdown supported