SDF Simulation Models

earthtojake/text-to-cad

Author and validate SDFormat models and worlds with explicit frames, physics, sensors and simulator handoff checks.

Conteúdo atualizado:

Ver no GitHub
npx skills add earthtojake/text-to-cad#latest
26.122Estrelas2.482ForksÚltimo push do repositório

Sobre este Skill

Write SDF XML directly for models or worlds, using an explicit design ledger for poses, axes, resources and units. Validate the saved document, run Gazebo checks when available, and verify target-specific sensors and plugins. SDF here means SDFormat.

Por que escolhemos

Useful when a robot or world must load in a specific simulator: the workflow separates file validation, viewer review and simulator startup.

No que ajuda

  • Create or repair a Gazebo model/world with traceable frames and resource references.

How to use this Skill

  1. Choose the target simulator

    Record the simulator version, document kind, resource paths and frame conventions.

  2. Author explicit frames

    Write XML with deliberate relative_to and expressed_in references, computed inertials and SI units.

  3. Validate and load

    Run cadgen sdf validate; run gz sdf --check and simulator startup when available, reporting each skipped check.

Official SDF Simulation Models workflow

Try a first task

  1. Send a concrete brief

    Provide the real input files and replace example dimensions or machine details with your own.

    Review this SDF model for Gazebo. Check explicit pose frames, mesh paths, inertials and sensor configuration, validate it, and report which simulator checks actually ran.

Official SDF Simulation Models workflow

Install the shared library

Use the official text-to-cad plugin for your agent, or install the complete Skill folders with the Skills CLI below. Choose one route in each app, then restart it. The plugin includes a CAD server; Skills-only installations use a browser viewer. Keep the bundled references and scripts with each entrypoint.

ComandoPara que serve
npx skills add earthtojake/text-to-cad#latestInstall the released Skill library; the CLI asks which agents and installation scope to use.

Official installation and update instructions

Scope and limits

A viewer renders geometry without executing simulator plugins or proving dynamics; validate those in the target simulator.

Official SDF Simulation Models workflow

Antes de usar

  • Needs uv and the pinned cadgen runtime. Target Gazebo/libsdformat, simulator plugins and mesh resources are needed for their respective runtime checks.

Agentes compatíveis

Claude CodeCodex CLICursorGemini CLIGrok Build

Perguntas frequentes

Do I install this as a separate product?

This is one task in the shared text-to-cad library. Use the official plugin or the complete Skill installation, then select this workflow for the task.

Is the Skill free?

The upstream code is MIT-licensed. Your agent provider, hardware, materials and any fabrication service can have separate costs.

Fontes e referências

As fontes originais estão nos links abaixo. As sugestões práticas são recomendações editoriais do SkillHey.