Parameter names for Custom GCode - slic3r/Slic3r GitHub Wiki
- Any configuration option from an exported config.ini may be used.
[input_filename]
- Input filename[input_filename_base]
- Input filename with extension stripped- object.stl -> object
[timestamp]
- Current date/time- Each component from the timestamp is available: [year], [month], [day], [hour], [minute], [second]
[scale]
[scale_0]
,[scale_1]
, ... for specific scales
[print_preset]
- name of the current print preset. Only available when using plater GUI.[filament_preset]
- name of the current filament preset. Only available when using plater GUI.[printer_preset]
- name of the current printer preset. Only available when using plater GUI.
Note: Multi-value options can be called with indices, like [nozzle_diameter_1].
The default format is [input_filename_base].gcode, meaning that if you slice a foo.stl file, the output will be saved to foo.gcode.