1{
2    "name": "FDM Printer Base Description",
3    "version": 2,
4    "metadata":
5    {
6        "type": "machine",
7        "author": "Ultimaker",
8        "manufacturer": "Unknown",
9        "setting_version": 16,
10        "file_formats": "text/x-gcode;application/x-stl-ascii;application/x-stl-binary;application/x-wavefront-obj;application/x3g",
11        "visible": false,
12        "has_materials": true,
13        "has_variants": false,
14        "has_machine_quality": false,
15        "preferred_material": "generic_pla",
16        "preferred_quality_type": "normal",
17        "machine_extruder_trains":
18        {
19            "0": "fdmextruder"
20        },
21        "supports_usb_connection": true,
22        "supports_network_connection": false
23    },
24    "settings":
25    {
26        "machine_settings":
27        {
28            "label": "Machine",
29            "type": "category",
30            "description": "Machine specific settings",
31            "icon": "category_machine",
32            "children":
33            {
34                "machine_name":
35                {
36                    "label": "Machine Type",
37                    "description": "The name of your 3D printer model.",
38                    "default_value": "Unknown",
39                    "type": "str",
40                    "settable_per_mesh": false,
41                    "settable_per_extruder": false,
42                    "settable_per_meshgroup": false
43                },
44                "machine_show_variants":
45                {
46                    "label": "Show Machine Variants",
47                    "description": "Whether to show the different variants of this machine, which are described in separate json files.",
48                    "default_value": false,
49                    "type": "bool",
50                    "settable_per_mesh": false,
51                    "settable_per_extruder": false,
52                    "settable_per_meshgroup": false
53                },
54                "machine_start_gcode":
55                {
56                    "label": "Start G-code",
57                    "description": "G-code commands to be executed at the very start - separated by \\n.",
58                    "default_value": "G28 ;Home\nG1 Z15.0 F6000 ;Move the platform down 15mm\n;Prime the extruder\nG92 E0\nG1 F200 E3\nG92 E0",
59                    "type": "str",
60                    "settable_per_mesh": false,
61                    "settable_per_extruder": false,
62                    "settable_per_meshgroup": false
63                },
64                "machine_end_gcode":
65                {
66                    "label": "End G-code",
67                    "description": "G-code commands to be executed at the very end - separated by \\n.",
68                    "default_value": "M104 S0\nM140 S0\n;Retract the filament\nG92 E1\nG1 E-1 F300\nG28 X0 Y0\nM84",
69                    "type": "str",
70                    "settable_per_mesh": false,
71                    "settable_per_extruder": false,
72                    "settable_per_meshgroup": false
73                },
74                "material_guid":
75                {
76                    "label": "Material GUID",
77                    "description": "GUID of the material. This is set automatically.",
78                    "default_value": "",
79                    "type": "str",
80                    "enabled": false
81                },
82                "material_diameter":
83                {
84                    "label": "Diameter",
85                    "description": "Adjusts the diameter of the filament used. Match this value with the diameter of the used filament.",
86                    "unit": "mm",
87                    "type": "float",
88                    "default_value": 2.85,
89                    "minimum_value": "0.0001",
90                    "minimum_value_warning": "0.4",
91                    "maximum_value_warning": "3.5",
92                    "enabled": "machine_gcode_flavor != \"UltiGCode\"",
93                    "settable_per_mesh": false,
94                    "settable_per_extruder": true
95                },
96                "material_bed_temp_wait":
97                {
98                    "label": "Wait for Build Plate Heatup",
99                    "description": "Whether to insert a command to wait until the build plate temperature is reached at the start.",
100                    "default_value": true,
101                    "type": "bool",
102                    "settable_per_mesh": false,
103                    "settable_per_extruder": false,
104                    "settable_per_meshgroup": false
105                },
106                "material_print_temp_wait":
107                {
108                    "label": "Wait for Nozzle Heatup",
109                    "description": "Whether to wait until the nozzle temperature is reached at the start.",
110                    "default_value": true,
111                    "type": "bool",
112                    "enabled": "machine_nozzle_temp_enabled",
113                    "settable_per_mesh": false,
114                    "settable_per_extruder": false,
115                    "settable_per_meshgroup": false
116                },
117                "material_print_temp_prepend":
118                {
119                    "label": "Include Material Temperatures",
120                    "description": "Whether to include nozzle temperature commands at the start of the gcode. When the start_gcode already contains nozzle temperature commands Cura frontend will automatically disable this setting.",
121                    "default_value": true,
122                    "type": "bool",
123                    "enabled": "machine_nozzle_temp_enabled",
124                    "settable_per_mesh": false,
125                    "settable_per_extruder": false,
126                    "settable_per_meshgroup": false
127                },
128                "material_bed_temp_prepend":
129                {
130                    "label": "Include Build Plate Temperature",
131                    "description": "Whether to include build plate temperature commands at the start of the gcode. When the start_gcode already contains build plate temperature commands Cura frontend will automatically disable this setting.",
132                    "default_value": true,
133                    "type": "bool",
134                    "settable_per_mesh": false,
135                    "settable_per_extruder": false,
136                    "settable_per_meshgroup": false
137                },
138                "machine_width":
139                {
140                    "label": "Machine Width",
141                    "description": "The width (X-direction) of the printable area.",
142                    "default_value": 100,
143                    "type": "float",
144                    "minimum_value": "0.001",
145                    "maximum_value": "2000000",
146                    "settable_per_mesh": false,
147                    "settable_per_extruder": false,
148                    "settable_per_meshgroup": false
149                },
150                "machine_depth":
151                {
152                    "label": "Machine Depth",
153                    "description": "The depth (Y-direction) of the printable area.",
154                    "default_value": 100,
155                    "type": "float",
156                    "minimum_value": "0.001",
157                    "maximum_value": "2000000",
158                    "settable_per_mesh": false,
159                    "settable_per_extruder": false,
160                    "settable_per_meshgroup": false
161                },
162                "machine_shape":
163                {
164                    "label": "Build Plate Shape",
165                    "description": "The shape of the build plate without taking unprintable areas into account.",
166                    "default_value": "rectangular",
167                    "type": "enum",
168                    "options":
169                    {
170                        "rectangular": "Rectangular",
171                        "elliptic": "Elliptic"
172                    },
173                    "settable_per_mesh": false,
174                    "settable_per_extruder": false,
175                    "settable_per_meshgroup": false
176                },
177                "machine_buildplate_type":
178                {
179                    "label": "Build Plate Material",
180                    "description": "The material of the build plate installed on the printer.",
181                    "default_value": "glass",
182                    "type": "enum",
183                    "options":
184                    {
185                        "glass": "Glass",
186                        "aluminum": "Aluminum"
187                    },
188                    "settable_per_mesh": false,
189                    "settable_per_extruder": false,
190                    "settable_per_meshgroup": false
191                },
192                "machine_height":
193                {
194                    "label": "Machine Height",
195                    "description": "The height (Z-direction) of the printable area.",
196                    "default_value": 100,
197                    "type": "float",
198                    "settable_per_mesh": false,
199                    "settable_per_extruder": false,
200                    "settable_per_meshgroup": false
201                },
202                "machine_heated_bed":
203                {
204                    "label": "Has Heated Build Plate",
205                    "description": "Whether the machine has a heated build plate present.",
206                    "default_value": false,
207                    "type": "bool",
208                    "settable_per_mesh": false,
209                    "settable_per_extruder": false,
210                    "settable_per_meshgroup": false
211                },
212                "machine_heated_build_volume":
213                {
214                    "label": "Has Build Volume Temperature Stabilization",
215                    "description": "Whether the machine is able to stabilize the build volume temperature.",
216                    "default_value": false,
217                    "type": "bool",
218                    "settable_per_mesh": false,
219                    "settable_per_extruder": false,
220                    "settable_per_meshgroup": false
221                },
222                "machine_always_write_active_tool":
223                {
224                    "label": "Always Write Active Tool",
225                    "description": "Write active tool after sending temp commands to inactive tool. Required for Dual Extruder printing with Smoothie or other firmware with modal tool commands.",
226                    "default_value": false,
227                    "type": "bool",
228                    "settable_per_mesh": false,
229                    "settable_per_extruder": false,
230                    "settable_per_meshgroup": false
231                },
232                "machine_center_is_zero":
233                {
234                    "label": "Is Center Origin",
235                    "description": "Whether the X/Y coordinates of the zero position of the printer is at the center of the printable area.",
236                    "default_value": false,
237                    "type": "bool",
238                    "settable_per_mesh": false,
239                    "settable_per_extruder": false,
240                    "settable_per_meshgroup": false
241                },
242                "machine_extruder_count":
243                {
244                    "label": "Number of Extruders",
245                    "description": "Number of extruder trains. An extruder train is the combination of a feeder, bowden tube, and nozzle.",
246                    "default_value": 1,
247                    "minimum_value": "1",
248                    "maximum_value": "16",
249                    "type": "int",
250                    "settable_per_mesh": false,
251                    "settable_per_extruder": false,
252                    "settable_per_meshgroup": false
253                },
254                "extruders_enabled_count":
255                {
256                    "label": "Number of Extruders That Are Enabled",
257                    "description": "Number of extruder trains that are enabled; automatically set in software",
258                    "value": "machine_extruder_count",
259                    "default_value": 1,
260                    "minimum_value": "1",
261                    "maximum_value": "16",
262                    "type": "int",
263                    "settable_per_mesh": false,
264                    "settable_per_extruder": false,
265                    "settable_per_meshgroup": false
266                },
267                "machine_nozzle_tip_outer_diameter":
268                {
269                    "label": "Outer Nozzle Diameter",
270                    "description": "The outer diameter of the tip of the nozzle.",
271                    "unit": "mm",
272                    "default_value": 1,
273                    "type": "float",
274                    "settable_per_mesh": false,
275                    "settable_per_extruder": true,
276                    "settable_per_meshgroup": false,
277                    "settable_globally": false
278                },
279                "machine_nozzle_head_distance":
280                {
281                    "label": "Nozzle Length",
282                    "description": "The height difference between the tip of the nozzle and the lowest part of the print head.",
283                    "unit": "mm",
284                    "default_value": 3,
285                    "type": "float",
286                    "settable_per_mesh": false,
287                    "settable_per_extruder": true,
288                    "settable_per_meshgroup": false
289                },
290                "machine_nozzle_expansion_angle":
291                {
292                    "label": "Nozzle Angle",
293                    "description": "The angle between the horizontal plane and the conical part right above the tip of the nozzle.",
294                    "unit": "°",
295                    "type": "int",
296                    "default_value": 45,
297                    "maximum_value": "89",
298                    "minimum_value": "1",
299                    "settable_per_mesh": false,
300                    "settable_per_extruder": false,
301                    "settable_per_meshgroup": false
302                },
303                "machine_heat_zone_length":
304                {
305                    "label": "Heat Zone Length",
306                    "description": "The distance from the tip of the nozzle in which heat from the nozzle is transferred to the filament.",
307                    "unit": "mm",
308                    "default_value": 16,
309                    "type": "float",
310                    "settable_per_mesh": false,
311                    "settable_per_extruder": true,
312                    "settable_per_meshgroup": false
313                },
314                "machine_nozzle_temp_enabled":
315                {
316                    "label": "Enable Nozzle Temperature Control",
317                    "description": "Whether to control temperature from Cura. Turn this off to control nozzle temperature from outside of Cura.",
318                    "default_value": true,
319                    "value": "machine_gcode_flavor != \"UltiGCode\"",
320                    "type": "bool",
321                    "settable_per_mesh": false,
322                    "settable_per_extruder": true,
323                    "settable_per_meshgroup": false
324                },
325                "machine_nozzle_heat_up_speed":
326                {
327                    "label": "Heat Up Speed",
328                    "description": "The speed (°C/s) by which the nozzle heats up averaged over the window of normal printing temperatures and the standby temperature.",
329                    "default_value": 2.0,
330                    "unit": "°C/s",
331                    "type": "float",
332                    "enabled": "machine_nozzle_temp_enabled",
333                    "settable_per_mesh": false,
334                    "settable_per_extruder": true
335                },
336                "machine_nozzle_cool_down_speed":
337                {
338                    "label": "Cool Down Speed",
339                    "description": "The speed (°C/s) by which the nozzle cools down averaged over the window of normal printing temperatures and the standby temperature.",
340                    "default_value": 2.0,
341                    "unit": "°C/s",
342                    "type": "float",
343                    "enabled": "machine_nozzle_temp_enabled",
344                    "settable_per_mesh": false,
345                    "settable_per_extruder": true
346                },
347                "machine_min_cool_heat_time_window":
348                {
349                    "label": "Minimal Time Standby Temperature",
350                    "description": "The minimal time an extruder has to be inactive before the nozzle is cooled. Only when an extruder is not used for longer than this time will it be allowed to cool down to the standby temperature.",
351                    "default_value": 50.0,
352                    "unit": "s",
353                    "type": "float",
354                    "enabled": "machine_nozzle_temp_enabled",
355                    "settable_per_mesh": false,
356                    "settable_per_extruder": true
357                },
358                "machine_gcode_flavor":
359                {
360                    "label": "G-code Flavor",
361                    "description": "The type of g-code to be generated.",
362                    "type": "enum",
363                    "options":
364                    {
365                        "RepRap (Marlin/Sprinter)": "Marlin",
366                        "RepRap (Volumetric)": "Marlin (Volumetric)",
367                        "RepRap (RepRap)": "RepRap",
368                        "UltiGCode": "Ultimaker 2",
369                        "Griffin": "Griffin",
370                        "Makerbot": "Makerbot",
371                        "BFB": "Bits from Bytes",
372                        "MACH3": "Mach3",
373                        "Repetier": "Repetier"
374                    },
375                    "default_value": "RepRap (Marlin/Sprinter)",
376                    "settable_per_mesh": false,
377                    "settable_per_extruder": false,
378                    "settable_per_meshgroup": false
379                },
380                "machine_firmware_retract":
381                {
382                    "label": "Firmware Retraction",
383                    "description": "Whether to use firmware retract commands (G10/G11) instead of using the E property in G1 commands to retract the material.",
384                    "type": "bool",
385                    "default_value": false,
386                    "value": "machine_gcode_flavor == 'RepRap (Volumetric)' or machine_gcode_flavor == 'UltiGCode' or machine_gcode_flavor == 'BFB'",
387                    "settable_per_mesh": false,
388                    "settable_per_extruder": false,
389                    "settable_per_meshgroup": false
390                },
391                "machine_extruders_share_heater":
392                {
393                    "label": "Extruders Share Heater",
394                    "description": "Whether the extruders share a single heater rather than each extruder having its own heater.",
395                    "type": "bool",
396                    "default_value": false,
397                    "settable_per_mesh": false,
398                    "settable_per_extruder": false,
399                    "settable_per_meshgroup": false
400                },
401                "machine_disallowed_areas":
402                {
403                    "label": "Disallowed Areas",
404                    "description": "A list of polygons with areas the print head is not allowed to enter.",
405                    "type": "polygons",
406                    "default_value":
407                    [
408                    ],
409                    "settable_per_mesh": false,
410                    "settable_per_extruder": false,
411                    "settable_per_meshgroup": false
412                },
413                "nozzle_disallowed_areas":
414                {
415                    "label": "Nozzle Disallowed Areas",
416                    "description": "A list of polygons with areas the nozzle is not allowed to enter.",
417                    "type": "polygons",
418                    "default_value":
419                    [
420                    ],
421                    "settable_per_mesh": false,
422                    "settable_per_extruder": false,
423                    "settable_per_meshgroup": false
424                },
425                "machine_head_with_fans_polygon":
426                {
427                    "label": "Machine Head & Fan Polygon",
428                    "description": "A 2D silhouette of the print head (fan caps included).",
429                    "type": "polygon",
430                    "default_value":
431                    [
432                        [
433                            -20,
434                            10
435                        ],
436                        [
437                            10,
438                            10
439                        ],
440                        [
441                            10,
442                            -10
443                        ],
444                        [
445                            -20,
446                            -10
447                        ]
448                    ],
449                    "settable_per_mesh": false,
450                    "settable_per_extruder": false,
451                    "settable_per_meshgroup": false
452                },
453                "gantry_height":
454                {
455                    "label": "Gantry Height",
456                    "description": "The height difference between the tip of the nozzle and the gantry system (X and Y axes).",
457                    "default_value": 99999999999,
458                    "value": "machine_height",
459                    "type": "float",
460                    "settable_per_mesh": false,
461                    "settable_per_extruder": false,
462                    "settable_per_meshgroup": false
463                },
464                "machine_nozzle_id":
465                {
466                    "label": "Nozzle ID",
467                    "description": "The nozzle ID for an extruder train, such as \"AA 0.4\" and \"BB 0.8\".",
468                    "type": "str",
469                    "default_value": "unknown",
470                    "settable_per_mesh": false,
471                    "settable_per_extruder": true
472                },
473                "machine_nozzle_size":
474                {
475                    "label": "Nozzle Diameter",
476                    "description": "The inner diameter of the nozzle. Change this setting when using a non-standard nozzle size.",
477                    "unit": "mm",
478                    "type": "float",
479                    "default_value": 0.4,
480                    "minimum_value": "0.001",
481                    "maximum_value_warning": "10",
482                    "settable_per_mesh": false,
483                    "settable_per_extruder": true
484                },
485                "machine_use_extruder_offset_to_offset_coords":
486                {
487                    "label": "Offset with Extruder",
488                    "description": "Apply the extruder offset to the coordinate system.",
489                    "type": "bool",
490                    "default_value": true,
491                    "settable_per_mesh": false,
492                    "settable_per_extruder": false,
493                    "settable_per_meshgroup": false
494                },
495                "extruder_prime_pos_z":
496                {
497                    "label": "Extruder Prime Z Position",
498                    "description": "The Z coordinate of the position where the nozzle primes at the start of printing.",
499                    "type": "float",
500                    "unit": "mm",
501                    "default_value": 0,
502                    "minimum_value_warning": "0",
503                    "maximum_value": "machine_height",
504                    "settable_per_mesh": false,
505                    "settable_per_extruder": true
506                },
507                "extruder_prime_pos_abs":
508                {
509                    "label": "Absolute Extruder Prime Position",
510                    "description": "Make the extruder prime position absolute rather than relative to the last-known location of the head.",
511                    "type": "bool",
512                    "default_value": false,
513                    "settable_per_mesh": false,
514                    "settable_per_extruder": true
515                },
516                "machine_max_feedrate_x":
517                {
518                    "label": "Maximum Speed X",
519                    "description": "The maximum speed for the motor of the X-direction.",
520                    "unit": "mm/s",
521                    "type": "float",
522                    "default_value": 299792458000,
523                    "settable_per_mesh": false,
524                    "settable_per_extruder": false,
525                    "settable_per_meshgroup": false
526                },
527                "machine_max_feedrate_y":
528                {
529                    "label": "Maximum Speed Y",
530                    "description": "The maximum speed for the motor of the Y-direction.",
531                    "unit": "mm/s",
532                    "type": "float",
533                    "default_value": 299792458000,
534                    "settable_per_mesh": false,
535                    "settable_per_extruder": false,
536                    "settable_per_meshgroup": false
537                },
538                "machine_max_feedrate_z":
539                {
540                    "label": "Maximum Speed Z",
541                    "description": "The maximum speed for the motor of the Z-direction.",
542                    "unit": "mm/s",
543                    "type": "float",
544                    "default_value": 299792458000,
545                    "settable_per_mesh": false,
546                    "settable_per_extruder": false,
547                    "settable_per_meshgroup": false
548                },
549                "machine_max_feedrate_e":
550                {
551                    "label": "Maximum Feedrate",
552                    "description": "The maximum speed of the filament.",
553                    "unit": "mm/s",
554                    "type": "float",
555                    "default_value": 299792458000,
556                    "settable_per_mesh": false,
557                    "settable_per_extruder": false,
558                    "settable_per_meshgroup": false
559                },
560                "machine_max_acceleration_x":
561                {
562                    "label": "Maximum Acceleration X",
563                    "description": "Maximum acceleration for the motor of the X-direction",
564                    "unit": "mm/s²",
565                    "type": "float",
566                    "default_value": 9000,
567                    "settable_per_mesh": false,
568                    "settable_per_extruder": false,
569                    "settable_per_meshgroup": false
570                },
571                "machine_max_acceleration_y":
572                {
573                    "label": "Maximum Acceleration Y",
574                    "description": "Maximum acceleration for the motor of the Y-direction.",
575                    "unit": "mm/s²",
576                    "type": "float",
577                    "default_value": 9000,
578                    "settable_per_mesh": false,
579                    "settable_per_extruder": false,
580                    "settable_per_meshgroup": false
581                },
582                "machine_max_acceleration_z":
583                {
584                    "label": "Maximum Acceleration Z",
585                    "description": "Maximum acceleration for the motor of the Z-direction.",
586                    "unit": "mm/s²",
587                    "type": "float",
588                    "default_value": 100,
589                    "settable_per_mesh": false,
590                    "settable_per_extruder": false,
591                    "settable_per_meshgroup": false
592                },
593                "machine_max_acceleration_e":
594                {
595                    "label": "Maximum Filament Acceleration",
596                    "description": "Maximum acceleration for the motor of the filament.",
597                    "unit": "mm/s²",
598                    "type": "float",
599                    "default_value": 10000,
600                    "settable_per_mesh": false,
601                    "settable_per_extruder": false,
602                    "settable_per_meshgroup": false
603                },
604                "machine_acceleration":
605                {
606                    "label": "Default Acceleration",
607                    "description": "The default acceleration of print head movement.",
608                    "unit": "mm/s²",
609                    "type": "float",
610                    "default_value": 4000,
611                    "settable_per_mesh": false,
612                    "settable_per_extruder": false,
613                    "settable_per_meshgroup": false
614                },
615                "machine_max_jerk_xy":
616                {
617                    "label": "Default X-Y Jerk",
618                    "description": "Default jerk for movement in the horizontal plane.",
619                    "unit": "mm/s",
620                    "type": "float",
621                    "default_value": 20.0,
622                    "minimum_value": "0",
623                    "settable_per_mesh": false,
624                    "settable_per_extruder": false,
625                    "settable_per_meshgroup": false
626                },
627                "machine_max_jerk_z":
628                {
629                    "label": "Default Z Jerk",
630                    "description": "Default jerk for the motor of the Z-direction.",
631                    "unit": "mm/s",
632                    "type": "float",
633                    "default_value": 0.4,
634                    "minimum_value": "0",
635                    "settable_per_mesh": false,
636                    "settable_per_extruder": false,
637                    "settable_per_meshgroup": false
638                },
639                "machine_max_jerk_e":
640                {
641                    "label": "Default Filament Jerk",
642                    "description": "Default jerk for the motor of the filament.",
643                    "unit": "mm/s",
644                    "type": "float",
645                    "default_value": 5.0,
646                    "minimum_value": "0",
647                    "settable_per_mesh": false,
648                    "settable_per_extruder": false,
649                    "settable_per_meshgroup": false
650                },
651                "machine_steps_per_mm_x":
652                {
653                    "label": "Steps per Millimeter (X)",
654                    "description": "How many steps of the stepper motor will result in one millimeter of movement in the X direction.",
655                    "type": "int",
656                    "default_value": 50,
657                    "minimum_value": "0.0000001",
658                    "settable_per_mesh": false,
659                    "settable_per_extruder": true
660                },
661                "machine_steps_per_mm_y":
662                {
663                    "label": "Steps per Millimeter (Y)",
664                    "description": "How many steps of the stepper motor will result in one millimeter of movement in the Y direction.",
665                    "type": "int",
666                    "default_value": 50,
667                    "minimum_value": "0.0000001",
668                    "settable_per_mesh": false,
669                    "settable_per_extruder": true
670                },
671                "machine_steps_per_mm_z":
672                {
673                    "label": "Steps per Millimeter (Z)",
674                    "description": "How many steps of the stepper motor will result in one millimeter of movement in the Z direction.",
675                    "type": "int",
676                    "default_value": 50,
677                    "minimum_value": "0.0000001",
678                    "settable_per_mesh": false,
679                    "settable_per_extruder": true
680                },
681                "machine_steps_per_mm_e":
682                {
683                    "label": "Steps per Millimeter (E)",
684                    "description": "How many steps of the stepper motors will result in one millimeter of extrusion.",
685                    "type": "int",
686                    "default_value": 1600,
687                    "minimum_value": "0.0000001",
688                    "settable_per_mesh": false,
689                    "settable_per_extruder": true
690                },
691                "machine_endstop_positive_direction_x":
692                {
693                    "label": "X Endstop in Positive Direction",
694                    "description": "Whether the endstop of the X axis is in the positive direction (high X coordinate) or negative (low X coordinate).",
695                    "type": "bool",
696                    "default_value": false,
697                    "settable_per_mesh": false,
698                    "settable_per_extruder": true
699                },
700                "machine_endstop_positive_direction_y":
701                {
702                    "label": "Y Endstop in Positive Direction",
703                    "description": "Whether the endstop of the Y axis is in the positive direction (high Y coordinate) or negative (low Y coordinate).",
704                    "type": "bool",
705                    "default_value": false,
706                    "settable_per_mesh": false,
707                    "settable_per_extruder": true
708                },
709                "machine_endstop_positive_direction_z":
710                {
711                    "label": "Z Endstop in Positive Direction",
712                    "description": "Whether the endstop of the Z axis is in the positive direction (high Z coordinate) or negative (low Z coordinate).",
713                    "type": "bool",
714                    "default_value": true,
715                    "settable_per_mesh": false,
716                    "settable_per_extruder": true
717                },
718                "machine_minimum_feedrate":
719                {
720                    "label": "Minimum Feedrate",
721                    "description": "The minimal movement speed of the print head.",
722                    "unit": "mm/s",
723                    "type": "float",
724                    "default_value": 0.0,
725                    "settable_per_mesh": false,
726                    "settable_per_extruder": false,
727                    "settable_per_meshgroup": false
728                },
729                "machine_feeder_wheel_diameter":
730                {
731                    "label": "Feeder Wheel Diameter",
732                    "description": "The diameter of the wheel that drives the material in the feeder.",
733                    "unit": "mm",
734                    "type": "float",
735                    "default_value": 10.0,
736                    "settable_per_mesh": false,
737                    "settable_per_extruder": true
738                }
739            }
740        },
741        "resolution":
742        {
743            "label": "Quality",
744            "type": "category",
745            "icon": "category_layer_height",
746            "description": "All settings that influence the resolution of the print. These settings have a large impact on the quality (and print time)",
747            "children":
748            {
749                "layer_height":
750                {
751                    "label": "Layer Height",
752                    "description": "The height of each layer in mm. Higher values produce faster prints in lower resolution, lower values produce slower prints in higher resolution.",
753                    "unit": "mm",
754                    "type": "float",
755                    "default_value": 0.1,
756                    "minimum_value": "0.001",
757                    "minimum_value_warning": "0.04",
758                    "maximum_value_warning": "0.8 * min(extruderValues('machine_nozzle_size'))",
759                    "settable_per_mesh": false,
760                    "settable_per_extruder": false
761                },
762                "layer_height_0":
763                {
764                    "label": "Initial Layer Height",
765                    "description": "The height of the initial layer in mm. A thicker initial layer makes adhesion to the build plate easier.",
766                    "unit": "mm",
767                    "type": "float",
768                    "default_value": 0.3,
769                    "resolve": "min(extruderValues('layer_height_0'))",
770                    "minimum_value": "0.001",
771                    "minimum_value_warning": "0.1",
772                    "maximum_value_warning": "0.8 * min(extruderValues('machine_nozzle_size'))",
773                    "settable_per_mesh": false,
774                    "settable_per_extruder": false
775                },
776                "line_width":
777                {
778                    "label": "Line Width",
779                    "description": "Width of a single line. Generally, the width of each line should correspond to the width of the nozzle. However, slightly reducing this value could produce better prints.",
780                    "unit": "mm",
781                    "minimum_value": "0.001",
782                    "minimum_value_warning": "0.1 + 0.4 * machine_nozzle_size",
783                    "maximum_value_warning": "2 * machine_nozzle_size",
784                    "default_value": 0.4,
785                    "type": "float",
786                    "value": "machine_nozzle_size",
787                    "settable_per_mesh": true,
788                    "children":
789                    {
790                        "wall_line_width":
791                        {
792                            "label": "Wall Line Width",
793                            "description": "Width of a single wall line.",
794                            "unit": "mm",
795                            "minimum_value": "0.001",
796                            "minimum_value_warning": "0.1 + 0.4 * machine_nozzle_size",
797                            "maximum_value_warning": "2 * machine_nozzle_size",
798                            "value": "line_width",
799                            "default_value": 0.4,
800                            "type": "float",
801                            "limit_to_extruder": "wall_0_extruder_nr if wall_x_extruder_nr == wall_0_extruder_nr else -1",
802                            "settable_per_mesh": true,
803                            "children":
804                            {
805                                "wall_line_width_0":
806                                {
807                                    "label": "Outer Wall Line Width",
808                                    "description": "Width of the outermost wall line. By lowering this value, higher levels of detail can be printed.",
809                                    "unit": "mm",
810                                    "minimum_value": "0.001",
811                                    "minimum_value_warning": "(0.1 + 0.4 * machine_nozzle_size) if outer_inset_first else 0.1 * machine_nozzle_size",
812                                    "maximum_value_warning": "2 * machine_nozzle_size",
813                                    "default_value": 0.4,
814                                    "value": "wall_line_width",
815                                    "type": "float",
816                                    "limit_to_extruder": "wall_0_extruder_nr",
817                                    "settable_per_mesh": true
818                                },
819                                "wall_line_width_x":
820                                {
821                                    "label": "Inner Wall(s) Line Width",
822                                    "description": "Width of a single wall line for all wall lines except the outermost one.",
823                                    "unit": "mm",
824                                    "minimum_value": "0.001",
825                                    "minimum_value_warning": "0.1 + 0.4 * machine_nozzle_size",
826                                    "maximum_value_warning": "2 * machine_nozzle_size",
827                                    "default_value": 0.4,
828                                    "value": "wall_line_width",
829                                    "type": "float",
830                                    "limit_to_extruder": "wall_x_extruder_nr",
831                                    "settable_per_mesh": true
832                                }
833                            }
834                        },
835                        "skin_line_width":
836                        {
837                            "label": "Top/Bottom Line Width",
838                            "description": "Width of a single top/bottom line.",
839                            "unit": "mm",
840                            "minimum_value": "0.001",
841                            "minimum_value_warning": "0.1 + 0.4 * machine_nozzle_size",
842                            "maximum_value_warning": "2 * machine_nozzle_size",
843                            "default_value": 0.4,
844                            "type": "float",
845                            "value": "line_width",
846                            "enabled": "top_layers > 0 or bottom_layers > 0",
847                            "limit_to_extruder": "top_bottom_extruder_nr",
848                            "settable_per_mesh": true
849                        },
850                        "infill_line_width":
851                        {
852                            "label": "Infill Line Width",
853                            "description": "Width of a single infill line.",
854                            "unit": "mm",
855                            "minimum_value": "0.001",
856                            "minimum_value_warning": "0.1 + 0.4 * machine_nozzle_size",
857                            "maximum_value_warning": "3 * machine_nozzle_size",
858                            "default_value": 0.4,
859                            "type": "float",
860                            "value": "line_width",
861                            "enabled": "infill_sparse_density > 0",
862                            "limit_to_extruder": "infill_extruder_nr",
863                            "settable_per_mesh": true
864                        },
865                        "skirt_brim_line_width":
866                        {
867                            "label": "Skirt/Brim Line Width",
868                            "description": "Width of a single skirt or brim line.",
869                            "unit": "mm",
870                            "minimum_value": "0.001",
871                            "minimum_value_warning": "0.1 + 0.4 * machine_nozzle_size",
872                            "maximum_value_warning": "3 * machine_nozzle_size",
873                            "default_value": 0.4,
874                            "type": "float",
875                            "value": "line_width",
876                            "enabled": "resolveOrValue('adhesion_type') == 'skirt' or resolveOrValue('adhesion_type') == 'brim' or resolveOrValue('prime_tower_brim_enable')",
877                            "settable_per_mesh": false,
878                            "settable_per_extruder": true
879                        },
880                        "support_line_width":
881                        {
882                            "label": "Support Line Width",
883                            "description": "Width of a single support structure line.",
884                            "unit": "mm",
885                            "minimum_value": "0.001",
886                            "minimum_value_warning": "0.1 + 0.4 * machine_nozzle_size",
887                            "maximum_value_warning": "3 * machine_nozzle_size",
888                            "default_value": 0.4,
889                            "type": "float",
890                            "enabled": "(support_enable or support_meshes_present)",
891                            "value": "line_width",
892                            "limit_to_extruder": "support_infill_extruder_nr",
893                            "settable_per_mesh": false,
894                            "settable_per_extruder": true
895                        },
896                        "support_interface_line_width":
897                        {
898                            "label": "Support Interface Line Width",
899                            "description": "Width of a single line of support roof or floor.",
900                            "unit": "mm",
901                            "default_value": 0.4,
902                            "minimum_value": "0.001",
903                            "minimum_value_warning": "0.1 + 0.4 * machine_nozzle_size",
904                            "maximum_value_warning": "2 * machine_nozzle_size",
905                            "type": "float",
906                            "enabled": "(support_enable or support_meshes_present) and support_interface_enable",
907                            "limit_to_extruder": "support_interface_extruder_nr",
908                            "value": "line_width",
909                            "settable_per_mesh": false,
910                            "settable_per_extruder": true,
911                            "children":
912                            {
913                                "support_roof_line_width":
914                                {
915                                    "label": "Support Roof Line Width",
916                                    "description": "Width of a single support roof line.",
917                                    "unit": "mm",
918                                    "default_value": 0.4,
919                                    "minimum_value": "0.001",
920                                    "minimum_value_warning": "0.4 * machine_nozzle_size",
921                                    "maximum_value_warning": "2 * machine_nozzle_size",
922                                    "type": "float",
923                                    "enabled": "(support_enable or support_meshes_present) and support_roof_enable",
924                                    "limit_to_extruder": "support_roof_extruder_nr",
925                                    "value": "extruderValue(support_roof_extruder_nr, 'support_interface_line_width')",
926                                    "settable_per_mesh": false,
927                                    "settable_per_extruder": true
928                                },
929                                "support_bottom_line_width":
930                                {
931                                    "label": "Support Floor Line Width",
932                                    "description": "Width of a single support floor line.",
933                                    "unit": "mm",
934                                    "default_value": 0.4,
935                                    "minimum_value": "0.001",
936                                    "minimum_value_warning": "0.4 * machine_nozzle_size",
937                                    "maximum_value_warning": "2 * machine_nozzle_size",
938                                    "type": "float",
939                                    "enabled": "(support_enable or support_meshes_present) and support_bottom_enable",
940                                    "limit_to_extruder": "support_bottom_extruder_nr",
941                                    "value": "extruderValue(support_bottom_extruder_nr, 'support_interface_line_width')",
942                                    "settable_per_mesh": false,
943                                    "settable_per_extruder": true
944                                }
945                            }
946                        },
947                        "prime_tower_line_width":
948                        {
949                            "label": "Prime Tower Line Width",
950                            "description": "Width of a single prime tower line.",
951                            "type": "float",
952                            "unit": "mm",
953                            "enabled": "resolveOrValue('prime_tower_enable')",
954                            "default_value": 0.4,
955                            "value": "line_width",
956                            "minimum_value": "0.001",
957                            "minimum_value_warning": "0.1 + 0.4 * machine_nozzle_size",
958                            "maximum_value_warning": "2 * machine_nozzle_size",
959                            "settable_per_mesh": false,
960                            "settable_per_extruder": true
961                        }
962                    }
963                },
964                "initial_layer_line_width_factor":
965                {
966                    "label": "Initial Layer Line Width",
967                    "description": "Multiplier of the line width on the first layer. Increasing this could improve bed adhesion.",
968                    "type": "float",
969                    "unit": "%",
970                    "default_value": 100.0,
971                    "minimum_value": "0.001",
972                    "maximum_value_warning": "150",
973                    "settable_per_mesh": false,
974                    "settable_per_extruder": true
975                }
976            }
977        },
978        "shell":
979        {
980            "label": "Shell",
981            "icon": "category_shell",
982            "description": "Shell",
983            "type": "category",
984            "children":
985            {
986                "wall_extruder_nr":
987                {
988                    "label": "Wall Extruder",
989                    "description": "The extruder train used for printing the walls. This is used in multi-extrusion.",
990                    "type": "optional_extruder",
991                    "default_value": "-1",
992                    "settable_per_mesh": false,
993                    "settable_per_extruder": false,
994                    "settable_per_meshgroup": true,
995                    "settable_globally": true,
996                    "enabled": "extruders_enabled_count > 1",
997                    "children": {
998                        "wall_0_extruder_nr":
999                        {
1000                            "label": "Outer Wall Extruder",
1001                            "description": "The extruder train used for printing the outer wall. This is used in multi-extrusion.",
1002                            "type": "optional_extruder",
1003                            "value": "wall_extruder_nr",
1004                            "default_value": "-1",
1005                            "settable_per_mesh": false,
1006                            "settable_per_extruder": false,
1007                            "settable_per_meshgroup": true,
1008                            "settable_globally": true,
1009                            "enabled": "extruders_enabled_count > 1"
1010                        },
1011                        "wall_x_extruder_nr":
1012                        {
1013                            "label": "Inner Wall Extruder",
1014                            "description": "The extruder train used for printing the inner walls. This is used in multi-extrusion.",
1015                            "type": "optional_extruder",
1016                            "value": "wall_extruder_nr",
1017                            "default_value": "-1",
1018                            "settable_per_mesh": false,
1019                            "settable_per_extruder": false,
1020                            "settable_per_meshgroup": true,
1021                            "settable_globally": true,
1022                            "enabled": "extruders_enabled_count > 1"
1023                        }
1024                    }
1025                },
1026                "wall_thickness":
1027                {
1028                    "label": "Wall Thickness",
1029                    "description": "The thickness of the walls in the horizontal direction. This value divided by the wall line width defines the number of walls.",
1030                    "unit": "mm",
1031                    "default_value": 0.8,
1032                    "value": "wall_line_width_0 if magic_spiralize else 0.8",
1033                    "minimum_value": "0",
1034                    "minimum_value_warning": "line_width",
1035                    "maximum_value_warning": "10 * line_width",
1036                    "type": "float",
1037                    "limit_to_extruder": "wall_x_extruder_nr",
1038                    "settable_per_mesh": true,
1039                    "children":
1040                    {
1041                        "wall_line_count":
1042                        {
1043                            "label": "Wall Line Count",
1044                            "description": "The number of walls. When calculated by the wall thickness, this value is rounded to a whole number.",
1045                            "default_value": 2,
1046                            "minimum_value": "0",
1047                            "minimum_value_warning": "1",
1048                            "maximum_value_warning": "10",
1049                            "type": "int",
1050                            "value": "1 if magic_spiralize else max(1, round((wall_thickness - wall_line_width_0) / wall_line_width_x) + 1) if wall_thickness != 0 else 0",
1051                            "limit_to_extruder": "wall_x_extruder_nr",
1052                            "settable_per_mesh": true
1053                        }
1054                    }
1055                },
1056                "wall_0_wipe_dist":
1057                {
1058                    "label": "Outer Wall Wipe Distance",
1059                    "description": "Distance of a travel move inserted after the outer wall, to hide the Z seam better.",
1060                    "unit": "mm",
1061                    "type": "float",
1062                    "default_value": 0.2,
1063                    "value": "machine_nozzle_size / 2",
1064                    "minimum_value": "0",
1065                    "maximum_value_warning": "machine_nozzle_size * 2",
1066                    "limit_to_extruder": "wall_0_extruder_nr",
1067                    "settable_per_mesh": true
1068                },
1069                "roofing_extruder_nr":
1070                {
1071                    "label": "Top Surface Skin Extruder",
1072                    "description": "The extruder train used for printing the top most skin. This is used in multi-extrusion.",
1073                    "type": "optional_extruder",
1074                    "default_value": "-1",
1075                    "value": "top_bottom_extruder_nr",
1076                    "settable_per_mesh": false,
1077                    "settable_per_extruder": false,
1078                    "settable_per_meshgroup": true,
1079                    "settable_globally": true,
1080                    "enabled": "extruders_enabled_count > 1 and max(extruderValues('roofing_layer_count')) > 0 and max(extruderValues('top_layers')) > 0"
1081                },
1082                "roofing_layer_count":
1083                {
1084                    "label": "Top Surface Skin Layers",
1085                    "description": "The number of top most skin layers. Usually only one top most layer is sufficient to generate higher quality top surfaces.",
1086                    "default_value": 0,
1087                    "minimum_value": "0",
1088                    "maximum_value_warning": "top_layers - 1",
1089                    "type": "int",
1090                    "value": "0",
1091                    "limit_to_extruder": "roofing_extruder_nr",
1092                    "settable_per_mesh": true,
1093                    "enabled": "top_layers > 0"
1094                },
1095                "top_bottom_extruder_nr":
1096                {
1097                    "label": "Top/Bottom Extruder",
1098                    "description": "The extruder train used for printing the top and bottom skin. This is used in multi-extrusion.",
1099                    "type": "optional_extruder",
1100                    "default_value": "-1",
1101                    "settable_per_mesh": false,
1102                    "settable_per_extruder": false,
1103                    "settable_per_meshgroup": true,
1104                    "settable_globally": true,
1105                    "enabled": "extruders_enabled_count > 1"
1106                },
1107                "top_bottom_thickness":
1108                {
1109                    "label": "Top/Bottom Thickness",
1110                    "description": "The thickness of the top/bottom layers in the print. This value divided by the layer height defines the number of top/bottom layers.",
1111                    "unit": "mm",
1112                    "default_value": 0.8,
1113                    "minimum_value": "0",
1114                    "minimum_value_warning": "0.6",
1115                    "maximum_value": "machine_height",
1116                    "type": "float",
1117                    "limit_to_extruder": "top_bottom_extruder_nr",
1118                    "settable_per_mesh": true,
1119                    "children":
1120                    {
1121                        "top_thickness":
1122                        {
1123                            "label": "Top Thickness",
1124                            "description": "The thickness of the top layers in the print. This value divided by the layer height defines the number of top layers.",
1125                            "unit": "mm",
1126                            "default_value": 0.8,
1127                            "minimum_value": "0",
1128                            "minimum_value_warning": "0.2 + resolveOrValue('layer_height')",
1129                            "maximum_value": "machine_height",
1130                            "type": "float",
1131                            "value": "top_bottom_thickness",
1132                            "limit_to_extruder": "top_bottom_extruder_nr",
1133                            "settable_per_mesh": true,
1134                            "children":
1135                            {
1136                                "top_layers":
1137                                {
1138                                    "label": "Top Layers",
1139                                    "description": "The number of top layers. When calculated by the top thickness, this value is rounded to a whole number.",
1140                                    "default_value": 8,
1141                                    "minimum_value": "0",
1142                                    "maximum_value_warning": "100",
1143                                    "type": "int",
1144                                    "minimum_value_warning": "2",
1145                                    "value": "0 if infill_sparse_density == 100 else math.ceil(round(top_thickness / resolveOrValue('layer_height'), 4))",
1146                                    "limit_to_extruder": "top_bottom_extruder_nr",
1147                                    "settable_per_mesh": true
1148                                }
1149                            }
1150                        },
1151                        "bottom_thickness":
1152                        {
1153                            "label": "Bottom Thickness",
1154                            "description": "The thickness of the bottom layers in the print. This value divided by the layer height defines the number of bottom layers.",
1155                            "unit": "mm",
1156                            "default_value": 0.6,
1157                            "minimum_value": "0",
1158                            "minimum_value_warning": "0.2 + resolveOrValue('layer_height')",
1159                            "type": "float",
1160                            "value": "top_bottom_thickness",
1161                            "maximum_value": "machine_height",
1162                            "limit_to_extruder": "top_bottom_extruder_nr",
1163                            "settable_per_mesh": true,
1164                            "children":
1165                            {
1166                                "bottom_layers":
1167                                {
1168                                    "label": "Bottom Layers",
1169                                    "description": "The number of bottom layers. When calculated by the bottom thickness, this value is rounded to a whole number.",
1170                                    "minimum_value": "0",
1171                                    "minimum_value_warning": "2",
1172                                    "default_value": 6,
1173                                    "type": "int",
1174                                    "value": "999999 if infill_sparse_density == 100 else math.ceil(round(bottom_thickness / resolveOrValue('layer_height'), 4))",
1175                                    "limit_to_extruder": "top_bottom_extruder_nr",
1176                                    "settable_per_mesh": true
1177                                },
1178                                "initial_bottom_layers":
1179                                {
1180                                    "label": "Initial Bottom Layers",
1181                                    "description": "The number of initial bottom layers, from the build-plate upwards. When calculated by the bottom thickness, this value is rounded to a whole number.",
1182                                    "minimum_value": "0",
1183                                    "minimum_value_warning": "2",
1184                                    "default_value": 6,
1185                                    "type": "int",
1186                                    "value": "bottom_layers",
1187                                    "limit_to_extruder": "top_bottom_extruder_nr",
1188                                    "settable_per_mesh": true
1189                                }
1190                            }
1191                        }
1192                    }
1193                },
1194                "top_bottom_pattern":
1195                {
1196                    "label": "Top/Bottom Pattern",
1197                    "description": "The pattern of the top/bottom layers.",
1198                    "type": "enum",
1199                    "options":
1200                    {
1201                        "lines": "Lines",
1202                        "concentric": "Concentric",
1203                        "zigzag": "Zig Zag"
1204                    },
1205                    "default_value": "lines",
1206                    "enabled": "top_layers > 0 or bottom_layers > 0",
1207                    "limit_to_extruder": "top_bottom_extruder_nr",
1208                    "settable_per_mesh": true
1209                },
1210                "top_bottom_pattern_0":
1211                {
1212                    "label": "Bottom Pattern Initial Layer",
1213                    "description": "The pattern on the bottom of the print on the first layer.",
1214                    "type": "enum",
1215                    "options":
1216                    {
1217                        "lines": "Lines",
1218                        "concentric": "Concentric",
1219                        "zigzag": "Zig Zag"
1220                    },
1221                    "default_value": "lines",
1222                    "enabled": "top_layers > 0 or bottom_layers > 0",
1223                    "value": "top_bottom_pattern",
1224                    "limit_to_extruder": "top_bottom_extruder_nr",
1225                    "settable_per_mesh": true
1226                },
1227                "connect_skin_polygons":
1228                {
1229                    "label": "Connect Top/Bottom Polygons",
1230                    "description": "Connect top/bottom skin paths where they run next to each other. For the concentric pattern enabling this setting greatly reduces the travel time, but because the connections can happen midway over infill this feature can reduce the top surface quality.",
1231                    "type": "bool",
1232                    "default_value": false,
1233                    "enabled": "(top_layers > 0 or bottom_layers > 0) and top_bottom_pattern == 'concentric'",
1234                    "limit_to_extruder": "top_bottom_extruder_nr",
1235                    "settable_per_mesh": true
1236                },
1237                "skin_angles":
1238                {
1239                    "label": "Top/Bottom Line Directions",
1240                    "description": "A list of integer line directions to use when the top/bottom layers use the lines or zig zag pattern. Elements from the list are used sequentially as the layers progress and when the end of the list is reached, it starts at the beginning again. The list items are separated by commas and the whole list is contained in square brackets. Default is an empty list which means use the traditional default angles (45 and 135 degrees).",
1241                    "type": "[int]",
1242                    "default_value": "[ ]",
1243                    "enabled": "(top_layers > 0 or bottom_layers > 0) and top_bottom_pattern != 'concentric'",
1244                    "limit_to_extruder": "top_bottom_extruder_nr",
1245                    "settable_per_mesh": true
1246                },
1247                "wall_0_inset":
1248                {
1249                    "label": "Outer Wall Inset",
1250                    "description": "Inset applied to the path of the outer wall. If the outer wall is smaller than the nozzle, and printed after the inner walls, use this offset to get the hole in the nozzle to overlap with the inner walls instead of the outside of the model.",
1251                    "unit": "mm",
1252                    "type": "float",
1253                    "default_value": 0.0,
1254                    "value": "(machine_nozzle_size - wall_line_width_0) / 2 if (wall_line_width_0 < machine_nozzle_size and not outer_inset_first) else 0",
1255                    "minimum_value_warning": "0",
1256                    "maximum_value_warning": "machine_nozzle_size",
1257                    "limit_to_extruder": "wall_0_extruder_nr",
1258                    "settable_per_mesh": true
1259                },
1260                "optimize_wall_printing_order":
1261                {
1262                    "label": "Optimize Wall Printing Order",
1263                    "description": "Optimize the order in which walls are printed so as to reduce the number of retractions and the distance travelled. Most parts will benefit from this being enabled but some may actually take longer so please compare the print time estimates with and without optimization. First layer is not optimized when choosing brim as build plate adhesion type.",
1264                    "type": "bool",
1265                    "default_value": false,
1266                    "settable_per_mesh": true
1267                },
1268                "outer_inset_first":
1269                {
1270                    "label": "Outer Before Inner Walls",
1271                    "description": "Prints walls in order of outside to inside when enabled. This can help improve dimensional accuracy in X and Y when using a high viscosity plastic like ABS; however it can decrease outer surface print quality, especially on overhangs.",
1272                    "type": "bool",
1273                    "default_value": false,
1274                    "enabled": "wall_0_extruder_nr == wall_x_extruder_nr",
1275                    "settable_per_mesh": true
1276                },
1277                "alternate_extra_perimeter":
1278                {
1279                    "label": "Alternate Extra Wall",
1280                    "description": "Prints an extra wall at every other layer. This way infill gets caught between these extra walls, resulting in stronger prints.",
1281                    "type": "bool",
1282                    "default_value": false,
1283                    "limit_to_extruder": "infill_extruder_nr",
1284                    "settable_per_mesh": true
1285                },
1286                "travel_compensate_overlapping_walls_enabled":
1287                {
1288                    "label": "Compensate Wall Overlaps",
1289                    "description": "Compensate the flow for parts of a wall being printed where there is already a wall in place.",
1290                    "type": "bool",
1291                    "default_value": true,
1292                    "limit_to_extruder": "wall_x_extruder_nr",
1293                    "settable_per_mesh": true,
1294                    "children":
1295                    {
1296                        "travel_compensate_overlapping_walls_0_enabled":
1297                        {
1298                            "label": "Compensate Outer Wall Overlaps",
1299                            "description": "Compensate the flow for parts of an outer wall being printed where there is already a wall in place.",
1300                            "type": "bool",
1301                            "default_value": true,
1302                            "value": "travel_compensate_overlapping_walls_enabled",
1303                            "limit_to_extruder": "wall_0_extruder_nr",
1304                            "settable_per_mesh": true
1305                        },
1306                        "travel_compensate_overlapping_walls_x_enabled":
1307                        {
1308                            "label": "Compensate Inner Wall Overlaps",
1309                            "description": "Compensate the flow for parts of an inner wall being printed where there is already a wall in place.",
1310                            "type": "bool",
1311                            "default_value": true,
1312                            "value": "travel_compensate_overlapping_walls_enabled",
1313                            "limit_to_extruder": "wall_x_extruder_nr",
1314                            "settable_per_mesh": true
1315                        }
1316                    }
1317                },
1318                "wall_min_flow":
1319                {
1320                    "label": "Minimum Wall Flow",
1321                    "description": "Minimum allowed percentage flow for a wall line. The wall overlap compensation reduces a wall's flow when it lies close to an existing wall. Walls whose flow is less than this value will be replaced with a travel move. When using this setting, you must enable the wall overlap compensation and print the outer wall before inner walls.",
1322                    "unit": "%",
1323                    "minimum_value": "0",
1324                    "maximum_value": "100",
1325                    "default_value": 0,
1326                    "type": "float",
1327                    "enabled": "travel_compensate_overlapping_walls_0_enabled or travel_compensate_overlapping_walls_x_enabled",
1328                    "settable_per_mesh": true
1329                },
1330                "wall_min_flow_retract":
1331                {
1332                    "label": "Prefer Retract",
1333                    "description": "If enabled, retraction is used rather than combing for travel moves that replace walls whose flow is below the minimum flow threshold.",
1334                    "type": "bool",
1335                    "default_value": false,
1336                    "enabled": "(travel_compensate_overlapping_walls_0_enabled or travel_compensate_overlapping_walls_x_enabled) and wall_min_flow > 0",
1337                    "settable_per_mesh": true
1338                },
1339                "fill_perimeter_gaps":
1340                {
1341                    "label": "Fill Gaps Between Walls",
1342                    "description": "Fills the gaps between walls where no walls fit.",
1343                    "type": "enum",
1344                    "options": {
1345                        "nowhere": "Nowhere",
1346                        "everywhere": "Everywhere"
1347                    },
1348                    "default_value": "everywhere",
1349                    "limit_to_extruder": "wall_0_extruder_nr",
1350                    "settable_per_mesh": true
1351                },
1352                "filter_out_tiny_gaps":
1353                {
1354                    "label": "Filter Out Tiny Gaps",
1355                    "description": "Filter out tiny gaps to reduce blobs on outside of model.",
1356                    "type": "bool",
1357                    "default_value": true,
1358                    "limit_to_extruder": "wall_0_extruder_nr",
1359                    "settable_per_mesh": true
1360                },
1361                "fill_outline_gaps": {
1362                    "label": "Print Thin Walls",
1363                    "description": "Print pieces of the model which are horizontally thinner than the nozzle size.",
1364                    "type": "bool",
1365                    "default_value": false,
1366                    "limit_to_extruder": "wall_0_extruder_nr",
1367                    "settable_per_mesh": true
1368                },
1369                "xy_offset":
1370                {
1371                    "label": "Horizontal Expansion",
1372                    "description": "Amount of offset applied to all polygons in each layer. Positive values can compensate for too big holes; negative values can compensate for too small holes.",
1373                    "unit": "mm",
1374                    "type": "float",
1375                    "minimum_value_warning": "-1",
1376                    "maximum_value_warning": "1",
1377                    "default_value": 0,
1378                    "limit_to_extruder": "wall_0_extruder_nr",
1379                    "settable_per_mesh": true
1380                },
1381                "xy_offset_layer_0":
1382                {
1383                    "label": "Initial Layer Horizontal Expansion",
1384                    "description": "Amount of offset applied to all polygons in the first layer. A negative value can compensate for squishing of the first layer known as \"elephant's foot\".",
1385                    "unit": "mm",
1386                    "type": "float",
1387                    "minimum_value_warning": "-1",
1388                    "maximum_value_warning": "1",
1389                    "default_value": 0,
1390                    "value": "xy_offset",
1391                    "limit_to_extruder": "wall_0_extruder_nr",
1392                    "settable_per_mesh": true
1393                },
1394                "hole_xy_offset":
1395                {
1396                    "label": "Hole Horizontal Expansion",
1397                    "description": "Amount of offset applied to all holes in each layer. Positive values increase the size of the holes, negative values reduce the size of the holes.",
1398                    "unit": "mm",
1399                    "type": "float",
1400                    "minimum_value_warning": "-1",
1401                    "maximum_value_warning": "1",
1402                    "default_value": 0,
1403                    "limit_to_extruder": "wall_0_extruder_nr",
1404                    "settable_per_mesh": true
1405                },
1406               "z_seam_type":
1407                {
1408                    "label": "Z Seam Alignment",
1409                    "description": "Starting point of each path in a layer. When paths in consecutive layers start at the same point a vertical seam may show on the print. When aligning these near a user specified location, the seam is easiest to remove. When placed randomly the inaccuracies at the paths' start will be less noticeable. When taking the shortest path the print will be quicker.",
1410                    "type": "enum",
1411                    "options":
1412                    {
1413                        "back": "User Specified",
1414                        "shortest": "Shortest",
1415                        "random": "Random",
1416                        "sharpest_corner": "Sharpest Corner"
1417                    },
1418                    "default_value": "sharpest_corner",
1419                    "limit_to_extruder": "wall_0_extruder_nr",
1420                    "settable_per_mesh": true
1421                },
1422                "z_seam_position":
1423                {
1424                    "label": "Z Seam Position",
1425                    "description": "The position near where to start printing each part in a layer.",
1426                    "type": "enum",
1427                    "options":
1428                    {
1429                        "backleft": "Back Left",
1430                        "back": "Back",
1431                        "backright": "Back Right",
1432                        "right": "Right",
1433                        "frontright": "Front Right",
1434                        "front": "Front",
1435                        "frontleft": "Front Left",
1436                        "left": "Left"
1437                    },
1438                    "enabled": "z_seam_type == 'back'",
1439                    "default_value": "back",
1440                    "limit_to_extruder": "wall_0_extruder_nr",
1441                    "settable_per_mesh": true,
1442                    "children":
1443                    {
1444                        "z_seam_x":
1445                        {
1446                            "label": "Z Seam X",
1447                            "description": "The X coordinate of the position near where to start printing each part in a layer.",
1448                            "unit": "mm",
1449                            "type": "float",
1450                            "default_value": 100.0,
1451                            "value": "(0 if (z_seam_position == 'frontleft' or z_seam_position == 'left' or z_seam_position == 'backleft') else machine_width / 2 if (z_seam_position == 'front' or z_seam_position == 'back') else machine_width) - (machine_width / 2 if z_seam_relative or machine_center_is_zero else 0)",
1452                            "enabled": "z_seam_type == 'back'",
1453                            "limit_to_extruder": "wall_0_extruder_nr",
1454                            "settable_per_mesh": true
1455                        },
1456                        "z_seam_y":
1457                        {
1458                            "label": "Z Seam Y",
1459                            "description": "The Y coordinate of the position near where to start printing each part in a layer.",
1460                            "unit": "mm",
1461                            "type": "float",
1462                            "default_value": 100.0,
1463                            "value": "(0 if (z_seam_position == 'frontleft' or z_seam_position == 'front' or z_seam_position == 'frontright') else machine_depth / 2 if (z_seam_position == 'left' or z_seam_position == 'right') else machine_depth) - (machine_depth / 2 if z_seam_relative or machine_center_is_zero else 0)",
1464                            "enabled": "z_seam_type == 'back'",
1465                            "limit_to_extruder": "wall_0_extruder_nr",
1466                            "settable_per_mesh": true
1467                        }
1468                    }
1469                },
1470                "z_seam_corner":
1471                {
1472                    "label": "Seam Corner Preference",
1473                    "description": "Control whether corners on the model outline influence the position of the seam. None means that corners have no influence on the seam position. Hide Seam makes the seam more likely to occur on an inside corner. Expose Seam makes the seam more likely to occur on an outside corner. Hide or Expose Seam makes the seam more likely to occur at an inside or outside corner. Smart Hiding allows both inside and outside corners, but chooses inside corners more frequently, if appropriate.",
1474                    "type": "enum",
1475                    "options":
1476                    {
1477                        "z_seam_corner_none":     "None",
1478                        "z_seam_corner_inner":    "Hide Seam",
1479                        "z_seam_corner_outer":    "Expose Seam",
1480                        "z_seam_corner_any":      "Hide or Expose Seam",
1481                        "z_seam_corner_weighted": "Smart Hiding"
1482                    },
1483                    "default_value": "z_seam_corner_inner",
1484                    "enabled": "z_seam_type != 'random'",
1485                    "limit_to_extruder": "wall_0_extruder_nr",
1486                    "settable_per_mesh": true
1487                },
1488                "z_seam_relative":
1489                {
1490                    "label": "Z Seam Relative",
1491                    "description": "When enabled, the z seam coordinates are relative to each part's centre. When disabled, the coordinates define an absolute position on the build plate.",
1492                    "unit": "mm",
1493                    "type": "bool",
1494                    "default_value": false,
1495                    "enabled": "z_seam_type == 'back'",
1496                    "limit_to_extruder": "wall_0_extruder_nr",
1497                    "settable_per_mesh": true
1498                },
1499                "skin_no_small_gaps_heuristic":
1500                {
1501                    "label": "No Skin in Z Gaps",
1502                    "description": "When the model has small vertical gaps of only a few layers, there should normally be skin around those layers in the narrow space. Enable this setting to not generate skin if the vertical gap is very small. This improves printing time and slicing time, but technically leaves infill exposed to the air.",
1503                    "type": "bool",
1504                    "default_value": false,
1505                    "enabled": "top_layers > 0 or bottom_layers > 0",
1506                    "limit_to_extruder": "top_bottom_extruder_nr",
1507                    "settable_per_mesh": true
1508                },
1509                "skin_outline_count":
1510                {
1511                    "label": "Extra Skin Wall Count",
1512                    "description": "Replaces the outermost part of the top/bottom pattern with a number of concentric lines. Using one or two lines improves roofs that start on infill material.",
1513                    "value": "0 if top_bottom_pattern == 'concentric' and top_bottom_pattern_0 == 'concentric' and roofing_layer_count <= 0 else 1",
1514                    "default_value": 1,
1515                    "minimum_value": "0",
1516                    "maximum_value_warning": "10",
1517                    "type": "int",
1518                    "enabled": "(top_layers > 0 or bottom_layers > 0) and (top_bottom_pattern != 'concentric' or top_bottom_pattern_0 != 'concentric' or (roofing_layer_count > 0 and roofing_pattern != 'concentric'))",
1519                    "limit_to_extruder": "top_bottom_extruder_nr",
1520                    "settable_per_mesh": true
1521                },
1522                "ironing_enabled":
1523                {
1524                    "label": "Enable Ironing",
1525                    "description": "Go over the top surface one additional time, but this time extruding very little material. This is meant to melt the plastic on top further, creating a smoother surface. The pressure in the nozzle chamber is kept high so that the creases in the surface are filled with material.",
1526                    "type": "bool",
1527                    "default_value": false,
1528                    "limit_to_extruder": "top_bottom_extruder_nr",
1529                    "settable_per_mesh": true
1530                },
1531                "ironing_only_highest_layer":
1532                {
1533                    "label": "Iron Only Highest Layer",
1534                    "description": "Only perform ironing on the very last layer of the mesh. This saves time if the lower layers don't need a smooth surface finish.",
1535                    "type": "bool",
1536                    "default_value": false,
1537                    "enabled": "ironing_enabled",
1538                    "limit_to_extruder": "top_bottom_extruder_nr",
1539                    "settable_per_mesh": true
1540                },
1541                "ironing_pattern":
1542                {
1543                    "label": "Ironing Pattern",
1544                    "description": "The pattern to use for ironing top surfaces.",
1545                    "type": "enum",
1546                    "options":
1547                    {
1548                        "concentric": "Concentric",
1549                        "zigzag": "Zig Zag"
1550                    },
1551                    "default_value": "zigzag",
1552                    "enabled": "ironing_enabled",
1553                    "limit_to_extruder": "top_bottom_extruder_nr",
1554                    "settable_per_mesh": true
1555                },
1556                "ironing_line_spacing":
1557                {
1558                    "label": "Ironing Line Spacing",
1559                    "description": "The distance between the lines of ironing.",
1560                    "type": "float",
1561                    "unit": "mm",
1562                    "default_value": 0.1,
1563                    "minimum_value": "0.001",
1564                    "maximum_value_warning": "machine_nozzle_tip_outer_diameter",
1565                    "enabled": "ironing_enabled",
1566                    "limit_to_extruder": "top_bottom_extruder_nr",
1567                    "settable_per_mesh": true
1568                },
1569                "ironing_flow":
1570                {
1571                    "label": "Ironing Flow",
1572                    "description": "The amount of material, relative to a normal skin line, to extrude during ironing. Keeping the nozzle filled helps filling some of the crevices of the top surface, but too much results in overextrusion and blips on the side of the surface.",
1573                    "type": "float",
1574                    "unit": "%",
1575                    "default_value": 10.0,
1576                    "minimum_value": "0",
1577                    "maximum_value_warning": "50",
1578                    "enabled": "ironing_enabled",
1579                    "limit_to_extruder": "top_bottom_extruder_nr",
1580                    "settable_per_mesh": true
1581                },
1582                "ironing_inset":
1583                {
1584                    "label": "Ironing Inset",
1585                    "description": "A distance to keep from the edges of the model. Ironing all the way to the edge of the mesh may result in a jagged edge on your print.",
1586                    "type": "float",
1587                    "unit": "mm",
1588                    "default_value": 0.35,
1589                    "value": "wall_line_width_0 / 2 + (ironing_line_spacing - skin_line_width * (1.0 + ironing_flow / 100) / 2 if ironing_pattern == 'concentric' else skin_line_width * (1.0 - ironing_flow / 100) / 2)",
1590                    "minimum_value_warning": "0",
1591                    "maximum_value_warning": "wall_line_width_0",
1592                    "enabled": "ironing_enabled",
1593                    "limit_to_extruder": "top_bottom_extruder_nr",
1594                    "settable_per_mesh": true
1595                },
1596                "speed_ironing":
1597                {
1598                    "label": "Ironing Speed",
1599                    "description": "The speed at which to pass over the top surface.",
1600                    "type": "float",
1601                    "unit": "mm/s",
1602                    "default_value": 20.0,
1603                    "value": "speed_topbottom * 20 / 30",
1604                    "minimum_value": "0.001",
1605                    "maximum_value": "math.sqrt(machine_max_feedrate_x ** 2 + machine_max_feedrate_y ** 2)",
1606                    "maximum_value_warning": "100",
1607                    "enabled": "ironing_enabled",
1608                    "limit_to_extruder": "top_bottom_extruder_nr",
1609                    "settable_per_mesh": true
1610                },
1611                "acceleration_ironing":
1612                {
1613                    "label": "Ironing Acceleration",
1614                    "description": "The acceleration with which ironing is performed.",
1615                    "unit": "mm/s²",
1616                    "type": "float",
1617                    "minimum_value": "0.1",
1618                    "minimum_value_warning": "100",
1619                    "maximum_value_warning": "10000",
1620                    "default_value": 3000,
1621                    "value": "acceleration_topbottom",
1622                    "enabled": "resolveOrValue('acceleration_enabled') and ironing_enabled",
1623                    "limit_to_extruder": "top_bottom_extruder_nr",
1624                    "settable_per_mesh": true
1625                },
1626                "jerk_ironing":
1627                {
1628                    "label": "Ironing Jerk",
1629                    "description": "The maximum instantaneous velocity change while performing ironing.",
1630                    "unit": "mm/s",
1631                    "type": "float",
1632                    "minimum_value": "0",
1633                    "maximum_value_warning": "50",
1634                    "default_value": 20,
1635                    "value": "jerk_topbottom",
1636                    "enabled": "resolveOrValue('jerk_enabled') and ironing_enabled",
1637                    "limit_to_extruder": "top_bottom_extruder_nr",
1638                    "settable_per_mesh": true
1639                },
1640                "skin_overlap":
1641                {
1642                    "label": "Skin Overlap Percentage",
1643                    "description": "Adjust the amount of overlap between the walls and (the endpoints of) the skin-centerlines, as a percentage of the line widths of the skin lines and the innermost wall. A slight overlap allows the walls to connect firmly to the skin. Note that, given an equal skin and wall line-width, any percentage over 50% may already cause any skin to go past the wall, because at that point the position of the nozzle of the skin-extruder may already reach past the middle of the wall.",
1644                    "unit": "%",
1645                    "type": "float",
1646                    "default_value": 5,
1647                    "minimum_value_warning": "-50",
1648                    "maximum_value_warning": "100",
1649                    "value": "5 if top_bottom_pattern != 'concentric' else 0",
1650                    "enabled": "(top_layers > 0 or bottom_layers > 0) and top_bottom_pattern != 'concentric'",
1651                    "limit_to_extruder": "top_bottom_extruder_nr",
1652                    "settable_per_mesh": true,
1653                    "children":
1654                    {
1655                        "skin_overlap_mm":
1656                        {
1657                            "label": "Skin Overlap",
1658                            "description": "Adjust the amount of overlap between the walls and (the endpoints of) the skin-centerlines. A slight overlap allows the walls to connect firmly to the skin. Note that, given an equal skin and wall line-width, any value over half the width of the wall may already cause any skin to go past the wall, because at that point the position of the nozzle of the skin-extruder may already reach past the middle of the wall.",
1659                            "unit": "mm",
1660                            "type": "float",
1661                            "default_value": 0.02,
1662                            "minimum_value_warning": "-0.5 * machine_nozzle_size",
1663                            "maximum_value_warning": "machine_nozzle_size",
1664                            "value": "0.5 * (skin_line_width + (wall_line_width_x if wall_line_count > 1 else wall_line_width_0)) * skin_overlap / 100 if top_bottom_pattern != 'concentric' else 0",
1665                            "enabled": "(top_layers > 0 or bottom_layers > 0) and top_bottom_pattern != 'concentric'",
1666                            "settable_per_mesh": true
1667                        }
1668                    }
1669                }
1670            }
1671        },
1672        "infill":
1673        {
1674            "label": "Infill",
1675            "icon": "category_infill",
1676            "description": "Infill",
1677            "type": "category",
1678            "children":
1679            {
1680                "infill_extruder_nr":
1681                {
1682                    "label": "Infill Extruder",
1683                    "description": "The extruder train used for printing infill. This is used in multi-extrusion.",
1684                    "type": "optional_extruder",
1685                    "default_value": "-1",
1686                    "settable_per_mesh": false,
1687                    "settable_per_extruder": false,
1688                    "settable_per_meshgroup": true,
1689                    "settable_globally": true,
1690                    "enabled": "extruders_enabled_count > 1"
1691                },
1692                "infill_sparse_density":
1693                {
1694                    "label": "Infill Density",
1695                    "description": "Adjusts the density of infill of the print.",
1696                    "unit": "%",
1697                    "type": "float",
1698                    "default_value": 20,
1699                    "minimum_value": "0",
1700                    "maximum_value_warning": "100",
1701                    "limit_to_extruder": "infill_extruder_nr",
1702                    "settable_per_mesh": true,
1703                    "children":
1704                    {
1705                        "infill_line_distance":
1706                        {
1707                            "label": "Infill Line Distance",
1708                            "description": "Distance between the printed infill lines. This setting is calculated by the infill density and the infill line width.",
1709                            "unit": "mm",
1710                            "type": "float",
1711                            "default_value": 2,
1712                            "minimum_value": "0",
1713                            "minimum_value_warning": "infill_line_width",
1714                            "value": "0 if infill_sparse_density == 0 else (infill_line_width * 100) / infill_sparse_density * (2 if infill_pattern == 'grid' else (3 if infill_pattern == 'triangles' or infill_pattern == 'trihexagon' or infill_pattern == 'cubic' or infill_pattern == 'cubicsubdiv' else (2 if infill_pattern == 'tetrahedral' or infill_pattern == 'quarter_cubic' else (1 if infill_pattern == 'cross' or infill_pattern == 'cross_3d' else 1))))",
1715                            "limit_to_extruder": "infill_extruder_nr",
1716                            "settable_per_mesh": true
1717                        }
1718                    }
1719                },
1720                "infill_pattern":
1721                {
1722                    "label": "Infill Pattern",
1723                    "description": "The pattern of the infill material of the print. The line and zig zag infill swap direction on alternate layers, reducing material cost. The grid, triangle, tri-hexagon, cubic, octet, quarter cubic, cross and concentric patterns are fully printed every layer. Gyroid, cubic, quarter cubic and octet infill change with every layer to provide a more equal distribution of strength over each direction.",
1724                    "type": "enum",
1725                    "options":
1726                    {
1727                        "grid": "Grid",
1728                        "lines": "Lines",
1729                        "triangles": "Triangles",
1730                        "trihexagon": "Tri-Hexagon",
1731                        "cubic": "Cubic",
1732                        "cubicsubdiv": "Cubic Subdivision",
1733                        "tetrahedral": "Octet",
1734                        "quarter_cubic": "Quarter Cubic",
1735                        "concentric": "Concentric",
1736                        "zigzag": "Zig Zag",
1737                        "cross": "Cross",
1738                        "cross_3d": "Cross 3D",
1739                        "gyroid": "Gyroid"
1740                    },
1741                    "default_value": "grid",
1742                    "enabled": "infill_sparse_density > 0",
1743                    "value": "'lines' if infill_sparse_density > 25 else 'grid'",
1744                    "limit_to_extruder": "infill_extruder_nr",
1745                    "settable_per_mesh": true
1746                },
1747                "zig_zaggify_infill":
1748                {
1749                    "label": "Connect Infill Lines",
1750                    "description": "Connect the ends where the infill pattern meets the inner wall using a line which follows the shape of the inner wall. Enabling this setting can make the infill adhere to the walls better and reduce the effects of infill on the quality of vertical surfaces. Disabling this setting reduces the amount of material used.",
1751                    "type": "bool",
1752                    "default_value": false,
1753                    "value": "infill_pattern == 'cross' or infill_pattern == 'cross_3d'",
1754                    "enabled": "infill_pattern == 'lines' or infill_pattern == 'grid' or infill_pattern == 'triangles' or infill_pattern == 'trihexagon' or infill_pattern == 'cubic' or infill_pattern == 'tetrahedral' or infill_pattern == 'quarter_cubic' or infill_pattern == 'cross' or infill_pattern == 'cross_3d' or infill_pattern == 'gyroid'",
1755                    "limit_to_extruder": "infill_extruder_nr",
1756                    "settable_per_mesh": true
1757                },
1758                "connect_infill_polygons":
1759                {
1760                    "label": "Connect Infill Polygons",
1761                    "description": "Connect infill paths where they run next to each other. For infill patterns which consist of several closed polygons, enabling this setting greatly reduces the travel time.",
1762                    "type": "bool",
1763                    "default_value": true,
1764                    "value": "(infill_pattern == 'cross' or infill_pattern == 'cross_3d' or infill_multiplier % 2 == 0) and infill_wall_line_count > 0",
1765                    "enabled": "infill_pattern == 'cross' or infill_pattern == 'cross_3d' or infill_pattern == 'concentric' or infill_multiplier % 2 == 0 or infill_wall_line_count > 1",
1766                    "limit_to_extruder": "infill_extruder_nr",
1767                    "settable_per_mesh": true
1768                },
1769                "infill_angles":
1770                {
1771                    "label": "Infill Line Directions",
1772                    "description": "A list of integer line directions to use. Elements from the list are used sequentially as the layers progress and when the end of the list is reached, it starts at the beginning again. The list items are separated by commas and the whole list is contained in square brackets. Default is an empty list which means use the traditional default angles (45 and 135 degrees for the lines and zig zag patterns and 45 degrees for all other patterns).",
1773                    "type": "[int]",
1774                    "default_value": "[ ]",
1775                    "enabled": "infill_pattern != 'concentric' and infill_sparse_density > 0",
1776                    "limit_to_extruder": "infill_extruder_nr",
1777                    "settable_per_mesh": true
1778                },
1779                "infill_offset_x":
1780                {
1781                    "label": "Infill X Offset",
1782                    "description": "The infill pattern is moved this distance along the X axis.",
1783                    "unit": "mm",
1784                    "type": "float",
1785                    "default_value": 0,
1786                    "enabled": "infill_pattern == 'grid' or infill_pattern == 'lines' or infill_pattern == 'triangles' or infill_pattern == 'cubic' or infill_pattern == 'tetrahedral' or infill_pattern == 'quarter_cubic' or infill_pattern == 'zigzag'",
1787                    "limit_to_extruder": "infill_extruder_nr",
1788                    "settable_per_mesh": true
1789                },
1790                "infill_offset_y":
1791                {
1792                    "label": "Infill Y Offset",
1793                    "description": "The infill pattern is moved this distance along the Y axis.",
1794                    "unit": "mm",
1795                    "type": "float",
1796                    "default_value": 0,
1797                    "enabled": "infill_pattern == 'grid' or infill_pattern == 'lines' or infill_pattern == 'triangles' or infill_pattern == 'cubic' or infill_pattern == 'tetrahedral' or infill_pattern == 'quarter_cubic' or infill_pattern == 'zigzag'",
1798                    "limit_to_extruder": "infill_extruder_nr",
1799                    "settable_per_mesh": true
1800                },
1801                "infill_randomize_start_location":
1802                {
1803                    "label": "Randomize Infill Start",
1804                    "description": "Randomize which infill line is printed first. This prevents one segment becoming the strongest, but it does so at the cost of an additional travel move.",
1805                    "type": "bool",
1806                    "default_value": false,
1807                    "warning_value": "True if infill_pattern not in ('grid', 'triangles', 'trihexagon', 'cubic', 'cubicsubdiv', 'tetrahedral', 'quarter_cubic') else None",
1808                    "enabled": "not ((infill_pattern == 'cross' and connect_infill_polygons) or infill_pattern == 'concentric')",
1809                    "limit_to_extruder": "infill_extruder_nr",
1810                    "settable_per_mesh": true
1811                },
1812                "infill_multiplier":
1813                {
1814                    "label": "Infill Line Multiplier",
1815                    "description": "Convert each infill line to this many lines. The extra lines do not cross over each other, but avoid each other. This makes the infill stiffer, but increases print time and material usage.",
1816                    "default_value": 1,
1817                    "type": "int",
1818                    "minimum_value": "1",
1819                    "maximum_value_warning": "infill_line_distance / infill_line_width",
1820                    "enabled": "infill_sparse_density > 0 and infill_pattern != 'zigzag'",
1821                    "limit_to_extruder": "infill_extruder_nr",
1822                    "settable_per_mesh": true
1823                },
1824                "infill_wall_line_count":
1825                {
1826                    "label": "Extra Infill Wall Count",
1827                    "description": "Add extra walls around the infill area. Such walls can make top/bottom skin lines sag down less which means you need less top/bottom skin layers for the same quality at the cost of some extra material.\nThis feature can combine with the Connect Infill Polygons to connect all the infill into a single extrusion path without the need for travels or retractions if configured right.",
1828                    "default_value": 0,
1829                    "type": "int",
1830                    "minimum_value": "0",
1831                    "enabled": "infill_sparse_density > 0",
1832                    "limit_to_extruder": "infill_extruder_nr",
1833                    "settable_per_mesh": true
1834                },
1835                "sub_div_rad_add":
1836                {
1837                    "label": "Cubic Subdivision Shell",
1838                    "description": "An addition to the radius from the center of each cube to check for the boundary of the model, as to decide whether this cube should be subdivided. Larger values lead to a thicker shell of small cubes near the boundary of the model.",
1839                    "unit": "mm",
1840                    "type": "float",
1841                    "default_value": 0.4,
1842                    "value": "wall_line_width_x",
1843                    "minimum_value_warning": "-1 * infill_line_distance",
1844                    "maximum_value_warning": "5 * infill_line_distance",
1845                    "enabled": "infill_sparse_density > 0 and infill_pattern == 'cubicsubdiv'",
1846                    "limit_to_extruder": "infill_extruder_nr",
1847                    "settable_per_mesh": true
1848                },
1849                "infill_overlap":
1850                {
1851                    "label": "Infill Overlap Percentage",
1852                    "description": "The amount of overlap between the infill and the walls as a percentage of the infill line width. A slight overlap allows the walls to connect firmly to the infill.",
1853                    "unit": "%",
1854                    "type": "float",
1855                    "default_value": 10,
1856                    "value": "10 if infill_sparse_density < 95 and infill_pattern != 'concentric' else 0",
1857                    "minimum_value_warning": "-50",
1858                    "maximum_value_warning": "100",
1859                    "enabled": "infill_sparse_density > 0 and infill_pattern != 'concentric'",
1860                    "limit_to_extruder": "infill_extruder_nr",
1861                    "settable_per_mesh": true,
1862                    "children":
1863                    {
1864                        "infill_overlap_mm":
1865                        {
1866                            "label": "Infill Overlap",
1867                            "description": "The amount of overlap between the infill and the walls. A slight overlap allows the walls to connect firmly to the infill.",
1868                            "unit": "mm",
1869                            "type": "float",
1870                            "default_value": 0.04,
1871                            "minimum_value_warning": "-0.5 * machine_nozzle_size",
1872                            "maximum_value_warning": "machine_nozzle_size",
1873                            "value": "0.5 * (infill_line_width + (wall_line_width_x if wall_line_count > 1 else wall_line_width_0)) * infill_overlap / 100 if infill_sparse_density < 95 and infill_pattern != 'concentric' else 0",
1874                            "enabled": "infill_sparse_density > 0 and infill_pattern != 'concentric'",
1875                            "settable_per_mesh": true
1876                        }
1877                    }
1878                },
1879                "infill_wipe_dist":
1880                {
1881                    "label": "Infill Wipe Distance",
1882                    "description": "Distance of a travel move inserted after every infill line, to make the infill stick to the walls better. This option is similar to infill overlap, but without extrusion and only on one end of the infill line.",
1883                    "unit": "mm",
1884                    "type": "float",
1885                    "default_value": 0.04,
1886                    "value": "wall_line_width_0 / 4 if wall_line_count == 1 else wall_line_width_x / 4",
1887                    "minimum_value_warning": "0",
1888                    "maximum_value_warning": "machine_nozzle_size",
1889                    "enabled": "infill_sparse_density > 0",
1890                    "limit_to_extruder": "infill_extruder_nr",
1891                    "settable_per_mesh": true
1892                },
1893                "infill_sparse_thickness":
1894                {
1895                    "label": "Infill Layer Thickness",
1896                    "description": "The thickness per layer of infill material. This value should always be a multiple of the layer height and is otherwise rounded.",
1897                    "unit": "mm",
1898                    "type": "float",
1899                    "default_value": 0.1,
1900                    "minimum_value": "resolveOrValue('layer_height') / 2 if infill_line_distance > 0 else -999999",
1901                    "maximum_value_warning": "0.75 * machine_nozzle_size",
1902                    "maximum_value": "resolveOrValue('layer_height') * 8 if infill_line_distance > 0 else 999999",
1903                    "value": "resolveOrValue('layer_height')",
1904                    "enabled": "infill_sparse_density > 0",
1905                    "limit_to_extruder": "infill_extruder_nr",
1906                    "settable_per_mesh": true
1907                },
1908                "gradual_infill_steps":
1909                {
1910                    "label": "Gradual Infill Steps",
1911                    "description": "Number of times to reduce the infill density by half when getting further below top surfaces. Areas which are closer to top surfaces get a higher density, up to the Infill Density.",
1912                    "default_value": 0,
1913                    "type": "int",
1914                    "minimum_value": "0",
1915                    "maximum_value_warning": "1 if (infill_pattern == 'cross' or infill_pattern == 'cross_3d' or support_pattern == 'concentric') else 5",
1916                    "maximum_value": "999999 if infill_line_distance == 0 else (20 - math.log(infill_line_distance) / math.log(2))",
1917                    "enabled": "infill_sparse_density > 0 and infill_pattern != 'cubicsubdiv'",
1918                    "limit_to_extruder": "infill_extruder_nr",
1919                    "settable_per_mesh": true
1920                },
1921                "gradual_infill_step_height":
1922                {
1923                    "label": "Gradual Infill Step Height",
1924                    "description": "The height of infill of a given density before switching to half the density.",
1925                    "unit": "mm",
1926                    "type": "float",
1927                    "default_value": 1.5,
1928                    "minimum_value": "0.0001",
1929                    "minimum_value_warning": "3 * resolveOrValue('layer_height')",
1930                    "enabled": "infill_sparse_density > 0 and gradual_infill_steps > 0 and infill_pattern != 'cubicsubdiv'",
1931                    "limit_to_extruder": "infill_extruder_nr",
1932                    "settable_per_mesh": true
1933                },
1934                "infill_before_walls":
1935                {
1936                    "label": "Infill Before Walls",
1937                    "description": "Print the infill before printing the walls. Printing the walls first may lead to more accurate walls, but overhangs print worse. Printing the infill first leads to sturdier walls, but the infill pattern might sometimes show through the surface.",
1938                    "type": "bool",
1939                    "default_value": true,
1940                    "enabled": "infill_sparse_density > 0 and wall_x_extruder_nr == infill_extruder_nr",
1941                    "settable_per_mesh": true
1942                },
1943                "min_infill_area":
1944                {
1945                    "label": "Minimum Infill Area",
1946                    "description": "Don't generate areas of infill smaller than this (use skin instead).",
1947                    "unit": "mm²",
1948                    "type": "float",
1949                    "minimum_value": "0",
1950                    "default_value": 0,
1951                    "limit_to_extruder": "infill_extruder_nr",
1952                    "settable_per_mesh": true
1953                },
1954                "infill_support_enabled":
1955                {
1956                    "label": "Infill Support",
1957                    "description": "Print infill structures only where tops of the model should be supported. Enabling this reduces print time and material usage, but leads to ununiform object strength.",
1958                    "type": "bool",
1959                    "default_value": false,
1960                    "enabled": "infill_sparse_density > 0",
1961                    "limit_to_extruder": "infill_extruder_nr",
1962                    "settable_per_mesh": true
1963                },
1964                "infill_support_angle":
1965                {
1966                    "label": "Infill Overhang Angle",
1967                    "description": "The minimum angle of internal overhangs for which infill is added. At a value of 0° objects are totally filled with infill, 90° will not provide any infill.",
1968                    "unit": "°",
1969                    "type": "float",
1970                    "minimum_value": "0",
1971                    "minimum_value_warning": "2",
1972                    "maximum_value": "90",
1973                    "default_value": 40,
1974                    "enabled": "infill_sparse_density > 0 and infill_support_enabled",
1975                    "limit_to_extruder": "infill_extruder_nr",
1976                    "settable_per_mesh": true
1977                },
1978                "skin_preshrink":
1979                {
1980                    "label": "Skin Removal Width",
1981                    "description": "The largest width of skin areas which are to be removed. Every skin area smaller than this value will disappear. This can help in limiting the amount of time and material spent on printing top/bottom skin at slanted surfaces in the model.",
1982                    "unit": "mm",
1983                    "type": "float",
1984                    "default_value": 1,
1985                    "value": "wall_line_width_0 + (wall_line_count - 1) * wall_line_width_x",
1986                    "minimum_value": "0",
1987                    "maximum_value_warning": "wall_line_width_0 + (wall_line_count - 1) * wall_line_width_x",
1988                    "enabled": "top_layers > 0 or bottom_layers > 0",
1989                    "limit_to_extruder": "top_bottom_extruder_nr",
1990                    "settable_per_mesh": true,
1991                    "children":
1992                    {
1993                        "top_skin_preshrink":
1994                        {
1995                            "label": "Top Skin Removal Width",
1996                            "description": "The largest width of top skin areas which are to be removed. Every skin area smaller than this value will disappear. This can help in limiting the amount of time and material spent on printing top skin at slanted surfaces in the model.",
1997                            "unit": "mm",
1998                            "type": "float",
1999                            "default_value": 1,
2000                            "value": "skin_preshrink",
2001                            "maximum_value_warning": "wall_line_width_0 + (wall_line_count - 1) * wall_line_width_x",
2002                            "minimum_value": "0",
2003                            "enabled": "top_layers > 0 or bottom_layers > 0",
2004                            "limit_to_extruder": "top_bottom_extruder_nr",
2005                            "settable_per_mesh": true
2006                        },
2007                        "bottom_skin_preshrink":
2008                        {
2009                            "label": "Bottom Skin Removal Width",
2010                            "description": "The largest width of bottom skin areas which are to be removed. Every skin area smaller than this value will disappear. This can help in limiting the amount of time and material spent on printing bottom skin at slanted surfaces in the model.",
2011                            "unit": "mm",
2012                            "type": "float",
2013                            "default_value": 1,
2014                            "value": "skin_preshrink",
2015                            "maximum_value_warning": "wall_line_width_0 + (wall_line_count - 1) * wall_line_width_x",
2016                            "minimum_value": "0",
2017                            "enabled": "top_layers > 0 or bottom_layers > 0",
2018                            "limit_to_extruder": "top_bottom_extruder_nr",
2019                            "settable_per_mesh": true
2020                        }
2021                    }
2022                },
2023                "expand_skins_expand_distance":
2024                {
2025                    "label": "Skin Expand Distance",
2026                    "description": "The distance the skins are expanded into the infill. Higher values makes the skin attach better to the infill pattern and makes the walls on neighboring layers adhere better to the skin. Lower values save amount of material used.",
2027                    "unit": "mm",
2028                    "type": "float",
2029                    "default_value": 1,
2030                    "value": "wall_line_width_0 + (wall_line_count - 1) * wall_line_width_x",
2031                    "minimum_value": "-skin_preshrink",
2032                    "limit_to_extruder": "top_bottom_extruder_nr",
2033                    "enabled": "top_layers > 0 or bottom_layers > 0",
2034                    "settable_per_mesh": true,
2035                    "children":
2036                    {
2037                        "top_skin_expand_distance":
2038                        {
2039                            "label": "Top Skin Expand Distance",
2040                            "description": "The distance the top skins are expanded into the infill. Higher values makes the skin attach better to the infill pattern and makes the walls on the layer above adhere better to the skin. Lower values save amount of material used.",
2041                            "unit": "mm",
2042                            "type": "float",
2043                            "default_value": 1,
2044                            "value": "expand_skins_expand_distance",
2045                            "minimum_value": "-top_skin_preshrink",
2046                            "enabled": "top_layers > 0 or bottom_layers > 0",
2047                            "limit_to_extruder": "top_bottom_extruder_nr",
2048                            "settable_per_mesh": true
2049                        },
2050                        "bottom_skin_expand_distance":
2051                        {
2052                            "label": "Bottom Skin Expand Distance",
2053                            "description": "The distance the bottom skins are expanded into the infill. Higher values makes the skin attach better to the infill pattern and makes the skin adhere better to the walls on the layer below. Lower values save amount of material used.",
2054                            "unit": "mm",
2055                            "type": "float",
2056                            "default_value": 1,
2057                            "value": "expand_skins_expand_distance",
2058                            "minimum_value": "-bottom_skin_preshrink",
2059                            "enabled": "top_layers > 0 or bottom_layers > 0",
2060                            "limit_to_extruder": "top_bottom_extruder_nr",
2061                            "settable_per_mesh": true
2062                        }
2063                    }
2064                },
2065                "max_skin_angle_for_expansion":
2066                {
2067                    "label": "Maximum Skin Angle for Expansion",
2068                    "description": "Top and/or bottom surfaces of your object with an angle larger than this setting, won't have their top/bottom skin expanded. This avoids expanding the narrow skin areas that are created when the model surface has a near vertical slope. An angle of 0° is horizontal, while an angle of 90° is vertical.",
2069                    "unit": "°",
2070                    "type": "float",
2071                    "minimum_value": "0",
2072                    "minimum_value_warning": "2",
2073                    "maximum_value": "90",
2074                    "default_value": 90,
2075                    "enabled": "(top_layers > 0 or bottom_layers > 0) and (top_skin_expand_distance > 0 or bottom_skin_expand_distance > 0)",
2076                    "limit_to_extruder": "top_bottom_extruder_nr",
2077                    "settable_per_mesh": true,
2078                    "children":
2079                    {
2080                        "min_skin_width_for_expansion":
2081                        {
2082                            "label": "Minimum Skin Width for Expansion",
2083                            "description": "Skin areas narrower than this are not expanded. This avoids expanding the narrow skin areas that are created when the model surface has a slope close to the vertical.",
2084                            "unit": "mm",
2085                            "type": "float",
2086                            "default_value": 0,
2087                            "value": "top_layers * layer_height / math.tan(math.radians(max_skin_angle_for_expansion))",
2088                            "minimum_value": "0",
2089                            "enabled": "(top_layers > 0 or bottom_layers > 0) and (top_skin_expand_distance > 0 or bottom_skin_expand_distance > 0)",
2090                            "limit_to_extruder": "top_bottom_extruder_nr",
2091                            "settable_per_mesh": true
2092                        }
2093                    }
2094                },
2095                "skin_edge_support_thickness":
2096                {
2097                    "label": "Skin Edge Support Thickness",
2098                    "description": "The thickness of the extra infill that supports skin edges.",
2099                    "unit": "mm",
2100                    "default_value": 0.8,
2101                    "minimum_value": "0",
2102                    "maximum_value": "machine_height",
2103                    "maximum_value_warning": "resolveOrValue('infill_sparse_thickness') * 10",
2104                    "type": "float",
2105                    "value": "0 if infill_sparse_density > 0 else 0",
2106                    "limit_to_extruder": "infill_extruder_nr",
2107                    "enabled": "infill_sparse_density > 0",
2108                    "settable_per_mesh": true,
2109                    "children":
2110                    {
2111                         "skin_edge_support_layers":
2112                         {
2113                              "label": "Skin Edge Support Layers",
2114                              "description": "The number of infill layers that supports skin edges.",
2115                              "default_value": 4,
2116                              "minimum_value": "0",
2117                              "maximum_value_warning": "10",
2118                              "type": "int",
2119                              "value": "math.ceil(round(skin_edge_support_thickness / resolveOrValue('infill_sparse_thickness'), 4))",
2120                              "limit_to_extruder": "infill_extruder_nr",
2121                              "enabled": "infill_sparse_density > 0",
2122                              "settable_per_mesh": true
2123                         }
2124                    }
2125                }
2126            }
2127        },
2128        "material":
2129        {
2130            "label": "Material",
2131            "icon": "category_material",
2132            "description": "Material",
2133            "type": "category",
2134            "children":
2135            {
2136                "default_material_print_temperature":
2137                {
2138                    "label": "Default Printing Temperature",
2139                    "description": "The default temperature used for printing. This should be the \"base\" temperature of a material. All other print temperatures should use offsets based on this value",
2140                    "unit": "°C",
2141                    "type": "float",
2142                    "default_value": 210,
2143                    "minimum_value_warning": "0",
2144                    "maximum_value_warning": "285",
2145                    "maximum_value": "365",
2146                    "enabled": false,
2147                    "settable_per_extruder": true,
2148                    "settable_per_mesh": false,
2149                    "minimum_value": "-273.15"
2150                },
2151                "build_volume_temperature":
2152                {
2153                    "label": "Build Volume Temperature",
2154                    "description": "The temperature of the environment to print in. If this is 0, the build volume temperature will not be adjusted.",
2155                    "unit": "°C",
2156                    "type": "float",
2157                    "default_value": 0,
2158                    "resolve": "min(extruderValues('build_volume_temperature'))",
2159                    "minimum_value": "-273.15",
2160                    "minimum_value_warning": "0",
2161                    "maximum_value_warning": "285",
2162                    "enabled": "machine_heated_build_volume",
2163                    "settable_per_mesh": false,
2164                    "settable_per_extruder": false
2165                },
2166                "material_print_temperature":
2167                {
2168                    "label": "Printing Temperature",
2169                    "description": "The temperature used for printing.",
2170                    "unit": "°C",
2171                    "type": "float",
2172                    "default_value": 210,
2173                    "value": "default_material_print_temperature",
2174                    "minimum_value": "-273.15",
2175                    "minimum_value_warning": "0",
2176                    "maximum_value_warning": "285",
2177                    "maximum_value": "365",
2178                    "enabled": "machine_nozzle_temp_enabled and not (material_flow_dependent_temperature)",
2179                    "settable_per_mesh": false,
2180                    "settable_per_extruder": true
2181                },
2182                "material_print_temperature_layer_0":
2183                {
2184                    "label": "Printing Temperature Initial Layer",
2185                    "description": "The temperature used for printing the first layer. Set at 0 to disable special handling of the initial layer.",
2186                    "unit": "°C",
2187                    "type": "float",
2188                    "default_value": 215,
2189                    "value": "material_print_temperature",
2190                    "minimum_value": "-273.15",
2191                    "minimum_value_warning": "0",
2192                    "maximum_value_warning": "285",
2193                    "maximum_value": "365",
2194                    "enabled": "machine_nozzle_temp_enabled",
2195                    "settable_per_mesh": false,
2196                    "settable_per_extruder": true
2197                },
2198                "material_initial_print_temperature":
2199                {
2200                    "label": "Initial Printing Temperature",
2201                    "description": "The minimal temperature while heating up to the Printing Temperature at which printing can already start.",
2202                    "unit": "°C",
2203                    "type": "float",
2204                    "default_value": 200,
2205                    "value": "max(-273.15, material_print_temperature - 10)",
2206                    "minimum_value": "-273.15",
2207                    "minimum_value_warning": "material_standby_temperature",
2208                    "maximum_value_warning": "material_print_temperature",
2209                    "maximum_value": "365",
2210                    "enabled": "machine_nozzle_temp_enabled and not machine_extruders_share_heater",
2211                    "settable_per_mesh": false,
2212                    "settable_per_extruder": true
2213                },
2214                "material_final_print_temperature":
2215                {
2216                    "label": "Final Printing Temperature",
2217                    "description": "The temperature to which to already start cooling down just before the end of printing.",
2218                    "unit": "°C",
2219                    "type": "float",
2220                    "default_value": 195,
2221                    "value": "max(-273.15, material_print_temperature - 15)",
2222                    "minimum_value": "-273.15",
2223                    "minimum_value_warning": "material_standby_temperature",
2224                    "maximum_value_warning": "material_print_temperature",
2225                    "maximum_value": "365",
2226                    "enabled": "machine_nozzle_temp_enabled and not machine_extruders_share_heater",
2227                    "settable_per_mesh": false,
2228                    "settable_per_extruder": true
2229                },
2230                "material_extrusion_cool_down_speed":
2231                {
2232                    "label": "Extrusion Cool Down Speed Modifier",
2233                    "description": "The extra speed by which the nozzle cools while extruding. The same value is used to signify the heat up speed lost when heating up while extruding.",
2234                    "unit": "°C/s",
2235                    "type": "float",
2236                    "default_value": 0.7,
2237                    "minimum_value": "0",
2238                    "maximum_value_warning": "10.0",
2239                    "maximum_value": "machine_nozzle_heat_up_speed",
2240                    "enabled": "material_flow_dependent_temperature or (extruders_enabled_count > 1 and material_final_print_temperature != material_print_temperature)",
2241                    "settable_per_mesh": false,
2242                    "settable_per_extruder": true
2243                },
2244                "default_material_bed_temperature":
2245                {
2246                    "label": "Default Build Plate Temperature",
2247                    "description": "The default temperature used for the heated build plate. This should be the \"base\" temperature of a build plate. All other print temperatures should use offsets based on this value",
2248                    "unit": "°C",
2249                    "type": "float",
2250                    "resolve": "max(extruderValues('default_material_bed_temperature'))",
2251                    "default_value": 60,
2252                    "minimum_value": "-273.15",
2253                    "minimum_value_warning": "build_volume_temperature",
2254                    "maximum_value_warning": "130",
2255                    "maximum_value": "200",
2256                    "enabled": false,
2257                    "settable_per_mesh": false,
2258                    "settable_per_extruder": false,
2259                    "settable_per_meshgroup": false
2260                },
2261                "material_bed_temperature":
2262                {
2263                    "label": "Build Plate Temperature",
2264                    "description": "The temperature used for the heated build plate. If this is 0, the build plate is left unheated.",
2265                    "unit": "°C",
2266                    "type": "float",
2267                    "default_value": 60,
2268                    "value": "default_material_bed_temperature",
2269                    "resolve": "max(extruderValues('material_bed_temperature'))",
2270                    "minimum_value": "-273.15",
2271                    "minimum_value_warning": "build_volume_temperature",
2272                    "maximum_value_warning": "130",
2273                    "maximum_value": "200",
2274                    "enabled": "machine_heated_bed and machine_gcode_flavor != \"UltiGCode\"",
2275                    "settable_per_mesh": false,
2276                    "settable_per_extruder": false,
2277                    "settable_per_meshgroup": false
2278                },
2279                "material_bed_temperature_layer_0":
2280                {
2281                    "label": "Build Plate Temperature Initial Layer",
2282                    "description": "The temperature used for the heated build plate at the first layer. If this is 0, the build plate is left unheated during the first layer.",
2283                    "unit": "°C",
2284                    "type": "float",
2285                    "resolve": "max(extruderValues('material_bed_temperature_layer_0'))",
2286                    "default_value": 60,
2287                    "value": "resolveOrValue('material_bed_temperature')",
2288                    "minimum_value": "-273.15",
2289                    "minimum_value_warning": "max(build_volume_temperature, max(extruderValues('material_bed_temperature')))",
2290                    "maximum_value_warning": "130",
2291                    "maximum_value": "200",
2292                    "enabled": "machine_heated_bed and machine_gcode_flavor != \"UltiGCode\"",
2293                    "settable_per_mesh": false,
2294                    "settable_per_extruder": false,
2295                    "settable_per_meshgroup": false
2296                },
2297                "material_adhesion_tendency":
2298                {
2299                    "label": "Adhesion Tendency",
2300                    "description": "Surface adhesion tendency.",
2301                    "type": "int",
2302                    "default_value": 10,
2303                    "minimum_value": "0",
2304                    "maximum_value": "10",
2305                    "enabled": false,
2306                    "settable_per_mesh": false,
2307                    "settable_per_extruder": true
2308                },
2309                "material_surface_energy":
2310                {
2311                    "label": "Surface Energy",
2312                    "description": "Surface energy.",
2313                    "unit": "%",
2314                    "type": "int",
2315                    "default_value": 100,
2316                    "minimum_value": "0",
2317                    "maximum_value": "100",
2318                    "enabled": false,
2319                    "settable_per_mesh": false,
2320                    "settable_per_extruder": true
2321                },
2322                "material_shrinkage_percentage":
2323                {
2324                    "label": "Scaling Factor Shrinkage Compensation",
2325                    "description": "To compensate for the shrinkage of the material as it cools down, the model will be scaled with this factor.",
2326                    "unit": "%",
2327                    "type": "float",
2328                    "default_value": 100.0,
2329                    "enabled": false,
2330                    "minimum_value": "0.001",
2331                    "minimum_value_warning": "100",
2332                    "maximum_value_warning": "120",
2333                    "settable_per_mesh": false,
2334                    "settable_per_extruder": false,
2335                    "resolve": "sum(extruderValues(\"material_shrinkage_percentage\")) / len(extruderValues(\"material_shrinkage_percentage\"))"
2336                },
2337                "material_crystallinity":
2338                {
2339                    "label": "Crystalline Material",
2340                    "description": "Is this material the type that breaks off cleanly when heated (crystalline), or is it the type that produces long intertwined polymer chains (non-crystalline)?",
2341                    "type": "bool",
2342                    "default_value": false,
2343                    "enabled": false,
2344                    "settable_per_mesh": false,
2345                    "settable_per_extruder": true
2346                },
2347                "material_anti_ooze_retracted_position":
2348                {
2349                    "label": "Anti-ooze Retracted Position",
2350                    "description": "How far the material needs to be retracted before it stops oozing.",
2351                    "type": "float",
2352                    "unit": "mm",
2353                    "default_value": -4,
2354                    "enabled": false,
2355                    "minimum_value_warning": "-switch_extruder_retraction_amount",
2356                    "maximum_value_warning": "0",
2357                    "settable_per_mesh": false,
2358                    "settable_per_extruder": true
2359                },
2360                "material_anti_ooze_retraction_speed":
2361                {
2362                    "label": "Anti-ooze Retraction Speed",
2363                    "description": "How fast the material needs to be retracted during a filament switch to prevent oozing.",
2364                    "type": "float",
2365                    "unit": "mm/s",
2366                    "default_value": 5,
2367                    "enabled": false,
2368                    "minimum_value": "0",
2369                    "maximum_value": "machine_max_feedrate_e",
2370                    "settable_per_mesh": false,
2371                    "settable_per_extruder": true
2372                },
2373                "material_break_preparation_retracted_position":
2374                {
2375                    "label": "Break Preparation Retracted Position",
2376                    "description": "How far the filament can be stretched before it breaks, while heated.",
2377                    "type": "float",
2378                    "unit": "mm",
2379                    "default_value": -16,
2380                    "enabled": false,
2381                    "minimum_value_warning": "-retraction_amount * 4",
2382                    "maximum_value_warning": "0",
2383                    "settable_per_mesh": false,
2384                    "settable_per_extruder": true
2385                },
2386                "material_break_preparation_speed":
2387                {
2388                    "label": "Break Preparation Retraction Speed",
2389                    "description": "How fast the filament needs to be retracted just before breaking it off in a retraction.",
2390                    "type": "float",
2391                    "unit": "mm/s",
2392                    "default_value": 2,
2393                    "enabled": false,
2394                    "minimum_value": "0",
2395                    "maximum_value": "machine_max_feedrate_e",
2396                    "settable_per_mesh": false,
2397                    "settable_per_extruder": true
2398                },
2399                "material_break_preparation_temperature":
2400                {
2401                    "label": "Break Preparation Temperature",
2402                    "description": "The temperature used to purge material, should be roughly equal to the highest possible printing temperature.",
2403                    "type": "float",
2404                    "unit": "°C",
2405                    "default_value": 50,
2406                    "value": "material_print_temperature",
2407                    "enabled": false,
2408                    "minimum_value": "-273.15",
2409                    "maximum_value_warning": "300",
2410                    "maximum_value": "365",
2411                    "settable_per_mesh": false,
2412                    "settable_per_extruder": true
2413                },
2414                "material_break_retracted_position":
2415                {
2416                    "label": "Break Retracted Position",
2417                    "description": "How far to retract the filament in order to break it cleanly.",
2418                    "type": "float",
2419                    "unit": "mm",
2420                    "default_value": -50,
2421                    "enabled": false,
2422                    "minimum_value_warning": "-100",
2423                    "maximum_value_warning": "0",
2424                    "settable_per_mesh": false,
2425                    "settable_per_extruder": true
2426                },
2427                "material_break_speed":
2428                {
2429                    "label": "Break Retraction Speed",
2430                    "description": "The speed at which to retract the filament in order to break it cleanly.",
2431                    "type": "float",
2432                    "unit": "mm/s",
2433                    "default_value": 25,
2434                    "enabled": false,
2435                    "minimum_value": "0",
2436                    "maximum_value": "machine_max_feedrate_e",
2437                    "settable_per_mesh": false,
2438                    "settable_per_extruder": true
2439                },
2440                "material_break_temperature":
2441                {
2442                    "label": "Break Temperature",
2443                    "description": "The temperature at which the filament is broken for a clean break.",
2444                    "type": "float",
2445                    "unit": "°C",
2446                    "default_value": 50,
2447                    "enabled": false,
2448                    "minimum_value": "-273.15",
2449                    "maximum_value": "365",
2450                    "maximum_value_warning": "300",
2451                    "settable_per_mesh": false,
2452                    "settable_per_extruder": true
2453                },
2454                "material_flush_purge_speed":
2455                {
2456                    "label": "Flush Purge Speed",
2457                    "description": "How fast to prime the material after switching to a different material.",
2458                    "type": "float",
2459                    "default_value": 0.5,
2460                    "enabled": false
2461                },
2462                "material_flush_purge_length":
2463                {
2464                    "label": "Flush Purge Length",
2465                    "description": "How much material to use to purge the previous material out of the nozzle (in length of filament) when switching to a different material.",
2466                    "type": "float",
2467                    "default_value": 60,
2468                    "enabled": false
2469                },
2470                "material_end_of_filament_purge_speed":
2471                {
2472                    "label": "End of Filament Purge Speed",
2473                    "description": "How fast to prime the material after replacing an empty spool with a fresh spool of the same material.",
2474                    "type": "float",
2475                    "default_value": 0.5,
2476                    "enabled": false
2477                },
2478                "material_end_of_filament_purge_length":
2479                {
2480                    "label": "End of Filament Purge Length",
2481                    "description": "How much material to use to purge the previous material out of the nozzle (in length of filament) when replacing an empty spool with a fresh spool of the same material.",
2482                    "type": "float",
2483                    "default_value": 20,
2484                    "enabled": false
2485                },
2486                "material_maximum_park_duration":
2487                {
2488                    "label": "Maximum Park Duration",
2489                    "description": "How long the material can be kept out of dry storage safely.",
2490                    "type": "float",
2491                    "default_value": 300,
2492                    "enabled": false
2493                },
2494                "material_no_load_move_factor":
2495                {
2496                    "label": "No Load Move Factor",
2497                    "description": "A factor indicating how much the filament gets compressed between the feeder and the nozzle chamber, used to determine how far to move the material for a filament switch.",
2498                    "type": "float",
2499                    "default_value": 0.940860215,
2500                    "enabled": false
2501                },
2502                "material_flow":
2503                {
2504                    "label": "Flow",
2505                    "description": "Flow compensation: the amount of material extruded is multiplied by this value.",
2506                    "unit": "%",
2507                    "default_value": 100,
2508                    "type": "float",
2509                    "minimum_value": "5",
2510                    "minimum_value_warning": "50",
2511                    "maximum_value_warning": "150",
2512                    "enabled": "machine_gcode_flavor != \"UltiGCode\"",
2513                    "settable_per_mesh": true,
2514                    "children":
2515                    {
2516                        "wall_material_flow":
2517                        {
2518                            "label": "Wall Flow",
2519                            "description": "Flow compensation on wall lines.",
2520                            "unit": "%",
2521                            "type": "float",
2522                            "default_value": 100,
2523                            "value": "material_flow",
2524                            "minimum_value": "5",
2525                            "minimum_value_warning": "50",
2526                            "maximum_value_warning": "150",
2527                            "limit_to_extruder": "wall_0_extruder_nr if wall_x_extruder_nr == wall_0_extruder_nr else -1",
2528                            "settable_per_mesh": true,
2529                            "children":
2530                            {
2531                                "wall_0_material_flow":
2532                                {
2533                                    "label": "Outer Wall Flow",
2534                                    "description": "Flow compensation on the outermost wall line.",
2535                                    "unit": "%",
2536                                    "type": "float",
2537                                    "default_value": 100,
2538                                    "value": "wall_material_flow",
2539                                    "minimum_value": "5",
2540                                    "minimum_value_warning": "50",
2541                                    "maximum_value_warning": "150",
2542                                    "limit_to_extruder": "wall_0_extruder_nr",
2543                                    "settable_per_mesh": true
2544                                },
2545                                "wall_x_material_flow":
2546                                {
2547                                    "label": "Inner Wall(s) Flow",
2548                                    "description": "Flow compensation on wall lines for all wall lines except the outermost one.",
2549                                    "unit": "%",
2550                                    "type": "float",
2551                                    "default_value": 100,
2552                                    "value": "wall_material_flow",
2553                                    "minimum_value": "5",
2554                                    "minimum_value_warning": "50",
2555                                    "maximum_value_warning": "150",
2556                                    "limit_to_extruder": "wall_x_extruder_nr",
2557                                    "settable_per_mesh": true
2558                                }
2559                            }
2560                        },
2561                        "skin_material_flow":
2562                        {
2563                            "label": "Top/Bottom Flow",
2564                            "description": "Flow compensation on top/bottom lines.",
2565                            "unit": "%",
2566                            "type": "float",
2567                            "default_value": 100,
2568                            "value": "material_flow",
2569                            "minimum_value": "5",
2570                            "minimum_value_warning": "50",
2571                            "maximum_value_warning": "150",
2572                            "enabled": "top_layers > 0 or bottom_layers > 0",
2573                            "limit_to_extruder": "top_bottom_extruder_nr",
2574                            "settable_per_mesh": true
2575                        },
2576                        "roofing_material_flow":
2577                        {
2578                            "label": "Top Surface Skin Flow",
2579                            "description": "Flow compensation on lines of the areas at the top of the print.",
2580                            "unit": "%",
2581                            "type": "float",
2582                            "default_value": 100,
2583                            "value": "skin_material_flow",
2584                            "minimum_value": "5",
2585                            "minimum_value_warning": "50",
2586                            "maximum_value_warning": "150",
2587                            "limit_to_extruder": "roofing_extruder_nr",
2588                            "settable_per_mesh": true,
2589                            "enabled": "roofing_layer_count > 0 and top_layers > 0"
2590                        },
2591                        "infill_material_flow":
2592                        {
2593                            "label": "Infill Flow",
2594                            "description": "Flow compensation on infill lines.",
2595                            "unit": "%",
2596                            "type": "float",
2597                            "default_value": 100,
2598                            "value": "material_flow",
2599                            "minimum_value": "5",
2600                            "minimum_value_warning": "50",
2601                            "maximum_value_warning": "150",
2602                            "enabled": "infill_sparse_density > 0",
2603                            "limit_to_extruder": "infill_extruder_nr",
2604                            "settable_per_mesh": true
2605                        },
2606                        "skirt_brim_material_flow":
2607                        {
2608                            "label": "Skirt/Brim Flow",
2609                            "description": "Flow compensation on skirt or brim lines.",
2610                            "unit": "%",
2611                            "type": "float",
2612                            "default_value": 100,
2613                            "value": "material_flow",
2614                            "minimum_value": "5",
2615                            "minimum_value_warning": "50",
2616                            "maximum_value_warning": "150",
2617                            "enabled": "resolveOrValue('adhesion_type') == 'skirt' or resolveOrValue('adhesion_type') == 'brim'",
2618                            "settable_per_mesh": false,
2619                            "settable_per_extruder": true
2620                        },
2621                        "support_material_flow":
2622                        {
2623                            "label": "Support Flow",
2624                            "description": "Flow compensation on support structure lines.",
2625                            "unit": "%",
2626                            "type": "float",
2627                            "default_value": 100,
2628                            "value": "material_flow",
2629                            "minimum_value": "5",
2630                            "minimum_value_warning": "50",
2631                            "maximum_value_warning": "150",
2632                            "enabled": "support_enable or support_meshes_present",
2633                            "limit_to_extruder": "support_infill_extruder_nr",
2634                            "settable_per_mesh": false,
2635                            "settable_per_extruder": true
2636                        },
2637                        "support_interface_material_flow":
2638                        {
2639                            "label": "Support Interface Flow",
2640                            "description": "Flow compensation on lines of support roof or floor.",
2641                            "unit": "%",
2642                            "type": "float",
2643                            "default_value": 100,
2644                            "value": "material_flow",
2645                            "minimum_value": "5",
2646                            "minimum_value_warning": "50",
2647                            "maximum_value_warning": "150",
2648                            "enabled": "(support_enable or support_meshes_present) and support_interface_enable",
2649                            "limit_to_extruder": "support_interface_extruder_nr",
2650                            "settable_per_mesh": false,
2651                            "settable_per_extruder": true,
2652                            "children":
2653                            {
2654                                "support_roof_material_flow":
2655                                {
2656                                    "label": "Support Roof Flow",
2657                                    "description": "Flow compensation on support roof lines.",
2658                                    "unit": "%",
2659                                    "type": "float",
2660                                    "default_value": 100,
2661                                    "value": "extruderValue(support_roof_extruder_nr, 'support_interface_material_flow')",
2662                                    "minimum_value": "5",
2663                                    "minimum_value_warning": "50",
2664                                    "maximum_value_warning": "150",
2665                                    "enabled": "(support_enable or support_meshes_present) and support_roof_enable",
2666                                    "limit_to_extruder": "support_roof_extruder_nr",
2667                                    "settable_per_mesh": false,
2668                                    "settable_per_extruder": true
2669                                },
2670                                "support_bottom_material_flow":
2671                                {
2672                                    "label": "Support Floor Flow",
2673                                    "description": "Flow compensation on support floor lines.",
2674                                    "unit": "%",
2675                                    "type": "float",
2676                                    "default_value": 100,
2677                                    "value": "extruderValue(support_bottom_extruder_nr, 'support_interface_material_flow')",
2678                                    "minimum_value": "5",
2679                                    "minimum_value_warning": "50",
2680                                    "maximum_value_warning": "150",
2681                                    "enabled": "(support_enable or support_meshes_present) and support_bottom_enable",
2682                                    "limit_to_extruder": "support_bottom_extruder_nr",
2683                                    "settable_per_mesh": false,
2684                                    "settable_per_extruder": true
2685                                }
2686                            }
2687                        },
2688                        "prime_tower_flow":
2689                        {
2690                            "label": "Prime Tower Flow",
2691                            "description": "Flow compensation on prime tower lines.",
2692                            "unit": "%",
2693                            "type": "float",
2694                            "default_value": 100,
2695                            "value": "material_flow",
2696                            "minimum_value": "5",
2697                            "minimum_value_warning": "50",
2698                            "maximum_value_warning": "150",
2699                            "settable_per_mesh": false,
2700                            "settable_per_extruder": true
2701                        }
2702                    }
2703                },
2704                "material_flow_layer_0":
2705                {
2706                    "label": "Initial Layer Flow",
2707                    "description": "Flow compensation for the first layer: the amount of material extruded on the initial layer is multiplied by this value.",
2708                    "unit": "%",
2709                    "default_value": 100,
2710                    "type": "float",
2711                    "minimum_value": "0.0001",
2712                    "minimum_value_warning": "50",
2713                    "maximum_value_warning": "150",
2714                    "settable_per_mesh": true
2715                },
2716                "material_standby_temperature":
2717                {
2718                    "label": "Standby Temperature",
2719                    "description": "The temperature of the nozzle when another nozzle is currently used for printing.",
2720                    "type": "float",
2721                    "unit": "°C",
2722                    "default_value": 150,
2723                    "minimum_value": "-273.15",
2724                    "minimum_value_warning": "0",
2725                    "maximum_value_warning": "260",
2726                    "maximum_value": "365",
2727                    "enabled": "extruders_enabled_count > 1 and machine_nozzle_temp_enabled",
2728                    "settable_per_mesh": false,
2729                    "settable_per_extruder": true
2730                }
2731            }
2732        },
2733        "speed":
2734        {
2735            "label": "Speed",
2736            "icon": "category_speed",
2737            "description": "Speed",
2738            "type": "category",
2739            "children":
2740            {
2741                "speed_print":
2742                {
2743                    "label": "Print Speed",
2744                    "description": "The speed at which printing happens.",
2745                    "unit": "mm/s",
2746                    "type": "float",
2747                    "minimum_value": "0.1",
2748                    "maximum_value_warning": "150",
2749                    "maximum_value": "math.sqrt(machine_max_feedrate_x ** 2 + machine_max_feedrate_y ** 2)",
2750                    "default_value": 60,
2751                    "settable_per_mesh": true,
2752                    "children":
2753                    {
2754                        "speed_infill":
2755                        {
2756                            "label": "Infill Speed",
2757                            "description": "The speed at which infill is printed.",
2758                            "unit": "mm/s",
2759                            "type": "float",
2760                            "minimum_value": "0.1",
2761                            "maximum_value": "math.sqrt(machine_max_feedrate_x ** 2 + machine_max_feedrate_y ** 2)",
2762                            "maximum_value_warning": "150",
2763                            "default_value": 60,
2764                            "value": "speed_print",
2765                            "enabled": "infill_sparse_density > 0",
2766                            "limit_to_extruder": "infill_extruder_nr",
2767                            "settable_per_mesh": true
2768                        },
2769                        "speed_wall":
2770                        {
2771                            "label": "Wall Speed",
2772                            "description": "The speed at which the walls are printed.",
2773                            "unit": "mm/s",
2774                            "type": "float",
2775                            "minimum_value": "0.1",
2776                            "maximum_value": "math.sqrt(machine_max_feedrate_x ** 2 + machine_max_feedrate_y ** 2)",
2777                            "maximum_value_warning": "150",
2778                            "default_value": 30,
2779                            "value": "speed_print / 2",
2780                            "settable_per_mesh": true,
2781                            "children":
2782                            {
2783                                "speed_wall_0":
2784                                {
2785                                    "label": "Outer Wall Speed",
2786                                    "description": "The speed at which the outermost walls are printed. Printing the outer wall at a lower speed improves the final skin quality. However, having a large difference between the inner wall speed and the outer wall speed will affect quality in a negative way.",
2787                                    "unit": "mm/s",
2788                                    "type": "float",
2789                                    "minimum_value": "0.1",
2790                                    "maximum_value": "math.sqrt(machine_max_feedrate_x ** 2 + machine_max_feedrate_y ** 2)",
2791                                    "maximum_value_warning": "150",
2792                                    "default_value": 30,
2793                                    "value": "speed_wall",
2794                                    "limit_to_extruder": "wall_0_extruder_nr",
2795                                    "settable_per_mesh": true
2796                                },
2797                                "speed_wall_x":
2798                                {
2799                                    "label": "Inner Wall Speed",
2800                                    "description": "The speed at which all inner walls are printed. Printing the inner wall faster than the outer wall will reduce printing time. It works well to set this in between the outer wall speed and the infill speed.",
2801                                    "unit": "mm/s",
2802                                    "type": "float",
2803                                    "minimum_value": "0.1",
2804                                    "maximum_value": "math.sqrt(machine_max_feedrate_x ** 2 + machine_max_feedrate_y ** 2)",
2805                                    "maximum_value_warning": "150",
2806                                    "default_value": 60,
2807                                    "value": "speed_wall * 2",
2808                                    "limit_to_extruder": "wall_x_extruder_nr",
2809                                    "settable_per_mesh": true
2810                                }
2811                            }
2812                        },
2813                        "speed_roofing":
2814                        {
2815                            "label": "Top Surface Skin Speed",
2816                            "description": "The speed at which top surface skin layers are printed.",
2817                            "unit": "mm/s",
2818                            "type": "float",
2819                            "minimum_value": "0.1",
2820                            "maximum_value": "math.sqrt(machine_max_feedrate_x ** 2 + machine_max_feedrate_y ** 2)",
2821                            "maximum_value_warning": "150",
2822                            "default_value": 25,
2823                            "value": "speed_topbottom",
2824                            "limit_to_extruder": "roofing_extruder_nr",
2825                            "settable_per_mesh": true,
2826                            "enabled": "roofing_layer_count > 0 and top_layers > 0"
2827                        },
2828                        "speed_topbottom":
2829                        {
2830                            "label": "Top/Bottom Speed",
2831                            "description": "The speed at which top/bottom layers are printed.",
2832                            "unit": "mm/s",
2833                            "type": "float",
2834                            "minimum_value": "0.1",
2835                            "maximum_value": "math.sqrt(machine_max_feedrate_x ** 2 + machine_max_feedrate_y ** 2)",
2836                            "maximum_value_warning": "150",
2837                            "default_value": 30,
2838                            "value": "speed_print / 2",
2839                            "limit_to_extruder": "top_bottom_extruder_nr",
2840                            "enabled": "top_layers > 0 or bottom_layers > 0",
2841                            "settable_per_mesh": true
2842                        },
2843                        "speed_support":
2844                        {
2845                            "label": "Support Speed",
2846                            "description": "The speed at which the support structure is printed. Printing support at higher speeds can greatly reduce printing time. The surface quality of the support structure is not important since it is removed after printing.",
2847                            "unit": "mm/s",
2848                            "type": "float",
2849                            "minimum_value": "0.1",
2850                            "maximum_value": "math.sqrt(machine_max_feedrate_x ** 2 + machine_max_feedrate_y ** 2)",
2851                            "maximum_value_warning": "150",
2852                            "default_value": 60,
2853                            "value": "speed_print",
2854                            "enabled": "support_enable or support_meshes_present",
2855                            "settable_per_mesh": false,
2856                            "limit_to_extruder": "support_extruder_nr",
2857                            "settable_per_extruder": true,
2858                            "children":
2859                            {
2860                                "speed_support_infill":
2861                                {
2862                                    "label": "Support Infill Speed",
2863                                    "description": "The speed at which the infill of support is printed. Printing the infill at lower speeds improves stability.",
2864                                    "unit": "mm/s",
2865                                    "type": "float",
2866                                    "default_value": 60,
2867                                    "minimum_value": "0.1",
2868                                    "maximum_value": "math.sqrt(machine_max_feedrate_x ** 2 + machine_max_feedrate_y ** 2)",
2869                                    "maximum_value_warning": "150",
2870                                    "value": "speed_support",
2871                                    "enabled": "support_enable or support_meshes_present",
2872                                    "limit_to_extruder": "support_infill_extruder_nr",
2873                                    "settable_per_mesh": false,
2874                                    "settable_per_extruder": true
2875                                },
2876                                "speed_support_interface":
2877                                {
2878                                    "label": "Support Interface Speed",
2879                                    "description": "The speed at which the roofs and floors of support are printed. Printing them at lower speeds can improve overhang quality.",
2880                                    "unit": "mm/s",
2881                                    "type": "float",
2882                                    "default_value": 40,
2883                                    "minimum_value": "0.1",
2884                                    "maximum_value": "math.sqrt(machine_max_feedrate_x ** 2 + machine_max_feedrate_y ** 2)",
2885                                    "maximum_value_warning": "150",
2886                                    "enabled": "support_interface_enable and (support_enable or support_meshes_present)",
2887                                    "limit_to_extruder": "support_interface_extruder_nr",
2888                                    "value": "speed_support / 1.5",
2889                                    "settable_per_mesh": false,
2890                                    "settable_per_extruder": true,
2891                                    "children":
2892                                    {
2893                                        "speed_support_roof":
2894                                        {
2895                                            "label": "Support Roof Speed",
2896                                            "description": "The speed at which the roofs of support are printed. Printing them at lower speeds can improve overhang quality.",
2897                                            "unit": "mm/s",
2898                                            "type": "float",
2899                                            "default_value": 40,
2900                                            "minimum_value": "0.1",
2901                                            "maximum_value": "math.sqrt(machine_max_feedrate_x ** 2 + machine_max_feedrate_y ** 2)",
2902                                            "maximum_value_warning": "150",
2903                                            "enabled": "support_roof_enable and (support_enable or support_meshes_present)",
2904                                            "limit_to_extruder": "support_roof_extruder_nr",
2905                                            "value": "extruderValue(support_roof_extruder_nr, 'speed_support_interface')",
2906                                            "settable_per_mesh": false,
2907                                            "settable_per_extruder": true
2908                                        },
2909                                        "speed_support_bottom":
2910                                        {
2911                                            "label": "Support Floor Speed",
2912                                            "description": "The speed at which the floor of support is printed. Printing it at lower speed can improve adhesion of support on top of your model.",
2913                                            "unit": "mm/s",
2914                                            "type": "float",
2915                                            "default_value": 40,
2916                                            "minimum_value": "0.1",
2917                                            "maximum_value": "math.sqrt(machine_max_feedrate_x ** 2 + machine_max_feedrate_y ** 2)",
2918                                            "maximum_value_warning": "150",
2919                                            "enabled": "support_bottom_enable and (support_enable or support_meshes_present)",
2920                                            "limit_to_extruder": "support_bottom_extruder_nr",
2921                                            "value": "extruderValue(support_bottom_extruder_nr, 'speed_support_interface')",
2922                                            "settable_per_mesh": false,
2923                                            "settable_per_extruder": true
2924                                        }
2925                                    }
2926                                }
2927                            }
2928                        },
2929                        "speed_prime_tower":
2930                        {
2931                            "label": "Prime Tower Speed",
2932                            "description": "The speed at which the prime tower is printed. Printing the prime tower slower can make it more stable when the adhesion between the different filaments is suboptimal.",
2933                            "type": "float",
2934                            "unit": "mm/s",
2935                            "enabled": "resolveOrValue('prime_tower_enable')",
2936                            "default_value": 60,
2937                            "value": "speed_print",
2938                            "minimum_value": "0.1",
2939                            "maximum_value": "math.sqrt(machine_max_feedrate_x ** 2 + machine_max_feedrate_y ** 2)",
2940                            "maximum_value_warning": "150",
2941                            "settable_per_mesh": false,
2942                            "settable_per_extruder": true
2943                        }
2944                    }
2945                },
2946                "speed_travel":
2947                {
2948                    "label": "Travel Speed",
2949                    "description": "The speed at which travel moves are made.",
2950                    "unit": "mm/s",
2951                    "type": "float",
2952                    "default_value": 120,
2953                    "minimum_value": "0.1",
2954                    "maximum_value": "math.sqrt(machine_max_feedrate_x ** 2 + machine_max_feedrate_y ** 2)",
2955                    "maximum_value_warning": "300",
2956                    "value": "speed_print if magic_spiralize else 120",
2957                    "settable_per_mesh": false,
2958                    "settable_per_extruder": true
2959                },
2960                "speed_layer_0":
2961                {
2962                    "label": "Initial Layer Speed",
2963                    "description": "The speed for the initial layer. A lower value is advised to improve adhesion to the build plate.",
2964                    "unit": "mm/s",
2965                    "type": "float",
2966                    "default_value": 30,
2967                    "value": "speed_print * 30 / 60",
2968                    "minimum_value": "0.1",
2969                    "maximum_value": "math.sqrt(machine_max_feedrate_x ** 2 + machine_max_feedrate_y ** 2)",
2970                    "maximum_value_warning": "300",
2971                    "settable_per_mesh": true,
2972                    "children":
2973                    {
2974                        "speed_print_layer_0":
2975                        {
2976                            "label": "Initial Layer Print Speed",
2977                            "description": "The speed of printing for the initial layer. A lower value is advised to improve adhesion to the build plate.",
2978                            "unit": "mm/s",
2979                            "type": "float",
2980                            "default_value": 30,
2981                            "value": "speed_layer_0",
2982                            "minimum_value": "0.1",
2983                            "maximum_value": "math.sqrt(machine_max_feedrate_x ** 2 + machine_max_feedrate_y ** 2)",
2984                            "maximum_value_warning": "300",
2985                            "settable_per_mesh": true
2986                        },
2987                        "speed_travel_layer_0":
2988                        {
2989                            "label": "Initial Layer Travel Speed",
2990                            "description": "The speed of travel moves in the initial layer. A lower value is advised to prevent pulling previously printed parts away from the build plate. The value of this setting can automatically be calculated from the ratio between the Travel Speed and the Print Speed.",
2991                            "unit": "mm/s",
2992                            "type": "float",
2993                            "default_value": 60,
2994                            "value": "speed_layer_0 * speed_travel / speed_print",
2995                            "minimum_value": "0.1",
2996                            "maximum_value": "math.sqrt(machine_max_feedrate_x ** 2 + machine_max_feedrate_y ** 2)",
2997                            "maximum_value_warning": "300",
2998                            "settable_per_extruder": true,
2999                            "settable_per_mesh": false
3000                        }
3001                    }
3002                },
3003                "skirt_brim_speed":
3004                {
3005                    "label": "Skirt/Brim Speed",
3006                    "description": "The speed at which the skirt and brim are printed. Normally this is done at the initial layer speed, but sometimes you might want to print the skirt or brim at a different speed.",
3007                    "unit": "mm/s",
3008                    "type": "float",
3009                    "default_value": 30,
3010                    "minimum_value": "0.1",
3011                    "maximum_value": "math.sqrt(machine_max_feedrate_x ** 2 + machine_max_feedrate_y ** 2)",
3012                    "maximum_value_warning": "300",
3013                    "value": "speed_layer_0",
3014                    "enabled": "resolveOrValue('adhesion_type') == 'skirt' or resolveOrValue('adhesion_type') == 'brim' or resolveOrValue('draft_shield_enabled') or resolveOrValue('ooze_shield_enabled')",
3015                    "settable_per_mesh": false,
3016                    "settable_per_extruder": true,
3017                    "limit_to_extruder": "adhesion_extruder_nr"
3018                },
3019                "speed_z_hop":
3020                {
3021                    "label": "Z Hop Speed",
3022                    "description": "The speed at which the vertical Z movement is made for Z Hops. This is typically lower than the print speed since the build plate or machine's gantry is harder to move.",
3023                    "unit": "mm/s",
3024                    "type": "float",
3025                    "default_value": 10,
3026                    "minimum_value": "0",
3027                    "maximum_value": "machine_max_feedrate_z",
3028                    "enabled": "retraction_enable and retraction_hop_enabled",
3029                    "settable_per_mesh": false,
3030                    "settable_per_extruder": true
3031                },
3032                "speed_slowdown_layers":
3033                {
3034                    "label": "Number of Slower Layers",
3035                    "description": "The first few layers are printed slower than the rest of the model, to get better adhesion to the build plate and improve the overall success rate of prints. The speed is gradually increased over these layers.",
3036                    "type": "int",
3037                    "default_value": 2,
3038                    "resolve": "round(sum(extruderValues('speed_slowdown_layers')) / len(extruderValues('speed_slowdown_layers')))",
3039                    "minimum_value": "0",
3040                    "maximum_value_warning": "3.2 / resolveOrValue('layer_height')",
3041                    "settable_per_mesh": false,
3042                    "settable_per_extruder": false
3043                },
3044                "speed_equalize_flow_enabled":
3045                {
3046                    "label": "Equalize Filament Flow",
3047                    "description": "Print thinner than normal lines faster so that the amount of material extruded per second remains the same. Thin pieces in your model might require lines printed with smaller line width than provided in the settings. This setting controls the speed changes for such lines.",
3048                    "type": "bool",
3049                    "default_value": false,
3050                    "settable_per_mesh": false,
3051                    "settable_per_extruder": true
3052                },
3053                "speed_equalize_flow_max":
3054                {
3055                    "label": "Maximum Speed for Flow Equalization",
3056                    "description": "Maximum print speed when adjusting the print speed in order to equalize flow.",
3057                    "type": "float",
3058                    "unit": "mm/s",
3059                    "enabled": "speed_equalize_flow_enabled",
3060                    "default_value": 150,
3061                    "minimum_value": "0.1",
3062                    "maximum_value": "math.sqrt(machine_max_feedrate_x ** 2 + machine_max_feedrate_y ** 2)",
3063                    "maximum_value_warning": "150",
3064                    "settable_per_mesh": false,
3065                    "settable_per_extruder": true
3066                },
3067                "acceleration_enabled":
3068                {
3069                    "label": "Enable Acceleration Control",
3070                    "description": "Enables adjusting the print head acceleration. Increasing the accelerations can reduce printing time at the cost of print quality.",
3071                    "type": "bool",
3072                    "default_value": false,
3073                    "resolve": "any(extruderValues('acceleration_enabled'))",
3074                    "settable_per_mesh": false,
3075                    "settable_per_extruder": false
3076                },
3077                "acceleration_print":
3078                {
3079                    "label": "Print Acceleration",
3080                    "description": "The acceleration with which printing happens.",
3081                    "unit": "mm/s²",
3082                    "type": "float",
3083                    "minimum_value": "0.1",
3084                    "minimum_value_warning": "100",
3085                    "maximum_value_warning": "10000",
3086                    "default_value": 3000,
3087                    "enabled": "resolveOrValue('acceleration_enabled')",
3088                    "settable_per_mesh": true,
3089                    "children":
3090                    {
3091                        "acceleration_infill":
3092                        {
3093                            "label": "Infill Acceleration",
3094                            "description": "The acceleration with which infill is printed.",
3095                            "unit": "mm/s²",
3096                            "type": "float",
3097                            "minimum_value": "0.1",
3098                            "minimum_value_warning": "100",
3099                            "maximum_value_warning": "10000",
3100                            "default_value": 3000,
3101                            "value": "acceleration_print",
3102                            "enabled": "resolveOrValue('acceleration_enabled') and infill_sparse_density > 0",
3103                            "limit_to_extruder": "infill_extruder_nr",
3104                            "settable_per_mesh": true
3105                        },
3106                        "acceleration_wall":
3107                        {
3108                            "label": "Wall Acceleration",
3109                            "description": "The acceleration with which the walls are printed.",
3110                            "unit": "mm/s²",
3111                            "type": "float",
3112                            "minimum_value": "0.1",
3113                            "minimum_value_warning": "100",
3114                            "maximum_value_warning": "10000",
3115                            "default_value": 3000,
3116                            "value": "acceleration_print",
3117                            "enabled": "resolveOrValue('acceleration_enabled')",
3118                            "settable_per_mesh": true,
3119                            "children":
3120                            {
3121                                "acceleration_wall_0":
3122                                {
3123                                    "label": "Outer Wall Acceleration",
3124                                    "description": "The acceleration with which the outermost walls are printed.",
3125                                    "unit": "mm/s²",
3126                                    "type": "float",
3127                                    "minimum_value": "0.1",
3128                                    "minimum_value_warning": "100",
3129                                    "maximum_value_warning": "10000",
3130                                    "default_value": 3000,
3131                                    "value": "acceleration_wall",
3132                                    "enabled": "resolveOrValue('acceleration_enabled')",
3133                                    "limit_to_extruder": "wall_0_extruder_nr",
3134                                    "settable_per_mesh": true
3135                                },
3136                                "acceleration_wall_x":
3137                                {
3138                                    "label": "Inner Wall Acceleration",
3139                                    "description": "The acceleration with which all inner walls are printed.",
3140                                    "unit": "mm/s²",
3141                                    "type": "float",
3142                                    "minimum_value": "0.1",
3143                                    "minimum_value_warning": "100",
3144                                    "maximum_value_warning": "10000",
3145                                    "default_value": 3000,
3146                                    "value": "acceleration_wall",
3147                                    "enabled": "resolveOrValue('acceleration_enabled')",
3148                                    "limit_to_extruder": "wall_x_extruder_nr",
3149                                    "settable_per_mesh": true
3150                                }
3151                            }
3152                        },
3153                        "acceleration_roofing":
3154                        {
3155                            "label": "Top Surface Skin Acceleration",
3156                            "description": "The acceleration with which top surface skin layers are printed.",
3157                            "unit": "mm/s²",
3158                            "type": "float",
3159                            "minimum_value": "0.1",
3160                            "minimum_value_warning": "100",
3161                            "maximum_value_warning": "10000",
3162                            "default_value": 3000,
3163                            "value": "acceleration_topbottom",
3164                            "enabled": "resolveOrValue('acceleration_enabled') and roofing_layer_count > 0 and top_layers > 0",
3165                            "limit_to_extruder": "roofing_extruder_nr",
3166                            "settable_per_mesh": true
3167                        },
3168                        "acceleration_topbottom":
3169                        {
3170                            "label": "Top/Bottom Acceleration",
3171                            "description": "The acceleration with which top/bottom layers are printed.",
3172                            "unit": "mm/s²",
3173                            "type": "float",
3174                            "minimum_value": "0.1",
3175                            "minimum_value_warning": "100",
3176                            "maximum_value_warning": "10000",
3177                            "default_value": 3000,
3178                            "value": "acceleration_print",
3179                            "enabled": "resolveOrValue('acceleration_enabled')",
3180                            "limit_to_extruder": "top_bottom_extruder_nr",
3181                            "settable_per_mesh": true
3182                        },
3183                        "acceleration_support":
3184                        {
3185                            "label": "Support Acceleration",
3186                            "description": "The acceleration with which the support structure is printed.",
3187                            "unit": "mm/s²",
3188                            "type": "float",
3189                            "minimum_value": "0.1",
3190                            "minimum_value_warning": "100",
3191                            "maximum_value_warning": "10000",
3192                            "default_value": 3000,
3193                            "value": "acceleration_print",
3194                            "enabled": "resolveOrValue('acceleration_enabled') and (support_enable or support_meshes_present)",
3195                            "settable_per_mesh": false,
3196                            "limit_to_extruder": "support_extruder_nr",
3197                            "settable_per_extruder": true,
3198                            "children":
3199                            {
3200                                "acceleration_support_infill":
3201                                {
3202                                    "label": "Support Infill Acceleration",
3203                                    "description": "The acceleration with which the infill of support is printed.",
3204                                    "unit": "mm/s²",
3205                                    "type": "float",
3206                                    "default_value": 3000,
3207                                    "value": "acceleration_support",
3208                                    "minimum_value": "0.1",
3209                                    "minimum_value_warning": "100",
3210                                    "maximum_value_warning": "10000",
3211                                    "enabled": "resolveOrValue('acceleration_enabled') and (support_enable or support_meshes_present)",
3212                                    "limit_to_extruder": "support_infill_extruder_nr",
3213                                    "settable_per_mesh": false,
3214                                    "settable_per_extruder": true
3215                                },
3216                                "acceleration_support_interface":
3217                                {
3218                                    "label": "Support Interface Acceleration",
3219                                    "description": "The acceleration with which the roofs and floors of support are printed. Printing them at lower acceleration can improve overhang quality.",
3220                                    "unit": "mm/s²",
3221                                    "type": "float",
3222                                    "default_value": 3000,
3223                                    "value": "acceleration_support",
3224                                    "minimum_value": "0.1",
3225                                    "minimum_value_warning": "100",
3226                                    "maximum_value_warning": "10000",
3227                                    "enabled": "resolveOrValue('acceleration_enabled') and support_interface_enable and (support_enable or support_meshes_present)",
3228                                    "limit_to_extruder": "support_interface_extruder_nr",
3229                                    "settable_per_mesh": false,
3230                                    "settable_per_extruder": true,
3231                                    "children":
3232                                    {
3233                                        "acceleration_support_roof":
3234                                        {
3235                                            "label": "Support Roof Acceleration",
3236                                            "description": "The acceleration with which the roofs of support are printed. Printing them at lower acceleration can improve overhang quality.",
3237                                            "unit": "mm/s²",
3238                                            "type": "float",
3239                                            "default_value": 3000,
3240                                            "value": "extruderValue(support_roof_extruder_nr, 'acceleration_support_interface')",
3241                                            "minimum_value": "0.1",
3242                                            "minimum_value_warning": "100",
3243                                            "maximum_value_warning": "10000",
3244                                            "enabled": "acceleration_enabled and support_roof_enable and (support_enable or support_meshes_present)",
3245                                            "limit_to_extruder": "support_roof_extruder_nr",
3246                                            "settable_per_mesh": false,
3247                                            "settable_per_extruder": true
3248                                        },
3249                                        "acceleration_support_bottom":
3250                                        {
3251                                            "label": "Support Floor Acceleration",
3252                                            "description": "The acceleration with which the floors of support are printed. Printing them at lower acceleration can improve adhesion of support on top of your model.",
3253                                            "unit": "mm/s²",
3254                                            "type": "float",
3255                                            "default_value": 3000,
3256                                            "value": "extruderValue(support_bottom_extruder_nr, 'acceleration_support_interface')",
3257                                            "minimum_value": "0.1",
3258                                            "minimum_value_warning": "100",
3259                                            "maximum_value_warning": "10000",
3260                                            "enabled": "acceleration_enabled and support_bottom_enable and (support_enable or support_meshes_present)",
3261                                            "limit_to_extruder": "support_bottom_extruder_nr",
3262                                            "settable_per_mesh": false,
3263                                            "settable_per_extruder": true
3264                                        }
3265                                    }
3266                                }
3267                            }
3268                        },
3269                        "acceleration_prime_tower":
3270                        {
3271                            "label": "Prime Tower Acceleration",
3272                            "description": "The acceleration with which the prime tower is printed.",
3273                            "unit": "mm/s²",
3274                            "type": "float",
3275                            "minimum_value": "0.1",
3276                            "minimum_value_warning": "100",
3277                            "maximum_value_warning": "10000",
3278                            "default_value": 3000,
3279                            "value": "acceleration_print",
3280                            "enabled": "resolveOrValue('prime_tower_enable') and resolveOrValue('acceleration_enabled')",
3281                            "settable_per_mesh": false
3282                        }
3283                    }
3284                },
3285                "acceleration_travel":
3286                {
3287                    "label": "Travel Acceleration",
3288                    "description": "The acceleration with which travel moves are made.",
3289                    "unit": "mm/s²",
3290                    "type": "float",
3291                    "default_value": 5000,
3292                    "minimum_value": "0.1",
3293                    "minimum_value_warning": "100",
3294                    "maximum_value_warning": "10000",
3295                    "value": "acceleration_print if magic_spiralize else 5000",
3296                    "enabled": "resolveOrValue('acceleration_enabled')",
3297                    "settable_per_mesh": false
3298                },
3299                "acceleration_layer_0":
3300                {
3301                    "label": "Initial Layer Acceleration",
3302                    "description": "The acceleration for the initial layer.",
3303                    "unit": "mm/s²",
3304                    "type": "float",
3305                    "default_value": 3000,
3306                    "value": "acceleration_print",
3307                    "minimum_value": "0.1",
3308                    "minimum_value_warning": "100",
3309                    "maximum_value_warning": "10000",
3310                    "enabled": "resolveOrValue('acceleration_enabled')",
3311                    "settable_per_mesh": true,
3312                    "children":
3313                    {
3314                        "acceleration_print_layer_0":
3315                        {
3316                            "label": "Initial Layer Print Acceleration",
3317                            "description": "The acceleration during the printing of the initial layer.",
3318                            "unit": "mm/s²",
3319                            "type": "float",
3320                            "default_value": 3000,
3321                            "value": "acceleration_layer_0",
3322                            "minimum_value": "0.1",
3323                            "minimum_value_warning": "100",
3324                            "maximum_value_warning": "10000",
3325                            "enabled": "resolveOrValue('acceleration_enabled')",
3326                            "settable_per_mesh": true
3327                        },
3328                        "acceleration_travel_layer_0":
3329                        {
3330                            "label": "Initial Layer Travel Acceleration",
3331                            "description": "The acceleration for travel moves in the initial layer.",
3332                            "unit": "mm/s²",
3333                            "type": "float",
3334                            "default_value": 3000,
3335                            "value": "acceleration_layer_0 * acceleration_travel / acceleration_print",
3336                            "minimum_value": "0.1",
3337                            "minimum_value_warning": "100",
3338                            "maximum_value_warning": "10000",
3339                            "enabled": "resolveOrValue('acceleration_enabled')",
3340                            "settable_per_extruder": true,
3341                            "settable_per_mesh": false
3342                        }
3343                    }
3344                },
3345                "acceleration_skirt_brim":
3346                {
3347                    "label": "Skirt/Brim Acceleration",
3348                    "description": "The acceleration with which the skirt and brim are printed. Normally this is done with the initial layer acceleration, but sometimes you might want to print the skirt or brim at a different acceleration.",
3349                    "unit": "mm/s²",
3350                    "type": "float",
3351                    "default_value": 3000,
3352                    "value": "acceleration_layer_0",
3353                    "minimum_value": "0.1",
3354                    "minimum_value_warning": "100",
3355                    "maximum_value_warning": "10000",
3356                    "enabled": "resolveOrValue('acceleration_enabled') and (resolveOrValue('adhesion_type') == 'skirt' or resolveOrValue('adhesion_type') == 'brim' or resolveOrValue('draft_shield_enabled') or resolveOrValue('ooze_shield_enabled'))",
3357                    "settable_per_mesh": false,
3358                    "limit_to_extruder": "adhesion_extruder_nr"
3359                },
3360                "jerk_enabled":
3361                {
3362                    "label": "Enable Jerk Control",
3363                    "description": "Enables adjusting the jerk of print head when the velocity in the X or Y axis changes. Increasing the jerk can reduce printing time at the cost of print quality.",
3364                    "type": "bool",
3365                    "default_value": false,
3366                    "resolve": "any(extruderValues('jerk_enabled'))",
3367                    "settable_per_mesh": false,
3368                    "settable_per_extruder": false
3369                },
3370                "jerk_print":
3371                {
3372                    "label": "Print Jerk",
3373                    "description": "The maximum instantaneous velocity change of the print head.",
3374                    "unit": "mm/s",
3375                    "type": "float",
3376                    "minimum_value": "0",
3377                    "maximum_value_warning": "50",
3378                    "default_value": 20,
3379                    "enabled": "resolveOrValue('jerk_enabled')",
3380                    "settable_per_mesh": true,
3381                    "children":
3382                    {
3383                        "jerk_infill":
3384                        {
3385                            "label": "Infill Jerk",
3386                            "description": "The maximum instantaneous velocity change with which infill is printed.",
3387                            "unit": "mm/s",
3388                            "type": "float",
3389                            "minimum_value": "0",
3390                            "maximum_value_warning": "50",
3391                            "default_value": 20,
3392                            "value": "jerk_print",
3393                            "enabled": "resolveOrValue('jerk_enabled') and infill_sparse_density > 0",
3394                            "limit_to_extruder": "infill_extruder_nr",
3395                            "settable_per_mesh": true
3396                        },
3397                        "jerk_wall":
3398                        {
3399                            "label": "Wall Jerk",
3400                            "description": "The maximum instantaneous velocity change with which the walls are printed.",
3401                            "unit": "mm/s",
3402                            "type": "float",
3403                            "minimum_value": "0",
3404                            "maximum_value_warning": "50",
3405                            "default_value": 20,
3406                            "value": "jerk_print",
3407                            "enabled": "resolveOrValue('jerk_enabled')",
3408                            "settable_per_mesh": true,
3409                            "children":
3410                            {
3411                                "jerk_wall_0":
3412                                {
3413                                    "label": "Outer Wall Jerk",
3414                                    "description": "The maximum instantaneous velocity change with which the outermost walls are printed.",
3415                                    "unit": "mm/s",
3416                                    "type": "float",
3417                                    "minimum_value": "0",
3418                                    "maximum_value_warning": "50",
3419                                    "default_value": 20,
3420                                    "value": "jerk_wall",
3421                                    "enabled": "resolveOrValue('jerk_enabled')",
3422                                    "limit_to_extruder": "wall_0_extruder_nr",
3423                                    "settable_per_mesh": true
3424                                },
3425                                "jerk_wall_x":
3426                                {
3427                                    "label": "Inner Wall Jerk",
3428                                    "description": "The maximum instantaneous velocity change with which all inner walls are printed.",
3429                                    "unit": "mm/s",
3430                                    "type": "float",
3431                                    "minimum_value": "0",
3432                                    "maximum_value_warning": "50",
3433                                    "default_value": 20,
3434                                    "value": "jerk_wall",
3435                                    "enabled": "resolveOrValue('jerk_enabled')",
3436                                    "limit_to_extruder": "wall_x_extruder_nr",
3437                                    "settable_per_mesh": true
3438                                }
3439                            }
3440                        },
3441                        "jerk_roofing":
3442                        {
3443                            "label": "Top Surface Skin Jerk",
3444                            "description": "The maximum instantaneous velocity change with which top surface skin layers are printed.",
3445                            "unit": "mm/s",
3446                            "type": "float",
3447                            "minimum_value": "0",
3448                            "maximum_value_warning": "50",
3449                            "default_value": 20,
3450                            "value": "jerk_topbottom",
3451                            "enabled": "resolveOrValue('jerk_enabled') and roofing_layer_count > 0 and top_layers > 0",
3452                            "limit_to_extruder": "roofing_extruder_nr",
3453                            "settable_per_mesh": true
3454                        },
3455                        "jerk_topbottom":
3456                        {
3457                            "label": "Top/Bottom Jerk",
3458                            "description": "The maximum instantaneous velocity change with which top/bottom layers are printed.",
3459                            "unit": "mm/s",
3460                            "type": "float",
3461                            "minimum_value": "0",
3462                            "maximum_value_warning": "50",
3463                            "default_value": 20,
3464                            "value": "jerk_print",
3465                            "enabled": "(top_layers > 0 or bottom_layers > 0) and resolveOrValue('jerk_enabled')",
3466                            "limit_to_extruder": "top_bottom_extruder_nr",
3467                            "settable_per_mesh": true
3468                        },
3469                        "jerk_support":
3470                        {
3471                            "label": "Support Jerk",
3472                            "description": "The maximum instantaneous velocity change with which the support structure is printed.",
3473                            "unit": "mm/s",
3474                            "type": "float",
3475                            "minimum_value": "0",
3476                            "maximum_value_warning": "50",
3477                            "default_value": 20,
3478                            "value": "jerk_print",
3479                            "enabled": "resolveOrValue('jerk_enabled') and (support_enable or support_meshes_present)",
3480                            "settable_per_mesh": false,
3481                            "settable_per_extruder": true,
3482                            "limit_to_extruder": "support_extruder_nr",
3483                            "children":
3484                            {
3485                                "jerk_support_infill":
3486                                {
3487                                    "label": "Support Infill Jerk",
3488                                    "description": "The maximum instantaneous velocity change with which the infill of support is printed.",
3489                                    "unit": "mm/s",
3490                                    "type": "float",
3491                                    "default_value": 20,
3492                                    "value": "jerk_support",
3493                                    "minimum_value": "0",
3494                                    "maximum_value_warning": "50",
3495                                    "enabled": "resolveOrValue('jerk_enabled') and (support_enable or support_meshes_present)",
3496                                    "limit_to_extruder": "support_infill_extruder_nr",
3497                                    "settable_per_mesh": false,
3498                                    "settable_per_extruder": true
3499                                },
3500                                "jerk_support_interface":
3501                                {
3502                                    "label": "Support Interface Jerk",
3503                                    "description": "The maximum instantaneous velocity change with which the roofs and floors of support are printed.",
3504                                    "unit": "mm/s",
3505                                    "type": "float",
3506                                    "default_value": 20,
3507                                    "value": "jerk_support",
3508                                    "minimum_value": "0",
3509                                    "maximum_value_warning": "50",
3510                                    "enabled": "resolveOrValue('jerk_enabled') and support_interface_enable and (support_enable or support_meshes_present)",
3511                                    "limit_to_extruder": "support_interface_extruder_nr",
3512                                    "settable_per_mesh": false,
3513                                    "settable_per_extruder": true,
3514                                    "children":
3515                                    {
3516                                        "jerk_support_roof":
3517                                        {
3518                                            "label": "Support Roof Jerk",
3519                                            "description": "The maximum instantaneous velocity change with which the roofs of support are printed.",
3520                                            "unit": "mm/s",
3521                                            "type": "float",
3522                                            "default_value": 20,
3523                                            "value": "extruderValue(support_roof_extruder_nr, 'jerk_support_interface')",
3524                                            "minimum_value": "0",
3525                                            "maximum_value_warning": "50",
3526                                            "enabled": "resolveOrValue('jerk_enabled') and support_roof_enable and (support_enable or support_meshes_present)",
3527                                            "limit_to_extruder": "support_roof_extruder_nr",
3528                                            "settable_per_mesh": false,
3529                                            "settable_per_extruder": true
3530                                        },
3531                                        "jerk_support_bottom":
3532                                        {
3533                                            "label": "Support Floor Jerk",
3534                                            "description": "The maximum instantaneous velocity change with which the floors of support are printed.",
3535                                            "unit": "mm/s",
3536                                            "type": "float",
3537                                            "default_value": 20,
3538                                            "value": "extruderValue(support_roof_extruder_nr, 'jerk_support_interface')",
3539                                            "minimum_value": "0",
3540                                            "maximum_value_warning": "50",
3541                                            "enabled": "resolveOrValue('jerk_enabled') and support_bottom_enable and (support_enable or support_meshes_present)",
3542                                            "limit_to_extruder": "support_bottom_extruder_nr",
3543                                            "settable_per_mesh": false,
3544                                            "settable_per_extruder": true
3545                                        }
3546                                    }
3547                                }
3548                            }
3549                        },
3550                        "jerk_prime_tower":
3551                        {
3552                            "label": "Prime Tower Jerk",
3553                            "description": "The maximum instantaneous velocity change with which the prime tower is printed.",
3554                            "unit": "mm/s",
3555                            "type": "float",
3556                            "minimum_value": "0",
3557                            "maximum_value_warning": "50",
3558                            "default_value": 20,
3559                            "value": "jerk_print",
3560                            "enabled": "resolveOrValue('prime_tower_enable') and resolveOrValue('jerk_enabled')",
3561                            "settable_per_mesh": false
3562                        }
3563                    }
3564                },
3565                "jerk_travel":
3566                {
3567                    "label": "Travel Jerk",
3568                    "description": "The maximum instantaneous velocity change with which travel moves are made.",
3569                    "unit": "mm/s",
3570                    "type": "float",
3571                    "default_value": 30,
3572                    "minimum_value": "0",
3573                    "maximum_value_warning": "50",
3574                    "value": "jerk_print if magic_spiralize else 30",
3575                    "enabled": "resolveOrValue('jerk_enabled')",
3576                    "settable_per_mesh": false
3577                },
3578                "jerk_layer_0":
3579                {
3580                    "label": "Initial Layer Jerk",
3581                    "description": "The print maximum instantaneous velocity change for the initial layer.",
3582                    "unit": "mm/s",
3583                    "type": "float",
3584                    "default_value": 20,
3585                    "value": "jerk_print",
3586                    "minimum_value": "0",
3587                    "maximum_value_warning": "50",
3588                    "enabled": "resolveOrValue('jerk_enabled')",
3589                    "settable_per_mesh": true,
3590                    "children":
3591                    {
3592                        "jerk_print_layer_0":
3593                        {
3594                            "label": "Initial Layer Print Jerk",
3595                            "description": "The maximum instantaneous velocity change during the printing of the initial layer.",
3596                            "unit": "mm/s",
3597                            "type": "float",
3598                            "default_value": 20,
3599                            "value": "jerk_layer_0",
3600                            "minimum_value": "0",
3601                            "maximum_value_warning": "50",
3602                            "enabled": "resolveOrValue('jerk_enabled')",
3603                            "settable_per_mesh": true
3604                        },
3605                        "jerk_travel_layer_0":
3606                        {
3607                            "label": "Initial Layer Travel Jerk",
3608                            "description": "The acceleration for travel moves in the initial layer.",
3609                            "unit": "mm/s",
3610                            "type": "float",
3611                            "default_value": 20,
3612                            "value": "jerk_layer_0 * jerk_travel / jerk_print",
3613                            "minimum_value": "0",
3614                            "maximum_value_warning": "50",
3615                            "enabled": "resolveOrValue('jerk_enabled')",
3616                            "settable_per_extruder": true,
3617                            "settable_per_mesh": false
3618                        }
3619                    }
3620                },
3621                "jerk_skirt_brim":
3622                {
3623                    "label": "Skirt/Brim Jerk",
3624                    "description": "The maximum instantaneous velocity change with which the skirt and brim are printed.",
3625                    "unit": "mm/s",
3626                    "type": "float",
3627                    "default_value": 20,
3628                    "minimum_value": "0",
3629                    "maximum_value_warning": "50",
3630                    "value": "jerk_layer_0",
3631                    "enabled": "resolveOrValue('jerk_enabled') and (resolveOrValue('adhesion_type') == 'skirt' or resolveOrValue('adhesion_type') == 'brim' or resolveOrValue('draft_shield_enabled') or resolveOrValue('ooze_shield_enabled'))",
3632                    "settable_per_mesh": false,
3633                    "limit_to_extruder": "adhesion_extruder_nr"
3634                }
3635            }
3636        },
3637        "travel":
3638        {
3639            "label": "Travel",
3640            "icon": "category_travel",
3641            "description": "travel",
3642            "type": "category",
3643            "children":
3644            {
3645                "retraction_enable":
3646                {
3647                    "label": "Enable Retraction",
3648                    "description": "Retract the filament when the nozzle is moving over a non-printed area.",
3649                    "type": "bool",
3650                    "default_value": true,
3651                    "settable_per_mesh": false,
3652                    "settable_per_extruder": true
3653                },
3654                "retract_at_layer_change":
3655                {
3656                    "label": "Retract at Layer Change",
3657                    "description": "Retract the filament when the nozzle is moving to the next layer.",
3658                    "type": "bool",
3659                    "default_value": false,
3660                    "settable_per_mesh": false,
3661                    "settable_per_extruder": true
3662                },
3663                "retraction_amount":
3664                {
3665                    "label": "Retraction Distance",
3666                    "description": "The length of material retracted during a retraction move.",
3667                    "unit": "mm",
3668                    "type": "float",
3669                    "default_value": 6.5,
3670                    "minimum_value_warning": "-0.0001",
3671                    "maximum_value_warning": "10.0",
3672                    "enabled": "retraction_enable and machine_gcode_flavor != \"UltiGCode\"",
3673                    "settable_per_mesh": false,
3674                    "settable_per_extruder": true
3675                },
3676                "retraction_speed":
3677                {
3678                    "label": "Retraction Speed",
3679                    "description": "The speed at which the filament is retracted and primed during a retraction move.",
3680                    "unit": "mm/s",
3681                    "type": "float",
3682                    "default_value": 25,
3683                    "minimum_value": "0.0001",
3684                    "minimum_value_warning": "1",
3685                    "maximum_value": "machine_max_feedrate_e if retraction_enable else float('inf')",
3686                    "maximum_value_warning": "70",
3687                    "enabled": "retraction_enable and machine_gcode_flavor != \"UltiGCode\"",
3688                    "settable_per_mesh": false,
3689                    "settable_per_extruder": true,
3690                    "children":
3691                    {
3692                        "retraction_retract_speed":
3693                        {
3694                            "label": "Retraction Retract Speed",
3695                            "description": "The speed at which the filament is retracted during a retraction move.",
3696                            "unit": "mm/s",
3697                            "type": "float",
3698                            "default_value": 25,
3699                            "minimum_value": "0.0001",
3700                            "maximum_value": "machine_max_feedrate_e if retraction_enable else float('inf')",
3701                            "minimum_value_warning": "1",
3702                            "maximum_value_warning": "70",
3703                            "enabled": "retraction_enable and machine_gcode_flavor != \"UltiGCode\"",
3704                            "value": "retraction_speed",
3705                            "settable_per_mesh": false,
3706                            "settable_per_extruder": true
3707                        },
3708                        "retraction_prime_speed":
3709                        {
3710                            "label": "Retraction Prime Speed",
3711                            "description": "The speed at which the filament is primed during a retraction move.",
3712                            "unit": "mm/s",
3713                            "type": "float",
3714                            "default_value": 25,
3715                            "minimum_value": "0.0001",
3716                            "maximum_value": "machine_max_feedrate_e if retraction_enable else float('inf')",
3717                            "minimum_value_warning": "1",
3718                            "maximum_value_warning": "70",
3719                            "enabled": "retraction_enable and machine_gcode_flavor != \"UltiGCode\"",
3720                            "value": "retraction_speed",
3721                            "settable_per_mesh": false,
3722                            "settable_per_extruder": true
3723                        }
3724                    }
3725                },
3726                "retraction_extra_prime_amount":
3727                {
3728                    "label": "Retraction Extra Prime Amount",
3729                    "description": "Some material can ooze away during a travel move, which can be compensated for here.",
3730                    "unit": "mm³",
3731                    "type": "float",
3732                    "default_value": 0,
3733                    "minimum_value_warning": "-0.0001",
3734                    "maximum_value_warning": "5.0",
3735                    "enabled": "retraction_enable",
3736                    "settable_per_mesh": false,
3737                    "settable_per_extruder": true
3738                },
3739                "retraction_min_travel":
3740                {
3741                    "label": "Retraction Minimum Travel",
3742                    "description": "The minimum distance of travel needed for a retraction to happen at all. This helps to get fewer retractions in a small area.",
3743                    "unit": "mm",
3744                    "type": "float",
3745                    "default_value": 1.5,
3746                    "value": "line_width * 2",
3747                    "minimum_value": "0",
3748                    "minimum_value_warning": "line_width * 1.5",
3749                    "maximum_value_warning": "10",
3750                    "settable_per_mesh": false,
3751                    "settable_per_extruder": true
3752                },
3753                "retraction_count_max":
3754                {
3755                    "label": "Maximum Retraction Count",
3756                    "description": "This setting limits the number of retractions occurring within the minimum extrusion distance window. Further retractions within this window will be ignored. This avoids retracting repeatedly on the same piece of filament, as that can flatten the filament and cause grinding issues.",
3757                    "default_value": 90,
3758                    "minimum_value": "0",
3759                    "maximum_value_warning": "100",
3760                    "type": "int",
3761                    "enabled": "retraction_enable",
3762                    "settable_per_mesh": false,
3763                    "settable_per_extruder": true
3764                },
3765                "retraction_extrusion_window":
3766                {
3767                    "label": "Minimum Extrusion Distance Window",
3768                    "description": "The window in which the maximum retraction count is enforced. This value should be approximately the same as the retraction distance, so that effectively the number of times a retraction passes the same patch of material is limited.",
3769                    "unit": "mm",
3770                    "type": "float",
3771                    "default_value": 4.5,
3772                    "minimum_value": "0",
3773                    "maximum_value_warning": "retraction_amount * 2",
3774                    "value": "retraction_amount",
3775                    "enabled": "retraction_enable",
3776                    "settable_per_mesh": false,
3777                    "settable_per_extruder": true
3778                },
3779                "limit_support_retractions":
3780                {
3781                    "label": "Limit Support Retractions",
3782                    "description": "Omit retraction when moving from support to support in a straight line. Enabling this setting saves print time, but can lead to excessive stringing within the support structure.",
3783                    "type": "bool",
3784                    "default_value": true,
3785                    "enabled": "retraction_enable and (support_enable or support_meshes_present)",
3786                    "settable_per_mesh": false,
3787                    "settable_per_extruder": true
3788                },
3789                "retraction_combing":
3790                {
3791                    "label": "Combing Mode",
3792                    "description": "Combing keeps the nozzle within already printed areas when traveling. This results in slightly longer travel moves but reduces the need for retractions. If combing is off, the material will retract and the nozzle moves in a straight line to the next point. It is also possible to avoid combing over top/bottom skin areas or to only comb within the infill.",
3793                    "type": "enum",
3794                    "options":
3795                    {
3796                        "off": "Off",
3797                        "all": "All",
3798                        "noskin": "Not in Skin",
3799                        "infill": "Within Infill"
3800                    },
3801                    "default_value": "all",
3802                    "resolve": "'noskin' if 'noskin' in extruderValues('retraction_combing') else ('infill' if 'infill' in extruderValues('retraction_combing') else ('all' if 'all' in extruderValues('retraction_combing') else 'off'))",
3803                    "settable_per_mesh": false,
3804                    "settable_per_extruder": false
3805                },
3806                "retraction_combing_max_distance":
3807                {
3808                    "label": "Max Comb Distance With No Retract",
3809                    "description": "When non-zero, combing travel moves that are longer than this distance will use retraction.",
3810                    "unit": "mm",
3811                    "type": "float",
3812                    "default_value": 0,
3813                    "minimum_value": "0",
3814                    "enabled": "resolveOrValue('retraction_combing') != 'off'",
3815                    "settable_per_mesh": false,
3816                    "settable_per_extruder": true
3817                },
3818                "travel_retract_before_outer_wall":
3819                {
3820                    "label": "Retract Before Outer Wall",
3821                    "description": "Always retract when moving to start an outer wall.",
3822                    "type": "bool",
3823                    "default_value": false,
3824                    "enabled": "retraction_enable",
3825                    "settable_per_mesh": false,
3826                    "settable_per_extruder": false
3827                },
3828                "travel_avoid_other_parts":
3829                {
3830                    "label": "Avoid Printed Parts When Traveling",
3831                    "description": "The nozzle avoids already printed parts when traveling. This option is only available when combing is enabled.",
3832                    "type": "bool",
3833                    "default_value": true,
3834                    "enabled": "resolveOrValue('retraction_combing') != 'off'",
3835                    "settable_per_mesh": false,
3836                    "settable_per_extruder": true
3837                },
3838                "travel_avoid_supports":
3839                {
3840                    "label": "Avoid Supports When Traveling",
3841                    "description": "The nozzle avoids already printed supports when traveling. This option is only available when combing is enabled.",
3842                    "type": "bool",
3843                    "default_value": false,
3844                    "enabled": "resolveOrValue('retraction_combing') != 'off' and travel_avoid_other_parts",
3845                    "settable_per_mesh": false,
3846                    "settable_per_extruder": true
3847                },
3848                "travel_avoid_distance":
3849                {
3850                    "label": "Travel Avoid Distance",
3851                    "description": "The distance between the nozzle and already printed parts when avoiding during travel moves.",
3852                    "unit": "mm",
3853                    "type": "float",
3854                    "default_value": 0.625,
3855                    "value": "machine_nozzle_tip_outer_diameter / 2 * 1.25",
3856                    "minimum_value": "0",
3857                    "minimum_value_warning": "machine_nozzle_tip_outer_diameter * 0.5",
3858                    "maximum_value_warning": "machine_nozzle_tip_outer_diameter * 5",
3859                    "enabled": "resolveOrValue('retraction_combing') != 'off' and travel_avoid_other_parts",
3860                    "settable_per_mesh": false,
3861                    "settable_per_extruder": true
3862                },
3863                "layer_start_x":
3864                {
3865                    "label": "Layer Start X",
3866                    "description": "The X coordinate of the position near where to find the part to start printing each layer.",
3867                    "unit": "mm",
3868                    "type": "float",
3869                    "default_value": 0.0,
3870                    "minimum_value": "machine_width / -2 if machine_center_is_zero else 0",
3871                    "settable_per_mesh": false,
3872                    "settable_per_extruder": true,
3873                    "settable_per_meshgroup": true
3874                },
3875                "layer_start_y":
3876                {
3877                    "label": "Layer Start Y",
3878                    "description": "The Y coordinate of the position near where to find the part to start printing each layer.",
3879                    "unit": "mm",
3880                    "type": "float",
3881                    "default_value": 0.0,
3882                    "minimum_value": "machine_depth / -2 if machine_center_is_zero else 0",
3883                    "settable_per_mesh": false,
3884                    "settable_per_extruder": true,
3885                    "settable_per_meshgroup": true
3886                },
3887                "retraction_hop_enabled": {
3888                    "label": "Z Hop When Retracted",
3889                    "description": "Whenever a retraction is done, the build plate is lowered to create clearance between the nozzle and the print. It prevents the nozzle from hitting the print during travel moves, reducing the chance to knock the print from the build plate.",
3890                    "type": "bool",
3891                    "default_value": false,
3892                    "enabled": "retraction_enable",
3893                    "settable_per_mesh": false,
3894                    "settable_per_extruder": true
3895                },
3896                "retraction_hop_only_when_collides": {
3897                    "label": "Z Hop Only Over Printed Parts",
3898                    "description": "Only perform a Z Hop when moving over printed parts which cannot be avoided by horizontal motion by Avoid Printed Parts when Traveling.",
3899                    "type": "bool",
3900                    "default_value": false,
3901                    "enabled": "retraction_enable and retraction_hop_enabled and travel_avoid_other_parts",
3902                    "settable_per_mesh": false,
3903                    "settable_per_extruder": true
3904                },
3905                "retraction_hop": {
3906                    "label": "Z Hop Height",
3907                    "description": "The height difference when performing a Z Hop.",
3908                    "unit": "mm",
3909                    "type": "float",
3910                    "default_value": 1,
3911                    "minimum_value_warning": "0",
3912                    "maximum_value_warning": "10",
3913                    "enabled": "retraction_enable and retraction_hop_enabled",
3914                    "settable_per_mesh": false,
3915                    "settable_per_extruder": true
3916                },
3917                "retraction_hop_after_extruder_switch": {
3918                    "label": "Z Hop After Extruder Switch",
3919                    "description": "After the machine switched from one extruder to the other, the build plate is lowered to create clearance between the nozzle and the print. This prevents the nozzle from leaving oozed material on the outside of a print.",
3920                    "type": "bool",
3921                    "default_value": true,
3922                    "enabled": "retraction_hop_enabled and extruders_enabled_count > 1",
3923                    "settable_per_mesh": false,
3924                    "settable_per_extruder": true
3925                },
3926                "retraction_hop_after_extruder_switch_height":
3927                {
3928                    "label": "Z Hop After Extruder Switch Height",
3929                    "description": "The height difference when performing a Z Hop after extruder switch.",
3930                    "unit": "mm",
3931                    "type": "float",
3932                    "default_value": 1,
3933                    "value": "retraction_hop",
3934                    "minimum_value_warning": "0",
3935                    "maximum_value_warning": "10",
3936                    "enabled": "retraction_enable and retraction_hop_after_extruder_switch and extruders_enabled_count > 1",
3937                    "settable_per_mesh": false,
3938                    "settable_per_extruder": true
3939                }
3940            }
3941        },
3942        "cooling":
3943        {
3944            "label": "Cooling",
3945            "icon": "category_cool",
3946            "description": "Cooling",
3947            "type": "category",
3948            "children":
3949            {
3950                "cool_fan_enabled":
3951                {
3952                    "label": "Enable Print Cooling",
3953                    "description": "Enables the print cooling fans while printing. The fans improve print quality on layers with short layer times and bridging / overhangs.",
3954                    "type": "bool",
3955                    "default_value": true,
3956                    "settable_per_mesh": false,
3957                    "settable_per_extruder": true
3958                },
3959                "cool_fan_speed":
3960                {
3961                    "label": "Fan Speed",
3962                    "description": "The speed at which the print cooling fans spin.",
3963                    "unit": "%",
3964                    "type": "float",
3965                    "minimum_value": "0",
3966                    "maximum_value": "100",
3967                    "default_value": 100,
3968                    "value": "100.0 if cool_fan_enabled else 0.0",
3969                    "enabled": "cool_fan_enabled",
3970                    "settable_per_mesh": false,
3971                    "settable_per_extruder": true,
3972                    "children":
3973                    {
3974                        "cool_fan_speed_min":
3975                        {
3976                            "label": "Regular Fan Speed",
3977                            "description": "The speed at which the fans spin before hitting the threshold. When a layer prints faster than the threshold, the fan speed gradually inclines towards the maximum fan speed.",
3978                            "unit": "%",
3979                            "type": "float",
3980                            "minimum_value": "0",
3981                            "maximum_value": "100",
3982                            "value": "cool_fan_speed",
3983                            "default_value": 100,
3984                            "enabled": "cool_fan_enabled",
3985                            "settable_per_mesh": false,
3986                            "settable_per_extruder": true
3987                        },
3988                        "cool_fan_speed_max":
3989                        {
3990                            "label": "Maximum Fan Speed",
3991                            "description": "The speed at which the fans spin on the minimum layer time. The fan speed gradually increases between the regular fan speed and maximum fan speed when the threshold is hit.",
3992                            "unit": "%",
3993                            "type": "float",
3994                            "minimum_value": "max(0, cool_fan_speed_min)",
3995                            "maximum_value": "100",
3996                            "default_value": 100,
3997                            "enabled": "cool_fan_enabled",
3998                            "value": "cool_fan_speed",
3999                            "settable_per_mesh": false,
4000                            "settable_per_extruder": true
4001                        }
4002                    }
4003                },
4004                "cool_min_layer_time_fan_speed_max":
4005                {
4006                    "label": "Regular/Maximum Fan Speed Threshold",
4007                    "description": "The layer time which sets the threshold between regular fan speed and maximum fan speed. Layers that print slower than this time use regular fan speed. For faster layers the fan speed gradually increases towards the maximum fan speed.",
4008                    "unit": "s",
4009                    "type": "float",
4010                    "default_value": 10,
4011                    "maximum_value_warning": "600",
4012                    "settable_per_mesh": false,
4013                    "settable_per_extruder": true
4014                },
4015                "cool_fan_speed_0":
4016                {
4017                    "label": "Initial Fan Speed",
4018                    "description": "The speed at which the fans spin at the start of the print. In subsequent layers the fan speed is gradually increased up to the layer corresponding to Regular Fan Speed at Height.",
4019                    "unit": "%",
4020                    "type": "float",
4021                    "minimum_value": "0",
4022                    "maximum_value": "100",
4023                    "default_value": 0,
4024                    "enabled": "cool_fan_enabled",
4025                    "settable_per_mesh": false,
4026                    "settable_per_extruder": true
4027                },
4028                "cool_fan_full_at_height":
4029                {
4030                    "label": "Regular Fan Speed at Height",
4031                    "description": "The height at which the fans spin on regular fan speed. At the layers below the fan speed gradually increases from Initial Fan Speed to Regular Fan Speed.",
4032                    "unit": "mm",
4033                    "type": "float",
4034                    "default_value": 0.5,
4035                    "value": "0 if resolveOrValue('adhesion_type') == 'raft' else resolveOrValue('layer_height_0')",
4036                    "minimum_value": "0",
4037                    "maximum_value_warning": "10.0",
4038                    "settable_per_mesh": false,
4039                    "settable_per_extruder": true,
4040                    "children":
4041                    {
4042                        "cool_fan_full_layer":
4043                        {
4044                            "label": "Regular Fan Speed at Layer",
4045                            "description": "The layer at which the fans spin on regular fan speed. If regular fan speed at height is set, this value is calculated and rounded to a whole number.",
4046                            "type": "int",
4047                            "default_value": 2,
4048                            "minimum_value": "1",
4049                            "maximum_value_warning": "10 / resolveOrValue('layer_height')",
4050                            "value": "max(1, int(math.floor((cool_fan_full_at_height - resolveOrValue('layer_height_0')) / resolveOrValue('layer_height')) + 2))",
4051                            "settable_per_mesh": false,
4052                            "settable_per_extruder": true
4053                        }
4054                    }
4055                },
4056                "cool_min_layer_time":
4057                {
4058                    "label": "Minimum Layer Time",
4059                    "description": "The minimum time spent in a layer. This forces the printer to slow down, to at least spend the time set here in one layer. This allows the printed material to cool down properly before printing the next layer. Layers may still take shorter than the minimal layer time if Lift Head is disabled and if the Minimum Speed would otherwise be violated.",
4060                    "unit": "s",
4061                    "type": "float",
4062                    "default_value": 5,
4063                    "minimum_value": "0",
4064                    "maximum_value_warning": "600",
4065                    "settable_per_mesh": false,
4066                    "settable_per_extruder": true
4067                },
4068                "cool_min_speed":
4069                {
4070                    "label": "Minimum Speed",
4071                    "description": "The minimum print speed, despite slowing down due to the minimum layer time. When the printer would slow down too much, the pressure in the nozzle would be too low and result in bad print quality.",
4072                    "unit": "mm/s",
4073                    "type": "float",
4074                    "default_value": 10,
4075                    "minimum_value": "0",
4076                    "maximum_value_warning": "100",
4077                    "settable_per_mesh": false,
4078                    "settable_per_extruder": true
4079                },
4080                "cool_lift_head":
4081                {
4082                    "label": "Lift Head",
4083                    "description": "When the minimum speed is hit because of minimum layer time, lift the head away from the print and wait the extra time until the minimum layer time is reached.",
4084                    "type": "bool",
4085                    "default_value": false,
4086                    "settable_per_mesh": false,
4087                    "settable_per_extruder": true
4088                }
4089            }
4090        },
4091        "support":
4092        {
4093            "label": "Support",
4094            "type": "category",
4095            "icon": "category_support",
4096            "description": "Support",
4097            "children":
4098            {
4099                "support_enable":
4100                {
4101                    "label": "Generate Support",
4102                    "description": "Generate structures to support parts of the model which have overhangs. Without these structures, such parts would collapse during printing.",
4103                    "type": "bool",
4104                    "default_value": false,
4105                    "settable_per_mesh": true,
4106                    "settable_per_extruder": false
4107                },
4108                "support_extruder_nr":
4109                {
4110                    "label": "Support Extruder",
4111                    "description": "The extruder train to use for printing the support. This is used in multi-extrusion.",
4112                    "type": "extruder",
4113                    "default_value": "0",
4114                    "value": "int(defaultExtruderPosition())",
4115                    "enabled": "(support_enable or support_meshes_present) and extruders_enabled_count > 1",
4116                    "settable_per_mesh": false,
4117                    "settable_per_extruder": false,
4118                    "children": {
4119                        "support_infill_extruder_nr":
4120                        {
4121                            "label": "Support Infill Extruder",
4122                            "description": "The extruder train to use for printing the infill of the support. This is used in multi-extrusion.",
4123                            "type": "extruder",
4124                            "default_value": "0",
4125                            "value": "support_extruder_nr",
4126                            "enabled": "(support_enable or support_meshes_present) and extruders_enabled_count > 1",
4127                            "settable_per_mesh": false,
4128                            "settable_per_extruder": false
4129                        },
4130                        "support_extruder_nr_layer_0":
4131                        {
4132                            "label": "First Layer Support Extruder",
4133                            "description": "The extruder train to use for printing the first layer of support infill. This is used in multi-extrusion.",
4134                            "type": "extruder",
4135                            "default_value": "0",
4136                            "value": "support_extruder_nr",
4137                            "enabled": "(support_enable or support_meshes_present) and extruders_enabled_count > 1",
4138                            "settable_per_mesh": false,
4139                            "settable_per_extruder": false
4140                        },
4141                        "support_interface_extruder_nr":
4142                        {
4143                            "label": "Support Interface Extruder",
4144                            "description": "The extruder train to use for printing the roofs and floors of the support. This is used in multi-extrusion.",
4145                            "type": "extruder",
4146                            "default_value": "0",
4147                            "value": "support_extruder_nr",
4148                            "enabled": "(support_enable or support_meshes_present) and extruders_enabled_count > 1",
4149                            "settable_per_mesh": false,
4150                            "settable_per_extruder": false,
4151                            "children":
4152                            {
4153                                "support_roof_extruder_nr":
4154                                {
4155                                    "label": "Support Roof Extruder",
4156                                    "description": "The extruder train to use for printing the roofs of the support. This is used in multi-extrusion.",
4157                                    "type": "extruder",
4158                                    "default_value": "0",
4159                                    "value": "support_interface_extruder_nr",
4160                                    "enabled": "(support_enable or support_meshes_present) and extruders_enabled_count > 1",
4161                                    "settable_per_mesh": false,
4162                                    "settable_per_extruder": false
4163                                },
4164                                "support_bottom_extruder_nr":
4165                                {
4166                                    "label": "Support Floor Extruder",
4167                                    "description": "The extruder train to use for printing the floors of the support. This is used in multi-extrusion.",
4168                                    "type": "extruder",
4169                                    "default_value": "0",
4170                                    "value": "support_interface_extruder_nr",
4171                                    "enabled": "(support_enable or support_meshes_present) and extruders_enabled_count > 1",
4172                                    "settable_per_mesh": false,
4173                                    "settable_per_extruder": false
4174                                }
4175                            }
4176                        }
4177                    }
4178                },
4179                "support_structure":
4180                {
4181                    "label": "Support Structure",
4182                    "description": "Chooses between the techniques available to generate support. \"Normal\" support creates a support structure directly below the overhanging parts and drops those areas straight down. \"Tree\" support creates branches towards the overhanging areas that support the model on the tips of those branches, and allows the branches to crawl around the model to support it from the build plate as much as possible.",
4183                    "type": "enum",
4184                    "options":
4185                    {
4186                        "normal": "Normal",
4187                        "tree": "Tree"
4188                    },
4189                    "enabled": "support_enable",
4190                    "default_value": "normal",
4191                    "settable_per_mesh": false,
4192                    "settable_per_extruder": false
4193                },
4194                "support_tree_angle":
4195                {
4196                    "label": "Tree Support Branch Angle",
4197                    "description": "The angle of the branches. Use a lower angle to make them more vertical and more stable. Use a higher angle to be able to have more reach.",
4198                    "unit": "°",
4199                    "type": "float",
4200                    "minimum_value": "0",
4201                    "maximum_value": "90",
4202                    "maximum_value_warning": "60",
4203                    "default_value": 40,
4204                    "limit_to_extruder": "support_infill_extruder_nr",
4205                    "enabled": "support_enable and support_structure=='tree'",
4206                    "settable_per_mesh": false,
4207                    "settable_per_extruder": true
4208                },
4209                "support_tree_branch_distance":
4210                {
4211                    "label": "Tree Support Branch Distance",
4212                    "description": "How far apart the branches need to be when they touch the model. Making this distance small will cause the tree support to touch the model at more points, causing better overhang but making support harder to remove.",
4213                    "unit": "mm",
4214                    "type": "float",
4215                    "minimum_value": "0.001",
4216                    "default_value": 1,
4217                    "limit_to_extruder": "support_infill_extruder_nr",
4218                    "enabled": "support_enable and support_structure=='tree'",
4219                    "settable_per_mesh": true
4220                },
4221                "support_tree_branch_diameter":
4222                {
4223                    "label": "Tree Support Branch Diameter",
4224                    "description": "The diameter of the thinnest branches of tree support. Thicker branches are more sturdy. Branches towards the base will be thicker than this.",
4225                    "unit": "mm",
4226                    "type": "float",
4227                    "minimum_value": "0.001",
4228                    "minimum_value_warning": "support_line_width * 2",
4229                    "default_value": 2,
4230                    "limit_to_extruder": "support_infill_extruder_nr",
4231                    "enabled": "support_enable and support_structure=='tree'",
4232                    "settable_per_mesh": false,
4233                    "settable_per_extruder": true
4234                },
4235                "support_tree_branch_diameter_angle":
4236                {
4237                    "label": "Tree Support Branch Diameter Angle",
4238                    "description": "The angle of the branches' diameter as they gradually become thicker towards the bottom. An angle of 0 will cause the branches to have uniform thickness over their length. A bit of an angle can increase stability of the tree support.",
4239                    "unit": "°",
4240                    "type": "float",
4241                    "minimum_value": "0",
4242                    "maximum_value": "89.9999",
4243                    "maximum_value_warning": "15",
4244                    "default_value": 5,
4245                    "limit_to_extruder": "support_infill_extruder_nr",
4246                    "enabled": "support_enable and support_structure=='tree'",
4247                    "settable_per_mesh": false,
4248                    "settable_per_extruder": true
4249                },
4250                "support_tree_collision_resolution":
4251                {
4252                    "label": "Tree Support Collision Resolution",
4253                    "description": "Resolution to compute collisions with to avoid hitting the model. Setting this lower will produce more accurate trees that fail less often, but increases slicing time dramatically.",
4254                    "unit": "mm",
4255                    "type": "float",
4256                    "minimum_value": "0.001",
4257                    "minimum_value_warning": "support_line_width / 4",
4258                    "maximum_value_warning": "support_line_width * 2",
4259                    "default_value": 0.4,
4260                    "value": "support_line_width / 2",
4261                    "limit_to_extruder": "support_infill_extruder_nr",
4262                    "enabled": "support_enable and support_structure=='tree' and support_tree_branch_diameter_angle > 0",
4263                    "settable_per_mesh": false,
4264                    "settable_per_extruder": true
4265                },
4266                "support_type":
4267                {
4268                    "label": "Support Placement",
4269                    "description": "Adjusts the placement of the support structures. The placement can be set to touching build plate or everywhere. When set to everywhere the support structures will also be printed on the model.",
4270                    "type": "enum",
4271                    "options":
4272                    {
4273                        "buildplate": "Touching Buildplate",
4274                        "everywhere": "Everywhere"
4275                    },
4276                    "default_value": "everywhere",
4277                    "resolve": "'everywhere' if 'everywhere' in extruderValues('support_type') else 'buildplate'",
4278                    "enabled": "support_enable",
4279                    "settable_per_mesh": false,
4280                    "settable_per_extruder": false
4281                },
4282                "support_angle":
4283                {
4284                    "label": "Support Overhang Angle",
4285                    "description": "The minimum angle of overhangs for which support is added. At a value of 0° all overhangs are supported, 90° will not provide any support.",
4286                    "unit": "°",
4287                    "type": "float",
4288                    "minimum_value": "0",
4289                    "maximum_value": "90",
4290                    "maximum_value_warning": "80",
4291                    "default_value": 50,
4292                    "limit_to_extruder": "support_roof_extruder_nr if support_roof_enable else support_infill_extruder_nr",
4293                    "enabled": "support_enable",
4294                    "settable_per_mesh": true
4295                },
4296                "support_pattern":
4297                {
4298                    "label": "Support Pattern",
4299                    "description": "The pattern of the support structures of the print. The different options available result in sturdy or easy to remove support.",
4300                    "type": "enum",
4301                    "options":
4302                    {
4303                        "lines": "Lines",
4304                        "grid": "Grid",
4305                        "triangles": "Triangles",
4306                        "concentric": "Concentric",
4307                        "zigzag": "Zig Zag",
4308                        "cross": "Cross",
4309                        "gyroid": "Gyroid"
4310                    },
4311                    "default_value": "zigzag",
4312                    "enabled": "support_enable or support_meshes_present",
4313                    "limit_to_extruder": "support_infill_extruder_nr",
4314                    "settable_per_mesh": false,
4315                    "settable_per_extruder": true
4316                },
4317                "support_wall_count":
4318                {
4319                    "label": "Support Wall Line Count",
4320                    "description": "The number of walls with which to surround support infill. Adding a wall can make support print more reliably and can support overhangs better, but increases print time and material used.",
4321                    "default_value": 1,
4322                    "minimum_value": "0",
4323                    "minimum_value_warning": "1 if support_pattern == 'concentric' else 0",
4324                    "maximum_value_warning": "0 if (support_skip_some_zags and support_pattern == 'zigzag') else 3",
4325                    "type": "int",
4326                    "value": "1 if support_enable and support_structure == 'tree' else (1 if (support_pattern == 'grid' or support_pattern == 'triangles' or support_pattern == 'concentric') else 0)",
4327                    "enabled": "support_enable or support_meshes_present",
4328                    "limit_to_extruder": "support_infill_extruder_nr",
4329                    "settable_per_mesh": false,
4330                    "settable_per_extruder": true
4331                },
4332                "zig_zaggify_support":
4333                {
4334                    "label": "Connect Support Lines",
4335                    "description": "Connect the ends of the support lines together. Enabling this setting can make your support more sturdy and reduce underextrusion, but it will cost more material.",
4336                    "type": "bool",
4337                    "default_value": false,
4338                    "value": "support_pattern == 'cross' or support_pattern == 'gyroid'",
4339                    "enabled": "(support_enable or support_meshes_present) and (support_pattern == 'lines' or support_pattern == 'grid' or support_pattern == 'triangles' or support_pattern == 'cross' or support_pattern == 'gyroid')",
4340                    "limit_to_extruder": "support_infill_extruder_nr",
4341                    "settable_per_mesh": false,
4342                    "settable_per_extruder": true
4343                },
4344                "support_connect_zigzags":
4345                {
4346                    "label": "Connect Support ZigZags",
4347                    "description": "Connect the ZigZags. This will increase the strength of the zig zag support structure.",
4348                    "type": "bool",
4349                    "default_value": true,
4350                    "enabled": "(support_enable or support_meshes_present) and support_pattern == 'zigzag'",
4351                    "limit_to_extruder": "support_infill_extruder_nr",
4352                    "settable_per_mesh": false,
4353                    "settable_per_extruder": true
4354                },
4355                "support_infill_rate":
4356                {
4357                    "label": "Support Density",
4358                    "description": "Adjusts the density of the support structure. A higher value results in better overhangs, but the supports are harder to remove.",
4359                    "unit": "%",
4360                    "type": "float",
4361                    "minimum_value": "0",
4362                    "maximum_value_warning": "100",
4363                    "default_value": 15,
4364                    "value": "15 if support_enable and support_structure == 'normal' else 0 if support_enable and support_structure == 'tree' else 15",
4365                    "enabled": "support_enable or support_meshes_present",
4366                    "limit_to_extruder": "support_infill_extruder_nr",
4367                    "settable_per_mesh": false,
4368                    "settable_per_extruder": true,
4369                    "children":
4370                    {
4371                        "support_line_distance":
4372                        {
4373                            "label": "Support Line Distance",
4374                            "description": "Distance between the printed support structure lines. This setting is calculated by the support density.",
4375                            "unit": "mm",
4376                            "type": "float",
4377                            "minimum_value": "0",
4378                            "minimum_value_warning": "support_line_width",
4379                            "default_value": 2.66,
4380                            "enabled": "support_enable or support_meshes_present",
4381                            "value": "0 if support_infill_rate == 0 else (support_line_width * 100) / support_infill_rate * (2 if support_pattern == 'grid' else (3 if support_pattern == 'triangles' else 1))",
4382                            "limit_to_extruder": "support_infill_extruder_nr",
4383                            "settable_per_mesh": false,
4384                            "settable_per_extruder": true
4385                        },
4386                        "support_initial_layer_line_distance":
4387                        {
4388                            "label": "Initial Layer Support Line Distance",
4389                            "description": "Distance between the printed initial layer support structure lines. This setting is calculated by the support density.",
4390                            "unit": "mm",
4391                            "type": "float",
4392                            "minimum_value": "0",
4393                            "minimum_value_warning": "support_line_width",
4394                            "default_value": 2.66,
4395                            "enabled": "support_enable or support_meshes_present",
4396                            "value": "support_line_distance",
4397                            "limit_to_extruder": "support_infill_extruder_nr",
4398                            "settable_per_mesh": false,
4399                            "settable_per_extruder": true
4400                        }
4401                    }
4402                },
4403                "support_infill_angles":
4404                {
4405                    "label": "Support Infill Line Directions",
4406                    "description": "A list of integer line directions to use. Elements from the list are used sequentially as the layers progress and when the end of the list is reached, it starts at the beginning again. The list items are separated by commas and the whole list is contained in square brackets. Default is an empty list which means use the default angle 0 degrees.",
4407                    "type": "[int]",
4408                    "default_value": "[ ]",
4409                    "enabled": "(support_enable or support_meshes_present) and support_pattern != 'concentric' and support_infill_rate > 0",
4410                    "limit_to_extruder": "support_infill_extruder_nr",
4411                    "settable_per_mesh": false,
4412                    "settable_per_extruder": true
4413                },
4414                "support_brim_enable":
4415                {
4416                    "label": "Enable Support Brim",
4417                    "description": "Generate a brim within the support infill regions of the first layer. This brim is printed underneath the support, not around it. Enabling this setting increases the adhesion of support to the build plate.",
4418                    "type": "bool",
4419                    "default_value": false,
4420                    "value": "support_structure == 'tree'",
4421                    "enabled": "support_enable or support_meshes_present",
4422                    "limit_to_extruder": "support_infill_extruder_nr",
4423                    "settable_per_mesh": false,
4424                    "settable_per_extruder": true
4425                },
4426                "support_brim_width":
4427                {
4428                    "label": "Support Brim Width",
4429                    "description": "The width of the brim to print underneath the support. A larger brim enhances adhesion to the build plate, at the cost of some extra material.",
4430                    "type": "float",
4431                    "unit": "mm",
4432                    "default_value": 8.0,
4433                    "minimum_value": "0.0",
4434                    "maximum_value_warning": "50.0",
4435                    "enabled": "(support_enable or support_meshes_present) and support_brim_enable",
4436                    "settable_per_mesh": false,
4437                    "settable_per_extruder": true,
4438                    "limit_to_extruder": "support_infill_extruder_nr",
4439                    "children":
4440                    {
4441                        "support_brim_line_count":
4442                        {
4443                            "label": "Support Brim Line Count",
4444                            "description": "The number of lines used for the support brim. More brim lines enhance adhesion to the build plate, at the cost of some extra material.",
4445                            "type": "int",
4446                            "default_value": 20,
4447                            "minimum_value": "0",
4448                            "maximum_value_warning": "50 / skirt_brim_line_width",
4449                            "value": "math.ceil(support_brim_width / (skirt_brim_line_width * initial_layer_line_width_factor / 100.0))",
4450                            "enabled": "(support_enable or support_meshes_present) and support_brim_enable",
4451                            "settable_per_mesh": false,
4452                            "settable_per_extruder": true,
4453                            "limit_to_extruder": "support_infill_extruder_nr"
4454                        }
4455                    }
4456                },
4457                "support_z_distance":
4458                {
4459                    "label": "Support Z Distance",
4460                    "description": "Distance from the top/bottom of the support structure to the print. This gap provides clearance to remove the supports after the model is printed. This value is rounded up to a multiple of the layer height.",
4461                    "unit": "mm",
4462                    "type": "float",
4463                    "minimum_value": "0",
4464                    "maximum_value_warning": "machine_nozzle_size",
4465                    "default_value": 0.1,
4466                    "limit_to_extruder": "support_interface_extruder_nr if support_interface_enable else support_infill_extruder_nr",
4467                    "enabled": "support_enable or support_meshes_present",
4468                    "settable_per_mesh": true,
4469                    "children":
4470                    {
4471                        "support_top_distance":
4472                        {
4473                            "label": "Support Top Distance",
4474                            "description": "Distance from the top of the support to the print.",
4475                            "unit": "mm",
4476                            "minimum_value": "0",
4477                            "maximum_value_warning": "machine_nozzle_size",
4478                            "default_value": 0.1,
4479                            "type": "float",
4480                            "enabled": "support_enable or support_meshes_present",
4481                            "value": "extruderValue(support_roof_extruder_nr if support_roof_enable else support_infill_extruder_nr, 'support_z_distance')",
4482                            "limit_to_extruder": "support_roof_extruder_nr if support_roof_enable else support_infill_extruder_nr",
4483                            "settable_per_mesh": true
4484                        },
4485                        "support_bottom_distance":
4486                        {
4487                            "label": "Support Bottom Distance",
4488                            "description": "Distance from the print to the bottom of the support.",
4489                            "unit": "mm",
4490                            "minimum_value": "0",
4491                            "maximum_value_warning": "machine_nozzle_size",
4492                            "default_value": 0.1,
4493                            "value": "extruderValue(support_bottom_extruder_nr if support_bottom_enable else support_infill_extruder_nr, 'support_z_distance') if support_type == 'everywhere' else 0",
4494                            "limit_to_extruder": "support_bottom_extruder_nr if support_bottom_enable else support_infill_extruder_nr",
4495                            "type": "float",
4496                            "enabled": "(support_enable or support_meshes_present) and resolveOrValue('support_type') == 'everywhere'",
4497                            "settable_per_mesh": true
4498                        }
4499                    }
4500                },
4501                "support_xy_distance":
4502                {
4503                    "label": "Support X/Y Distance",
4504                    "description": "Distance of the support structure from the print in the X/Y directions.",
4505                    "unit": "mm",
4506                    "type": "float",
4507                    "minimum_value": "0",
4508                    "maximum_value_warning": "1.5 * machine_nozzle_tip_outer_diameter",
4509                    "default_value": 0.7,
4510                    "limit_to_extruder": "support_infill_extruder_nr",
4511                    "enabled": "support_enable or support_meshes_present",
4512                    "settable_per_mesh": true
4513                },
4514                "support_xy_overrides_z":
4515                {
4516                    "label": "Support Distance Priority",
4517                    "description": "Whether the Support X/Y Distance overrides the Support Z Distance or vice versa. When X/Y overrides Z the X/Y distance can push away the support from the model, influencing the actual Z distance to the overhang. We can disable this by not applying the X/Y distance around overhangs.",
4518                    "type": "enum",
4519                    "options":
4520                    {
4521                        "xy_overrides_z": "X/Y overrides Z",
4522                        "z_overrides_xy": "Z overrides X/Y"
4523                    },
4524                    "default_value": "z_overrides_xy",
4525                    "limit_to_extruder": "support_infill_extruder_nr",
4526                    "enabled": "support_enable or support_meshes_present",
4527                    "settable_per_mesh": true
4528                },
4529                "support_xy_distance_overhang":
4530                {
4531                    "label": "Minimum Support X/Y Distance",
4532                    "description": "Distance of the support structure from the overhang in the X/Y directions.",
4533                    "unit": "mm",
4534                    "type": "float",
4535                    "minimum_value": "0",
4536                    "minimum_value_warning": "support_xy_distance - support_line_width * 2",
4537                    "maximum_value_warning": "support_xy_distance",
4538                    "default_value": 0.2,
4539                    "value": "machine_nozzle_size / 2",
4540                    "limit_to_extruder": "support_infill_extruder_nr",
4541                    "enabled": "(support_enable or support_meshes_present) and support_xy_overrides_z == 'z_overrides_xy'",
4542                    "settable_per_mesh": true
4543                },
4544                "support_bottom_stair_step_height":
4545                {
4546                    "label": "Support Stair Step Height",
4547                    "description": "The height of the steps of the stair-like bottom of support resting on the model. A low value makes the support harder to remove, but too high values can lead to unstable support structures. Set to zero to turn off the stair-like behaviour.",
4548                    "unit": "mm",
4549                    "type": "float",
4550                    "default_value": 0.3,
4551                    "limit_to_extruder": "support_bottom_extruder_nr if support_bottom_enable else support_infill_extruder_nr",
4552                    "minimum_value": "0",
4553                    "maximum_value_warning": "1.0",
4554                    "enabled": "support_enable or support_meshes_present",
4555                    "settable_per_mesh": true
4556                },
4557                "support_bottom_stair_step_width":
4558                {
4559                    "label": "Support Stair Step Maximum Width",
4560                    "description": "The maximum width of the steps of the stair-like bottom of support resting on the model. A low value makes the support harder to remove, but too high values can lead to unstable support structures.",
4561                    "unit": "mm",
4562                    "type": "float",
4563                    "default_value": 5.0,
4564                    "limit_to_extruder": "support_interface_extruder_nr if support_interface_enable else support_infill_extruder_nr",
4565                    "minimum_value": "0",
4566                    "maximum_value_warning": "10.0",
4567                    "enabled": "support_enable or support_meshes_present",
4568                    "settable_per_mesh": true
4569                },
4570                "support_bottom_stair_step_min_slope":
4571                {
4572                    "label": "Support Stair Step Minimum Slope Angle",
4573                    "description": "The minimum slope of the area for stair-stepping to take effect. Low values should make support easier to remove on shallower slopes, but really low values may result in some very counter-intuitive results on other parts of the model.",
4574                    "unit": "°",
4575                    "type": "float",
4576                    "default_value": 10.0,
4577                    "limit_to_extruder": "support_bottom_extruder_nr if support_bottom_enable else support_infill_extruder_nr",
4578                    "minimum_value": "0.01",
4579                    "maximum_value": "89.99",
4580                    "enabled": "support_enable or support_meshes_present",
4581                    "settable_per_mesh": true
4582                },
4583                "support_join_distance":
4584                {
4585                    "label": "Support Join Distance",
4586                    "description": "The maximum distance between support structures in the X/Y directions. When separate structures are closer together than this value, the structures merge into one.",
4587                    "unit": "mm",
4588                    "type": "float",
4589                    "default_value": 2.0,
4590                    "limit_to_extruder": "support_infill_extruder_nr",
4591                    "minimum_value_warning": "0",
4592                    "maximum_value_warning": "10",
4593                    "enabled": "(support_enable and support_structure == 'normal') or support_meshes_present",
4594                    "settable_per_mesh": false,
4595                    "settable_per_extruder": true
4596                },
4597                "support_offset":
4598                {
4599                    "label": "Support Horizontal Expansion",
4600                    "description": "Amount of offset applied to all support polygons in each layer. Positive values can smooth out the support areas and result in more sturdy support.",
4601                    "unit": "mm",
4602                    "type": "float",
4603                    "default_value": 0,
4604                    "limit_to_extruder": "support_infill_extruder_nr",
4605                    "minimum_value_warning": "-1 * machine_nozzle_size",
4606                    "maximum_value_warning": "10 * machine_nozzle_size",
4607                    "enabled": "(support_enable and support_structure == 'normal') or support_meshes_present",
4608                    "settable_per_mesh": false,
4609                    "settable_per_extruder": true
4610                },
4611                "support_infill_sparse_thickness":
4612                {
4613                    "label": "Support Infill Layer Thickness",
4614                    "description": "The thickness per layer of support infill material. This value should always be a multiple of the layer height and is otherwise rounded.",
4615                    "unit": "mm",
4616                    "type": "float",
4617                    "default_value": 0.1,
4618                    "minimum_value": "resolveOrValue('layer_height')",
4619                    "maximum_value_warning": "0.75 * machine_nozzle_size",
4620                    "maximum_value": "resolveOrValue('layer_height') * 8",
4621                    "value": "resolveOrValue('layer_height')",
4622                    "enabled": "(support_enable or support_meshes_present) and support_infill_rate > 0",
4623                    "limit_to_extruder": "support_infill_extruder_nr",
4624                    "settable_per_mesh": false,
4625                    "settable_per_extruder": true
4626                },
4627                "gradual_support_infill_steps":
4628                {
4629                    "label": "Gradual Support Infill Steps",
4630                    "description": "Number of times to reduce the support infill density by half when getting further below top surfaces. Areas which are closer to top surfaces get a higher density, up to the Support Infill Density.",
4631                    "default_value": 0,
4632                    "type": "int",
4633                    "minimum_value": "0",
4634                    "maximum_value_warning": "1 if (support_pattern == 'cross' or support_pattern == 'lines' or support_pattern == 'zigzag' or support_pattern == 'concentric') else 5",
4635                    "maximum_value": "999999 if support_line_distance == 0 else (20 - math.log(support_line_distance) / math.log(2))",
4636                    "enabled": "(support_enable or support_meshes_present) and support_infill_rate > 0",
4637                    "limit_to_extruder": "support_infill_extruder_nr",
4638                    "settable_per_mesh": false,
4639                    "settable_per_extruder": true
4640                },
4641                "gradual_support_infill_step_height":
4642                {
4643                    "label": "Gradual Support Infill Step Height",
4644                    "description": "The height of support infill of a given density before switching to half the density.",
4645                    "unit": "mm",
4646                    "type": "float",
4647                    "default_value": 1,
4648                    "minimum_value": "0.0001",
4649                    "minimum_value_warning": "3 * resolveOrValue('layer_height')",
4650                    "enabled": "(support_enable or support_meshes_present) and support_infill_rate > 0 and gradual_support_infill_steps > 0",
4651                    "limit_to_extruder": "support_infill_extruder_nr",
4652                    "settable_per_mesh": false,
4653                    "settable_per_extruder": true
4654                },
4655                "minimum_support_area":
4656                {
4657                    "label": "Minimum Support Area",
4658                    "description": "Minimum area size for support polygons. Polygons which have an area smaller than this value will not be generated.",
4659                    "unit": "mm²",
4660                    "type": "float",
4661                    "default_value": 0.0,
4662                    "minimum_value": "0",
4663                    "maximum_value_warning": "5",
4664                    "enabled": "support_enable and support_structure == 'normal'",
4665                    "limit_to_extruder": "support_infill_extruder_nr",
4666                    "settable_per_mesh": true
4667                },
4668                "support_interface_enable":
4669                {
4670                    "label": "Enable Support Interface",
4671                    "description": "Generate a dense interface between the model and the support. This will create a skin at the top of the support on which the model is printed and at the bottom of the support, where it rests on the model.",
4672                    "type": "bool",
4673                    "default_value": false,
4674                    "limit_to_extruder": "support_interface_extruder_nr",
4675                    "enabled": "support_enable or support_meshes_present",
4676                    "settable_per_mesh": true,
4677                    "children":
4678                    {
4679                        "support_roof_enable":
4680                        {
4681                            "label": "Enable Support Roof",
4682                            "description": "Generate a dense slab of material between the top of support and the model. This will create a skin between the model and support.",
4683                            "type": "bool",
4684                            "default_value": false,
4685                            "value": "extruderValue(support_roof_extruder_nr, 'support_interface_enable')",
4686                            "limit_to_extruder": "support_roof_extruder_nr",
4687                            "enabled": "support_enable or support_meshes_present",
4688                            "settable_per_mesh": true
4689                        },
4690                        "support_bottom_enable":
4691                        {
4692                            "label": "Enable Support Floor",
4693                            "description": "Generate a dense slab of material between the bottom of the support and the model. This will create a skin between the model and support.",
4694                            "type": "bool",
4695                            "default_value": false,
4696                            "value": "extruderValue(support_bottom_extruder_nr, 'support_interface_enable')",
4697                            "limit_to_extruder": "support_bottom_extruder_nr",
4698                            "enabled": "support_enable or support_meshes_present",
4699                            "settable_per_mesh": true
4700                        }
4701                    }
4702                },
4703                "support_interface_height":
4704                {
4705                    "label": "Support Interface Thickness",
4706                    "description": "The thickness of the interface of the support where it touches with the model on the bottom or the top.",
4707                    "unit": "mm",
4708                    "type": "float",
4709                    "default_value": 1,
4710                    "minimum_value": "0",
4711                    "minimum_value_warning": "0.2 + layer_height",
4712                    "maximum_value_warning": "10",
4713                    "limit_to_extruder": "support_interface_extruder_nr",
4714                    "enabled": "support_interface_enable and (support_enable or support_meshes_present)",
4715                    "settable_per_mesh": true,
4716                    "children":
4717                    {
4718                        "support_roof_height":
4719                        {
4720                            "label": "Support Roof Thickness",
4721                            "description": "The thickness of the support roofs. This controls the amount of dense layers at the top of the support on which the model rests.",
4722                            "unit": "mm",
4723                            "type": "float",
4724                            "default_value": 1,
4725                            "minimum_value": "0",
4726                            "minimum_value_warning": "support_top_distance + layer_height",
4727                            "maximum_value_warning": "10",
4728                            "value": "extruderValue(support_roof_extruder_nr, 'support_interface_height')",
4729                            "limit_to_extruder": "support_roof_extruder_nr",
4730                            "enabled": "support_roof_enable and (support_enable or support_meshes_present)",
4731                            "settable_per_mesh": true
4732                        },
4733                        "support_bottom_height":
4734                        {
4735                            "label": "Support Floor Thickness",
4736                            "description": "The thickness of the support floors. This controls the number of dense layers that are printed on top of places of a model on which support rests.",
4737                            "unit": "mm",
4738                            "type": "float",
4739                            "default_value": 1,
4740                            "value": "extruderValue(support_bottom_extruder_nr, 'support_interface_height')",
4741                            "minimum_value": "0",
4742                            "minimum_value_warning": "min(support_bottom_distance + layer_height, support_bottom_stair_step_height)",
4743                            "maximum_value_warning": "10",
4744                            "limit_to_extruder": "support_bottom_extruder_nr",
4745                            "enabled": "support_bottom_enable and (support_enable or support_meshes_present)",
4746                            "settable_per_mesh": true
4747                        }
4748                    }
4749                },
4750                "support_interface_skip_height": {
4751                    "label": "Support Interface Resolution",
4752                    "description": "When checking where there's model above and below the support, take steps of the given height. Lower values will slice slower, while higher values may cause normal support to be printed in some places where there should have been support interface.",
4753                    "unit": "mm",
4754                    "type": "float",
4755                    "default_value": 0.3,
4756                    "minimum_value": "0",
4757                    "maximum_value_warning": "support_interface_height",
4758                    "limit_to_extruder": "support_interface_extruder_nr",
4759                    "enabled": "support_interface_enable and (support_enable or support_meshes_present)",
4760                    "settable_per_mesh": true
4761                },
4762                "support_interface_density":
4763                {
4764                    "label": "Support Interface Density",
4765                    "description": "Adjusts the density of the roofs and floors of the support structure. A higher value results in better overhangs, but the supports are harder to remove.",
4766                    "unit": "%",
4767                    "type": "float",
4768                    "default_value": 100,
4769                    "minimum_value": "0",
4770                    "maximum_value_warning": "100",
4771                    "limit_to_extruder": "support_interface_extruder_nr",
4772                    "enabled": "support_interface_enable and (support_enable or support_meshes_present)",
4773                    "settable_per_mesh": false,
4774                    "settable_per_extruder": true,
4775                    "children":
4776                    {
4777                        "support_roof_density":
4778                        {
4779                            "label": "Support Roof Density",
4780                            "description": "The density of the roofs of the support structure. A higher value results in better overhangs, but the supports are harder to remove.",
4781                            "unit": "%",
4782                            "type": "float",
4783                            "default_value": 100,
4784                            "minimum_value": "0",
4785                            "maximum_value": "100",
4786                            "limit_to_extruder": "support_roof_extruder_nr",
4787                            "enabled": "support_roof_enable and (support_enable or support_meshes_present)",
4788                            "value": "extruderValue(support_roof_extruder_nr, 'support_interface_density')",
4789                            "settable_per_mesh": false,
4790                            "settable_per_extruder": true,
4791                            "children":
4792                            {
4793                                "support_roof_line_distance":
4794                                {
4795                                    "label": "Support Roof Line Distance",
4796                                    "description": "Distance between the printed support roof lines. This setting is calculated by the Support Roof Density, but can be adjusted separately.",
4797                                    "unit": "mm",
4798                                    "type": "float",
4799                                    "default_value": 0.4,
4800                                    "minimum_value": "0",
4801                                    "minimum_value_warning": "support_roof_line_width - 0.0001",
4802                                    "value": "0 if support_roof_density == 0 else (support_roof_line_width * 100) / support_roof_density * (2 if support_roof_pattern == 'grid' else (3 if support_roof_pattern == 'triangles' else 1))",
4803                                    "limit_to_extruder": "support_roof_extruder_nr",
4804                                    "enabled": "support_roof_enable and (support_enable or support_meshes_present)",
4805                                    "settable_per_mesh": false,
4806                                    "settable_per_extruder": true
4807                                }
4808                            }
4809                        },
4810                        "support_bottom_density":
4811                        {
4812                            "label": "Support Floor Density",
4813                            "description": "The density of the floors of the support structure. A higher value results in better adhesion of the support on top of the model.",
4814                            "unit": "%",
4815                            "type": "float",
4816                            "default_value": 100,
4817                            "minimum_value": "0",
4818                            "maximum_value": "100",
4819                            "limit_to_extruder": "support_bottom_extruder_nr",
4820                            "enabled": "support_bottom_enable and (support_enable or support_meshes_present)",
4821                            "value": "extruderValue(support_bottom_extruder_nr, 'support_interface_density')",
4822                            "settable_per_mesh": false,
4823                            "settable_per_extruder": true,
4824                            "children":
4825                            {
4826                                "support_bottom_line_distance":
4827                                {
4828                                    "label": "Support Floor Line Distance",
4829                                    "description": "Distance between the printed support floor lines. This setting is calculated by the Support Floor Density, but can be adjusted separately.",
4830                                    "unit": "mm",
4831                                    "type": "float",
4832                                    "default_value": 0.4,
4833                                    "minimum_value": "0",
4834                                    "minimum_value_warning": "support_bottom_line_width - 0.0001",
4835                                    "value": "0 if support_bottom_density == 0 else (support_bottom_line_width * 100) / support_bottom_density * (2 if support_bottom_pattern == 'grid' else (3 if support_bottom_pattern == 'triangles' else 1))",
4836                                    "limit_to_extruder": "support_bottom_extruder_nr",
4837                                    "enabled": "support_bottom_enable and (support_enable or support_meshes_present)",
4838                                    "settable_per_mesh": false,
4839                                    "settable_per_extruder": true
4840                                }
4841                            }
4842                        }
4843                    }
4844                },
4845                "support_interface_pattern":
4846                {
4847                    "label": "Support Interface Pattern",
4848                    "description": "The pattern with which the interface of the support with the model is printed.",
4849                    "type": "enum",
4850                    "options":
4851                    {
4852                        "lines": "Lines",
4853                        "grid": "Grid",
4854                        "triangles": "Triangles",
4855                        "concentric": "Concentric",
4856                        "zigzag": "Zig Zag"
4857                    },
4858                    "default_value": "concentric",
4859                    "limit_to_extruder": "support_interface_extruder_nr",
4860                    "enabled": "support_interface_enable and (support_enable or support_meshes_present)",
4861                    "settable_per_mesh": false,
4862                    "settable_per_extruder": true,
4863                    "children":
4864                    {
4865                        "support_roof_pattern":
4866                        {
4867                            "label": "Support Roof Pattern",
4868                            "description": "The pattern with which the roofs of the support are printed.",
4869                            "type": "enum",
4870                            "options":
4871                            {
4872                                "lines": "Lines",
4873                                "grid": "Grid",
4874                                "triangles": "Triangles",
4875                                "concentric": "Concentric",
4876                                "zigzag": "Zig Zag"
4877                            },
4878                            "default_value": "concentric",
4879                            "value": "extruderValue(support_roof_extruder_nr, 'support_interface_pattern')",
4880                            "limit_to_extruder": "support_roof_extruder_nr",
4881                            "enabled": "support_roof_enable and (support_enable or support_meshes_present)",
4882                            "settable_per_mesh": false,
4883                            "settable_per_extruder": true
4884                        },
4885                        "support_bottom_pattern":
4886                        {
4887                            "label": "Support Floor Pattern",
4888                            "description": "The pattern with which the floors of the support are printed.",
4889                            "type": "enum",
4890                            "options":
4891                            {
4892                                "lines": "Lines",
4893                                "grid": "Grid",
4894                                "triangles": "Triangles",
4895                                "concentric": "Concentric",
4896                                "zigzag": "Zig Zag"
4897                            },
4898                            "default_value": "concentric",
4899                            "value": "extruderValue(support_bottom_extruder_nr, 'support_interface_pattern')",
4900                            "limit_to_extruder": "support_bottom_extruder_nr",
4901                            "enabled": "support_bottom_enable and (support_enable or support_meshes_present)",
4902                            "settable_per_mesh": false,
4903                            "settable_per_extruder": true
4904                        }
4905                    }
4906                },
4907                "minimum_interface_area":
4908                {
4909                    "label": "Minimum Support Interface Area",
4910                    "description": "Minimum area size for support interface polygons. Polygons which have an area smaller than this value will be printed as normal support.",
4911                    "unit": "mm²",
4912                    "type": "float",
4913                    "default_value": 1.0,
4914                    "minimum_value": "0",
4915                    "minimum_value_warning": "minimum_support_area",
4916                    "limit_to_extruder": "support_interface_extruder_nr",
4917                    "enabled": "support_interface_enable and (support_enable or support_meshes_present)",
4918                    "settable_per_mesh": true,
4919                    "children":
4920                    {
4921                        "minimum_roof_area":
4922                        {
4923                            "label": "Minimum Support Roof Area",
4924                            "description": "Minimum area size for the roofs of the support. Polygons which have an area smaller than this value will be printed as normal support.",
4925                            "unit": "mm²",
4926                            "type": "float",
4927                            "default_value": 1.0,
4928                            "value": "extruderValue(support_roof_extruder_nr, 'minimum_interface_area')",
4929                            "minimum_value": "0",
4930                            "minimum_value_warning": "minimum_support_area",
4931                            "limit_to_extruder": "support_roof_extruder_nr",
4932                            "enabled": "support_roof_enable and (support_enable or support_meshes_present)",
4933                            "settable_per_mesh": true
4934                        },
4935                        "minimum_bottom_area":
4936                        {
4937                            "label": "Minimum Support Floor Area",
4938                            "description": "Minimum area size for the floors of the support. Polygons which have an area smaller than this value will be printed as normal support.",
4939                            "unit": "mm²",
4940                            "type": "float",
4941                            "default_value": 1.0,
4942                            "value": "extruderValue(support_bottom_extruder_nr, 'minimum_interface_area')",
4943                            "minimum_value": "0",
4944                            "minimum_value_warning": "minimum_support_area",
4945                            "limit_to_extruder": "support_bottom_extruder_nr",
4946                            "enabled": "support_bottom_enable and (support_enable or support_meshes_present)",
4947                            "settable_per_mesh": true
4948                        }
4949                    }
4950                },
4951                "support_interface_offset":
4952                {
4953                    "label": "Support Interface Horizontal Expansion",
4954                    "description": "Amount of offset applied to the support interface polygons.",
4955                    "unit": "mm",
4956                    "type": "float",
4957                    "default_value": 0.0,
4958                    "maximum_value": "extruderValue(support_extruder_nr, 'support_offset')",
4959                    "limit_to_extruder": "support_interface_extruder_nr",
4960                    "enabled": "support_interface_enable and (support_enable or support_meshes_present)",
4961                    "settable_per_mesh": false,
4962                    "settable_per_extruder": true,
4963                    "children":
4964                    {
4965                        "support_roof_offset":
4966                        {
4967                            "label": "Support Roof Horizontal Expansion",
4968                            "description": "Amount of offset applied to the roofs of the support.",
4969                            "unit": "mm",
4970                            "type": "float",
4971                            "default_value": 0.0,
4972                            "value": "extruderValue(support_roof_extruder_nr, 'support_interface_offset')",
4973                            "maximum_value": "extruderValue(support_extruder_nr, 'support_offset')",
4974                            "limit_to_extruder": "support_roof_extruder_nr",
4975                            "enabled": "support_roof_enable and (support_enable or support_meshes_present)",
4976                            "settable_per_mesh": false,
4977                            "settable_per_extruder": true
4978                        },
4979                        "support_bottom_offset":
4980                        {
4981                            "label": "Support Floor Horizontal Expansion",
4982                            "description": "Amount of offset applied to the floors of the support.",
4983                            "unit": "mm",
4984                            "type": "float",
4985                            "default_value": 0.0,
4986                            "value": "extruderValue(support_bottom_extruder_nr, 'support_interface_offset')",
4987                            "maximum_value": "extruderValue(support_extruder_nr, 'support_offset')",
4988                            "limit_to_extruder": "support_bottom_extruder_nr",
4989                            "enabled": "support_bottom_enable and (support_enable or support_meshes_present)",
4990                            "settable_per_mesh": false,
4991                            "settable_per_extruder": true
4992                        }
4993                    }
4994                },
4995                "support_interface_angles":
4996                {
4997                    "label": "Support Interface Line Directions",
4998                    "description": "A list of integer line directions to use. Elements from the list are used sequentially as the layers progress and when the end of the list is reached, it starts at the beginning again. The list items are separated by commas and the whole list is contained in square brackets. Default is an empty list which means use the default angles (alternates between 45 and 135 degrees if interfaces are quite thick or 90 degrees).",
4999                    "type": "[int]",
5000                    "default_value": "[ ]",
5001                    "limit_to_extruder": "support_interface_extruder_nr",
5002                    "enabled": "(support_enable or support_meshes_present) and support_interface_enable and support_interface_pattern != 'concentric'",
5003                    "settable_per_mesh": false,
5004                    "settable_per_extruder": true,
5005                    "children":
5006                    {
5007                        "support_roof_angles":
5008                        {
5009                            "label": "Support Roof Line Directions",
5010                            "description": "A list of integer line directions to use. Elements from the list are used sequentially as the layers progress and when the end of the list is reached, it starts at the beginning again. The list items are separated by commas and the whole list is contained in square brackets. Default is an empty list which means use the default angles (alternates between 45 and 135 degrees if interfaces are quite thick or 90 degrees).",
5011                            "type": "[int]",
5012                            "default_value": "[ ]",
5013                            "value": "support_interface_angles",
5014                            "limit_to_extruder": "support_roof_extruder_nr",
5015                            "enabled": "(support_enable or support_meshes_present) and support_roof_enable and support_roof_pattern != 'concentric'",
5016                            "settable_per_mesh": false,
5017                            "settable_per_extruder": true
5018                        },
5019                        "support_bottom_angles":
5020                        {
5021                            "label": "Support Floor Line Directions",
5022                            "description": "A list of integer line directions to use. Elements from the list are used sequentially as the layers progress and when the end of the list is reached, it starts at the beginning again. The list items are separated by commas and the whole list is contained in square brackets. Default is an empty list which means use the default angles (alternates between 45 and 135 degrees if interfaces are quite thick or 90 degrees).",
5023                            "type": "[int]",
5024                            "default_value": "[ ]",
5025                            "value": "support_interface_angles",
5026                            "limit_to_extruder": "support_bottom_extruder_nr",
5027                            "enabled": "(support_enable or support_meshes_present) and support_bottom_enable and support_bottom_pattern != 'concentric'",
5028                            "settable_per_mesh": false,
5029                            "settable_per_extruder": true
5030                        }
5031                    }
5032                },
5033                "support_fan_enable":
5034                {
5035                    "label": "Fan Speed Override",
5036                    "description": "When enabled, the print cooling fan speed is altered for the skin regions immediately above the support.",
5037                    "type": "bool",
5038                    "default_value": false,
5039                    "enabled": "support_enable or support_meshes_present",
5040                    "settable_per_mesh": false
5041                },
5042                "support_supported_skin_fan_speed":
5043                {
5044                    "label": "Supported Skin Fan Speed",
5045                    "description": "Percentage fan speed to use when printing the skin regions immediately above the support. Using a high fan speed can make the support easier to remove.",
5046                    "unit": "%",
5047                    "minimum_value": "0",
5048                    "maximum_value": "100",
5049                    "default_value": 100,
5050                    "type": "float",
5051                    "enabled": "(support_enable or support_meshes_present) and support_fan_enable",
5052                    "settable_per_mesh": false
5053                },
5054                "support_use_towers":
5055                {
5056                    "label": "Use Towers",
5057                    "description": "Use specialized towers to support tiny overhang areas. These towers have a larger diameter than the region they support. Near the overhang the towers' diameter decreases, forming a roof.",
5058                    "type": "bool",
5059                    "default_value": true,
5060                    "limit_to_extruder": "support_infill_extruder_nr",
5061                    "enabled": "support_enable and support_structure == 'normal'",
5062                    "settable_per_mesh": true
5063                },
5064                "support_tower_diameter":
5065                {
5066                    "label": "Tower Diameter",
5067                    "description": "The diameter of a special tower.",
5068                    "unit": "mm",
5069                    "type": "float",
5070                    "default_value": 3.0,
5071                    "limit_to_extruder": "support_infill_extruder_nr",
5072                    "minimum_value": "0",
5073                    "minimum_value_warning": "2 * machine_nozzle_size",
5074                    "maximum_value_warning": "20",
5075                    "enabled": "support_enable and support_structure == 'normal' and support_use_towers",
5076                    "settable_per_mesh": true
5077                },
5078                "support_tower_maximum_supported_diameter":
5079                {
5080                    "label": "Maximum Tower-Supported Diameter",
5081                    "description": "Maximum diameter in the X/Y directions of a small area which is to be supported by a specialized support tower.",
5082                    "unit": "mm",
5083                    "type": "float",
5084                    "default_value": 3.0,
5085                    "limit_to_extruder": "support_infill_extruder_nr",
5086                    "minimum_value": "0",
5087                    "minimum_value_warning": "2 * machine_nozzle_size",
5088                    "maximum_value_warning": "20",
5089                    "maximum_value": "support_tower_diameter",
5090                    "enabled": "support_enable and support_structure == 'normal' and support_use_towers",
5091                    "settable_per_mesh": true
5092                },
5093                "support_tower_roof_angle":
5094                {
5095                    "label": "Tower Roof Angle",
5096                    "description": "The angle of a rooftop of a tower. A higher value results in pointed tower roofs, a lower value results in flattened tower roofs.",
5097                    "unit": "°",
5098                    "type": "int",
5099                    "minimum_value": "0",
5100                    "maximum_value": "90",
5101                    "default_value": 65,
5102                    "limit_to_extruder": "support_infill_extruder_nr",
5103                    "enabled": "support_enable and support_structure == 'normal' and support_use_towers",
5104                    "settable_per_mesh": true
5105                },
5106                "support_mesh_drop_down":
5107                {
5108                    "label": "Drop Down Support Mesh",
5109                    "description": "Make support everywhere below the support mesh, so that there's no overhang in the support mesh.",
5110                    "type": "bool",
5111                    "default_value": true,
5112                    "enabled": "support_mesh",
5113                    "settable_per_mesh": true,
5114                    "settable_per_extruder": false,
5115                    "settable_per_meshgroup": false,
5116                    "settable_globally": false
5117                },
5118                "support_meshes_present":
5119                {
5120                    "label": "Scene Has Support Meshes",
5121                    "description": "There are support meshes present in the scene. This setting is controlled by Cura.",
5122                    "type": "bool",
5123                    "default_value": false,
5124                    "enabled": false,
5125                    "settable_per_mesh": false,
5126                    "settable_per_extruder": false,
5127                    "settable_per_meshgroup": false
5128                }
5129            }
5130        },
5131        "platform_adhesion":
5132        {
5133            "label": "Build Plate Adhesion",
5134            "type": "category",
5135            "icon": "category_adhesion",
5136            "description": "Adhesion",
5137            "children":
5138            {
5139                "prime_blob_enable":
5140                {
5141                    "label": "Enable Prime Blob",
5142                    "description": "Whether to prime the filament with a blob before printing. Turning this setting on will ensure that the extruder will have material ready at the nozzle before printing. Printing Brim or Skirt can act like priming too, in which case turning this setting off saves some time.",
5143                    "type": "bool",
5144                    "default_value": false,
5145                    "settable_per_mesh": false,
5146                    "settable_per_extruder": true,
5147                    "enabled": false,
5148                    "warning_value": "True if resolveOrValue('print_sequence') == 'one_at_a_time' else None"
5149                },
5150                "extruder_prime_pos_x":
5151                {
5152                    "label": "Extruder Prime X Position",
5153                    "description": "The X coordinate of the position where the nozzle primes at the start of printing.",
5154                    "type": "float",
5155                    "unit": "mm",
5156                    "default_value": 0,
5157                    "minimum_value_warning": "machine_width / -2 if machine_center_is_zero else 0",
5158                    "maximum_value_warning": "machine_width / 2 if machine_center_is_zero else machine_width",
5159                    "settable_per_mesh": false,
5160                    "settable_per_extruder": true,
5161                    "enabled": false
5162                },
5163                "extruder_prime_pos_y":
5164                {
5165                    "label": "Extruder Prime Y Position",
5166                    "description": "The Y coordinate of the position where the nozzle primes at the start of printing.",
5167                    "type": "float",
5168                    "unit": "mm",
5169                    "default_value": 0,
5170                    "minimum_value_warning": "machine_depth / -2 if machine_center_is_zero else 0",
5171                    "maximum_value_warning": "machine_depth / 2 if machine_center_is_zero else machine_depth",
5172                    "settable_per_mesh": false,
5173                    "settable_per_extruder": true,
5174                    "enabled": false
5175                },
5176                "adhesion_type":
5177                {
5178                    "label": "Build Plate Adhesion Type",
5179                    "description": "Different options that help to improve both priming your extrusion and adhesion to the build plate. Brim adds a single layer flat area around the base of your model to prevent warping. Raft adds a thick grid with a roof below the model. Skirt is a line printed around the model, but not connected to the model.",
5180                    "type": "enum",
5181                    "options":
5182                    {
5183                        "skirt": "Skirt",
5184                        "brim": "Brim",
5185                        "raft": "Raft",
5186                        "none": "None"
5187                    },
5188                    "default_value": "brim",
5189                    "resolve": "extruderValue(adhesion_extruder_nr, 'adhesion_type')",
5190                    "settable_per_mesh": false,
5191                    "settable_per_extruder": false
5192                },
5193                "adhesion_extruder_nr":
5194                {
5195                    "label": "Build Plate Adhesion Extruder",
5196                    "description": "The extruder train to use for printing the skirt/brim/raft. This is used in multi-extrusion.",
5197                    "type": "extruder",
5198                    "default_value": "0",
5199                    "value": "int(defaultExtruderPosition())",
5200                    "enabled": "extruders_enabled_count > 1 and (resolveOrValue('adhesion_type') != 'none' or resolveOrValue('prime_tower_brim_enable'))",
5201                    "settable_per_mesh": false,
5202                    "settable_per_extruder": false
5203                },
5204                "skirt_line_count":
5205                {
5206                    "label": "Skirt Line Count",
5207                    "description": "Multiple skirt lines help to prime your extrusion better for small models. Setting this to 0 will disable the skirt.",
5208                    "type": "int",
5209                    "default_value": 1,
5210                    "minimum_value": "0",
5211                    "maximum_value_warning": "10",
5212                    "enabled": "resolveOrValue('adhesion_type') == 'skirt'",
5213                    "settable_per_mesh": false,
5214                    "settable_per_extruder": true,
5215                    "limit_to_extruder": "adhesion_extruder_nr"
5216                },
5217                "skirt_gap":
5218                {
5219                    "label": "Skirt Distance",
5220                    "description": "The horizontal distance between the skirt and the first layer of the print.\nThis is the minimum distance. Multiple skirt lines will extend outwards from this distance.",
5221                    "unit": "mm",
5222                    "type": "float",
5223                    "default_value": 3,
5224                    "minimum_value_warning": "max(extruderValues('machine_nozzle_size'))",
5225                    "maximum_value_warning": "10",
5226                    "enabled": "resolveOrValue('adhesion_type') == 'skirt'",
5227                    "settable_per_mesh": false,
5228                    "settable_per_extruder": true,
5229                    "limit_to_extruder": "adhesion_extruder_nr"
5230                },
5231                "skirt_brim_minimal_length":
5232                {
5233                    "label": "Skirt/Brim Minimum Length",
5234                    "description": "The minimum length of the skirt or brim. If this length is not reached by all skirt or brim lines together, more skirt or brim lines will be added until the minimum length is reached. Note: If the line count is set to 0 this is ignored.",
5235                    "unit": "mm",
5236                    "type": "float",
5237                    "default_value": 250,
5238                    "minimum_value": "0",
5239                    "minimum_value_warning": "25",
5240                    "maximum_value_warning": "2500",
5241                    "enabled": "resolveOrValue('adhesion_type') == 'skirt' or resolveOrValue('adhesion_type') == 'brim' or resolveOrValue('prime_tower_brim_enable')",
5242                    "settable_per_mesh": false,
5243                    "settable_per_extruder": true
5244                },
5245                "brim_width":
5246                {
5247                    "label": "Brim Width",
5248                    "description": "The distance from the model to the outermost brim line. A larger brim enhances adhesion to the build plate, but also reduces the effective print area.",
5249                    "type": "float",
5250                    "unit": "mm",
5251                    "default_value": 8.0,
5252                    "minimum_value": "0.0",
5253                    "maximum_value_warning": "50.0",
5254                    "maximum_value": "0.5 * min(machine_width, machine_depth)",
5255                    "enabled": "resolveOrValue('adhesion_type') == 'brim' or resolveOrValue('prime_tower_brim_enable')",
5256                    "settable_per_mesh": false,
5257                    "settable_per_extruder": true,
5258                    "limit_to_extruder": "adhesion_extruder_nr",
5259                    "children":
5260                    {
5261                        "brim_line_count":
5262                        {
5263                            "label": "Brim Line Count",
5264                            "description": "The number of lines used for a brim. More brim lines enhance adhesion to the build plate, but also reduces the effective print area.",
5265                            "type": "int",
5266                            "default_value": 20,
5267                            "minimum_value": "0",
5268                            "maximum_value_warning": "50 / skirt_brim_line_width",
5269                            "maximum_value": "0.5 * min(machine_width, machine_depth) / skirt_brim_line_width",
5270                            "value": "math.ceil(brim_width / (skirt_brim_line_width * initial_layer_line_width_factor / 100.0))",
5271                            "enabled": "resolveOrValue('adhesion_type') == 'brim' or resolveOrValue('prime_tower_brim_enable')",
5272                            "settable_per_mesh": false,
5273                            "settable_per_extruder": true,
5274                            "limit_to_extruder": "adhesion_extruder_nr"
5275                        }
5276                    }
5277                },
5278               "brim_gap":
5279                {
5280                    "label": "Brim Distance",
5281                    "description": "The horizontal distance between the first brim line and the outline of the first layer of the print. A small gap can make the brim easier to remove while still providing the thermal benefits.",
5282                    "unit": "mm",
5283                    "type": "float",
5284                    "default_value": 0,
5285                    "minimum_value": "0",
5286                    "maximum_value_warning": "skirt_brim_line_width",
5287                    "enabled": "resolveOrValue('adhesion_type') == 'brim'",
5288                    "settable_per_mesh": true,
5289                    "settable_per_extruder": true,
5290                    "limit_to_extruder": "adhesion_extruder_nr"
5291                },
5292                "brim_replaces_support":
5293                {
5294                    "label": "Brim Replaces Support",
5295                    "description": "Enforce brim to be printed around the model even if that space would otherwise be occupied by support. This replaces some regions of the first layer of support by brim regions.",
5296                    "type": "bool",
5297                    "default_value": true,
5298                    "enabled": "resolveOrValue('adhesion_type') == 'brim' and (support_enable or support_meshes_present)",
5299                    "settable_per_mesh": false,
5300                    "settable_per_extruder": true,
5301                    "limit_to_extruder": "support_infill_extruder_nr"
5302                },
5303                "brim_outside_only":
5304                {
5305                    "label": "Brim Only on Outside",
5306                    "description": "Only print the brim on the outside of the model. This reduces the amount of brim you need to remove afterwards, while it doesn't reduce the bed adhesion that much.",
5307                    "type": "bool",
5308                    "default_value": true,
5309                    "enabled": "resolveOrValue('adhesion_type') == 'brim'",
5310                    "settable_per_mesh": false,
5311                    "settable_per_extruder": true,
5312                    "limit_to_extruder": "adhesion_extruder_nr"
5313                },
5314                "raft_margin":
5315                {
5316                    "label": "Raft Extra Margin",
5317                    "description": "If the raft is enabled, this is the extra raft area around the model which is also given a raft. Increasing this margin will create a stronger raft while using more material and leaving less area for your print.",
5318                    "unit": "mm",
5319                    "type": "float",
5320                    "default_value": 15,
5321                    "minimum_value_warning": "raft_interface_line_width",
5322                    "maximum_value_warning": "20",
5323                    "enabled": "resolveOrValue('adhesion_type') == 'raft'",
5324                    "limit_to_extruder": "adhesion_extruder_nr",
5325                    "settable_per_mesh": false,
5326                    "settable_per_extruder": true
5327                },
5328                "raft_smoothing":
5329                {
5330                    "label": "Raft Smoothing",
5331                    "description": "This setting controls how much inner corners in the raft outline are rounded. Inward corners are rounded to a semi circle with a radius equal to the value given here. This setting also removes holes in the raft outline which are smaller than such a circle.",
5332                    "unit": "mm",
5333                    "type": "float",
5334                    "default_value": 5,
5335                    "minimum_value": "0",
5336                    "minimum_value_warning": "raft_interface_line_width",
5337                    "enabled": "resolveOrValue('adhesion_type') == 'raft'",
5338                    "limit_to_extruder": "adhesion_extruder_nr",
5339                    "settable_per_mesh": false,
5340                    "settable_per_extruder": true
5341                },
5342                "raft_airgap":
5343                {
5344                    "label": "Raft Air Gap",
5345                    "description": "The gap between the final raft layer and the first layer of the model. Only the first layer is raised by this amount to lower the bonding between the raft layer and the model. Makes it easier to peel off the raft.",
5346                    "unit": "mm",
5347                    "type": "float",
5348                    "default_value": 0.3,
5349                    "minimum_value": "0",
5350                    "maximum_value_warning": "min(extruderValues('machine_nozzle_size'))",
5351                    "enabled": "resolveOrValue('adhesion_type') == 'raft'",
5352                    "settable_per_mesh": false,
5353                    "settable_per_extruder": true,
5354                    "limit_to_extruder": "adhesion_extruder_nr"
5355                },
5356                "layer_0_z_overlap":
5357                {
5358                    "label": "Initial Layer Z Overlap",
5359                    "description": "Make the first and second layer of the model overlap in the Z direction to compensate for the filament lost in the airgap. All models above the first model layer will be shifted down by this amount.",
5360                    "unit": "mm",
5361                    "type": "float",
5362                    "default_value": 0.22,
5363                    "value": "raft_airgap / 2",
5364                    "minimum_value": "0",
5365                    "maximum_value_warning": "raft_airgap",
5366                    "enabled": "resolveOrValue('adhesion_type') == 'raft'",
5367                    "settable_per_mesh": false,
5368                    "settable_per_extruder": true,
5369                    "limit_to_extruder": "adhesion_extruder_nr"
5370                },
5371                "raft_surface_layers":
5372                {
5373                    "label": "Raft Top Layers",
5374                    "description": "The number of top layers on top of the 2nd raft layer. These are fully filled layers that the model sits on. 2 layers result in a smoother top surface than 1.",
5375                    "type": "int",
5376                    "default_value": 2,
5377                    "minimum_value": "0",
5378                    "maximum_value_warning": "20",
5379                    "enabled": "resolveOrValue('adhesion_type') == 'raft'",
5380                    "settable_per_mesh": false,
5381                    "settable_per_extruder": true,
5382                    "limit_to_extruder": "adhesion_extruder_nr"
5383                },
5384                "raft_surface_thickness":
5385                {
5386                    "label": "Raft Top Layer Thickness",
5387                    "description": "Layer thickness of the top raft layers.",
5388                    "unit": "mm",
5389                    "type": "float",
5390                    "default_value": 0.1,
5391                    "value": "resolveOrValue('layer_height')",
5392                    "minimum_value": "0.001",
5393                    "minimum_value_warning": "0.04",
5394                    "maximum_value_warning": "0.75 * machine_nozzle_size",
5395                    "enabled": "resolveOrValue('adhesion_type') == 'raft'",
5396                    "settable_per_mesh": false,
5397                    "settable_per_extruder": true,
5398                    "limit_to_extruder": "adhesion_extruder_nr"
5399                },
5400                "raft_surface_line_width":
5401                {
5402                    "label": "Raft Top Line Width",
5403                    "description": "Width of the lines in the top surface of the raft. These can be thin lines so that the top of the raft becomes smooth.",
5404                    "unit": "mm",
5405                    "type": "float",
5406                    "default_value": 0.4,
5407                    "value": "line_width",
5408                    "minimum_value": "0.001",
5409                    "minimum_value_warning": "machine_nozzle_size * 0.1",
5410                    "maximum_value_warning": "machine_nozzle_size * 2",
5411                    "enabled": "resolveOrValue('adhesion_type') == 'raft'",
5412                    "settable_per_mesh": false,
5413                    "settable_per_extruder": true,
5414                    "limit_to_extruder": "adhesion_extruder_nr"
5415                },
5416                "raft_surface_line_spacing":
5417                {
5418                    "label": "Raft Top Spacing",
5419                    "description": "The distance between the raft lines for the top raft layers. The spacing should be equal to the line width, so that the surface is solid.",
5420                    "unit": "mm",
5421                    "type": "float",
5422                    "default_value": 0.4,
5423                    "minimum_value": "0",
5424                    "minimum_value_warning": "raft_surface_line_width",
5425                    "maximum_value_warning": "raft_surface_line_width * 3",
5426                    "enabled": "resolveOrValue('adhesion_type') == 'raft'",
5427                    "value": "raft_surface_line_width",
5428                    "settable_per_mesh": false,
5429                    "settable_per_extruder": true,
5430                    "limit_to_extruder": "adhesion_extruder_nr"
5431                },
5432                "raft_interface_thickness":
5433                {
5434                    "label": "Raft Middle Thickness",
5435                    "description": "Layer thickness of the middle raft layer.",
5436                    "unit": "mm",
5437                    "type": "float",
5438                    "default_value": 0.15,
5439                    "value": "resolveOrValue('layer_height') * 1.5",
5440                    "minimum_value": "0.001",
5441                    "minimum_value_warning": "0.04",
5442                    "maximum_value_warning": "0.75 * machine_nozzle_size",
5443                    "enabled": "resolveOrValue('adhesion_type') == 'raft'",
5444                    "settable_per_mesh": false,
5445                    "settable_per_extruder": true,
5446                    "limit_to_extruder": "adhesion_extruder_nr"
5447                },
5448                "raft_interface_line_width":
5449                {
5450                    "label": "Raft Middle Line Width",
5451                    "description": "Width of the lines in the middle raft layer. Making the second layer extrude more causes the lines to stick to the build plate.",
5452                    "unit": "mm",
5453                    "type": "float",
5454                    "default_value": 0.7,
5455                    "value": "line_width * 2",
5456                    "minimum_value": "0.001",
5457                    "minimum_value_warning": "machine_nozzle_size * 0.5",
5458                    "maximum_value_warning": "machine_nozzle_size * 3",
5459                    "enabled": "resolveOrValue('adhesion_type') == 'raft'",
5460                    "settable_per_mesh": false,
5461                    "settable_per_extruder": true,
5462                    "limit_to_extruder": "adhesion_extruder_nr"
5463                },
5464                "raft_interface_line_spacing":
5465                {
5466                    "label": "Raft Middle Spacing",
5467                    "description": "The distance between the raft lines for the middle raft layer. The spacing of the middle should be quite wide, while being dense enough to support the top raft layers.",
5468                    "unit": "mm",
5469                    "type": "float",
5470                    "default_value": 0.9,
5471                    "value": "raft_interface_line_width + 0.2",
5472                    "minimum_value": "0",
5473                    "minimum_value_warning": "raft_interface_line_width",
5474                    "maximum_value_warning": "15.0",
5475                    "enabled": "resolveOrValue('adhesion_type') == 'raft'",
5476                    "settable_per_mesh": false,
5477                    "settable_per_extruder": true,
5478                    "limit_to_extruder": "adhesion_extruder_nr"
5479                },
5480                "raft_base_thickness":
5481                {
5482                    "label": "Raft Base Thickness",
5483                    "description": "Layer thickness of the base raft layer. This should be a thick layer which sticks firmly to the printer build plate.",
5484                    "unit": "mm",
5485                    "type": "float",
5486                    "default_value": 0.3,
5487                    "value": "resolveOrValue('layer_height_0') * 1.2",
5488                    "minimum_value": "0.001",
5489                    "minimum_value_warning": "0.04",
5490                    "maximum_value_warning": "0.75 * raft_base_line_width",
5491                    "enabled": "resolveOrValue('adhesion_type') == 'raft'",
5492                    "settable_per_mesh": false,
5493                    "settable_per_extruder": true,
5494                    "limit_to_extruder": "adhesion_extruder_nr"
5495                },
5496                "raft_base_line_width":
5497                {
5498                    "label": "Raft Base Line Width",
5499                    "description": "Width of the lines in the base raft layer. These should be thick lines to assist in build plate adhesion.",
5500                    "unit": "mm",
5501                    "type": "float",
5502                    "default_value": 0.8,
5503                    "minimum_value": "0.001",
5504                    "value": "machine_nozzle_size * 2",
5505                    "minimum_value_warning": "machine_nozzle_size * 0.5",
5506                    "maximum_value_warning": "machine_nozzle_size * 3",
5507                    "enabled": "resolveOrValue('adhesion_type') == 'raft'",
5508                    "settable_per_mesh": false,
5509                    "settable_per_extruder": true,
5510                    "limit_to_extruder": "adhesion_extruder_nr"
5511                },
5512                "raft_base_line_spacing":
5513                {
5514                    "label": "Raft Base Line Spacing",
5515                    "description": "The distance between the raft lines for the base raft layer. Wide spacing makes for easy removal of the raft from the build plate.",
5516                    "unit": "mm",
5517                    "type": "float",
5518                    "default_value": 1.6,
5519                    "value": "raft_base_line_width * 2",
5520                    "minimum_value": "0",
5521                    "minimum_value_warning": "raft_base_line_width",
5522                    "maximum_value_warning": "100",
5523                    "enabled": "resolveOrValue('adhesion_type') == 'raft'",
5524                    "settable_per_mesh": false,
5525                    "settable_per_extruder": true,
5526                    "limit_to_extruder": "adhesion_extruder_nr"
5527                },
5528                "raft_speed":
5529                {
5530                    "label": "Raft Print Speed",
5531                    "description": "The speed at which the raft is printed.",
5532                    "unit": "mm/s",
5533                    "type": "float",
5534                    "default_value": 20,
5535                    "minimum_value": "0.1",
5536                    "maximum_value": "math.sqrt(machine_max_feedrate_x ** 2 + machine_max_feedrate_y ** 2)",
5537                    "maximum_value_warning": "200",
5538                    "enabled": "resolveOrValue('adhesion_type') == 'raft'",
5539                    "value": "speed_print / 60 * 30",
5540                    "settable_per_mesh": false,
5541                    "settable_per_extruder": true,
5542                    "limit_to_extruder": "adhesion_extruder_nr",
5543                    "children":
5544                    {
5545                        "raft_surface_speed":
5546                        {
5547                            "label": "Raft Top Print Speed",
5548                            "description": "The speed at which the top raft layers are printed. These should be printed a bit slower, so that the nozzle can slowly smooth out adjacent surface lines.",
5549                            "unit": "mm/s",
5550                            "type": "float",
5551                            "default_value": 20,
5552                            "minimum_value": "0.1",
5553                            "maximum_value": "math.sqrt(machine_max_feedrate_x ** 2 + machine_max_feedrate_y ** 2)",
5554                            "maximum_value_warning": "100",
5555                            "enabled": "resolveOrValue('adhesion_type') == 'raft'",
5556                            "value": "raft_speed",
5557                            "settable_per_mesh": false,
5558                            "settable_per_extruder": true,
5559                            "limit_to_extruder": "adhesion_extruder_nr"
5560                        },
5561                        "raft_interface_speed":
5562                        {
5563                            "label": "Raft Middle Print Speed",
5564                            "description": "The speed at which the middle raft layer is printed. This should be printed quite slowly, as the volume of material coming out of the nozzle is quite high.",
5565                            "unit": "mm/s",
5566                            "type": "float",
5567                            "default_value": 15,
5568                            "value": "raft_speed * 0.75",
5569                            "minimum_value": "0.1",
5570                            "maximum_value": "math.sqrt(machine_max_feedrate_x ** 2 + machine_max_feedrate_y ** 2)",
5571                            "maximum_value_warning": "150",
5572                            "enabled": "resolveOrValue('adhesion_type') == 'raft'",
5573                            "settable_per_mesh": false,
5574                            "settable_per_extruder": true,
5575                            "limit_to_extruder": "adhesion_extruder_nr"
5576                        },
5577                        "raft_base_speed":
5578                        {
5579                            "label": "Raft Base Print Speed",
5580                            "description": "The speed at which the base raft layer is printed. This should be printed quite slowly, as the volume of material coming out of the nozzle is quite high.",
5581                            "unit": "mm/s",
5582                            "type": "float",
5583                            "default_value": 15,
5584                            "minimum_value": "0.1",
5585                            "maximum_value": "math.sqrt(machine_max_feedrate_x ** 2 + machine_max_feedrate_y ** 2)",
5586                            "maximum_value_warning": "200",
5587                            "enabled": "resolveOrValue('adhesion_type') == 'raft'",
5588                            "value": "0.75 * raft_speed",
5589                            "settable_per_mesh": false,
5590                            "settable_per_extruder": true,
5591                            "limit_to_extruder": "adhesion_extruder_nr"
5592                        }
5593                    }
5594                },
5595                "raft_acceleration":
5596                {
5597                    "label": "Raft Print Acceleration",
5598                    "description": "The acceleration with which the raft is printed.",
5599                    "unit": "mm/s²",
5600                    "type": "float",
5601                    "default_value": 3000,
5602                    "minimum_value": "0.1",
5603                    "minimum_value_warning": "100",
5604                    "maximum_value_warning": "10000",
5605                    "value": "acceleration_print",
5606                    "enabled": "resolveOrValue('adhesion_type') == 'raft' and resolveOrValue('acceleration_enabled')",
5607                    "settable_per_mesh": false,
5608                    "limit_to_extruder": "adhesion_extruder_nr",
5609                    "children":
5610                    {
5611                        "raft_surface_acceleration":
5612                        {
5613                            "label": "Raft Top Print Acceleration",
5614                            "description": "The acceleration with which the top raft layers are printed.",
5615                            "unit": "mm/s²",
5616                            "type": "float",
5617                            "default_value": 3000,
5618                            "value": "raft_acceleration",
5619                            "minimum_value": "0.1",
5620                            "minimum_value_warning": "100",
5621                            "maximum_value_warning": "10000",
5622                            "enabled": "resolveOrValue('adhesion_type') == 'raft' and resolveOrValue('acceleration_enabled')",
5623                            "settable_per_mesh": false,
5624                            "limit_to_extruder": "adhesion_extruder_nr"
5625                        },
5626                        "raft_interface_acceleration":
5627                        {
5628                            "label": "Raft Middle Print Acceleration",
5629                            "description": "The acceleration with which the middle raft layer is printed.",
5630                            "unit": "mm/s²",
5631                            "type": "float",
5632                            "default_value": 3000,
5633                            "value": "raft_acceleration",
5634                            "minimum_value": "0.1",
5635                            "minimum_value_warning": "100",
5636                            "maximum_value_warning": "10000",
5637                            "enabled": "resolveOrValue('adhesion_type') == 'raft' and resolveOrValue('acceleration_enabled')",
5638                            "settable_per_mesh": false,
5639                            "limit_to_extruder": "adhesion_extruder_nr"
5640                        },
5641                        "raft_base_acceleration":
5642                        {
5643                            "label": "Raft Base Print Acceleration",
5644                            "description": "The acceleration with which the base raft layer is printed.",
5645                            "unit": "mm/s²",
5646                            "type": "float",
5647                            "default_value": 3000,
5648                            "value": "raft_acceleration",
5649                            "minimum_value": "0.1",
5650                            "minimum_value_warning": "100",
5651                            "maximum_value_warning": "10000",
5652                            "enabled": "resolveOrValue('adhesion_type') == 'raft' and resolveOrValue('acceleration_enabled')",
5653                            "settable_per_mesh": false,
5654                            "limit_to_extruder": "adhesion_extruder_nr"
5655                        }
5656                    }
5657                },
5658                "raft_jerk":
5659                {
5660                    "label": "Raft Print Jerk",
5661                    "description": "The jerk with which the raft is printed.",
5662                    "unit": "mm/s",
5663                    "type": "float",
5664                    "default_value": 20,
5665                    "minimum_value": "0",
5666                    "minimum_value_warning": "5",
5667                    "maximum_value_warning": "50",
5668                    "value": "jerk_print",
5669                    "enabled": "resolveOrValue('adhesion_type') == 'raft' and resolveOrValue('jerk_enabled')",
5670                    "settable_per_mesh": false,
5671                    "limit_to_extruder": "adhesion_extruder_nr",
5672                    "children":
5673                    {
5674                        "raft_surface_jerk":
5675                        {
5676                            "label": "Raft Top Print Jerk",
5677                            "description": "The jerk with which the top raft layers are printed.",
5678                            "unit": "mm/s",
5679                            "type": "float",
5680                            "default_value": 20,
5681                            "value": "raft_jerk",
5682                            "minimum_value": "0",
5683                            "minimum_value_warning": "5",
5684                            "maximum_value_warning": "100",
5685                            "enabled": "resolveOrValue('adhesion_type') == 'raft' and resolveOrValue('jerk_enabled')",
5686                            "settable_per_mesh": false,
5687                            "limit_to_extruder": "adhesion_extruder_nr"
5688                        },
5689                        "raft_interface_jerk":
5690                        {
5691                            "label": "Raft Middle Print Jerk",
5692                            "description": "The jerk with which the middle raft layer is printed.",
5693                            "unit": "mm/s",
5694                            "type": "float",
5695                            "default_value": 20,
5696                            "value": "raft_jerk",
5697                            "minimum_value": "0",
5698                            "minimum_value_warning": "5",
5699                            "maximum_value_warning": "50",
5700                            "enabled": "resolveOrValue('adhesion_type') == 'raft' and resolveOrValue('jerk_enabled')",
5701                            "settable_per_mesh": false,
5702                            "limit_to_extruder": "adhesion_extruder_nr"
5703                        },
5704                        "raft_base_jerk":
5705                        {
5706                            "label": "Raft Base Print Jerk",
5707                            "description": "The jerk with which the base raft layer is printed.",
5708                            "unit": "mm/s",
5709                            "type": "float",
5710                            "default_value": 20,
5711                            "value": "raft_jerk",
5712                            "minimum_value": "0",
5713                            "minimum_value_warning": "5",
5714                            "maximum_value_warning": "50",
5715                            "enabled": "resolveOrValue('adhesion_type') == 'raft' and resolveOrValue('jerk_enabled')",
5716                            "settable_per_mesh": false,
5717                            "limit_to_extruder": "adhesion_extruder_nr"
5718                        }
5719                    }
5720                },
5721                "raft_fan_speed":
5722                {
5723                    "label": "Raft Fan Speed",
5724                    "description": "The fan speed for the raft.",
5725                    "unit": "%",
5726                    "type": "float",
5727                    "minimum_value": "0",
5728                    "maximum_value": "100",
5729                    "default_value": 0,
5730                    "settable_per_mesh": false,
5731                    "settable_per_extruder": true,
5732                    "enabled": "resolveOrValue('adhesion_type') == 'raft'",
5733                    "limit_to_extruder": "adhesion_extruder_nr",
5734                    "children":
5735                    {
5736                        "raft_surface_fan_speed":
5737                        {
5738                            "label": "Raft Top Fan Speed",
5739                            "description": "The fan speed for the top raft layers.",
5740                            "unit": "%",
5741                            "type": "float",
5742                            "minimum_value": "0",
5743                            "maximum_value": "100",
5744                            "default_value": 0,
5745                            "value": "raft_fan_speed",
5746                            "enabled": "resolveOrValue('adhesion_type') == 'raft'",
5747                            "settable_per_mesh": false,
5748                            "settable_per_extruder": true,
5749                            "limit_to_extruder": "adhesion_extruder_nr"
5750                        },
5751                        "raft_interface_fan_speed":
5752                        {
5753                            "label": "Raft Middle Fan Speed",
5754                            "description": "The fan speed for the middle raft layer.",
5755                            "unit": "%",
5756                            "type": "float",
5757                            "minimum_value": "0",
5758                            "maximum_value": "100",
5759                            "default_value": 0,
5760                            "value": "raft_fan_speed",
5761                            "enabled": "resolveOrValue('adhesion_type') == 'raft'",
5762                            "settable_per_mesh": false,
5763                            "settable_per_extruder": true,
5764                            "limit_to_extruder": "adhesion_extruder_nr"
5765                        },
5766                        "raft_base_fan_speed":
5767                        {
5768                            "label": "Raft Base Fan Speed",
5769                            "description": "The fan speed for the base raft layer.",
5770                            "unit": "%",
5771                            "type": "float",
5772                            "minimum_value": "0",
5773                            "maximum_value": "100",
5774                            "default_value": 0,
5775                            "value": "raft_fan_speed",
5776                            "enabled": "resolveOrValue('adhesion_type') == 'raft'",
5777                            "settable_per_mesh": false,
5778                            "settable_per_extruder": true,
5779                            "limit_to_extruder": "adhesion_extruder_nr"
5780                        }
5781                    }
5782                }
5783            }
5784        },
5785        "dual":
5786        {
5787            "label": "Dual Extrusion",
5788            "type": "category",
5789            "icon": "category_dual",
5790            "description": "Settings used for printing with multiple extruders.",
5791            "children":
5792            {
5793                "prime_tower_enable":
5794                {
5795                    "label": "Enable Prime Tower",
5796                    "description": "Print a tower next to the print which serves to prime the material after each nozzle switch.",
5797                    "type": "bool",
5798                    "enabled": "extruders_enabled_count > 1",
5799                    "default_value": false,
5800                    "resolve": "(extruders_enabled_count > 1) and any(extruderValues('prime_tower_enable'))",
5801                    "settable_per_mesh": false,
5802                    "settable_per_extruder": false
5803                },
5804                "prime_tower_size":
5805                {
5806                    "label": "Prime Tower Size",
5807                    "description": "The width of the prime tower.",
5808                    "type": "float",
5809                    "unit": "mm",
5810                    "enabled": "resolveOrValue('prime_tower_enable')",
5811                    "default_value": 20,
5812                    "resolve": "max(extruderValues('prime_tower_size'))",
5813                    "minimum_value": "0",
5814                    "maximum_value": "min(0.5 * machine_width, 0.5 * machine_depth)",
5815                    "minimum_value_warning": "max(extruderValues('prime_tower_line_width')) * 2",
5816                    "maximum_value_warning": "42",
5817                    "settable_per_mesh": false,
5818                    "settable_per_extruder": false
5819                },
5820                "prime_tower_min_volume":
5821                {
5822                    "label": "Prime Tower Minimum Volume",
5823                    "description": "The minimum volume for each layer of the prime tower in order to purge enough material.",
5824                    "unit": "mm³",
5825                    "type": "float",
5826                    "default_value": 6,
5827                    "minimum_value": "0",
5828                    "maximum_value_warning": "(resolveOrValue('prime_tower_size') * 0.5) ** 2 * 3.14159 * resolveOrValue('layer_height') - sum(extruderValues('prime_tower_min_volume')) + prime_tower_min_volume",
5829                    "enabled": "resolveOrValue('prime_tower_enable')",
5830                    "settable_per_mesh": false,
5831                    "settable_per_extruder": true
5832                },
5833                "prime_tower_position_x":
5834                {
5835                    "label": "Prime Tower X Position",
5836                    "description": "The x coordinate of the position of the prime tower.",
5837                    "type": "float",
5838                    "unit": "mm",
5839                    "enabled": "resolveOrValue('prime_tower_enable')",
5840                    "default_value": 200,
5841                    "value": "machine_width - max(extruderValue(adhesion_extruder_nr, 'brim_width') * extruderValue(adhesion_extruder_nr, 'initial_layer_line_width_factor') / 100 if adhesion_type == 'brim' or (prime_tower_brim_enable and adhesion_type != 'raft') else (extruderValue(adhesion_extruder_nr, 'raft_margin') if adhesion_type == 'raft' else (extruderValue(adhesion_extruder_nr, 'skirt_gap') if adhesion_type == 'skirt' else 0)), max(extruderValues('travel_avoid_distance'))) - max(extruderValues('support_offset')) - sum(extruderValues('skirt_brim_line_width')) * extruderValue(adhesion_extruder_nr, 'initial_layer_line_width_factor') / 100 - (resolveOrValue('draft_shield_dist') if resolveOrValue('draft_shield_enabled') else 0) - max(map(abs, extruderValues('machine_nozzle_offset_x'))) - 1",
5842                    "maximum_value": "machine_width / 2 if machine_center_is_zero else machine_width",
5843                    "minimum_value": "resolveOrValue('prime_tower_size') - machine_width / 2 if machine_center_is_zero else resolveOrValue('prime_tower_size')",
5844                    "settable_per_mesh": false,
5845                    "settable_per_extruder": false
5846                },
5847                "prime_tower_position_y":
5848                {
5849                    "label": "Prime Tower Y Position",
5850                    "description": "The y coordinate of the position of the prime tower.",
5851                    "type": "float",
5852                    "unit": "mm",
5853                    "enabled": "resolveOrValue('prime_tower_enable')",
5854                    "default_value": 200,
5855                    "value": "machine_depth - prime_tower_size - max(extruderValue(adhesion_extruder_nr, 'brim_width') * extruderValue(adhesion_extruder_nr, 'initial_layer_line_width_factor') / 100 if adhesion_type == 'brim' or (prime_tower_brim_enable and adhesion_type != 'raft') else (extruderValue(adhesion_extruder_nr, 'raft_margin') if adhesion_type == 'raft' else (extruderValue(adhesion_extruder_nr, 'skirt_gap') if adhesion_type == 'skirt' else 0)), max(extruderValues('travel_avoid_distance'))) - max(extruderValues('support_offset')) - sum(extruderValues('skirt_brim_line_width')) * extruderValue(adhesion_extruder_nr, 'initial_layer_line_width_factor') / 100 - (resolveOrValue('draft_shield_dist') if resolveOrValue('draft_shield_enabled') else 0) - max(map(abs, extruderValues('machine_nozzle_offset_y'))) - 3",
5856                    "maximum_value": "machine_depth / 2 - resolveOrValue('prime_tower_size') if machine_center_is_zero else machine_depth - resolveOrValue('prime_tower_size')",
5857                    "minimum_value": "machine_depth / -2 if machine_center_is_zero else 0",
5858                    "settable_per_mesh": false,
5859                    "settable_per_extruder": false
5860                },
5861                "prime_tower_wipe_enabled":
5862                {
5863                    "label": "Wipe Inactive Nozzle on Prime Tower",
5864                    "description": "After printing the prime tower with one nozzle, wipe the oozed material from the other nozzle off on the prime tower.",
5865                    "type": "bool",
5866                    "enabled": "resolveOrValue('prime_tower_enable')",
5867                    "default_value": true,
5868                    "settable_per_mesh": false,
5869                    "settable_per_extruder": true
5870                },
5871                "prime_tower_brim_enable":
5872                {
5873                    "label": "Prime Tower Brim",
5874                    "description": "Prime-towers might need the extra adhesion afforded by a brim even if the model doesn't. Presently can't be used with the 'Raft' adhesion-type.",
5875                    "type": "bool",
5876                    "enabled": "resolveOrValue('prime_tower_enable') and (resolveOrValue('adhesion_type') != 'raft')",
5877                    "resolve": "resolveOrValue('prime_tower_enable') and (resolveOrValue('adhesion_type') in ('none', 'skirt'))",
5878                    "default_value": false,
5879                    "settable_per_mesh": false,
5880                    "settable_per_extruder": false
5881                },
5882                "ooze_shield_enabled":
5883                {
5884                    "label": "Enable Ooze Shield",
5885                    "description": "Enable exterior ooze shield. This will create a shell around the model which is likely to wipe a second nozzle if it's at the same height as the first nozzle.",
5886                    "type": "bool",
5887                    "resolve": "any(extruderValues('ooze_shield_enabled'))",
5888                    "enabled": "extruders_enabled_count > 1",
5889                    "default_value": false,
5890                    "settable_per_mesh": false,
5891                    "settable_per_extruder": false
5892                },
5893                "ooze_shield_angle":
5894                {
5895                    "label": "Ooze Shield Angle",
5896                    "description": "The maximum angle a part in the ooze shield will have. With 0 degrees being vertical, and 90 degrees being horizontal. A smaller angle leads to less failed ooze shields, but more material.",
5897                    "type": "float",
5898                    "unit": "°",
5899                    "enabled": "resolveOrValue('ooze_shield_enabled')",
5900                    "default_value": 60,
5901                    "resolve": "min(extruderValues('ooze_shield_angle'))",
5902                    "minimum_value": "0",
5903                    "maximum_value": "90",
5904                    "settable_per_mesh": false,
5905                    "settable_per_extruder": false
5906                },
5907                "ooze_shield_dist":
5908                {
5909                    "label": "Ooze Shield Distance",
5910                    "description": "Distance of the ooze shield from the print, in the X/Y directions.",
5911                    "type": "float",
5912                    "unit": "mm",
5913                    "enabled": "resolveOrValue('ooze_shield_enabled')",
5914                    "default_value": 2,
5915                    "resolve": "max(extruderValues('ooze_shield_dist'))",
5916                    "minimum_value": "0",
5917                    "maximum_value_warning": "20",
5918                    "settable_per_mesh": false,
5919                    "settable_per_extruder": false
5920                },
5921                "switch_extruder_retraction_amount":
5922                {
5923                    "label": "Nozzle Switch Retraction Distance",
5924                    "description": "The amount of retraction when switching extruders. Set to 0 for no retraction at all. This should generally be the same as the length of the heat zone.",
5925                    "type": "float",
5926                    "unit": "mm",
5927                    "enabled": "retraction_enable and extruders_enabled_count > 1",
5928                    "default_value": 20,
5929                    "value": "machine_heat_zone_length",
5930                    "minimum_value_warning": "0",
5931                    "maximum_value_warning": "100",
5932                    "settable_per_mesh": false,
5933                    "settable_per_extruder": true
5934                },
5935                "switch_extruder_retraction_speeds":
5936                {
5937                    "label": "Nozzle Switch Retraction Speed",
5938                    "description": "The speed at which the filament is retracted. A higher retraction speed works better, but a very high retraction speed can lead to filament grinding.",
5939                    "type": "float",
5940                    "unit": "mm/s",
5941                    "enabled": "retraction_enable and extruders_enabled_count > 1",
5942                    "default_value": 20,
5943                    "minimum_value": "0.1",
5944                    "minimum_value_warning": "1",
5945                    "maximum_value": "machine_max_feedrate_e if retraction_enable else float('inf')",
5946                    "maximum_value_warning": "70",
5947                    "settable_per_mesh": false,
5948                    "settable_per_extruder": true,
5949                    "children":
5950                    {
5951                        "switch_extruder_retraction_speed":
5952                        {
5953                            "label": "Nozzle Switch Retract Speed",
5954                            "description": "The speed at which the filament is retracted during a nozzle switch retract.",
5955                            "type": "float",
5956                            "unit": "mm/s",
5957                            "enabled": "retraction_enable and extruders_enabled_count > 1",
5958                            "default_value": 20,
5959                            "value": "switch_extruder_retraction_speeds",
5960                            "minimum_value": "0.1",
5961                            "minimum_value_warning": "1",
5962                            "maximum_value": "machine_max_feedrate_e if retraction_enable else float('inf')",
5963                            "maximum_value_warning": "70",
5964                            "settable_per_mesh": false,
5965                            "settable_per_extruder": true
5966                        },
5967                        "switch_extruder_prime_speed":
5968                        {
5969                            "label": "Nozzle Switch Prime Speed",
5970                            "description": "The speed at which the filament is pushed back after a nozzle switch retraction.",
5971                            "type": "float",
5972                            "unit": "mm/s",
5973                            "enabled": "retraction_enable and extruders_enabled_count > 1",
5974                            "default_value": 20,
5975                            "value": "switch_extruder_retraction_speeds",
5976                            "minimum_value": "0.1",
5977                            "minimum_value_warning": "1",
5978                            "maximum_value": "machine_max_feedrate_e if retraction_enable else float('inf')",
5979                            "maximum_value_warning": "70",
5980                            "settable_per_mesh": false,
5981                            "settable_per_extruder": true
5982                        }
5983                    }
5984                },
5985                "switch_extruder_extra_prime_amount":
5986                {
5987                    "label": "Nozzle Switch Extra Prime Amount",
5988                    "description": "Extra material to prime after nozzle switching.",
5989                    "type": "float",
5990                    "unit": "mm³",
5991                    "default_value": 0,
5992                    "minimum_value_warning": "0",
5993                    "maximum_value_warning": "100",
5994                    "enabled": "retraction_enable and extruders_enabled_count > 1",
5995                    "settable_per_mesh": false,
5996                    "settable_per_extruder": true
5997                }
5998            }
5999        },
6000        "meshfix":
6001        {
6002            "label": "Mesh Fixes",
6003            "type": "category",
6004            "icon": "category_fixes",
6005            "description": "Make the meshes more suited for 3D printing.",
6006            "children":
6007            {
6008                "meshfix_union_all":
6009                {
6010                    "label": "Union Overlapping Volumes",
6011                    "description": "Ignore the internal geometry arising from overlapping volumes within a mesh and print the volumes as one. This may cause unintended internal cavities to disappear.",
6012                    "type": "bool",
6013                    "default_value": true,
6014                    "value": "magic_mesh_surface_mode != 'surface'",
6015                    "settable_per_mesh": true
6016                },
6017                "meshfix_union_all_remove_holes":
6018                {
6019                    "label": "Remove All Holes",
6020                    "description": "Remove the holes in each layer and keep only the outside shape. This will ignore any invisible internal geometry. However, it also ignores layer holes which can be viewed from above or below.",
6021                    "type": "bool",
6022                    "default_value": false,
6023                    "settable_per_mesh": true
6024                },
6025                "meshfix_extensive_stitching":
6026                {
6027                    "label": "Extensive Stitching",
6028                    "description": "Extensive stitching tries to stitch up open holes in the mesh by closing the hole with touching polygons. This option can introduce a lot of processing time.",
6029                    "type": "bool",
6030                    "default_value": false,
6031                    "settable_per_mesh": true
6032                },
6033                "meshfix_keep_open_polygons":
6034                {
6035                    "label": "Keep Disconnected Faces",
6036                    "description": "Normally Cura tries to stitch up small holes in the mesh and remove parts of a layer with big holes. Enabling this option keeps those parts which cannot be stitched. This option should be used as a last resort option when everything else fails to produce proper g-code.",
6037                    "type": "bool",
6038                    "default_value": false,
6039                    "settable_per_mesh": true
6040                },
6041                "multiple_mesh_overlap":
6042                {
6043                    "label": "Merged Meshes Overlap",
6044                    "description": "Make meshes which are touching each other overlap a bit. This makes them bond together better.",
6045                    "type": "float",
6046                    "unit": "mm",
6047                    "default_value": 0.15,
6048                    "minimum_value": "0",
6049                    "maximum_value_warning": "1.0",
6050                    "limit_to_extruder": "wall_0_extruder_nr",
6051                    "settable_per_mesh": true
6052                },
6053                "carve_multiple_volumes":
6054                {
6055                    "label": "Remove Mesh Intersection",
6056                    "description": "Remove areas where multiple meshes are overlapping with each other. This may be used if merged dual material objects overlap with each other.",
6057                    "type": "bool",
6058                    "default_value": true,
6059                    "value": "extruders_enabled_count > 1",
6060                    "enabled": "all(p != 'surface' for p in extruderValues('magic_mesh_surface_mode'))",
6061                    "settable_per_mesh": false,
6062                    "settable_per_extruder": false,
6063                    "settable_per_meshgroup": true
6064                },
6065                "alternate_carve_order":
6066                {
6067                    "label": "Alternate Mesh Removal",
6068                    "description": "Switch to which mesh intersecting volumes will belong with every layer, so that the overlapping meshes become interwoven. Turning this setting off will cause one of the meshes to obtain all of the volume in the overlap, while it is removed from the other meshes.",
6069                    "type": "bool",
6070                    "default_value": true,
6071                    "enabled": "carve_multiple_volumes and all(p != 'surface' for p in extruderValues('magic_mesh_surface_mode'))",
6072                    "settable_per_mesh": false,
6073                    "settable_per_extruder": false,
6074                    "settable_per_meshgroup": true
6075                },
6076                "remove_empty_first_layers":
6077                {
6078                    "label": "Remove Empty First Layers",
6079                    "description": "Remove empty layers beneath the first printed layer if they are present. Disabling this setting can cause empty first layers if the Slicing Tolerance setting is set to Exclusive or Middle.",
6080                    "type": "bool",
6081                    "default_value": true,
6082                    "enabled": "not (support_enable or support_meshes_present)",
6083                    "settable_per_mesh": false,
6084                    "settable_per_extruder": false
6085                },
6086                "meshfix_maximum_resolution":
6087                {
6088                    "label": "Maximum Resolution",
6089                    "description": "The minimum size of a line segment after slicing. If you increase this, the mesh will have a lower resolution. This may allow the printer to keep up with the speed it has to process g-code and will increase slice speed by removing details of the mesh that it can't process anyway.",
6090                    "type": "float",
6091                    "unit": "mm",
6092                    "default_value": 0.5,
6093                    "minimum_value": "0.001",
6094                    "minimum_value_warning": "0.01",
6095                    "maximum_value_warning": "3",
6096                    "settable_per_mesh": true
6097                },
6098                "meshfix_maximum_travel_resolution":
6099                {
6100                    "label": "Maximum Travel Resolution",
6101                    "description": "The minimum size of a travel line segment after slicing. If you increase this, the travel moves will have less smooth corners. This may allow the printer to keep up with the speed it has to process g-code, but it may cause model avoidance to become less accurate.",
6102                    "type": "float",
6103                    "unit": "mm",
6104                    "default_value": 1.0,
6105                    "value": "min(meshfix_maximum_resolution * speed_travel / speed_print, 2 * line_width)",
6106                    "minimum_value": "0.001",
6107                    "minimum_value_warning": "0.05",
6108                    "maximum_value_warning": "10",
6109                    "settable_per_mesh": false,
6110                    "settable_per_extruder": true
6111                },
6112                "meshfix_maximum_deviation":
6113                {
6114                    "label": "Maximum Deviation",
6115                    "description": "The maximum deviation allowed when reducing the resolution for the Maximum Resolution setting. If you increase this, the print will be less accurate, but the g-code will be smaller. Maximum Deviation is a limit for Maximum Resolution, so if the two conflict the Maximum Deviation will always be held true.",
6116                    "type": "float",
6117                    "unit": "mm",
6118                    "default_value": 0.025,
6119                    "minimum_value": "0.001",
6120                    "minimum_value_warning": "0.01",
6121                    "maximum_value_warning": "0.3",
6122                    "settable_per_mesh": true
6123                }
6124            }
6125        },
6126        "blackmagic":
6127        {
6128            "label": "Special Modes",
6129            "type": "category",
6130            "icon": "category_blackmagic",
6131            "description": "Non-traditional ways to print your models.",
6132            "children":
6133            {
6134                "print_sequence":
6135                {
6136                    "label": "Print Sequence",
6137                    "description": "Whether to print all models one layer at a time or to wait for one model to finish, before moving on to the next. One at a time mode is possible if a) only one extruder is enabled and b) all models are separated in such a way that the whole print head can move in between and all models are lower than the distance between the nozzle and the X/Y axes.",
6138                    "type": "enum",
6139                    "options":
6140                    {
6141                        "all_at_once": "All at Once",
6142                        "one_at_a_time": "One at a Time"
6143                    },
6144                    "default_value": "all_at_once",
6145                    "enabled": "extruders_enabled_count == 1",
6146                    "settable_per_mesh": false,
6147                    "settable_per_extruder": false,
6148                    "settable_per_meshgroup": false
6149                },
6150                "infill_mesh":
6151                {
6152                    "label": "Infill Mesh",
6153                    "description": "Use this mesh to modify the infill of other meshes with which it overlaps. Replaces infill regions of other meshes with regions for this mesh. It's suggested to only print one Wall and no Top/Bottom Skin for this mesh.",
6154                    "type": "bool",
6155                    "default_value": false,
6156                    "settable_per_mesh": true,
6157                    "settable_per_extruder": false,
6158                    "settable_per_meshgroup": false,
6159                    "settable_globally": false
6160                },
6161                "infill_mesh_order":
6162                {
6163                    "label": "Mesh Processing Rank",
6164                    "description": "Determines the priority of this mesh when considering multiple overlapping infill meshes. Areas where multiple infill meshes overlap will take on the settings of the mesh with the lowest rank. An infill mesh with a higher order will modify the infill of infill meshes with lower order and normal meshes.",
6165                    "default_value": 0,
6166                    "value": "1 if infill_mesh else 0",
6167                    "minimum_value_warning": "1",
6168                    "maximum_value_warning": "50",
6169                    "type": "int",
6170                    "settable_per_mesh": true,
6171                    "settable_per_extruder": false,
6172                    "settable_per_meshgroup": false,
6173                    "settable_globally": false
6174                },
6175                "cutting_mesh":
6176                {
6177                    "label": "Cutting Mesh",
6178                    "description": "Limit the volume of this mesh to within other meshes. You can use this to make certain areas of one mesh print with different settings and with a whole different extruder.",
6179                    "type": "bool",
6180                    "default_value": false,
6181                    "settable_per_mesh": true,
6182                    "settable_per_extruder": false,
6183                    "settable_per_meshgroup": false,
6184                    "settable_globally": false
6185                },
6186                "mold_enabled":
6187                {
6188                    "label": "Mold",
6189                    "description": "Print models as a mold, which can be cast in order to get a model which resembles the models on the build plate.",
6190                    "type": "bool",
6191                    "default_value": false,
6192                    "settable_per_mesh": true
6193                },
6194                "mold_width":
6195                {
6196                    "label": "Minimal Mold Width",
6197                    "description": "The minimal distance between the ouside of the mold and the outside of the model.",
6198                    "unit": "mm",
6199                    "type": "float",
6200                    "minimum_value_warning": "wall_line_width_0 * 2",
6201                    "maximum_value_warning": "100",
6202                    "default_value": 5,
6203                    "settable_per_mesh": true,
6204                    "enabled": "mold_enabled"
6205                },
6206                "mold_roof_height":
6207                {
6208                    "label": "Mold Roof Height",
6209                    "description": "The height above horizontal parts in your model which to print mold.",
6210                    "unit": "mm",
6211                    "type": "float",
6212                    "minimum_value": "0",
6213                    "maximum_value_warning": "5",
6214                    "default_value": 0.5,
6215                    "settable_per_mesh": true,
6216                    "enabled": "mold_enabled"
6217                },
6218                "mold_angle":
6219                {
6220                    "label": "Mold Angle",
6221                    "description": "The angle of overhang of the outer walls created for the mold. 0° will make the outer shell of the mold vertical, while 90° will make the outside of the model follow the contour of the model.",
6222                    "unit": "°",
6223                    "type": "float",
6224                    "minimum_value": "-89",
6225                    "minimum_value_warning": "0",
6226                    "maximum_value_warning": "support_angle",
6227                    "maximum_value": "90",
6228                    "default_value": 40,
6229                    "settable_per_mesh": true,
6230                    "enabled": "mold_enabled"
6231                },
6232                "support_mesh":
6233                {
6234                    "label": "Support Mesh",
6235                    "description": "Use this mesh to specify support areas. This can be used to generate support structure.",
6236                    "type": "bool",
6237                    "default_value": false,
6238                    "settable_per_mesh": true,
6239                    "settable_per_extruder": false,
6240                    "settable_per_meshgroup": false,
6241                    "settable_globally": false
6242                },
6243                "anti_overhang_mesh":
6244                {
6245                    "label": "Anti Overhang Mesh",
6246                    "description": "Use this mesh to specify where no part of the model should be detected as overhang. This can be used to remove unwanted support structure.",
6247                    "type": "bool",
6248                    "default_value": false,
6249                    "settable_per_mesh": true,
6250                    "settable_per_extruder": false,
6251                    "settable_per_meshgroup": false,
6252                    "settable_globally": false
6253                },
6254                "magic_mesh_surface_mode":
6255                {
6256                    "label": "Surface Mode",
6257                    "description": "Treat the model as a surface only, a volume, or volumes with loose surfaces. The normal print mode only prints enclosed volumes. \"Surface\" prints a single wall tracing the mesh surface with no infill and no top/bottom skin. \"Both\" prints enclosed volumes like normal and any remaining polygons as surfaces.",
6258                    "type": "enum",
6259                    "options":
6260                    {
6261                        "normal": "Normal",
6262                        "surface": "Surface",
6263                        "both": "Both"
6264                    },
6265                    "default_value": "normal",
6266                    "settable_per_mesh": true
6267                },
6268                "magic_spiralize":
6269                {
6270                    "label": "Spiralize Outer Contour",
6271                    "description": "Spiralize smooths out the Z move of the outer edge. This will create a steady Z increase over the whole print. This feature turns a solid model into a single walled print with a solid bottom. This feature should only be enabled when each layer only contains a single part.",
6272                    "type": "bool",
6273                    "default_value": false,
6274                    "settable_per_mesh": false,
6275                    "settable_per_extruder": false
6276                },
6277                "smooth_spiralized_contours":
6278                {
6279                    "label": "Smooth Spiralized Contours",
6280                    "description": "Smooth the spiralized contours to reduce the visibility of the Z seam (the Z seam should be barely visible on the print but will still be visible in the layer view). Note that smoothing will tend to blur fine surface details.",
6281                    "type": "bool",
6282                    "default_value": true,
6283                    "enabled": "magic_spiralize",
6284                    "settable_per_mesh": false,
6285                    "settable_per_extruder": false
6286                },
6287                "relative_extrusion":
6288                {
6289                    "label": "Relative Extrusion",
6290                    "description": "Use relative extrusion rather than absolute extrusion. Using relative E-steps makes for easier post-processing of the g-code. However, it's not supported by all printers and it may produce very slight deviations in the amount of deposited material compared to absolute E-steps. Irrespective of this setting, the extrusion mode will always be set to absolute before any g-code script is output.",
6291                    "type": "bool",
6292                    "default_value": false,
6293                    "value": "machine_gcode_flavor==\"RepRap (RepRap)\"",
6294                    "settable_per_mesh": false,
6295                    "settable_per_extruder": false
6296                }
6297            }
6298        },
6299        "experimental":
6300        {
6301            "label": "Experimental",
6302            "type": "category",
6303            "icon": "category_experimental",
6304            "description": "Features that haven't completely been fleshed out yet.",
6305            "children":
6306            {
6307                "slicing_tolerance":
6308                {
6309                    "label": "Slicing Tolerance",
6310                    "description": "Vertical tolerance in the sliced layers. The contours of a layer are normally generated by taking cross sections through the middle of each layer's thickness (Middle). Alternatively each layer can have the areas which fall inside of the volume throughout the entire thickness of the layer (Exclusive) or a layer has the areas which fall inside anywhere within the layer (Inclusive). Inclusive retains the most details, Exclusive makes for the best fit and Middle stays closest to the original surface.",
6311                    "type": "enum",
6312                    "options":
6313                    {
6314                        "middle": "Middle",
6315                        "exclusive": "Exclusive",
6316                        "inclusive": "Inclusive"
6317                    },
6318                    "default_value": "middle",
6319                    "settable_per_mesh": true
6320                },
6321                "roofing_line_width":
6322                {
6323                    "label": "Top Surface Skin Line Width",
6324                    "description": "Width of a single line of the areas at the top of the print.",
6325                    "unit": "mm",
6326                    "minimum_value": "0.001",
6327                    "minimum_value_warning": "0.1 + 0.4 * machine_nozzle_size",
6328                    "maximum_value_warning": "2 * machine_nozzle_size",
6329                    "default_value": 0.4,
6330                    "type": "float",
6331                    "value": "skin_line_width",
6332                    "limit_to_extruder": "roofing_extruder_nr",
6333                    "settable_per_mesh": true,
6334                    "enabled": "roofing_layer_count > 0 and top_layers > 0"
6335                },
6336                "roofing_pattern":
6337                {
6338                    "label": "Top Surface Skin Pattern",
6339                    "description": "The pattern of the top most layers.",
6340                    "type": "enum",
6341                    "options":
6342                    {
6343                        "lines": "Lines",
6344                        "concentric": "Concentric",
6345                        "zigzag": "Zig Zag"
6346                    },
6347                    "default_value": "lines",
6348                    "value": "top_bottom_pattern",
6349                    "limit_to_extruder": "roofing_extruder_nr",
6350                    "settable_per_mesh": true,
6351                    "enabled": "roofing_layer_count > 0 and top_layers > 0"
6352                },
6353                "roofing_angles":
6354                {
6355                    "label": "Top Surface Skin Line Directions",
6356                    "description": "A list of integer line directions to use when the top surface skin layers use the lines or zig zag pattern. Elements from the list are used sequentially as the layers progress and when the end of the list is reached, it starts at the beginning again. The list items are separated by commas and the whole list is contained in square brackets. Default is an empty list which means use the traditional default angles (45 and 135 degrees).",
6357                    "type": "[int]",
6358                    "default_value": "[ ]",
6359                    "value": "skin_angles",
6360                    "enabled": "roofing_pattern != 'concentric' and roofing_layer_count > 0 and top_layers > 0",
6361                    "limit_to_extruder": "roofing_extruder_nr",
6362                    "settable_per_mesh": true
6363                },
6364                "infill_enable_travel_optimization":
6365                {
6366                    "label": "Infill Travel Optimization",
6367                    "description": "When enabled, the order in which the infill lines are printed is optimized to reduce the distance travelled. The reduction in travel time achieved very much depends on the model being sliced, infill pattern, density, etc. Note that, for some models that have many small areas of infill, the time to slice the model may be greatly increased.",
6368                    "type": "bool",
6369                    "enabled": "resolveOrValue('retraction_combing') != 'off'",
6370                    "default_value": false,
6371                    "settable_per_mesh": true
6372                },
6373                "material_flow_dependent_temperature":
6374                {
6375                    "label": "Auto Temperature",
6376                    "description": "Change the temperature for each layer automatically with the average flow speed of that layer.",
6377                    "type": "bool",
6378                    "default_value": false,
6379                    "enabled": "machine_nozzle_temp_enabled and False",
6380                    "settable_per_mesh": false,
6381                    "settable_per_extruder": true
6382                },
6383                "material_flow_temp_graph":
6384                {
6385                    "label": "Flow Temperature Graph",
6386                    "description": "Data linking material flow (in mm3 per second) to temperature (degrees Celsius).",
6387                    "unit": "[[mm³,°C]]",
6388                    "type": "str",
6389                    "default_value": "[[3.5,200],[7.0,240]]",
6390                    "enabled": "False and machine_nozzle_temp_enabled and material_flow_dependent_temperature",
6391                    "settable_per_mesh": false,
6392                    "settable_per_extruder": true
6393                },
6394                "minimum_polygon_circumference":
6395                {
6396                    "label": "Minimum Polygon Circumference",
6397                    "description": "Polygons in sliced layers that have a circumference smaller than this amount will be filtered out. Lower values lead to higher resolution mesh at the cost of slicing time. It is meant mostly for high resolution SLA printers and very tiny 3D models with a lot of details.",
6398                    "unit": "mm",
6399                    "type": "float",
6400                    "default_value": 1.0,
6401                    "minimum_value": "0",
6402                    "minimum_value_warning": "0.05",
6403                    "maximum_value_warning": "1.0",
6404                    "settable_per_mesh": true,
6405                    "settable_per_extruder": false
6406                },
6407                "support_skip_some_zags":
6408                {
6409                    "label": "Break Up Support In Chunks",
6410                    "description": "Skip some support line connections to make the support structure easier to break away. This setting is applicable to the Zig Zag support infill pattern.",
6411                    "type": "bool",
6412                    "default_value": false,
6413                    "enabled": "(support_enable  or support_meshes_present) and support_pattern == 'zigzag'",
6414                    "limit_to_extruder": "support_infill_extruder_nr",
6415                    "settable_per_mesh": false,
6416                    "settable_per_extruder": true
6417                },
6418                "support_skip_zag_per_mm":
6419                {
6420                    "label": "Support Chunk Size",
6421                    "description": "Leave out a connection between support lines once every N millimeter to make the support structure easier to break away.",
6422                    "type": "float",
6423                    "unit": "mm",
6424                    "default_value": 20,
6425                    "minimum_value": "0",
6426                    "minimum_value_warning": "support_line_distance",
6427                    "enabled": "(support_enable or support_meshes_present) and support_pattern == 'zigzag' and support_skip_some_zags",
6428                    "limit_to_extruder": "support_infill_extruder_nr",
6429                    "settable_per_mesh": false,
6430                    "settable_per_extruder": true,
6431                    "children":
6432                    {
6433                        "support_zag_skip_count":
6434                        {
6435                            "label": "Support Chunk Line Count",
6436                            "description": "Skip one in every N connection lines to make the support structure easier to break away.",
6437                            "type": "int",
6438                            "default_value": 5,
6439                            "value": "0 if support_line_distance == 0 else round(support_skip_zag_per_mm / support_line_distance)",
6440                            "minimum_value": "1",
6441                            "minimum_value_warning": "3",
6442                            "enabled": "(support_enable or support_meshes_present) and support_pattern == 'zigzag' and support_skip_some_zags",
6443                            "limit_to_extruder": "support_infill_extruder_nr",
6444                            "settable_per_mesh": false,
6445                            "settable_per_extruder": true
6446                        }
6447                    }
6448                },
6449                "draft_shield_enabled":
6450                {
6451                    "label": "Enable Draft Shield",
6452                    "description": "This will create a wall around the model, which traps (hot) air and shields against exterior airflow. Especially useful for materials which warp easily.",
6453                    "type": "bool",
6454                    "default_value": false,
6455                    "settable_per_mesh": false,
6456                    "settable_per_extruder": false
6457                },
6458                "draft_shield_dist":
6459                {
6460                    "label": "Draft Shield X/Y Distance",
6461                    "description": "Distance of the draft shield from the print, in the X/Y directions.",
6462                    "unit": "mm",
6463                    "type": "float",
6464                    "minimum_value": "0",
6465                    "maximum_value_warning": "10",
6466                    "default_value": 10,
6467                    "resolve": "max(extruderValues('draft_shield_dist'))",
6468                    "enabled": "draft_shield_enabled",
6469                    "settable_per_mesh": false,
6470                    "settable_per_extruder": false
6471                },
6472                "draft_shield_height_limitation":
6473                {
6474                    "label": "Draft Shield Limitation",
6475                    "description": "Set the height of the draft shield. Choose to print the draft shield at the full height of the model or at a limited height.",
6476                    "type": "enum",
6477                    "options":
6478                    {
6479                        "full": "Full",
6480                        "limited": "Limited"
6481                    },
6482                    "default_value": "full",
6483                    "resolve": "'full' if 'full' in extruderValues('draft_shield_height_limitation') else 'limited'",
6484                    "enabled": "draft_shield_enabled",
6485                    "settable_per_mesh": false,
6486                    "settable_per_extruder": false
6487                },
6488                "draft_shield_height":
6489                {
6490                    "label": "Draft Shield Height",
6491                    "description": "Height limitation of the draft shield. Above this height no draft shield will be printed.",
6492                    "unit": "mm",
6493                    "type": "float",
6494                    "minimum_value": "0",
6495                    "maximum_value_warning": "9999",
6496                    "default_value": 10,
6497                    "value": "10",
6498                    "enabled": "draft_shield_enabled and draft_shield_height_limitation == 'limited'",
6499                    "settable_per_mesh": false,
6500                    "settable_per_extruder": false
6501                },
6502                "conical_overhang_enabled":
6503                {
6504                    "label": "Make Overhang Printable",
6505                    "description": "Change the geometry of the printed model such that minimal support is required. Steep overhangs will become shallow overhangs. Overhanging areas will drop down to become more vertical.",
6506                    "type": "bool",
6507                    "default_value": false
6508                },
6509                "conical_overhang_angle":
6510                {
6511                    "label": "Maximum Model Angle",
6512                    "description": "The maximum angle of overhangs after the they have been made printable. At a value of 0° all overhangs are replaced by a piece of model connected to the build plate, 90° will not change the model in any way.",
6513                    "unit": "°",
6514                    "type": "float",
6515                    "minimum_value": "-89",
6516                    "minimum_value_warning": "0",
6517                    "maximum_value": "89",
6518                    "default_value": 50,
6519                    "enabled": "conical_overhang_enabled"
6520                },
6521                "coasting_enable":
6522                {
6523                    "label": "Enable Coasting",
6524                    "description": "Coasting replaces the last part of an extrusion path with a travel path. The oozed material is used to print the last piece of the extrusion path in order to reduce stringing.",
6525                    "type": "bool",
6526                    "default_value": false,
6527                    "settable_per_mesh": false,
6528                    "settable_per_extruder": true
6529                },
6530                "coasting_volume":
6531                {
6532                    "label": "Coasting Volume",
6533                    "description": "The volume otherwise oozed. This value should generally be close to the nozzle diameter cubed.",
6534                    "unit": "mm³",
6535                    "type": "float",
6536                    "default_value": 0.064,
6537                    "minimum_value": "0",
6538                    "maximum_value_warning": "machine_nozzle_size * 5",
6539                    "enabled": "coasting_enable",
6540                    "settable_per_mesh": false,
6541                    "settable_per_extruder": true
6542                },
6543                "coasting_min_volume":
6544                {
6545                    "label": "Minimum Volume Before Coasting",
6546                    "description": "The smallest volume an extrusion path should have before allowing coasting. For smaller extrusion paths, less pressure has been built up in the bowden tube and so the coasted volume is scaled linearly. This value should always be larger than the Coasting Volume.",
6547                    "unit": "mm³",
6548                    "type": "float",
6549                    "default_value": 0.8,
6550                    "minimum_value": "0",
6551                    "maximum_value_warning": "10.0",
6552                    "enabled": "coasting_enable",
6553                    "settable_per_mesh": false,
6554                    "settable_per_extruder": true
6555                },
6556                "coasting_speed":
6557                {
6558                    "label": "Coasting Speed",
6559                    "description": "The speed by which to move during coasting, relative to the speed of the extrusion path. A value slightly under 100% is advised, since during the coasting move the pressure in the bowden tube drops.",
6560                    "unit": "%",
6561                    "type": "float",
6562                    "default_value": 90,
6563                    "minimum_value": "0.0001",
6564                    "maximum_value_warning": "100",
6565                    "enabled": "coasting_enable",
6566                    "settable_per_mesh": false,
6567                    "settable_per_extruder": true
6568                },
6569                "cross_infill_pocket_size":
6570                {
6571                    "label": "Cross 3D Pocket Size",
6572                    "description": "The size of pockets at four-way crossings in the cross 3D pattern at heights where the pattern is touching itself.",
6573                    "unit": "mm",
6574                    "type": "float",
6575                    "default_value": 2.0,
6576                    "value": "infill_line_distance",
6577                    "minimum_value": "0",
6578                    "maximum_value_warning": "infill_line_distance * math.sqrt(2)",
6579                    "enabled": "infill_pattern == 'cross_3d'",
6580                    "limit_to_extruder": "infill_extruder_nr",
6581                    "settable_per_mesh": true
6582                },
6583                "cross_infill_density_image":
6584                {
6585                    "label": "Cross Infill Density Image",
6586                    "description": "The file location of an image of which the brightness values determine the minimal density at the corresponding location in the infill of the print.",
6587                    "type": "str",
6588                    "default_value": "",
6589                    "enabled": "infill_pattern == 'cross' or infill_pattern == 'cross_3d'",
6590                    "limit_to_extruder": "infill_extruder_nr",
6591                    "settable_per_mesh": true
6592                },
6593                "cross_support_density_image":
6594                {
6595                    "label": "Cross Fill Density Image for Support",
6596                    "description": "The file location of an image of which the brightness values determine the minimal density at the corresponding location in the support.",
6597                    "type": "str",
6598                    "default_value": "",
6599                    "enabled": "support_pattern == 'cross' or support_pattern == 'cross_3d'",
6600                    "limit_to_extruder": "support_infill_extruder_nr",
6601                    "settable_per_mesh": false,
6602                    "settable_per_extruder": true
6603                },
6604                "support_conical_enabled":
6605                {
6606                    "label": "Enable Conical Support",
6607                    "description": "Make support areas smaller at the bottom than at the overhang.",
6608                    "type": "bool",
6609                    "default_value": false,
6610                    "enabled": "support_enable and support_structure != 'tree'",
6611                    "limit_to_extruder": "support_infill_extruder_nr",
6612                    "settable_per_mesh": true
6613                },
6614                "support_conical_angle":
6615                {
6616                    "label": "Conical Support Angle",
6617                    "description": "The angle of the tilt of conical support. With 0 degrees being vertical, and 90 degrees being horizontal. Smaller angles cause the support to be more sturdy, but consist of more material. Negative angles cause the base of the support to be wider than the top.",
6618                    "unit": "°",
6619                    "type": "float",
6620                    "minimum_value": "-90",
6621                    "minimum_value_warning": "-45",
6622                    "maximum_value_warning": "45",
6623                    "maximum_value": "90",
6624                    "default_value": 30,
6625                    "enabled": "support_conical_enabled and support_enable and support_structure != 'tree'",
6626                    "limit_to_extruder": "support_infill_extruder_nr",
6627                    "settable_per_mesh": true
6628                },
6629                "support_conical_min_width":
6630                {
6631                    "label": "Conical Support Minimum Width",
6632                    "description": "Minimum width to which the base of the conical support area is reduced. Small widths can lead to unstable support structures.",
6633                    "unit": "mm",
6634                    "default_value": 5.0,
6635                    "minimum_value": "0",
6636                    "minimum_value_warning": "machine_nozzle_size * 3",
6637                    "maximum_value_warning": "100.0",
6638                    "type": "float",
6639                    "enabled": "support_conical_enabled and support_enable and support_structure != 'tree' and support_conical_angle > 0",
6640                    "limit_to_extruder": "support_infill_extruder_nr",
6641                    "settable_per_mesh": true
6642                },
6643                "magic_fuzzy_skin_enabled":
6644                {
6645                    "label": "Fuzzy Skin",
6646                    "description": "Randomly jitter while printing the outer wall, so that the surface has a rough and fuzzy look.",
6647                    "type": "bool",
6648                    "default_value": false,
6649                    "limit_to_extruder": "wall_0_extruder_nr",
6650                    "settable_per_mesh": true
6651                },
6652                "magic_fuzzy_skin_outside_only":
6653                {
6654                    "label": "Fuzzy Skin Outside Only",
6655                    "description": "Jitter only the parts' outlines and not the parts' holes.",
6656                    "type": "bool",
6657                    "default_value": false,
6658                    "enabled": "magic_fuzzy_skin_enabled",
6659                    "limit_to_extruder": "wall_0_extruder_nr",
6660                    "settable_per_mesh": true
6661                },
6662               "magic_fuzzy_skin_thickness":
6663                {
6664                    "label": "Fuzzy Skin Thickness",
6665                    "description": "The width within which to jitter. It's advised to keep this below the outer wall width, since the inner walls are unaltered.",
6666                    "type": "float",
6667                    "unit": "mm",
6668                    "default_value": 0.3,
6669                    "minimum_value": "0.001",
6670                    "maximum_value_warning": "wall_line_width_0",
6671                    "enabled": "magic_fuzzy_skin_enabled",
6672                    "limit_to_extruder": "wall_0_extruder_nr",
6673                    "settable_per_mesh": true
6674                },
6675                "magic_fuzzy_skin_point_density":
6676                {
6677                    "label": "Fuzzy Skin Density",
6678                    "description": "The average density of points introduced on each polygon in a layer. Note that the original points of the polygon are discarded, so a low density results in a reduction of the resolution.",
6679                    "type": "float",
6680                    "unit": "1/mm",
6681                    "default_value": 1.25,
6682                    "minimum_value": "0.008",
6683                    "minimum_value_warning": "0.1",
6684                    "maximum_value_warning": "10",
6685                    "maximum_value": "2 / magic_fuzzy_skin_thickness",
6686                    "enabled": "magic_fuzzy_skin_enabled",
6687                    "limit_to_extruder": "wall_0_extruder_nr",
6688                    "settable_per_mesh": true,
6689                    "children":
6690                    {
6691                        "magic_fuzzy_skin_point_dist":
6692                        {
6693                            "label": "Fuzzy Skin Point Distance",
6694                            "description": "The average distance between the random points introduced on each line segment. Note that the original points of the polygon are discarded, so a high smoothness results in a reduction of the resolution. This value must be higher than half the Fuzzy Skin Thickness.",
6695                            "type": "float",
6696                            "unit": "mm",
6697                            "default_value": 0.8,
6698                            "minimum_value": "magic_fuzzy_skin_thickness / 2",
6699                            "minimum_value_warning": "0.1",
6700                            "maximum_value_warning": "10",
6701                            "value": "10000 if magic_fuzzy_skin_point_density == 0 else 1 / magic_fuzzy_skin_point_density",
6702                            "enabled": "magic_fuzzy_skin_enabled",
6703                            "limit_to_extruder": "wall_0_extruder_nr",
6704                            "settable_per_mesh": true
6705                        }
6706                    }
6707                },
6708                "flow_rate_max_extrusion_offset":
6709                {
6710                    "label": "Flow Rate Compensation Max Extrusion Offset",
6711                    "description": "The maximum distance in mm to move the filament to compensate for changes in flow rate.",
6712                    "unit": "mm",
6713                    "type": "float",
6714                    "minimum_value": "0",
6715                    "maximum_value_warning": "10",
6716                    "default_value": 0,
6717                    "settable_per_mesh": false,
6718                    "settable_per_extruder": false,
6719                    "settable_per_meshgroup": false
6720                },
6721                "flow_rate_extrusion_offset_factor":
6722                {
6723                    "label": "Flow Rate Compensation Factor",
6724                    "description": "How far to move the filament in order to compensate for changes in flow rate, as a percentage of how far the filament would move in one second of extrusion.",
6725                    "unit": "%",
6726                    "type": "float",
6727                    "minimum_value": "0",
6728                    "maximum_value_warning": "100",
6729                    "default_value": 100,
6730                    "settable_per_mesh": false,
6731                    "settable_per_extruder": false,
6732                    "settable_per_meshgroup": false
6733                },
6734                "wireframe_enabled":
6735                {
6736                    "label": "Wire Printing",
6737                    "description": "Print only the outside surface with a sparse webbed structure, printing 'in thin air'. This is realized by horizontally printing the contours of the model at given Z intervals which are connected via upward and diagonally downward lines.",
6738                    "type": "bool",
6739                    "default_value": false,
6740                    "settable_per_mesh": false,
6741                    "settable_per_extruder": false,
6742                    "settable_per_meshgroup": false
6743                },
6744                "wireframe_height":
6745                {
6746                    "label": "WP Connection Height",
6747                    "description": "The height of the upward and diagonally downward lines between two horizontal parts. This determines the overall density of the net structure. Only applies to Wire Printing.",
6748                    "type": "float",
6749                    "unit": "mm",
6750                    "default_value": 3,
6751                    "value": "machine_nozzle_head_distance",
6752                    "minimum_value": "0.001",
6753                    "maximum_value_warning": "20",
6754                    "enabled": "wireframe_enabled",
6755                    "settable_per_mesh": false,
6756                    "settable_per_extruder": false,
6757                    "settable_per_meshgroup": false
6758                },
6759                "wireframe_roof_inset":
6760                {
6761                    "label": "WP Roof Inset Distance",
6762                    "description": "The distance covered when making a connection from a roof outline inward. Only applies to Wire Printing.",
6763                    "type": "float",
6764                    "unit": "mm",
6765                    "default_value": 3,
6766                    "minimum_value": "0",
6767                    "minimum_value_warning": "machine_nozzle_size",
6768                    "maximum_value_warning": "20",
6769                    "enabled": "wireframe_enabled",
6770                    "value": "wireframe_height",
6771                    "settable_per_mesh": false,
6772                    "settable_per_extruder": false,
6773                    "settable_per_meshgroup": false
6774                },
6775                "wireframe_printspeed":
6776                {
6777                    "label": "WP Speed",
6778                    "description": "Speed at which the nozzle moves when extruding material. Only applies to Wire Printing.",
6779                    "unit": "mm/s",
6780                    "type": "float",
6781                    "default_value": 5,
6782                    "minimum_value": "0.05",
6783                    "maximum_value": "math.sqrt(machine_max_feedrate_x ** 2 + machine_max_feedrate_y ** 2 + machine_max_feedrate_z ** 2)",
6784                    "maximum_value_warning": "50",
6785                    "enabled": "wireframe_enabled",
6786                    "settable_per_mesh": false,
6787                    "settable_per_extruder": false,
6788                    "settable_per_meshgroup": false,
6789                    "children":
6790                    {
6791                        "wireframe_printspeed_bottom":
6792                        {
6793                            "label": "WP Bottom Printing Speed",
6794                            "description": "Speed of printing the first layer, which is the only layer touching the build platform. Only applies to Wire Printing.",
6795                            "unit": "mm/s",
6796                            "type": "float",
6797                            "default_value": 5,
6798                            "minimum_value": "0.05",
6799                            "maximum_value": "math.sqrt(machine_max_feedrate_x ** 2 + machine_max_feedrate_y ** 2)",
6800                            "maximum_value_warning": "50",
6801                            "enabled": "wireframe_enabled",
6802                            "value": "wireframe_printspeed_flat",
6803                            "settable_per_mesh": false,
6804                            "settable_per_extruder": false,
6805                            "settable_per_meshgroup": false
6806                        },
6807                        "wireframe_printspeed_up":
6808                        {
6809                            "label": "WP Upward Printing Speed",
6810                            "description": "Speed of printing a line upward 'in thin air'. Only applies to Wire Printing.",
6811                            "unit": "mm/s",
6812                            "type": "float",
6813                            "default_value": 5,
6814                            "minimum_value": "0.05",
6815                            "maximum_value": "math.sqrt(machine_max_feedrate_x ** 2 + machine_max_feedrate_y ** 2 + machine_max_feedrate_z ** 2)",
6816                            "maximum_value_warning": "50",
6817                            "enabled": "wireframe_enabled",
6818                            "value": "wireframe_printspeed",
6819                            "settable_per_mesh": false,
6820                            "settable_per_extruder": false,
6821                            "settable_per_meshgroup": false
6822                        },
6823                        "wireframe_printspeed_down":
6824                        {
6825                            "label": "WP Downward Printing Speed",
6826                            "description": "Speed of printing a line diagonally downward. Only applies to Wire Printing.",
6827                            "unit": "mm/s",
6828                            "type": "float",
6829                            "default_value": 5,
6830                            "minimum_value": "0.05",
6831                            "maximum_value": "math.sqrt(machine_max_feedrate_x ** 2 + machine_max_feedrate_y ** 2 + machine_max_feedrate_z ** 2)",
6832                            "maximum_value_warning": "50",
6833                            "enabled": "wireframe_enabled",
6834                            "value": "wireframe_printspeed",
6835                            "settable_per_mesh": false,
6836                            "settable_per_extruder": false,
6837                            "settable_per_meshgroup": false
6838                        },
6839                        "wireframe_printspeed_flat":
6840                        {
6841                            "label": "WP Horizontal Printing Speed",
6842                            "description": "Speed of printing the horizontal contours of the model. Only applies to Wire Printing.",
6843                            "unit": "mm/s",
6844                            "type": "float",
6845                            "default_value": 5,
6846                            "minimum_value": "0.05",
6847                            "maximum_value": "math.sqrt(machine_max_feedrate_x ** 2 + machine_max_feedrate_y ** 2)",
6848                            "maximum_value_warning": "100",
6849                            "value": "wireframe_printspeed",
6850                            "enabled": "wireframe_enabled",
6851                            "settable_per_mesh": false,
6852                            "settable_per_extruder": false,
6853                            "settable_per_meshgroup": false
6854                        }
6855                    }
6856                },
6857                "wireframe_flow":
6858                {
6859                    "label": "WP Flow",
6860                    "description": "Flow compensation: the amount of material extruded is multiplied by this value. Only applies to Wire Printing.",
6861                    "unit": "%",
6862                    "default_value": 100,
6863                    "minimum_value": "0",
6864                    "maximum_value_warning": "100",
6865                    "type": "float",
6866                    "enabled": "wireframe_enabled",
6867                    "settable_per_mesh": false,
6868                    "settable_per_extruder": false,
6869                    "settable_per_meshgroup": false,
6870                    "children":
6871                    {
6872                        "wireframe_flow_connection":
6873                        {
6874                            "label": "WP Connection Flow",
6875                            "description": "Flow compensation when going up or down. Only applies to Wire Printing.",
6876                            "unit": "%",
6877                            "default_value": 100,
6878                            "minimum_value": "0",
6879                            "maximum_value_warning": "100",
6880                            "type": "float",
6881                            "enabled": "wireframe_enabled",
6882                            "value": "wireframe_flow",
6883                            "settable_per_mesh": false,
6884                            "settable_per_extruder": false,
6885                            "settable_per_meshgroup": false
6886                        },
6887                        "wireframe_flow_flat":
6888                        {
6889                            "label": "WP Flat Flow",
6890                            "description": "Flow compensation when printing flat lines. Only applies to Wire Printing.",
6891                            "unit": "%",
6892                            "default_value": 100,
6893                            "minimum_value": "0",
6894                            "maximum_value_warning": "100",
6895                            "type": "float",
6896                            "enabled": "wireframe_enabled",
6897                            "value": "wireframe_flow",
6898                            "settable_per_mesh": false,
6899                            "settable_per_extruder": false,
6900                            "settable_per_meshgroup": false
6901                        }
6902                    }
6903                },
6904                "wireframe_top_delay":
6905                {
6906                    "label": "WP Top Delay",
6907                    "description": "Delay time after an upward move, so that the upward line can harden. Only applies to Wire Printing.",
6908                    "unit": "s",
6909                    "type": "float",
6910                    "default_value": 0,
6911                    "minimum_value": "0",
6912                    "maximum_value_warning": "1",
6913                    "enabled": "wireframe_enabled",
6914                    "settable_per_mesh": false,
6915                    "settable_per_extruder": false,
6916                    "settable_per_meshgroup": false
6917                },
6918                "wireframe_bottom_delay":
6919                {
6920                    "label": "WP Bottom Delay",
6921                    "description": "Delay time after a downward move. Only applies to Wire Printing.",
6922                    "unit": "s",
6923                    "type": "float",
6924                    "default_value": 0,
6925                    "minimum_value": "0",
6926                    "maximum_value_warning": "1",
6927                    "enabled": "wireframe_enabled",
6928                    "settable_per_mesh": false,
6929                    "settable_per_extruder": false,
6930                    "settable_per_meshgroup": false
6931                },
6932                "wireframe_flat_delay":
6933                {
6934                    "label": "WP Flat Delay",
6935                    "description": "Delay time between two horizontal segments. Introducing such a delay can cause better adhesion to previous layers at the connection points, while too long delays cause sagging. Only applies to Wire Printing.",
6936                    "unit": "s",
6937                    "type": "float",
6938                    "default_value": 0.1,
6939                    "minimum_value": "0",
6940                    "maximum_value_warning": "0.5",
6941                    "enabled": "wireframe_enabled",
6942                    "settable_per_mesh": false,
6943                    "settable_per_extruder": false,
6944                    "settable_per_meshgroup": false
6945                },
6946                "wireframe_up_half_speed":
6947                {
6948                    "label": "WP Ease Upward",
6949                    "description": "Distance of an upward move which is extruded with half speed.\nThis can cause better adhesion to previous layers, while not heating the material in those layers too much. Only applies to Wire Printing.",
6950                    "type": "float",
6951                    "unit": "mm",
6952                    "default_value": 0.3,
6953                    "minimum_value": "0",
6954                    "maximum_value_warning": "5.0",
6955                    "enabled": "wireframe_enabled",
6956                    "settable_per_mesh": false,
6957                    "settable_per_extruder": false,
6958                    "settable_per_meshgroup": false
6959                },
6960                "wireframe_top_jump":
6961                {
6962                    "label": "WP Knot Size",
6963                    "description": "Creates a small knot at the top of an upward line, so that the consecutive horizontal layer has a better chance to connect to it. Only applies to Wire Printing.",
6964                    "type": "float",
6965                    "unit": "mm",
6966                    "default_value": 0.6,
6967                    "minimum_value": "0",
6968                    "maximum_value_warning": "2.0",
6969                    "enabled": "wireframe_enabled and wireframe_strategy == 'knot'",
6970                    "settable_per_mesh": false,
6971                    "settable_per_extruder": false,
6972                    "settable_per_meshgroup": false
6973                },
6974                "wireframe_fall_down":
6975                {
6976                    "label": "WP Fall Down",
6977                    "description": "Distance with which the material falls down after an upward extrusion. This distance is compensated for. Only applies to Wire Printing.",
6978                    "type": "float",
6979                    "unit": "mm",
6980                    "default_value": 0.5,
6981                    "minimum_value": "0",
6982                    "maximum_value_warning": "wireframe_height",
6983                    "enabled": "wireframe_enabled and wireframe_strategy == 'compensate'",
6984                    "settable_per_mesh": false,
6985                    "settable_per_extruder": false,
6986                    "settable_per_meshgroup": false
6987                },
6988                "wireframe_drag_along":
6989                {
6990                    "label": "WP Drag Along",
6991                    "description": "Distance with which the material of an upward extrusion is dragged along with the diagonally downward extrusion. This distance is compensated for. Only applies to Wire Printing.",
6992                    "type": "float",
6993                    "unit": "mm",
6994                    "default_value": 0.6,
6995                    "minimum_value": "0",
6996                    "maximum_value_warning": "wireframe_height",
6997                    "enabled": "wireframe_enabled and wireframe_strategy == 'compensate'",
6998                    "settable_per_mesh": false,
6999                    "settable_per_extruder": false,
7000                    "settable_per_meshgroup": false
7001                },
7002                "wireframe_strategy":
7003                {
7004                    "label": "WP Strategy",
7005                    "description": "Strategy for making sure two consecutive layers connect at each connection point. Retraction lets the upward lines harden in the right position, but may cause filament grinding. A knot can be made at the end of an upward line to heighten the chance of connecting to it and to let the line cool; however, it may require slow printing speeds. Another strategy is to compensate for the sagging of the top of an upward line; however, the lines won't always fall down as predicted.",
7006                    "type": "enum",
7007                    "options":
7008                    {
7009                        "compensate": "Compensate",
7010                        "knot": "Knot",
7011                        "retract": "Retract"
7012                    },
7013                    "default_value": "compensate",
7014                    "enabled": "wireframe_enabled",
7015                    "settable_per_mesh": false,
7016                    "settable_per_extruder": false,
7017                    "settable_per_meshgroup": false
7018                },
7019                "wireframe_straight_before_down":
7020                {
7021                    "label": "WP Straighten Downward Lines",
7022                    "description": "Percentage of a diagonally downward line which is covered by a horizontal line piece. This can prevent sagging of the top most point of upward lines. Only applies to Wire Printing.",
7023                    "type": "float",
7024                    "unit": "%",
7025                    "default_value": 20,
7026                    "minimum_value": "0",
7027                    "maximum_value": "100",
7028                    "enabled": "wireframe_enabled",
7029                    "settable_per_mesh": false,
7030                    "settable_per_extruder": false,
7031                    "settable_per_meshgroup": false
7032                },
7033                "wireframe_roof_fall_down":
7034                {
7035                    "label": "WP Roof Fall Down",
7036                    "description": "The distance which horizontal roof lines printed 'in thin air' fall down when being printed. This distance is compensated for. Only applies to Wire Printing.",
7037                    "type": "float",
7038                    "unit": "mm",
7039                    "default_value": 2,
7040                    "minimum_value_warning": "0",
7041                    "maximum_value_warning": "wireframe_roof_inset",
7042                    "enabled": "wireframe_enabled",
7043                    "settable_per_mesh": false,
7044                    "settable_per_extruder": false,
7045                    "settable_per_meshgroup": false
7046                },
7047                "wireframe_roof_drag_along":
7048                {
7049                    "label": "WP Roof Drag Along",
7050                    "description": "The distance of the end piece of an inward line which gets dragged along when going back to the outer outline of the roof. This distance is compensated for. Only applies to Wire Printing.",
7051                    "type": "float",
7052                    "unit": "mm",
7053                    "default_value": 0.8,
7054                    "minimum_value": "0",
7055                    "maximum_value_warning": "10",
7056                    "enabled": "wireframe_enabled",
7057                    "settable_per_mesh": false,
7058                    "settable_per_extruder": false,
7059                    "settable_per_meshgroup": false
7060                },
7061                "wireframe_roof_outer_delay":
7062                {
7063                    "label": "WP Roof Outer Delay",
7064                    "description": "Time spent at the outer perimeters of hole which is to become a roof. Longer times can ensure a better connection. Only applies to Wire Printing.",
7065                    "type": "float",
7066                    "unit": "s",
7067                    "default_value": 0.2,
7068                    "minimum_value": "0",
7069                    "maximum_value_warning": "2.0",
7070                    "enabled": "wireframe_enabled",
7071                    "settable_per_mesh": false,
7072                    "settable_per_extruder": false,
7073                    "settable_per_meshgroup": false
7074                },
7075                "wireframe_nozzle_clearance":
7076                {
7077                    "label": "WP Nozzle Clearance",
7078                    "description": "Distance between the nozzle and horizontally downward lines. Larger clearance results in diagonally downward lines with a less steep angle, which in turn results in less upward connections with the next layer. Only applies to Wire Printing.",
7079                    "type": "float",
7080                    "unit": "mm",
7081                    "default_value": 1,
7082                    "minimum_value_warning": "0",
7083                    "maximum_value_warning": "10.0",
7084                    "enabled": "wireframe_enabled",
7085                    "settable_per_mesh": false,
7086                    "settable_per_extruder": false,
7087                    "settable_per_meshgroup": false
7088                },
7089                "adaptive_layer_height_enabled":
7090                {
7091                    "label": "Use Adaptive Layers",
7092                    "description": "Adaptive layers computes the layer heights depending on the shape of the model.",
7093                    "type": "bool",
7094                    "default_value": false,
7095                    "settable_per_mesh": false,
7096                    "settable_per_extruder": false,
7097                    "settable_per_meshgroup": false
7098                },
7099                "adaptive_layer_height_variation":
7100                {
7101                    "label": "Adaptive Layers Maximum Variation",
7102                    "description": "The maximum allowed height different from the base layer height.",
7103                    "type": "float",
7104                    "enabled": "adaptive_layer_height_enabled",
7105                    "unit": "mm",
7106                    "default_value": 0.1,
7107                    "settable_per_mesh": false,
7108                    "settable_per_extruder": false,
7109                    "settable_per_meshgroup": false
7110                },
7111                "adaptive_layer_height_variation_step":
7112                {
7113                    "label": "Adaptive Layers Variation Step Size",
7114                    "description": "The difference in height of the next layer height compared to the previous one.",
7115                    "type": "float",
7116                    "enabled": "adaptive_layer_height_enabled",
7117                    "default_value": 0.01,
7118                    "unit": "mm",
7119                    "settable_per_mesh": false,
7120                    "minimum_value": "0.001",
7121                    "settable_per_extruder": false,
7122                    "settable_per_meshgroup": false
7123                },
7124                "adaptive_layer_height_threshold":
7125                {
7126                    "label": "Adaptive Layers Topography Size",
7127                    "description": "Target horizontal distance between two adjacent layers. Reducing this setting causes thinner layers to be used to bring the edges of the layers closer together.",
7128                    "type": "float",
7129                    "enabled": "adaptive_layer_height_enabled",
7130                    "default_value": 0.2,
7131                    "unit": "mm",
7132                    "settable_per_mesh": false,
7133                    "settable_per_extruder": false,
7134                    "settable_per_meshgroup": false
7135                },
7136                "wall_overhang_angle":
7137                {
7138                    "label": "Overhanging Wall Angle",
7139                    "description": "Walls that overhang more than this angle will be printed using overhanging wall settings. When the value is 90, no walls will be treated as overhanging. Overhang that gets supported by support will not be treated as overhang either.",
7140                    "unit": "°",
7141                    "type": "float",
7142                    "minimum_value": "0",
7143                    "minimum_value_warning": "2",
7144                    "maximum_value": "90",
7145                    "default_value": 90,
7146                    "settable_per_mesh": true
7147                },
7148                "wall_overhang_speed_factor":
7149                {
7150                    "label": "Overhanging Wall Speed",
7151                    "description": "Overhanging walls will be printed at this percentage of their normal print speed.",
7152                    "unit": "%",
7153                    "type": "float",
7154                    "default_value": 100,
7155                    "minimum_value": "0.001",
7156                    "minimum_value_warning": "25",
7157                    "settable_per_mesh": true
7158                },
7159                "bridge_settings_enabled":
7160                {
7161                    "label": "Enable Bridge Settings",
7162                    "description": "Detect bridges and modify print speed, flow and fan settings while bridges are printed.",
7163                    "type": "bool",
7164                    "default_value": false,
7165                    "resolve": "any(extruderValues('bridge_settings_enabled'))",
7166                    "settable_per_mesh": true,
7167                    "settable_per_extruder": false,
7168                    "settable_per_meshgroup": false
7169                },
7170                "bridge_wall_min_length":
7171                {
7172                    "label": "Minimum Bridge Wall Length",
7173                    "description": "Unsupported walls shorter than this will be printed using the normal wall settings. Longer unsupported walls will be printed using the bridge wall settings.",
7174                    "unit": "mm",
7175                    "type": "float",
7176                    "minimum_value": "0",
7177                    "default_value": 5,
7178                    "enabled": "bridge_settings_enabled",
7179                    "settable_per_mesh": true,
7180                    "settable_per_extruder": false
7181                },
7182                "bridge_skin_support_threshold":
7183                {
7184                    "label": "Bridge Skin Support Threshold",
7185                    "description": "If a skin region is supported for less than this percentage of its area, print it using the bridge settings. Otherwise it is printed using the normal skin settings.",
7186                    "unit": "%",
7187                    "default_value": 50,
7188                    "type": "float",
7189                    "minimum_value": "0",
7190                    "maximum_value": "100",
7191                    "enabled": "bridge_settings_enabled",
7192                    "settable_per_mesh": true
7193                },
7194                "bridge_sparse_infill_max_density":
7195                {
7196                    "label": "Bridge Sparse Infill Max Density",
7197                    "description": "Maximum density of infill considered to be sparse. Skin over sparse infill is considered to be unsupported and so may be treated as a bridge skin.",
7198                    "unit": "%",
7199                    "type": "float",
7200                    "default_value": 0,
7201                    "minimum_value": "0",
7202                    "enabled": "bridge_settings_enabled",
7203                    "settable_per_mesh": true
7204                },
7205                "bridge_wall_coast":
7206                {
7207                    "label": "Bridge Wall Coasting",
7208                    "description": "This controls the distance the extruder should coast immediately before a bridge wall begins. Coasting before the bridge starts can reduce the pressure in the nozzle and may produce a flatter bridge.",
7209                    "unit": "%",
7210                    "default_value": 100,
7211                    "type": "float",
7212                    "minimum_value": "0",
7213                    "maximum_value": "500",
7214                    "enabled": "bridge_settings_enabled",
7215                    "settable_per_mesh": true
7216                },
7217                "bridge_wall_speed":
7218                {
7219                    "label": "Bridge Wall Speed",
7220                    "description": "The speed at which the bridge walls are printed.",
7221                    "unit": "mm/s",
7222                    "type": "float",
7223                    "minimum_value": "cool_min_speed",
7224                    "maximum_value": "math.sqrt(machine_max_feedrate_x ** 2 + machine_max_feedrate_y ** 2)",
7225                    "maximum_value_warning": "300",
7226                    "default_value": 15,
7227                    "value": "max(cool_min_speed, speed_wall_0 / 2)",
7228                    "enabled": "bridge_settings_enabled",
7229                    "settable_per_mesh": true
7230                },
7231                "bridge_wall_material_flow":
7232                {
7233                    "label": "Bridge Wall Flow",
7234                    "description": "When printing bridge walls, the amount of material extruded is multiplied by this value.",
7235                    "unit": "%",
7236                    "default_value": 50,
7237                    "type": "float",
7238                    "minimum_value": "5",
7239                    "minimum_value_warning": "50",
7240                    "maximum_value_warning": "150",
7241                    "enabled": "bridge_settings_enabled",
7242                    "settable_per_mesh": true
7243                },
7244                "bridge_skin_speed":
7245                {
7246                    "label": "Bridge Skin Speed",
7247                    "description": "The speed at which bridge skin regions are printed.",
7248                    "unit": "mm/s",
7249                    "type": "float",
7250                    "minimum_value": "cool_min_speed",
7251                    "maximum_value": "math.sqrt(machine_max_feedrate_x ** 2 + machine_max_feedrate_y ** 2)",
7252                    "maximum_value_warning": "300",
7253                    "default_value": 15,
7254                    "value": "max(cool_min_speed, speed_topbottom / 2)",
7255                    "enabled": "bridge_settings_enabled",
7256                    "settable_per_mesh": true
7257                },
7258                "bridge_skin_material_flow":
7259                {
7260                    "label": "Bridge Skin Flow",
7261                    "description": "When printing bridge skin regions, the amount of material extruded is multiplied by this value.",
7262                    "unit": "%",
7263                    "default_value": 60,
7264                    "type": "float",
7265                    "minimum_value": "5",
7266                    "minimum_value_warning": "50",
7267                    "maximum_value_warning": "150",
7268                    "enabled": "bridge_settings_enabled",
7269                    "settable_per_mesh": true
7270                },
7271                "bridge_skin_density":
7272                {
7273                    "label": "Bridge Skin Density",
7274                    "description": "The density of the bridge skin layer. Values less than 100 will increase the gaps between the skin lines.",
7275                    "unit": "%",
7276                    "default_value": 100,
7277                    "type": "float",
7278                    "minimum_value": "5",
7279                    "maximum_value": "100",
7280                    "minimum_value_warning": "20",
7281                    "enabled": "bridge_settings_enabled",
7282                    "settable_per_mesh": true
7283                },
7284                "bridge_fan_speed":
7285                {
7286                    "label": "Bridge Fan Speed",
7287                    "description": "Percentage fan speed to use when printing bridge walls and skin.",
7288                    "unit": "%",
7289                    "minimum_value": "0",
7290                    "maximum_value": "100",
7291                    "default_value": 100,
7292                    "type": "float",
7293                    "enabled": "bridge_settings_enabled",
7294                    "settable_per_mesh": true
7295                },
7296                "bridge_enable_more_layers":
7297                {
7298                    "label": "Bridge Has Multiple Layers",
7299                    "description": "If enabled, the second and third layers above the air are printed using the following settings. Otherwise, those layers are printed using the normal settings.",
7300                    "type": "bool",
7301                    "default_value": true,
7302                    "enabled": "bridge_settings_enabled",
7303                    "settable_per_mesh": true
7304                },
7305                "bridge_skin_speed_2":
7306                {
7307                    "label": "Bridge Second Skin Speed",
7308                    "description": "Print speed to use when printing the second bridge skin layer.",
7309                    "unit": "mm/s",
7310                    "type": "float",
7311                    "minimum_value": "cool_min_speed",
7312                    "maximum_value": "math.sqrt(machine_max_feedrate_x ** 2 + machine_max_feedrate_y ** 2)",
7313                    "maximum_value_warning": "300",
7314                    "default_value": 25,
7315                    "value": "bridge_skin_speed",
7316                    "enabled": "bridge_settings_enabled and bridge_enable_more_layers",
7317                    "settable_per_mesh": true
7318                },
7319                "bridge_skin_material_flow_2":
7320                {
7321                    "label": "Bridge Second Skin Flow",
7322                    "description": "When printing the second bridge skin layer, the amount of material extruded is multiplied by this value.",
7323                    "unit": "%",
7324                    "default_value": 100,
7325                    "type": "float",
7326                    "minimum_value": "5",
7327                    "maximum_value": "500",
7328                    "minimum_value_warning": "50",
7329                    "maximum_value_warning": "150",
7330                    "enabled": "bridge_settings_enabled and bridge_enable_more_layers",
7331                    "settable_per_mesh": true
7332                },
7333                "bridge_skin_density_2":
7334                {
7335                    "label": "Bridge Second Skin Density",
7336                    "description": "The density of the second bridge skin layer. Values less than 100 will increase the gaps between the skin lines.",
7337                    "unit": "%",
7338                    "default_value": 75,
7339                    "type": "float",
7340                    "minimum_value": "5",
7341                    "maximum_value": "100",
7342                    "minimum_value_warning": "20",
7343                    "enabled": "bridge_settings_enabled and bridge_enable_more_layers",
7344                    "settable_per_mesh": true
7345                },
7346                "bridge_fan_speed_2":
7347                {
7348                    "label": "Bridge Second Skin Fan Speed",
7349                    "description": "Percentage fan speed to use when printing the second bridge skin layer.",
7350                    "unit": "%",
7351                    "minimum_value": "0",
7352                    "maximum_value": "100",
7353                    "default_value": 0,
7354                    "type": "float",
7355                    "enabled": "bridge_settings_enabled and bridge_enable_more_layers",
7356                    "settable_per_mesh": true
7357                },
7358                "bridge_skin_speed_3":
7359                {
7360                    "label": "Bridge Third Skin Speed",
7361                    "description": "Print speed to use when printing the third bridge skin layer.",
7362                    "unit": "mm/s",
7363                    "type": "float",
7364                    "minimum_value": "cool_min_speed",
7365                    "maximum_value": "math.sqrt(machine_max_feedrate_x ** 2 + machine_max_feedrate_y ** 2)",
7366                    "maximum_value_warning": "300",
7367                    "default_value": 15,
7368                    "value": "bridge_skin_speed",
7369                    "enabled": "bridge_settings_enabled and bridge_enable_more_layers",
7370                    "settable_per_mesh": true
7371                },
7372                "bridge_skin_material_flow_3":
7373                {
7374                    "label": "Bridge Third Skin Flow",
7375                    "description": "When printing the third bridge skin layer, the amount of material extruded is multiplied by this value.",
7376                    "unit": "%",
7377                    "default_value": 110,
7378                    "type": "float",
7379                    "minimum_value": "5",
7380                    "maximum_value": "500",
7381                    "minimum_value_warning": "50",
7382                    "maximum_value_warning": "150",
7383                    "enabled": "bridge_settings_enabled and bridge_enable_more_layers",
7384                    "settable_per_mesh": true
7385                },
7386                "bridge_skin_density_3":
7387                {
7388                    "label": "Bridge Third Skin Density",
7389                    "description": "The density of the third bridge skin layer. Values less than 100 will increase the gaps between the skin lines.",
7390                    "unit": "%",
7391                    "default_value": 80,
7392                    "type": "float",
7393                    "minimum_value": "5",
7394                    "maximum_value": "100",
7395                    "minimum_value_warning": "20",
7396                    "enabled": "bridge_settings_enabled and bridge_enable_more_layers",
7397                    "settable_per_mesh": true
7398                },
7399                "bridge_fan_speed_3":
7400                {
7401                    "label": "Bridge Third Skin Fan Speed",
7402                    "description": "Percentage fan speed to use when printing the third bridge skin layer.",
7403                    "unit": "%",
7404                    "minimum_value": "0",
7405                    "maximum_value": "100",
7406                    "default_value": 0,
7407                    "type": "float",
7408                    "enabled": "bridge_settings_enabled and bridge_enable_more_layers",
7409                    "settable_per_mesh": true
7410                },
7411                "clean_between_layers":
7412                {
7413                    "label": "Wipe Nozzle Between Layers",
7414                    "description": "Whether to include nozzle wipe G-Code between layers (maximum 1 per layer). Enabling this setting could influence behavior of retract at layer change. Please use Wipe Retraction settings to control retraction at layers where the wipe script will be working.",
7415                    "default_value": false,
7416                    "type": "bool",
7417                    "settable_per_mesh": false,
7418                    "settable_per_extruder": true,
7419                    "settable_per_meshgroup": false
7420                },
7421                "max_extrusion_before_wipe":
7422                {
7423                    "label": "Material Volume Between Wipes",
7424                    "description": "Maximum material that can be extruded before another nozzle wipe is initiated. If this value is less than the volume of material required in a layer, the setting has no effect in this layer, i.e. it is limited to one wipe per layer.",
7425                    "default_value": 10,
7426                    "type": "float",
7427                    "unit": "mm³",
7428                    "enabled": "clean_between_layers",
7429                    "settable_per_mesh": false,
7430                    "settable_per_extruder": true,
7431                    "settable_per_meshgroup": false
7432                },
7433                "wipe_retraction_enable":
7434                {
7435                    "label": "Wipe Retraction Enable",
7436                    "description": "Retract the filament when the nozzle is moving over a non-printed area.",
7437                    "type": "bool",
7438                    "default_value": true,
7439                    "value": "retraction_enable",
7440                    "enabled": "clean_between_layers",
7441                    "settable_per_mesh": false,
7442                    "settable_per_extruder": true,
7443                    "settable_per_meshgroup": false
7444                },
7445                "wipe_retraction_amount":
7446                {
7447                    "label": "Wipe Retraction Distance",
7448                    "description": "Amount to retract the filament so it does not ooze during the wipe sequence.",
7449                    "unit": "mm",
7450                    "type": "float",
7451                    "default_value": 1,
7452                    "value": "retraction_amount",
7453                    "minimum_value_warning": "-0.0001",
7454                    "maximum_value_warning": "10.0",
7455                    "enabled": "wipe_retraction_enable and clean_between_layers",
7456                    "settable_per_mesh": false,
7457                    "settable_per_extruder": true,
7458                    "settable_per_meshgroup": false
7459                },
7460                "wipe_retraction_extra_prime_amount":
7461                {
7462                    "label": "Wipe Retraction Extra Prime Amount",
7463                    "description": "Some material can ooze away during a wipe travel moves, which can be compensated for here.",
7464                    "unit": "mm³",
7465                    "type": "float",
7466                    "default_value": 0,
7467                    "value": "retraction_extra_prime_amount",
7468                    "minimum_value_warning": "-0.0001",
7469                    "maximum_value_warning": "10.0",
7470                    "enabled": "wipe_retraction_enable and clean_between_layers",
7471                    "settable_per_mesh": false,
7472                    "settable_per_extruder": true
7473                },
7474                "wipe_retraction_speed":
7475                {
7476                    "label": "Wipe Retraction Speed",
7477                    "description": "The speed at which the filament is retracted and primed during a wipe retraction move.",
7478                    "unit": "mm/s",
7479                    "type": "float",
7480                    "default_value": 5,
7481                    "value": "retraction_speed",
7482                    "minimum_value": "0",
7483                    "minimum_value_warning": "1",
7484                    "maximum_value": "machine_max_feedrate_e",
7485                    "maximum_value_warning": "70",
7486                    "enabled": "wipe_retraction_enable and clean_between_layers",
7487                    "settable_per_mesh": false,
7488                    "settable_per_extruder": true,
7489                    "children":
7490                    {
7491                        "wipe_retraction_retract_speed":
7492                        {
7493                            "label": "Wipe Retraction Retract Speed",
7494                            "description": "The speed at which the filament is retracted during a wipe retraction move.",
7495                            "unit": "mm/s",
7496                            "type": "float",
7497                            "default_value": 3,
7498                            "minimum_value": "0",
7499                            "maximum_value": "machine_max_feedrate_e",
7500                            "minimum_value_warning": "1",
7501                            "maximum_value_warning": "70",
7502                            "enabled": "wipe_retraction_enable and clean_between_layers",
7503                            "value": "wipe_retraction_speed",
7504                            "settable_per_mesh": false,
7505                            "settable_per_extruder": true
7506                        },
7507                        "wipe_retraction_prime_speed":
7508                        {
7509                            "label": "Wipe Retraction Prime Speed",
7510                            "description": "The speed at which the filament is primed during a wipe retraction move.",
7511                            "unit": "mm/s",
7512                            "type": "float",
7513                            "default_value": 2,
7514                            "minimum_value": "0",
7515                            "maximum_value": "machine_max_feedrate_e",
7516                            "minimum_value_warning": "1",
7517                            "maximum_value_warning": "70",
7518                            "enabled": "wipe_retraction_enable and clean_between_layers",
7519                            "value": "wipe_retraction_speed",
7520                            "settable_per_mesh": false,
7521                            "settable_per_extruder": true
7522                        }
7523                    }
7524                },
7525                "wipe_pause":
7526                {
7527                    "label": "Wipe Pause",
7528                    "description": "Pause after the unretract.",
7529                    "unit": "s",
7530                    "type": "float",
7531                    "default_value": 0,
7532                    "minimum_value": "0",
7533                    "enabled": "clean_between_layers",
7534                    "settable_per_mesh": false,
7535                    "settable_per_extruder": true,
7536                    "settable_per_meshgroup": false
7537                },
7538                "wipe_hop_enable":
7539                {
7540                    "label": "Wipe Z Hop",
7541                    "description": "When wiping, the build plate is lowered to create clearance between the nozzle and the print. It prevents the nozzle from hitting the print during travel moves, reducing the chance to knock the print from the build plate.",
7542                    "type": "bool",
7543                    "default_value": true,
7544                    "value": "retraction_hop_enabled",
7545                    "enabled": "clean_between_layers",
7546                    "settable_per_mesh": false,
7547                    "settable_per_extruder": true,
7548                    "settable_per_meshgroup": false
7549                },
7550                "wipe_hop_amount":
7551                {
7552                    "label": "Wipe Z Hop Height",
7553                    "description": "The height difference when performing a Z Hop.",
7554                    "unit": "mm",
7555                    "type": "float",
7556                    "default_value": 1,
7557                    "value": "retraction_hop",
7558                    "enabled": "wipe_hop_enable and clean_between_layers",
7559                    "settable_per_mesh": false,
7560                    "settable_per_extruder": true,
7561                    "settable_per_meshgroup": false
7562                },
7563                "wipe_hop_speed":
7564                {
7565                    "label": "Wipe Hop Speed",
7566                    "description": "Speed to move the z-axis during the hop.",
7567                    "unit": "mm/s",
7568                    "type": "float",
7569                    "default_value": 10,
7570                    "value": "speed_z_hop",
7571                    "minimum_value": "0",
7572                    "minimum_value_warning": "1",
7573                    "enabled": "wipe_hop_enable and clean_between_layers",
7574                    "settable_per_mesh": false,
7575                    "settable_per_extruder": true,
7576                    "settable_per_meshgroup": false
7577                },
7578                "wipe_brush_pos_x":
7579                {
7580                    "label": "Wipe Brush X Position",
7581                    "description": "X location where wipe script will start.",
7582                    "type": "float",
7583                    "unit": "mm",
7584                    "default_value": 100,
7585                    "minimum_value_warning": "0",
7586                    "enabled": "clean_between_layers",
7587                    "settable_per_mesh": false,
7588                    "settable_per_extruder": true,
7589                    "settable_per_meshgroup": false
7590                },
7591                "wipe_repeat_count":
7592                {
7593                    "label": "Wipe Repeat Count",
7594                    "description": "Number of times to move the nozzle across the brush.",
7595                    "type": "int",
7596                    "minimum_value": "0",
7597                    "default_value": 5,
7598                    "enabled": "clean_between_layers",
7599                    "settable_per_mesh": false,
7600                    "settable_per_extruder": true,
7601                    "settable_per_meshgroup": false
7602                },
7603                "wipe_move_distance":
7604                {
7605                    "label": "Wipe Move Distance",
7606                    "description": "The distance to move the head back and forth across the brush.",
7607                    "unit": "mm",
7608                    "type": "float",
7609                    "default_value": 20,
7610                    "enabled": "clean_between_layers",
7611                    "settable_per_mesh": false,
7612                    "settable_per_extruder": true,
7613                    "settable_per_meshgroup": false
7614                },
7615                "small_hole_max_size":
7616                {
7617                    "label": "Small Hole Max Size",
7618                    "description": "Holes and part outlines with a diameter smaller than this will be printed using Small Feature Speed.",
7619                    "unit": "mm",
7620                    "type": "float",
7621                    "minimum_value": "0",
7622                    "default_value": 0,
7623                    "settable_per_mesh": true,
7624                    "children":
7625                    {
7626                        "small_feature_max_length":
7627                        {
7628                            "label": "Small Feature Max Length",
7629                            "description": "Feature outlines that are shorter than this length will be printed using Small Feature Speed.",
7630                            "unit": "mm",
7631                            "type": "float",
7632                            "minimum_value": "0",
7633                            "default_value": 0,
7634                            "value": "small_hole_max_size * math.pi",
7635                            "settable_per_mesh": true
7636                        }
7637                    }
7638                },
7639                "small_feature_speed_factor":
7640                {
7641                    "label": "Small Feature Speed",
7642                    "description": "Small features will be printed at this percentage of their normal print speed. Slower printing can help with adhesion and accuracy.",
7643                    "unit": "%",
7644                    "type": "float",
7645                    "default_value": 50,
7646                    "minimum_value": "1",
7647                    "minimum_value_warning": "25",
7648                    "maximum_value_warning": "100",
7649                    "settable_per_mesh": true
7650                },
7651                "small_feature_speed_factor_0":
7652                {
7653                    "label": "Small Feature Initial Layer Speed",
7654                    "description": "Small features on the first layer will be printed at this percentage of their normal print speed. Slower printing can help with adhesion and accuracy.",
7655                    "unit": "%",
7656                    "type": "float",
7657                    "default_value": 50,
7658                    "value": "small_feature_speed_factor",
7659                    "minimum_value": "1",
7660                    "minimum_value_warning": "25",
7661                    "maximum_value_warning": "100",
7662                    "settable_per_mesh": true
7663                }
7664            }
7665        },
7666        "command_line_settings":
7667        {
7668            "label": "Command Line Settings",
7669            "description": "Settings which are only used if CuraEngine isn't called from the Cura frontend.",
7670            "type": "category",
7671            "enabled": false,
7672            "children": {
7673                "center_object":
7674                {
7675                    "description": "Whether to center the object on the middle of the build platform (0,0), instead of using the coordinate system in which the object was saved.",
7676                    "type": "bool",
7677                    "label": "Center Object",
7678                    "default_value": false,
7679                    "enabled": false
7680                },
7681                "mesh_position_x":
7682                {
7683                    "description": "Offset applied to the object in the x direction.",
7684                    "type": "float",
7685                    "label": "Mesh Position X",
7686                    "default_value": 0,
7687                    "enabled": false
7688                },
7689                "mesh_position_y":
7690                {
7691                    "description": "Offset applied to the object in the y direction.",
7692                    "type": "float",
7693                    "label": "Mesh Position Y",
7694                    "default_value": 0,
7695                    "enabled": false
7696                },
7697                "mesh_position_z":
7698                {
7699                    "description": "Offset applied to the object in the z direction. With this you can perform what was used to be called 'Object Sink'.",
7700                    "type": "float",
7701                    "label": "Mesh Position Z",
7702                    "default_value": 0,
7703                    "enabled": false
7704                },
7705                "mesh_rotation_matrix":
7706                {
7707                    "label": "Mesh Rotation Matrix",
7708                    "description": "Transformation matrix to be applied to the model when loading it from file.",
7709                    "type": "str",
7710                    "default_value": "[[1,0,0], [0,1,0], [0,0,1]]",
7711                    "enabled": false
7712                }
7713            }
7714        }
7715    }
7716}
7717