OpenSCAD Parts
This guide explains how to upload and use OpenSCAD parts in the Printago system.
Adding OpenSCAD Parts to Printago​
- Go to
Products -> Parts
and click+ Add Part
- Drag in main
.scad
file or browse to upload - Name your part and add a description as desired.
- Choose where to save it (defaults to your current folder)
- Select your preferred slicer. You can change your default in your Account Settings
- Pick your process profile:
Printer Default
: will use the default profile assigned to any printer the part matches withCustom Profile
: Use one of your snyced User Settings for this part.
- Match materials to your Material library
- Follow the prompts to upload any
use
orimport
files, and - Review the parsed
Parameters
and their values. - Click
Create
to finish

Parameter Management​
When adding an OpenSCAD file, Printago will automatically:
- Detect and parse parameters in your file
- Present editable parameter fields with appropriate input types
- Set default values based on your code
- Generate a thumbnail based on default parameter values
Parameter Types and Display Rules​
Printago automatically detects and displays these OpenSCAD parameter types with the following syntax:
Text Fields
For custom text input like names or messages:
// Basic text field
greeting = "Hello";
// With description
custom_text = "Engrave me"; // Text to display on the part
Number Fields
For numeric inputs:
// Basic number
item_count = 5;
Boolean Toggles
For true/false options displayed as checkboxes:
// Basic toggle
include_handle = true;
// With description
rounded_corners = true; // Check to round all corners
Dropdown Menus
For selecting from predefined options:
// Text options
material = "PLA"; // [PLA, PETG, ABS, TPU]
// Number options with custom labels
quality = 2; // [1:Fast, 2:Standard, 3:High, 4:Ultra]
Best Practices​
- Place all parameters at the top of your file, before any module or function definitions
- Use descriptive variable names and comments
- Provide reasonable default values
- For dropdowns, list the most common option first
- Keep parameter names under 30 characters for better UI display
- Group related parameters with section comments
File Management​
For OpenSCAD parts with multiple files:
- Ensure all referenced files are uploaded when creating the part
- Keep file paths consistent with your local development setup
- Use relative paths for including library files
Need help with your OpenSCAD parts? Join our Discord community for support and tips!