> ## Documentation Index
> Fetch the complete documentation index at: https://mcp-for-blender.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Robotics Simulation Environments in Blender MCP

> Prototype robotic simulation environments, obstacle courses, and sensor test scenes in Blender using AI prompts and Python code execution.

Blender MCP can help robotics engineers quickly prototype simulation environments: obstacle courses, warehouse layouts, outdoor terrain, sensor test scenes. Generate scenes from natural language descriptions and export them for use in simulation engines.

## Key Workflows for Robotics

### Procedural Environment Generation

Use `execute_blender_code` to generate structured environments programmatically. Claude writes Blender Python to create:

* Grid arrays of obstacles for navigation testing
* Warehouse floor plans with shelving units and corridors
* Terrain with varied elevation for outdoor robot testing
* Sensor test scenes with calibrated reference objects

### Realistic Surface Textures from Poly Haven

Apply Poly Haven PBR textures to floors, walls, and terrain to make environments visually realistic. Concrete, asphalt, grass, and industrial metal textures are all available.

### Import Existing Robot Models from Sketchfab

Search Sketchfab for industrial robot arms, drones, or ground vehicles. Import them into your scene to test integration with the environment.

### Precise Object Placement and Constraints

Use Python scripting via `execute_blender_code` for exact object placement, parenting, and constraint setup. This is useful when you need objects at specific coordinates for your simulation configuration.

## Example Prompts

| Prompt                                                              | Result                                                     |
| ------------------------------------------------------------------- | ---------------------------------------------------------- |
| "Create a grid of obstacles for a navigation test"                  | Procedural grid of boxes or cylinders with defined spacing |
| "Generate a warehouse floor plan with shelving units and corridors" | Large environment with aisles and storage racks            |
| "Import an industrial robot arm from Sketchfab"                     | Detailed robot model added to the scene                    |
| "Create a terrain with varied elevation for outdoor robot testing"  | Displaced mesh terrain with hills and flat areas           |
| "Place reference cubes at 1-meter intervals along the X axis"       | Calibrated objects for sensor validation                   |

## Exporting for Simulation Engines

After building your environment in Blender, export it for use in robotics simulators:

<Steps>
  <Step title="Select objects to export">
    Use Blender's outliner to select the environment mesh and any collision geometry.
  </Step>

  <Step title="Choose export format">
    Go to **File → Export** and select the format your simulator expects. GLTF/GLB is widely supported. For URDF-compatible workflows, export meshes as `.obj` or `.dae`.
  </Step>

  <Step title="Configure export settings">
    Enable **Selected Only** if you want just the environment. Set forward and up axes to match your simulator's coordinate system.
  </Step>

  <Step title="Import into simulator">
    Load the exported mesh into Gazebo, Isaac Sim, Webots, or your preferred robotics framework.
  </Step>
</Steps>

<Tip>
  Use `get_scene_info` after building the environment to get precise object coordinates for your simulation configuration. This gives you exact positions, rotations, and dimensions to feed into your robot's world model.
</Tip>

## Recommended Integrations for Robotics

<CardGroup cols={3}>
  <Card title="execute_blender_code" icon="code">
    Generate procedural environments, grids, terrain, and precise object placement.
  </Card>

  <Card title="Poly Haven" icon="sun">
    Realistic surface textures for floors, terrain, and industrial surfaces.
  </Card>

  <Card title="Sketchfab" icon="cube">
    Import detailed robot and industrial equipment models.
  </Card>
</CardGroup>

## Next Steps

* [Scientific visualization](/use-cases/scientific-visualization)
* [Filmmaking and VFX](/use-cases/filmmaking-vfx)
* [Complete scene generation](/use-cases/scene-generation)
