cadloop Slicer
v0.1.0Find printer profiles, check bed fit, slice to .gcode.3mf and extract the G-code.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
openscad_info
Report the OpenSCAD binary, its version, and the workspace directory.
list_files
List files in the workspace matching a glob pattern.
| Parameter | Type | Description |
|---|---|---|
pattern | string |
read_file
Read a text file from the workspace.
| Parameter | Type | Description |
|---|---|---|
path * | string |
write_file
Write a text file into the workspace, creating parent directories.
| Parameter | Type | Description |
|---|---|---|
content * | string | |
path * | string |
check
Compile a script without evaluating geometry. Fast syntax and reference check. Returns errors, warnings and any ECHO output.
| Parameter | Type | Description |
|---|---|---|
defines | ||
file | ||
hard_warnings | boolean | |
source |
echo
Evaluate a script and return only its ECHO output. Use this to read computed values out of a model without paying for a mesh render.
| Parameter | Type | Description |
|---|---|---|
defines | ||
file | ||
source |
render
Render a script to a mesh or 2D file in the workspace. The format is taken from the output extension: stl, off, amf, 3mf, dxf, svg, csg. Returns the manifold report OpenSCAD prints (simple, volumes, facets), plus bounding box and volume when the output is an STL.
| Parameter | Type | Description |
|---|---|---|
output * | string | |
defines | ||
file | ||
measure | boolean | |
source | ||
timeout_s |
measure
Render to a throwaway STL and report bounding box, size, volume and triangle count. Use it to check a part fits the print bed.
| Parameter | Type | Description |
|---|---|---|
defines | ||
file | ||
source | ||
timeout_s |
preview
Render a PNG of the model and return it as an image. camera is OpenSCAD's own string. Seven numbers are gimbal style, translate x,y,z then rotate x,y,z then distance, for example "0,0,0,55,0,25,400". Six numbers are eye x,y,z then centre x,y,z. Leave it unset and viewall frames the object automatically. projection is "o" for orthogonal or "p" for perspective. Set full_render to evaluate the real geometry rather than the preview approximation. It is slower but shows what will export.
| Parameter | Type | Description |
|---|---|---|
camera | ||
colorscheme | string | |
defines | ||
file | ||
full_render | boolean | |
imgsize | string | |
projection | string | |
source | ||
timeout_s | ||
viewall | boolean |