Robot model builder for MuJoCo

Design a robot, simulate it, export the MJCF.

Mecharoni is a visual editor for MuJoCo models. Assemble bodies, joints and real actuators, run them under the MuJoCo engine in your browser, and take the model with you as standard MJCF.

mecharoni / buildSimulating at 100 Hz
WebAssembly, in the tab
MuJoCo
Fixed control loop
100 Hz
Import and export
MJCF
Accounts or uploads
0

Capabilities

Built around physical parts, not placeholder shapes

A model is only as useful as its numbers. The catalog, the gears and the importer exist so that what you simulate is what you can build.

Actuators from their datasheets

Servos and motors from ROBOTIS, Feetech, TowerPro and CubeMars, from the SG90 to the AK60-6. Each part links to the maker's page its figures are copied from, and any value that page leaves out is marked as estimated. Drives follow a DC motor's torque-speed line: stall torque sets the force limit, stall torque over no-load speed sets the damping.

Gears to standard formulas

Spur gears, racks and worms in modules 0.5 to 2 mm, sized to KHK's formulas from module and tooth count. Mesh any two and they are coupled by a joint equality at their exact tooth ratio.

Assembly by snapping

Drag shapes, parts and meshes onto the floor or onto each other and they seat face to face. The gizmo works in MuJoCo's Z-up frame, and every edit is undoable.

Existing models, resolved

Open MJCF as loose files, a folder or a zip. MuJoCo compiles it and the editor reads the result back, so defaults, fromto and orientations arrive resolved. Anything the editor cannot hold is listed, never dropped silently.

Drive it while it runs

Bind actuators to keys or a gamepad, plot joint, actuator and sensor signals live, and save poses to start from. Twelve sensor types, from joint position to rangefinder.

A build list, not just a model

The parts list counts every catalog part in the model, so you know what to order and what to print before you build it.

Workflow

From empty scene to MJCF

  1. 01

    Assemble

    Place bodies, catalog parts and imported STL or OBJ meshes. Meshes are normalised to metres and Z-up on import.

  2. 02

    Connect

    Add hinges, slides and ball joints, actuators, tendons, sites and sensors. The model tree shows what is attached to what.

  3. 03

    Simulate and export

    Press play to run it under MuJoCo, then export MJCF that runs in any MuJoCo install, or save the project file.

MJCF coverage

What the editor reads and writes today

Every supported element can be authored in the editor, is drawn in the viewport and is written to the exported MJCF. Planned elements are listed so you know before you import.

AreaSupported
Bodies and geomsbodyboxspherecapsulecylinderellipsoidmesh
Jointshingeslideballfree
Actuatorsmotorpositionvelocity
Tendons and equalitiesspatial tendonconnectweldjoint
Sensorsjointposjointvelactuatorfrcaccelerometergyrovelocimeterforcetorquetouchrangefinderframeposframequat
Scenecameralightsitekeyframecontact pair

Local by design

Your models never leave your machine

The physics engine, the compiler and your project all live in the browser tab. There is no account to create and nothing is uploaded.

  • Physics in WebAssembly

    The official MuJoCo WebAssembly bindings compile and step your model on your own CPU.

  • Saved as you work

    Projects and meshes are kept in your browser's storage, and can be saved to a project file.

  • Standard output

    Exported MJCF uses MuJoCo's own elements, so it loads wherever MuJoCo does.

Start from a sample or an empty scene.

Runs in a current desktop browser. Nothing to install.

Open the builder