Make a Gazebo model in one sentence
Getting a textured, physics-ready model into Gazebo usually means: modeling in Blender,
UV mapping, exporting, hand-writing SDF XML, fixing collision and inertial, fighting
axis conventions — until it finally runs in gz sim.
This toolchain compresses all of that into: one sentence to an AI + two commands.
What it does
- One-sentence modeling. Give an AI a brief — e.g. “bus, 10.5×2.5×3.05 m,
detailed textures, 1 dynamic instance, realistic collision” — and it returns a
complete asset package: watertight Blender scene, embedded textures, programmatic
build scripts, and amanifest.yamlcontract. - Scripted, reproducible assets. Every model is generated by Python scripts
(geometry + textures). Change a size constant, rerun, done — no manual re-modeling. - Contract-first. Dimensions, mass, collision, and scene layout live in one small
manifest.yaml. No hidden state. - Hard validation (V1–V12). Watertightness, signed volume, dimension cross-check
against the real mesh bbox, embedded textures, origin strategy — anything that fails
refuses to pack and prints why. - Physics that actually behaves.
mesh/box/primitivescollision,
auto-inertia, dynamic or static. Stability is verified in headless sim: a 12 t bus
on box collision is rock-steady for 45 s; a Tesla Model 3 on four cylinder tires
rests at z = 0.71999999996 — exactly the theoretical height. - Zero Fuel dependency. Generated SDFs are fully offline:
gz sdf -k→Valid.,
then straight intogz sim.
60-second start
git clone https://github.com/yjphhw/gazebo-pack && cd gazebo-pack
python3 gazebo_pack.py build assets/coke_bottle --world # build the bundled example
export SDF_PATH=$PWD/gazebo_models:$SDF_PATH
export GZ_SIM_RESOURCE_PATH=$PWD/gazebo_models:$GZ_SIM_RESOURCE_PATH
gz sdf -k worlds/coke_bottle_world.sdf # -> Valid.
gz sim -r worlds/coke_bottle_world.sdf # a red coke bottle standing on the floor
Some results:
1.bus:
- falcon9 rocket:
-
shelf
-
skyscraper
-
coca cola bottle




