[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CD1FK7EXT2T3J7N5HB4BAS":3,"skill-same:01M7CD1FK7EXT2T3J7N5HB4BAS":58},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":14,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7CD1FK7EXT2T3J7N5HB4BAS","blender-simulation",null,"Physics in Blender 5.2 - rigid bodies (density mass, shapes, bake to keys), classic cloth presets and pinning, new node-based Cloth\u002FHair Dynamics (XPBD, Collider, effectors), Mantaflow fluids, hair curves, GN simulation zones, headless baking. Use for destruction, drapes, flags, falling objects, liquids, smoke, hair motion.","MattMakes\u002Fmulti-herdr","MattMakes","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F5321894?v=4","01M7CCT7X2X6MXGNKCF57X67VZ","Matthew Scott","01M7CCT7Y23BTY560YX8PBMWN8",1,"MIT","https:\u002F\u002Fgithub.com\u002FMattMakes\u002Fmulti-herdr\u002Fblob\u002Fmain\u002Fskills\u002Fblender-simulation\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: blender-simulation\ndescription: Physics in Blender 5.2 - rigid bodies (density mass, shapes, bake to keys), classic cloth presets and pinning, new node-based Cloth\u002FHair Dynamics (XPBD, Collider, effectors), Mantaflow fluids, hair curves, GN simulation zones, headless baking. Use for destruction, drapes, flags, falling objects, liquids, smoke, hair motion.\nlicense: MIT\nmetadata:\n  author: blender-agent-skills\n  version: \"1.2.0\"\n---\n\n# Simulation\n\nThe execution model is in `blender-core`. Procedural sim zones are in `blender-geometry-nodes`.\n\n## One call\n```\nscripts\u002Fsim_setup.py -- --rigid --active Crate1 Crate2 --passive Floor --density 500 --frames 1 120 --bake --to-keys\nscripts\u002Fsim_setup.py -- --cloth Flag --preset cotton --pin Pin --colliders Pole --bake\nscripts\u002Fsim_setup.py -- --gn-cloth Sheet --colliders Table --set Bendiness=0.5 Stretchiness=0.1 --bake\n```\n`--bake` steps through every frame in order (this works headless for point caches **and** GN simulation zones) and reports final positions and `min_z`, so you can verify contact. `--to-keys` turns rigid-body motion into keyframes for engines.\n\n## Choose the solver\n| Need | Use |\n|---|---|\n| Falling\u002Fstacking\u002Fdestruction | Rigid Body (Bullet). Pre-fracture with Cell Fracture (extension) or GN Voronoi |\n| Clothing, flags, drapes (production-proven) | Classic **Cloth** modifier + Collision modifiers |\n| New node-based cloth\u002Fhair, custom forces, procedural setups | **Cloth Dynamics (Experimental)** \u002F **Hair Dynamics** assets (5.2, XPBD) |\n| Liquids, smoke, fire | Mantaflow fluid domain + flow\u002Feffector (`fluid.bake_all`) |\n| Hair grooms | Curves objects + hair node assets (`procedural_hair_node_assets`), Hair Dynamics for motion |\n| Growth, trails, custom per-frame logic | GN Simulation zone |\n| Soft jiggle for games | bones with spring\u002Fjiggle in-engine, or Wiggle-style constraints baked to keys |\n\n## Rigid bodies\n- Real scale and real mass matter: mass = volume × density (wood 500–700, concrete 2400, steel 7850, plastic 950 kg\u002Fm³). The script computes it.\n- Collision shape: `CONVEX_HULL` for dynamic objects (fast, stable), `MESH` only for **passive** concave colliders, and primitives (`BOX`, `SPHERE`, `CAPSULE`) when they fit.\n- Stability: substeps 10 and iterations 10 (set by the script). Use a small collision margin (1 mm). Avoid objects starting interpenetrated.\n- Export: bake to keyframes (`--to-keys`; the built-in `rigidbody.bake_to_keyframes` needs a UI, so the script samples `matrix_world` itself), then export the actions (`blender-export-pipelines`).\n\n## Classic cloth\n- Presets (from Blender's): cotton, denim, leather, rubber, silk. The mesh needs even quad density (2–5 cm edges for clothing). Use a subdivided plane or retopologized garment, never ngons.\n- **Pinning**: vertex group with weight 1 = pinned (`settings.vertex_group_mass`). Animate pinned verts with hooks\u002Farmature.\n- Collisions: colliders get a `COLLISION` modifier (thickness 1–5 mm), plus self-collision for folds. Raise `quality` (steps) for fast motion.\n- Apply cloth as a shape (`modifier_apply_as_shapekey`) or bake to an Alembic\u002Fpoint cache for render. Games: bake to bones, or apply a static drape.\n\n## Node-based dynamics (5.2, experimental)\n- Assets live in `datafiles\u002Fassets\u002Fnodes\u002Fgeometry_nodes_dynamics_assets.blend`: `Cloth Dynamics (Experimental)`, `Hair Dynamics`, `Collider`, `Set Effector`, `Custom Force`, `Custom Effector`. The script appends them.\n- Cloth inputs include `Pin Group` (attribute), `Stretchiness`, `Bendiness`, `Substeps` (5), `Constraint Steps` (15), `Mass`, `Friction`, `Collision Radius`, `Linear Damping`, `Gravity`, `Tearing` (+ mode\u002Fthreshold), `Effectors Collection`, `Effectors` (bundle).\n- Colliders: put a `Collider` modifier on each collider object and add those objects to the collection fed into `Effectors Collection` (the script does both).\n- Hair: Add → Empty Hair sets up the surface + `Capture Rest Geometry`. Hair Dynamics reads the rest\u002Fdeformed surface through geometry bundles.\n- Limits (5.2): no self-collision yet, no built-in wind\u002Fturbulence (build a `Custom Force`). Interfaces may change, so pin the Blender version in production.\n- The solver itself (`GeometryNodeXPBDSolver`) takes a `World` bundle, `Delta Time`, `Substeps`, `Constraint Iterations`. Building directly on it is advanced; start from the assets.\n\n## Fluids (Mantaflow) quick setup\nDomain object (`FLUID` modifier `fluid_type=\"DOMAIN\"`, `domain_type=\"LIQUID\"|\"GAS\"`), resolution 64 preview \u002F 128–256 final, cache directory set and `cache_type=\"ALL\"` for headless; flow objects `fluid_type=\"FLOW\"` (`flow_type` LIQUID\u002FSMOKE\u002FFIRE, `flow_behavior` INFLOW\u002FGEOMETRY); obstacles `EFFECTOR`. Bake with `bpy.ops.fluid.bake_all()` under a context override with the domain active. This is slow. Test at low resolution first.\n\n## Rules\n- Simulations are frame-rate and scale dependent. Set `scene.render.fps` and the scale before tuning.\n- Always bake before rendering\u002Fexporting, and never rely on viewport playback order.\n- GN simulation zones: bake per modifier (`mod.bakes`, `object.geometry_node_bake_single`), or step frames sequentially (script) in background.\n- Point caches in background: stepping frames from `frame_start` fills the cache. `ptcache.bake_all(bake=True)` needs a valid context.\n- Verify with `look(mode=\"frames\")` plus the numbers (`min_z` ≈ the collider top = contact, no tunnelling).\n\n## Gotchas\n- Objects tunnelling through colliders: thin colliders, too few substeps, or too-fast motion. Thicken, raise substeps\u002Fquality, or use a bigger collision distance.\n- Exploding cloth at frame 1: starting interpenetration or a zero-area face. Run `blender-asset-qa`, offset the start.\n- Rigid body world cache ranges are separate from the scene range (the script syncs them).\n- Changing anything (frame range, settings) invalidates caches. Re-bake.\n","# Simulation\n\nThe execution model is in `blender-core`. Procedural sim zones are in `blender-geometry-nodes`.\n\n## One call\n```\nscripts\u002Fsim_setup.py -- --rigid --active Crate1 Crate2 --passive Floor --density 500 --frames 1 120 --bake --to-keys\nscripts\u002Fsim_setup.py -- --cloth Flag --preset cotton --pin Pin --colliders Pole --bake\nscripts\u002Fsim_setup.py -- --gn-cloth Sheet --colliders Table --set Bendiness=0.5 Stretchiness=0.1 --bake\n```\n`--bake` steps through every frame in order (this works headless for point caches **and** GN simulation zones) and reports final positions and `min_z`, so you can verify contact. `--to-keys` turns rigid-body motion into keyframes for engines.\n\n## Choose the solver\n| Need | Use |\n|---|---|\n| Falling\u002Fstacking\u002Fdestruction | Rigid Body (Bullet). Pre-fracture with Cell Fracture (extension) or GN Voronoi |\n| Clothing, flags, drapes (production-proven) | Classic **Cloth** modifier + Collision modifiers |\n| New node-based cloth\u002Fhair, custom forces, procedural setups | **Cloth Dynamics (Experimental)** \u002F **Hair Dynamics** assets (5.2, XPBD) |\n| Liquids, smoke, fire | Mantaflow fluid domain + flow\u002Feffector (`fluid.bake_all`) |\n| Hair grooms | Curves objects + hair node assets (`procedural_hair_node_assets`), Hair Dynamics for motion |\n| Growth, trails, custom per-frame logic | GN Simulation zone |\n| Soft jiggle for games | bones with spring\u002Fjiggle in-engine, or Wiggle-style constraints baked to keys |\n\n## Rigid bodies\n- Real scale and real mass matter: mass = volume × density (wood 500–700, concrete 2400, steel 7850, plastic 950 kg\u002Fm³). The script computes it.\n- Collision shape: `CONVEX_HULL` for dynamic objects (fast, stable), `MESH` only for **passive** concave colliders, and primitives (`BOX`, `SPHERE`, `CAPSULE`) when they fit.\n- Stability: substeps 10 and iterations 10 (set by the script). Use a small collision margin (1 mm). Avoid objects starting interpenetrated.\n- Export: bake to keyframes (`--to-keys`; the built-in `rigidbody.bake_to_keyframes` needs a UI, so the script samples `matrix_world` itself), then export the actions (`blender-export-pipelines`).\n\n## Classic cloth\n- Presets (from Blender's): cotton, denim, leather, rubber, silk. The mesh needs even quad density (2–5 cm edges for clothing). Use a subdivided plane or retopologized garment, never ngons.\n- **Pinning**: vertex group with weight 1 = pinned (`settings.vertex_group_mass`). Animate pinned verts with hooks\u002Farmature.\n- Collisions: colliders get a `COLLISION` modifier (thickness 1–5 mm), plus self-collision for folds. Raise `quality` (steps) for fast motion.\n- Apply cloth as a shape (`modifier_apply_as_shapekey`) or bake to an Alembic\u002Fpoint cache for render. Games: bake to bones, or apply a static drape.\n\n## Node-based dynamics (5.2, experimental)\n- Assets live in `datafiles\u002Fassets\u002Fnodes\u002Fgeometry_nodes_dynamics_assets.blend`: `Cloth Dynamics (Experimental)`, `Hair Dynamics`, `Collider`, `Set Effector`, `Custom Force`, `Custom Effector`. The script appends them.\n- Cloth inputs include `Pin Group` (attribute), `Stretchiness`, `Bendiness`, `Substeps` (5), `Constraint Steps` (15), `Mass`, `Friction`, `Collision Radius`, `Linear Damping`, `Gravity`, `Tearing` (+ mode\u002Fthreshold), `Effectors Collection`, `Effectors` (bundle).\n- Colliders: put a `Collider` modifier on each collider object and add those objects to the collection fed into `Effectors Collection` (the script does both).\n- Hair: Add → Empty Hair sets up the surface + `Capture Rest Geometry`. Hair Dynamics reads the rest\u002Fdeformed surface through geometry bundles.\n- Limits (5.2): no self-collision yet, no built-in wind\u002Fturbulence (build a `Custom Force`). Interfaces may change, so pin the Blender version in production.\n- The solver itself (`GeometryNodeXPBDSolver`) takes a `World` bundle, `Delta Time`, `Substeps`, `Constraint Iterations`. Building directly on it is advanced; start from the assets.\n\n## Fluids (Mantaflow) quick setup\nDomain object (`FLUID` modifier `fluid_type=\"DOMAIN\"`, `domain_type=\"LIQUID\"|\"GAS\"`), resolution 64 preview \u002F 128–256 final, cache directory set and `cache_type=\"ALL\"` for headless; flow objects `fluid_type=\"FLOW\"` (`flow_type` LIQUID\u002FSMOKE\u002FFIRE, `flow_behavior` INFLOW\u002FGEOMETRY); obstacles `EFFECTOR`. Bake with `bpy.ops.fluid.bake_all()` under a context override with the domain active. This is slow. Test at low resolution first.\n\n## Rules\n- Simulations are frame-rate and scale dependent. Set `scene.render.fps` and the scale before tuning.\n- Always bake before rendering\u002Fexporting, and never rely on viewport playback order.\n- GN simulation zones: bake per modifier (`mod.bakes`, `object.geometry_node_bake_single`), or step frames sequentially (script) in background.\n- Point caches in background: stepping frames from `frame_start` fills the cache. `ptcache.bake_all(bake=True)` needs a valid context.\n- Verify with `look(mode=\"frames\")` plus the numbers (`min_z` ≈ the collider top = contact, no tunnelling).\n\n## Gotchas\n- Objects tunnelling through colliders: thin colliders, too few substeps, or too-fast motion. Thicken, raise substeps\u002Fquality, or use a bigger collision distance.\n- Exploding cloth at frame 1: starting interpenetration or a zero-area face. Run `blender-asset-qa`, offset the start.\n- Rigid body world cache ranges are separate from the scene range (the script syncs them).\n- Changing anything (frame range, settings) invalidates caches. Re-bake.\n",{"name":5,"license":15,"metadata":24,"description":7},{"author":25,"version":26},"blender-agent-skills","1.2.0","main","65939082a69507fbcf2161620b47d3b0b1a2ab90","skills\u002Fblender-simulation","https:\u002F\u002Fgithub.com\u002FMattMakes\u002Fmulti-herdr","https:\u002F\u002Fgithub.com\u002FMattMakes","Full stack web developer and aspiring game developer who is eager to learn and create!","2026-11-14 13:23:29",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add MattMakes\u002Fmulti-herdr --skill blender-simulation",{"tool":40,"command":41},"bunx","bunx skills add MattMakes\u002Fmulti-herdr --skill blender-simulation",{"tool":43,"command":44},"pnpm","pnpm dlx skills add MattMakes\u002Fmulti-herdr --skill blender-simulation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMattMakes\u002Fmulti-herdr\u002Fblob\u002Fmain\u002Fskills\u002Fblender-simulation\u002FSKILL.md",true,[48,54],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"scripts\u002F_bpyx.py","SCRIPT","脚本",4503,"https:\u002F\u002Fgithub.com\u002FMattMakes\u002Fmulti-herdr\u002Fblob\u002Fmain\u002Fskills\u002Fblender-simulation\u002Fscripts\u002F_bpyx.py",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"scripts\u002Fsim_setup.py",10097,"https:\u002F\u002Fgithub.com\u002FMattMakes\u002Fmulti-herdr\u002Fblob\u002Fmain\u002Fskills\u002Fblender-simulation\u002Fscripts\u002Fsim_setup.py",[59,66,73,80,87,94],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7CD2RFC310Q4TFD6WTZ806Z","blender-workflow-recipes","End-to-end Blender 5.2 playbooks chaining the blender-* skills with QA gates - game props (mid-poly, high-to-low), game characters (sculpt\u002FAI mesh to rigged, animated export), Roblox props\u002Faccessories\u002Favatars, AI or downloaded asset cleanup, procedural environments, web\u002FAR assets, product turntables, mood\u002Fweather shots (night, rain, snow, fog). Use for complete multi-stage asset requests.","https:\u002F\u002Fgithub.com\u002FMattMakes\u002Fmulti-herdr\u002Fblob\u002Fmain\u002Fskills\u002Fblender-workflow-recipes\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7CD2J644S1Q1NH0B1NWSQQW","blender-weather-fx","Weather effects in Blender 5.2 - looping Geometry Nodes rain, snow, dust, ash and embers with ground hits and splashes, wet surfaces, puddles with animated ripples, wall streaks, snow cover (shader + real snow geometry), storm lightning with multi-stroke flashes and bolts, engine-ready weather masks. Use for rain, storm, snow, wet street, puddle, dust or ember scenes.","https:\u002F\u002Fgithub.com\u002FMattMakes\u002Fmulti-herdr\u002Fblob\u002Fmain\u002Fskills\u002Fblender-weather-fx\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7CD2D4VCEJG1TWK7FKSP002","blender-video-editing","Video in Blender 5.2 - Video Sequencer edits from Python (clips, image sequences, crossfades, titles, music fades, proxies, color management, H.264\u002FAAC output) and motion tracking (feature detection, camera solve, scene orientation, tripod and plane tracking, stabilization) for VFX shots. Use to cut renders\u002Ffootage together or match-move a camera.","https:\u002F\u002Fgithub.com\u002FMattMakes\u002Fmulti-herdr\u002Fblob\u002Fmain\u002Fskills\u002Fblender-video-editing\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7CD22HZZTE91TPETJNFX535","blender-time-of-day","Time of day and atmosphere in Blender 5.2 - measured sky + sun for dawn, morning, noon, golden hour, sunset, blue hour, overcast, night\u002Fmoonlight with stars and city glow, exposure balance, height fog from visibility, god rays, Cycles vs EEVEE volumes, compositor grade, stylized moods (cyberpunk neon, horror, underwater, desert). Use for any day\u002Fnight, sunset, foggy or mood lighting scene.","https:\u002F\u002Fgithub.com\u002FMattMakes\u002Fmulti-herdr\u002Fblob\u002Fmain\u002Fskills\u002Fblender-time-of-day\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7CD1Y6JHPVW2J5MKHZ0DF4E","blender-texturing","Texture authoring in Blender 5.2 - smart-material layers (edge wear, cavity grime, dust, rust, roughness breakup) from curvature\u002FAO masks, z-fight-safe decal and sticker placement, trim sheets, tiling + vertex-color blends, texture painting, baking the look to game texture sets. Use when a material needs wear, dirt, a decal, trims or hand painting, not just wiring.","https:\u002F\u002Fgithub.com\u002FMattMakes\u002Fmulti-herdr\u002Fblob\u002Fmain\u002Fskills\u002Fblender-texturing\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M7CD1SM4V8QK32H2QE1ZJ5QG","blender-texture-baking","Bake texture maps in Blender 5.2 Cycles - high-to-low normal maps with cage\u002Fextrusion, AO, curvature, ID, thickness, base color\u002Froughness\u002Fmetallic from procedurals, ORM packing, OpenGL vs DirectX, margins, GPU baking, fixing skewing\u002Fwaviness\u002Fseams. Use when transferring sculpt or high-poly detail to game meshes or converting procedural materials to textures.","https:\u002F\u002Fgithub.com\u002FMattMakes\u002Fmulti-herdr\u002Fblob\u002Fmain\u002Fskills\u002Fblender-texture-baking\u002FSKILL.md",[],[]]