render
Preview 3D models by converting OpenSCAD code into an inline image and updating the live viewer if open.
Instructions
Render OpenSCAD code to a preview image. Returns the image inline. Also updates the live 3D viewer if open.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | OpenSCAD source code to render | |
| view | No | Camera position: 'translateX,translateY,translateZ,rotX,rotY,rotZ,distance' | |
| width | No | Image width in pixels | |
| height | No | Image height in pixels | |
| params | No | OpenSCAD variable overrides | |
| colorscheme | No | Color scheme name | Tomorrow Night |