parse_scad_parameters
Extract adjustable dimension variables and their annotations from OpenSCAD code to identify modifiable parameters.
Instructions
Parse parameter variables from OpenSCAD code.
Extracts named dimension variables from the top of an OpenSCAD
file, including their values, units, descriptions, and valid
ranges (if annotated in comments).
Use this after generating OpenSCAD code to discover which
parameters can be adjusted.
Args:
scad_code: OpenSCAD source code string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scad_code | Yes |