3D models
Generate 3D models from short Blender Python scripts, inspect them in an interactive viewer and regenerate them as the design evolves.
3D models give a project physical and spatial context — assemblies, mechanical layouts, operating environments — so reviewers can reason about more than abstract diagrams. Each model is built from a short Blender Python (bpy) script and exported as a GLB file that renders in an interactive viewer.
Where: sidebar Model → 3D models ·
/p/<project>/models
When to use it
- Mechanical or electromechanical projects where physical layout matters.
- Spatial reasoning about an environment: a building, a test range, an operating volume.
- Stakeholder reviews where a 3D view communicates more than a 2D diagram.
Walkthrough
1. Create a model
- Open Model → 3D models and click New 3D Model.
- Enter a Name and an optional Description.
- Write the geometry in the Blender Python script field.
bpyis already imported and the scene starts empty; whatever you build is exported as GLB. The starter script adds a few primitives to replace. - Click Generate. Ngenaire runs the script in Blender and stores the result.
While Blender runs the model shows as generating. If the script fails, the model is marked failed with the error so you can fix the script and try again.
Each model gets a code such as M3D-000003; /p/<project>/models?item=M3D-000003 opens it directly.
2. View a model
- Select a model in the list.
- It renders in the interactive viewer: drag to orbit, scroll to zoom, and use the viewer controls to reframe.
- The header shows the name, description, file size and creation time. The Source script panel below shows the Blender Python that produced it.
3. Edit and regenerate
- With a model selected, click Edit & regenerate in the Source script panel.
- Adjust the script.
- Click Save & regenerate. Blender runs again, the previous geometry is replaced and the viewer refreshes.
4. Delete a model
Use the delete action on the model and confirm. This permanently removes the model and its GLB file.
Generate with the co-engineer
You don't have to write bpy yourself. Open the co-engineer with ⌘J and describe what you need; it writes the script and generates the model through the same tools the page uses.
Create a 3D model of the rover chassis: a 1.2 m by 0.8 m platform, four wheels of 0.3 m diameter and a sensor mast at the front.
Regenerate M3D-000003 with the battery bay moved behind the rear axle.
Tips
- Keep geometry simple. Lightweight meshes load faster in the viewer and in reports.
- Iterate through the script. Models regenerate from their script, so you can refine the geometry repeatedly without re-uploading anything.
- Use models as review aids. The CAD master belongs in your CAD tool; the 3D view here is for systems-engineering context.