Skip to main content
Glama

OpenSCAD MCP Server

by rahulgarg123

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

NameRequiredDescriptionDefault
cameraNoCamera parameters: translate_x,y,z,rot_x,y,z,dist or eye_x,y,z,center_x,y,z
codeYesThe OpenSCAD code to render
output_pathYesPath where the rendered PNG image should be saved

Input Schema (JSON Schema)

{ "properties": { "camera": { "description": "Camera parameters: translate_x,y,z,rot_x,y,z,dist or eye_x,y,z,center_x,y,z", "type": "string" }, "code": { "description": "The OpenSCAD code to render", "type": "string" }, "output_path": { "description": "Path where the rendered PNG image should be saved", "type": "string" } }, "required": [ "code", "output_path" ], "type": "object" }
Install Server

Other Tools from OpenSCAD MCP Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/rahulgarg123/openscad-mcp'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server