render_openscad
Convert OpenSCAD code into PNG images using OpenSCAD's headless mode. Specify code, output path, and camera parameters to generate rendered visuals without a GUI.
Instructions
Render OpenSCAD code to PNG using OpenSCAD in headless mode
Input Schema
Name | Required | Description | Default |
---|---|---|---|
camera | No | Camera parameters: translate_x,y,z,rot_x,y,z,dist or eye_x,y,z,center_x,y,z | |
code | Yes | The OpenSCAD code to render | |
output_path | Yes | Path where the rendered PNG image should be saved |