The member prusaslicer.ini keeps the configuration the job was sliced
with. This page gives every key that PrusaSlicer 2.9.2 defines for a resin job, from
its definitions in PrintConfig.cpp and PrintConfig.hpp and
its profile lists in Preset.cpp and PresetBundle.cpp. The
printer does not need them; PrusaSlicer reads them to reopen a job.
Which keys are written and how
- One
key = valueline for each setting, in alphabetical order of the keys. - Never written:
compatible_printers,compatible_prints,compatible_printers_condition,inherits,print_host,printhost_apikey,printhost_cafile, the layer separation settings, and a material override that is not set. - Numbers use a full stop. A switch is
0or1. A list of numbers is separated by commas, a list of texts by semicolons. A percentage ends in%. A list of points is written xxy, separated by commas. - Texts are escaped in the C manner, so a line break in a note is written
\n. - The defaults below are those of the definitions. Printer, print and material profiles normally replace them.
- A job exported from the command line carries whatever configuration was given to it, which may include other keys.
Profiles and printer identity
| Key | Meaning | Default and limits |
|---|---|---|
printer_technology | Kind of printer; always SLA in a resin job | FFF or SLA |
printer_model | Printer model, copied to printerModel in config.ini | empty |
printer_variant | Variant of that model, copied to printerVariant | empty |
printer_vendor | Maker of the printer | empty |
printer_notes | Free notes about the printer | empty |
printer_settings_id | Name of the printer profile used | empty |
physical_printer_settings_id | Name of the selected physical printer, a saved network connection | empty |
sla_print_settings_id | Name of the print settings profile used | empty |
sla_material_settings_id | Name of the material profile used | empty |
default_sla_print_profile | Print settings profile selected when the printer profile is chosen | empty |
default_sla_material_profile | Material profile selected when the printer profile is chosen | empty |
compatible_prints_condition | Expression over print settings that says which of them the material profile suits | empty |
compatible_printers_condition_cummulative | The printer conditions of the print and material profiles, in that order; written only if one is not empty. The spelling is the program’s | list of texts |
compatible_prints_condition_cummulative | The print condition of the material profile; written only if not empty | list of texts |
inherits_cummulative | The parent profile names of the print, material and printer profiles, in that order; written only if one is not empty | list of texts |
output_filename_format | Template for the name of the exported file; names in square brackets are replaced by setting values or dates | [input_filename_base].sl1 |
thumbnails | Sizes and picture types of the preview images, as WxH/PNG, separated by commas; PNG, JPG and QOI are known | empty |
host_type | Kind of network print server the printer profile uploads to | prusalink (default), prusaconnect, octoprint, moonraker, duet, flashair, astrobox, repetier, mks |
Printer, display and output
| Key | Meaning | Default and limits |
|---|---|---|
bed_shape | Corners of the build area on the plate, mm | 0x0,200x0,200x200,0x200 |
bed_custom_model | Path of a 3D model drawn as the plate in the slicer | empty |
bed_custom_texture | Path of a picture drawn on the plate in the slicer | empty |
max_print_height | Greatest height the printer reaches, mm | 200; 0 to 1200 |
display_width | Physical width of the exposure display, mm | 120; 1 or more |
display_height | Physical height of the exposure display, mm | 68; 1 or more |
display_pixels_x | Pixels across the display’s width | 2560; whole, 100 or more |
display_pixels_y | Pixels across the display’s height | 1440; whole, 100 or more |
display_orientation | How the display sits in the printer; portrait swaps width and height and turns the layer images by 90 degrees | portrait (default) or landscape |
display_mirror_x | Mirror the layer images horizontally | 1; 0 or 1 |
display_mirror_y | Mirror the layer images vertically | 0; 0 or 1 |
gamma_correction | Gamma applied to the antialiased edges when layers are drawn; 0 cuts at half coverage, giving no grey | 1; 0 to 1 |
sla_archive_format | Which archive writer makes the output file | SL1 |
sla_output_precision | Smallest step of the outlines written out, mm; the unit of the SVG layers’ viewBox | 0.001; 0.000001 or more |
relative_correction | Printer scale factors in the older list form; on loading, PrusaSlicer fills a missing _x and _y from the first number and a missing _z from the second | 1,1; each 0 or more |
relative_correction_x | Printer scale factor along X | 1; 0 or more |
relative_correction_y | Printer scale factor along Y | 1; 0 or more |
relative_correction_z | Printer scale factor along Z | 1; 0 or more |
absolute_correction | Distance by which the sliced outlines are grown (positive) or shrunk (negative), mm | 0; any number |
elefant_foot_compensation | Distance by which the first layer is shrunk sideways against its spreading (“elephant foot”), mm | 0; 0 or more |
elefant_foot_min_width | Narrowest detail that this shrinking must keep, mm | 0.2; 0 or more |
fast_tilt_time | Time taken by a fast tank tilt, seconds | 5; 0 or more |
slow_tilt_time | Time taken by a slow tank tilt, seconds | 8; 0 or more |
high_viscosity_tilt_time | Time taken by the very slow tilt used for thick resin, seconds | 10; 0 or more |
min_exposure_time | Lowest layer exposure time of the printer, seconds | 0; 0 or more |
max_exposure_time | Highest layer exposure time of the printer, seconds | 100; 0 or more |
min_initial_exposure_time | Lowest first-layer exposure time of the printer, seconds | 0; 0 or more |
max_initial_exposure_time | Highest first-layer exposure time of the printer, seconds | 150; 0 or more |
Layers and slicing
| Key | Meaning | Default and limits |
|---|---|---|
layer_height | Thickness of each layer after the first, mm | 0.3; 0 or more |
initial_layer_height | Thickness of the first layer, mm (a material setting) | 0.3; 0 or more |
faded_layers | Layers over which the exposure time passes from the first-layer time to the normal time | 10; whole, 3 to 20 |
slice_closing_radius | Cracks in the model narrower than twice this are closed while slicing, mm | 0.049; 0 or more |
slicing_mode | How overlapping or open surfaces are filled | regular (default), even_odd (alternate fill), close_holes (all holes filled) |
Supports
Most support settings exist twice: the support_ key is for the default
support tree and the branchingsupport_ key for the branching tree,
chosen by support_tree_type. Both are written. They share limits and,
unless two are given, the default.
| Keys | Meaning | Default and limits |
|---|---|---|
supports_enable | Generate supports | 1; 0 or 1 |
support_tree_type | How the support tree is built | default or branching (experimental) |
support_enforcers_only | Support only the regions painted as support enforcers | 0; 0 or 1 |
support_points_density_relative | How densely support points are placed, relative to normal, % | 100; whole, 0 or more |
support_head_front_diameterbranchingsupport_head_front_diameter | Diameter of the pinhead’s tip where it meets the model, mm | 0.4; 0 or more |
support_head_penetrationbranchingsupport_head_penetration | Depth the pinhead reaches into the model surface, mm | 0.2; 0 or more |
support_head_widthbranchingsupport_head_width | Distance between the centres of the pinhead’s back and front spheres, mm | 1; 0 to 20 |
support_pillar_diameterbranchingsupport_pillar_diameter | Diameter of the support pillars, mm | 1; 0 to 15 |
support_small_pillar_diameter_percentbranchingsupport_small_pillar_diameter_percent | Diameter of the thinner pillars used where a normal one cannot fit, as a share of the normal diameter | 50%; 1 to 100 |
support_max_bridges_on_pillarbranchingsupport_max_bridges_on_pillar | Most bridges (side branches carrying pinheads) one pillar may take | 3, branching 2; whole, 0 to 50 |
support_max_weight_on_modelbranchingsupport_max_weight_on_model | Limit for subtrees that end on the model, not the plate, measured as the summed length of their branches, mm | 10; 0 or more |
support_pillar_connection_modebranchingsupport_pillar_connection_mode | Shape of the braces between neighbouring pillars; dynamic picks one of the others by the distance | dynamic (default), zigzag, cross (double zig-zag) |
support_buildplate_onlybranchingsupport_buildplate_only | Make only supports that stand on the plate, none resting on the model | 0; 0 or 1 |
support_pillar_widening_factorbranchingsupport_pillar_widening_factor | How much a pillar thickens where bridges or pillars join it: 0 not at all, 1 fully; the exact amount is not fixed | 0.5; 0 to 1 |
support_base_diameterbranchingsupport_base_diameter | Diameter of a pillar’s foot, mm | 4; 0 to 30 |
support_base_heightbranchingsupport_base_height | Height of the cone at a pillar’s foot, mm | 1; 0 or more |
support_base_safety_distancebranchingsupport_base_safety_distance | Least distance between a pillar’s foot and the model, used when the object is not raised, mm | 1; 0 to 10 |
support_critical_anglebranchingsupport_critical_angle | Angle used for connecting support sticks and joints, degrees | 45; 0 to 90 |
support_max_bridge_lengthbranchingsupport_max_bridge_length | Longest bridge allowed, mm | 15, branching 5; 0 or more |
support_max_pillar_link_distancebranchingsupport_max_pillar_link_distance | Farthest apart two pillars may be and still be linked, mm; 0 links none | 10; 0 or more |
support_object_elevationbranchingsupport_object_elevation | Height by which supports raise the object, mm; ignored with a pad around the object | 5; 0 to 150 |
Pad
| Key | Meaning | Default and limits |
|---|---|---|
pad_enable | Add a pad (base plate) under the supported model | 1; 0 or 1 |
pad_wall_thickness | Thickness of the pad and of the walls of its cavity, mm | 2; 0 to 30 |
pad_wall_height | Depth of the cavity in the pad, mm; 0 for none | 0; 0 to 30 |
pad_brim_size | How far the pad reaches beyond what stands on it, mm | 1.6; 0 to 30 |
pad_max_merge_distance | Small pads whose centres are closer than this become one, mm | 50; 0 or more |
pad_wall_slope | Slope of the pad’s wall against the plate, degrees; 90 is upright | 90; 45 to 90 |
pad_around_object | Build the pad around the object and do not raise it | 0; 0 or 1 |
pad_around_object_everywhere | Force the pad all round the object | 0; 0 or 1 |
pad_object_gap | Gap between the object’s underside and the pad when the object is not raised, mm | 1; 0 to 10 |
pad_object_connector_stride | Spacing of the small sticks that join object and pad, mm | 10; 0 or more |
pad_object_connector_width | Width of those sticks, mm | 0.5; 0 or more |
pad_object_connector_penetration | Depth the sticks reach into the model, mm | 0.3; 0 or more |
Hollowing
| Key | Meaning | Default and limits |
|---|---|---|
hollowing_enable | Hollow the model out | 0; 0 or 1 |
hollowing_min_thickness | Least thickness of the hollow model’s wall, mm | 3; 1 to 10 |
hollowing_quality | Accuracy of the hollowing calculation against its speed; low values may leave artefacts | 0.5; 0 to 1 |
hollowing_closing_distance | Extra depth the inner surface is first made at before being grown back; more rounds the cavity, 0 follows the outside most closely, mm | 2; 0 to 10 |
Material
| Key | Meaning | Default and limits |
|---|---|---|
material_vendor | Maker of the resin | (Unknown) |
material_type | Kind of resin; the slicer offers Tough, Flexible, Casting, Dental and Heat-resistant, and other text is allowed | Tough |
material_colour | Colour shown in the slicer only | #29B2B2 |
material_notes | Free notes about the resin; makers other than Prusa also pass data in them | empty |
exposure_time | Exposure time of a normal layer, seconds | 10; 0 or more |
initial_exposure_time | Exposure time of the first layer, seconds | 15; 0 or more |
material_print_speed | Which layer separation speed the resin needs; slower profiles tilt more gently and wait before exposing | fast (default), slow, high_viscosity |
area_fill | Share of the build area, %, below which a layer uses the first set of separation settings and otherwise the second | 35; 0 or more |
material_correction | Resin expansion factors in the older list form, read like relative_correction | 1,1,1; each 0 or more |
material_correction_x | Expansion correction along X | 1; 0 or more |
material_correction_y | Expansion correction along Y | 1; 0 or more |
material_correction_z | Expansion correction along Z | 1; 0 or more |
zcorrection_layers | Z compensation: the number of layers over which curing through into the layers beyond is corrected for | 0; whole, 0 or more |
bottle_volume | Resin in a bottle, ml | 1000; 50 or more |
bottle_weight | Weight of a bottle, kg | 1; 0 or more |
bottle_cost | Price of a bottle, in whatever currency the user means | 0; 0 or more |
material_density | Density of the resin, g/ml | 1; 0 or more |
Material overrides
A material profile may replace some printer and print settings. Such a key is written only when it is set; its meaning and limits are those of the setting it replaces.
| Key | Replaces |
|---|---|
material_ow_support_head_front_diameter | support_head_front_diameter |
material_ow_support_head_penetration | support_head_penetration |
material_ow_support_head_width | support_head_width |
material_ow_support_pillar_diameter | support_pillar_diameter |
material_ow_branchingsupport_head_front_diameter | branchingsupport_head_front_diameter |
material_ow_branchingsupport_head_penetration | branchingsupport_head_penetration |
material_ow_branchingsupport_head_width | branchingsupport_head_width |
material_ow_branchingsupport_pillar_diameter | branchingsupport_pillar_diameter |
material_ow_support_points_density_relative | support_points_density_relative |
material_ow_absolute_correction | absolute_correction |
material_ow_elefant_foot_compensation | elefant_foot_compensation |
Layer separation settings
These material settings are left out of prusaslicer.ini:
delay_before_exposure, delay_after_exposure,
tower_hop_height, tower_speed, use_tilt,
tilt_down_initial_speed, tilt_down_offset_steps,
tilt_down_offset_delay, tilt_down_finish_speed,
tilt_down_cycles, tilt_down_delay,
tilt_up_initial_speed, tilt_up_offset_steps,
tilt_up_offset_delay, tilt_up_finish_speed,
tilt_up_cycles and tilt_up_delay. A job carries them as
the exposure profile of
config.json.
Keys of earlier versions
Jobs from earlier PrusaSlicer releases may hold keys that 2.9.2 no longer
defines. It names one resin key among those it ignores on loading:
support_points_minimal_distance, the least distance between support
points, in mm, no longer used from 2.9.1, when the support point generator
changed.
Sources
- PrusaSlicer 2.9.2 source –
PrintConfig.cpp,PrintConfig.hpp,Config.hpp,Preset.cpp,PresetBundle.cppandFormat/SL1.cpp(AGPL 3)