/blender-vfx:blender-physics-simulationfrom blender-vfx
Documents verified Blender 5.1 physics traps when scripting fluid, smoke, rigid body, cloth, or particle simulations. Covers cache_type defaults, sequential frame stepping, collision modifiers, evaluated objects, and GUI crash avoidance.
Ships in blender-vfx. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Traps 1-5 measured headless on Blender 5.1.2 (blender-round3 probes, 2026-11-08); trap 6 is the live-GUI crash from the round-3 ph2 run.
Baking IS scriptable - but set cache_type first. Wrong: assuming bakes are UI-only, or baking a
domain left at the default cache_type = 'REPLAY' - bpy.ops.fluid.bake_all() then writes ONE data file
(frame 1) while has_cache_baked_data still reads True. Right: domain_settings.cache_type = 'ALL' (or
'MODULAR'), then with bpy.context.temp_override(active_object=domain, object=domain): bpy.ops.fluid.bake_all() (FINISHED, 5 vdb files for 5 frames at 16 divisions, 0.09 s). Rigid / particle /
cloth point caches bake with bpy.ops.ptcache.bake_all(bake=True) (FINISHED, point_cache.is_baked True).
Bakes block until done - keep scripted ones small. Verify: COUNT the files in
[cache_directory]/data, never trust the baked flag.
Rigid bodies only simulate when frames are stepped in order, or after a bake. Wrong: frame_set(1)
then frame_set(20) - a falling cube stays at z = 5.0. Right: step 1..20 sequentially (z = 1.9425 at 20,
0.4983 at 40) or bake first. Verify: read obj.matrix_world.translation after the stepped frame_set.
obj.collision is None until a Collision modifier exists. Wrong: ground.collision.use = True
(AttributeError). Right: ground.modifiers.new("Collision", 'COLLISION'), then set ground.collision.*.
Verify: ground.collision is not None and the modifier is listed.
Particles live on the EVALUATED object. Wrong: obj.particle_systems[0].particles - 0 entries at frame
5. Right: obj.evaluated_get(bpy.context.evaluated_depsgraph_get()).particle_systems[0].particles - 100
entries, 45 with alive_state == 'ALIVE'. Verify: count alive particles after frame_set.
Old advice "Mantaflow cannot bake from Python / do not script ptcache.bake_all" is false on 5.1.2 (both returned FINISHED in trap 1). Do not route a bake to the UI because of it.
Never free and re-bake in the same execute_blender_code call on a live GUI. Measured once: after a
REPLAY bake, free_all() + cache_type = 'ALL' + bake_all() in one call closed the MCP socket
(WinError 10054) and killed Blender; the same sequence headless finished. Right: free in one call, set
cache_type and bake in the next; keep big bakes in a headless blender -b run. Verify: the Blender
process is still resident and the data-file count matches the frame range.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
blender, physics-simulation, baking, fluid-simulation, rigid-body, particles
11 skills in this plugin
/blender-addon-developmentVerified Blender 4.2+/5.1 add-on and extension traps - bl_info-only zips fail extension validate without blender_manifest.toml, assignment-style bpy.props register silently and do not exist, BLENDER_EEVEE_NEXT raises TypeError. Use when writing or packaging a Blender add-on, extension, operator or panel./blender-animationKeyframe animation, rigging, constraints, and armatures in Blender. Use for animation, rigging, camera movement, or when user mentions "animate," "keyframe," "rig," or "armature."/blender-api-compatibilityDiagnoses and migrates Blender Python API breakage across versions 4.2 to 5.1+ (EEVEE_NEXT, renamed modifier types and BSDF inputs, VSE strips). Use when a bpy script errors on a newer Blender, or for breaking changes and migration./blender-compositingCompositor nodes, post-processing, and color grading in Blender. Use for compositing workflows, render pass integration, post-processing, color correction, or when user mentions "compositor," "post-process," "color grade," or "render passes."/blender-controlnet-passesRenders ControlNet conditioning passes from a Blender scene for AI image and video generation - grey clay, normalized depth, cryptomatte EXR, optional wireframe. Use when preparing depth, edge or clay inputs for video models, or crypto mattes for comp./blender-geometry-nodesProcedural modeling using Geometry Nodes in Blender. Use for scattering systems, node trees, parametric design, or when user mentions "procedural," "geometry nodes," "scattering," or "instances."npx claudepluginhub sideshowroberto/vfx-agent-toolkit --plugin blender-vfxOther plugins' skills for the same job