BoneDry
Headless rigging, kinematics, and RL.
Closed-loop 4-bar XPBD, SDLS and FABRIK IK, CoR skinning, swept CCD, and a 3.9M steps/sec PufferLib C-ABI bridge in a 1.0 MB binary.
bpy.ops.object.armature_add()
# manual bone rolls, silent URDF loop drops
for f in range(60):
bone.rotation_quaternion = solve_ik(f)
# 5 quaternion sign flips, 236 MB RSS load("gearbox.glb")
| rig_from_parts(root="housing")
| joint("drive", type="hinge", axis=(0,1,0), motor=2.0)
| gear_couple("drive", "driven", ratio=2.0)
| animate(duration=2.0, fps=30)
| lint(strict=true, swept_ccd=true)
Interactive Examples
Switch between runnable BoneDry-Pipe workflows.
load("gearbox.glb")
| rig_from_parts(root="housing")
| joint("drive", type="hinge", axis=(0, 1, 0), motor=2.0)
| gear_couple("drive", "driven", ratio=2.0)
| animate(duration=2.0, fps=30)
| lint(strict=true, swept_ccd=true) load("linkage.glb")
| rig_from_parts(root="frame")
| joint("crank", type="hinge", axis=(0, 0, 1), motor=3.14)
| joint("coupler", type="hinge", parent="crank")
| close_loop("coupler", "rocker", tol=1e-5)
| animate(duration=2.0, fps=30) load("forma_4dof_arm.glb")
| rig_from_parts(root="base")
| actuate("warmup", duration=0.8)
| policy_blend("forma_arm_reach_ppo.bdpol.json", blend_s=0.25, return_home=true)
| lint(strict=true, swept_ccd=true) {
"mcpServers": {
"bonedry": {
"command": "npx",
"args": ["-y", "-p", "bonedry-3d", "bonedry-3d-mcp"]
}
}
} Benchmarks
External Python oracle (bench/oracle.py) and 24-trial blind multi-model LLM ablation.
| Metric | Incumbent | BoneDry | Delta |
|---|---|---|---|
| Cold-start (2:1 gearbox + URDF) | 824.4 ms (Blender) | 20.8 ms native | 39.6x faster |
| Peak RSS | 235.9 MB (Blender) | 3.4 MB native | 69x less RAM |
| Mean cumulative LLM tokens | 5,458 tok (Python/bpy) | 608 tok (BoneDry-Pipe) | 9.0x fewer |
| Blind LLM Pass@1 (24 trials) | 33.3% (Python/bpy) | 75.0% (BoneDry-Pipe) | +41.7 pp |
| Median LLM execution time | 697 ms | 9.2 ms | 75.5x faster |
Architecture
Exports: .glb (skins + UCX_*) · .mjcf · .urdf · .usda · .puffer.py · UE5 / Godot / Unity
Closed-loop mechanics and IK
Exact Blow & Binstock inertia, Muller XPBD constraints (hinges, pistons, gears, tendons, 4-bar loops < 1.6e-5 m), plus Analytic, SDLS, and FABRIK IK.
CoR skinning and procedural motion
Geodesic Voxel Binding with Le & Hodgins CoR skinning, swing-twist baking, Holden critically damped springs, and Bollo quintic inertialization.
Swept CCD and track lint
Checks quaternion flips, loop seams, LDLJ jerk spikes, foot slide, skin collapse, and exact Rotational Conservative Advancement swept collisions.
PufferLib RL and policy blending
Compiles any BoneDry or Forma rig into a 1.0-3.9M SPS Rust RL environment and blends live PPO policies into procedural clips with zero pose pop.
Outputs
Rendered directly by BoneDry.