mcpField
C
cloth-sim

cloth-sim

github.com/arjun988Creative & media1.3k279 installsUpdated 16w ago
Repository

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

  1. 01Garment mesh preparation
  2. 02Pin and collision vertex groups
  3. 03Cloth simulation setup
  4. 04Pre-roll settling and art direction
  5. 05Bake to shape keys or caches

Use cases

  1. 01Simulating character clothing drape
  2. 02Creating cloth motion for flags or capes
  3. 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-sim

After installing, type/cloth-simin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
bake-targets.md
cloth-settings-presets.md
pin-and-collide.md

Details

From the project README

Cloth 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

GroupPurpose
PIN_ClothAnchors (waist, shoulders, collar)
COL_IgnoreOptional non-colliding regions
STIFF_HighBelts, seams that should resist stretch

Settings Starters

LookQualitySpeedBending
Soft dress8–121.0Low
Stiff coat5–81.0Higher
Flag/cape8–101.0–1.5Low–mid

Tune mass and air viscosity for scale. Always run a settle pre-roll.

Bake Targets

TargetUse
Shape keysGame poses / few frames
Alembic/USDCinematic caches
Armature weightsIf 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

TopicReferenceLoad When
Cloth Settings Presetsreferences/cloth-settings-presets.mdWhen needed
Pin And Collidereferences/pin-and-collide.mdWhen needed
Bake Targetsreferences/bake-targets.mdWhen needed

Comments

Markdown supported