CMU's BrickSim Simulates LEGO Physics in Real Time at 100% Accuracy
A hybrid Isaac Sim extension models snap-fit brick mechanics as a convex QP, achieving 100% stability accuracy on 150 real assemblies in 5 ms.
ProTakeaways
- Carnegie Mellon released BrickSim, the first real-time physics simulator for interlocking brick assemblies.
- Built on Isaac Sim, it models snap-fit mechanics as a structured convex quadratic program.
- Hits 100% static stability accuracy on 150 real assemblies with 5 ms average solve time.
- Reproduces real-world drop-test collapses and precise breakage locations at 60 FPS.
- Four orders of magnitude faster than BrickFEM, one order faster than StableLEGO.
- Current limits: fewer than 50 bricks for real time, no gears or wheels yet.
Anyone who has tried to simulate a LEGO structure in a standard rigid-body physics engine has hit the same wall: a perfectly stable tower in the real world will spontaneously wobble apart in software. That gap between rigid-body physics and the tiny elastic snap-fit connections that hold interlocking bricks together has quietly blocked progress on one of the more interesting testbeds for robotic manipulation. A team at Carnegie Mellon's Robotics Institute is now closing it with BrickSim, a real-time simulator built on top of NVIDIA Isaac Sim that models snap-fit mechanics explicitly.
Why rigid-body engines quietly fail at LEGO
Brick assembly is a compelling testbed for contact-rich manipulation, long-horizon planning, and physical reasoning, because standardized parts combine into a combinatorially huge space of tasks that tightly couple local snap-fit execution with global structural goals. The catch is that off-the-shelf simulators like MuJoCo, Gazebo, and vanilla Isaac Sim treat brick contacts as ordinary rigid-body collisions. They miss the snap-fit mechanics that arise from micro-elastic deformation and friction, so physically stable structures often collapse spontaneously on screen.
Prior workarounds have been unsatisfying. Some researchers stick to smooth block-stacking tasks that lose the interlocking behavior. Others collect real-world data, which is expensive and hard to scale. Finite element approaches like BrickFEM are physically accurate but far too slow for interactive use.
A hybrid architecture with three new modules
BrickSim keeps Isaac Sim's PhysX backbone for rigid-body dynamics and rendering, then bolts on three components that handle the snap-fit physics separately:
- Brick Topology Graph (BTG)