-
Notifications
You must be signed in to change notification settings - Fork 2
/
configSchema.yaml
963 lines (816 loc) · 22.6 KB
/
configSchema.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
title: NodeSlicer Configuration Schema
type: object
oneOf:
- required: [inputFile]
- required: [inputFiles]
properties:
# Additional NodeSlicer parameters
header:
description: Print the header line with timestamp
default: true
# IO settings
save:
description: Save configuration to the specified file
type: string
load:
description: >
Load configuration from the specified file.
It can be used more than once to load options from multiple files.
type: string
outputFile:
description: File to output gcode to
type: string
outputFiles:
description: Files to output gcode to
type: array
items:
type: string
outputDirectory:
description: Directory to output gcode-files to
type: string
inputFile:
description: Input STL-file
type: string
inputFiles:
description: Input STL-files
type: array
items:
type: string
# Non-slicing actions (no gcode will be generated):
repair:
description: Repair given STL files and save them as <name>_fixed.obj
type: boolean
cut:
description: >
Cut given input files at given Z (relative) and
export them as <name>_upper.stl and <name>_lower.stl
type: number
info:
description: Output information about the supplied file(s)
type: boolean
threads:
description: Number of threads to use
type: number
default: 2
minimum: 1
# Output options:
postProcessScripts:
description: >
Generated gcode will be processed with the supplied scripts.
type: array
item:
type: string
exportSvg:
description: Export a SVG file containing slices instead of gcode.
type: boolean
merge:
description: >
If multiple files are supplied, they will be composed into a single
print rather than processed individually.
type: boolean
# Printer Options
nozzleDiameter:
description: Diameter of nozzle in mm
type: number
default: 0.5
printCenter:
description: Coordinates in mm of the point to center the print around
type: object
properties:
x:
type: number
y:
type: number
default:
x: 100
y: 100
zOffset:
description: Additional height in mm to add to vertical coordinates
type: number
default: 0
gcodeFlavor:
description: The type of gcode to generate
default: reprap
enum:
- reprap
- teacup
- makerware
- sailfish
- mach3
- noExtrusion
useRelativeEDistances:
description: Enable this to get relative E values
type: boolean
default: false
useFirmwareRetraction:
description: Enable firmwareControlled retraction using G10/G11
type: boolean
default: false
useVolumetricE:
description: Express E in cubic millimeters and prepend M200
type: boolean
default: false
gcodeArcs:
description: >
Use G2/G3 commands for native arcs
(experimental, not supported by all firmwares)
type: boolean
default: false
g0:
description: >
Use G0 commands for retraction
(experimental, not supported by all firmwares)
type: boolean
default: false
gcodeComments:
description: Make gcode verbose by adding comments
type: boolean
default: false
vibrationLimit:
description: >
Limit the frequency of moves on x- and yAxes in Hz
(set zero to disable)
default: 0
pressureAdvance:
description: >
Adjust pressure using the experimental advance algorithm
(K constant, set zero to disable)
type: number
default: 0
# Filament Options
filamentDiameter:
description: Diameter in mm of your raw filament
type: number
default: 3
extrusionMultiplier:
description: >
Change this to alter the amount of plastic extruded.
There should be very little need to change this value,
which is only useful to compensate for filament packing
type: number
default: 1
temperature:
description: Extrusion temperature in degree Celsius (set 0 to disable)
type: number
default: 200
firstLayerTemperature:
description: >
Extrusion temperature for the first layer in degree Celsius,
(set 0 to disable)
default: 200
bedTemperature:
description: Heated bed temperature in degree Celsius (set 0 to disable)
type: number
default: 0
firstLayerBedTemperature:
description: >
Heated bed temperature for the first layer in degree Celsius
(set 0 to disable)
default: 0
# Speed options
travelSpeed:
description: Speed of non-print moves in mm/s
type: number
default: 130
perimeterSpeed:
description: Speed of print moves for perimeters in mm/s
type: number
default: 30
smallPerimeterSpeed:
description: >
Speed of print moves for small perimeters in mm/s
or % over perimeter speed
oneOf:
- type: number
- type: string
default: 30
externalPerimeterSpeed:
description: >
Speed of print moves for the external perimeter in mm/s
or % over perimeter speed
oneOf:
- type: number
- type: string
default: 70%
infillSpeed:
description: Speed of print moves in mm/s
type: number
default: 60
solidInfillSpeed:
description: >
Speed of print moves for solid surfaces in mm/s
or % over infill speed
anyOf:
- type: number
- type: string
default: 60
topSolidInfillSpeed:
description: >
Speed of print moves for top surfaces in mm/s
or % over solid infill speed
anyOf:
- type: number
- type: string
default: 50
supportMaterialSpeed:
description: Speed of support material print moves in mm/s
type: number
default: 60
supportMaterialInterfaceSpeed:
description: >
Speed of support material interface print moves in mm/s
or % over support material speed
anyOf:
- type: number
- type: string
default: 100%
bridgeSpeed:
description: Speed of bridge print moves in mm/s
type: number
default: 60
gapFillSpeed:
description: Speed of gap fill print moves in mm/s
type: number
default: 20
firstLayerSpeed:
description: >
Speed of print moves for bottom layer,
expressed either as an absolute value
or as a percentage over normal speeds
anyOf:
- type: number
- type: string
default: 30%
# Acceleration Options
perimeterAcceleration:
description: >
Overrides firmware's default acceleration for perimeters in mm/s^2
(set zero to disable)
type: number
default: 0
infillAcceleration:
description: >
Overrides firmware's default acceleration for infill in mm/s^2
(set zero to disable)
type: number
default: 0
bridgeAcceleration:
description: >
Overrides firmware's default acceleration for bridges in mm/s^2
(set zero to disable)
type: number
default: 0
firstLayerAcceleration:
description: >
Overrides firmware's default acceleration for first layer in mm/s^2
(set zero to disable)
type: number
default: 0
defaultAcceleration:
description: >
Acceleration will be reset to this value in mm/s^2
after the specific settings above have been applied.
(set zero to disable).
This is the acceleration your printer will be reset to after
the role-specific acceleration values are used (perimeter/infill).
Set zero to prevent resetting acceleration at all.
type: number
default: 0
# Accuracy Options:
layerHeight:
description: Layer height in mm
type: number
default: 0.4
firstLayerHeight:
description: Layer height for first layer in mm or %
anyOf:
- type: number
- type: string
default: 0.35
infillEveryLayers:
description: Infill every N layers
type: number
default: 1
solidInfillEveryLayers:
description: Force a solid layer every N layers
type: number
default: 0
# Print Options
perimeters:
description: Number of perimeters/horizontal skins
type: number
minimum: 0
default: 3
topSolidLayers:
description: Number of solid layers to do for top surfaces
type: number
minimum: 0
default: 3
bottomSolidLayers:
description: Number of solid layers to do for bottom surfaces
minimum: 0
default: 3
solidLayers:
description: Shortcut for setting the two options above at once
type: boolean
fillDensity:
description: Infill density
type: number
minimum: 0
maximum: 1
default: 0.4
fillAngle:
description: Infill angle in degrees
type: number
minimum: 0
maximum: 90
default: 45
fillPattern:
description: Pattern to use to fill nonSolid layers
type: string
default: honeycomb
solidFillPattern:
description: Pattern to use to fill solid layers
type: string
default: rectilinear
startGcode:
description: >
Load initial gcode from the supplied file.
This will overwrite the default command (home all axes [G28]).
type: boolean
endGcode:
description: >
Load final gcode from the supplied file.
This will overwrite the default commands
(turn off temperature [M104 S0],
home X axis [G28 X], disable motors [M84]).
type: boolean
layerGcode:
description: Load layer-change gcode from the supplied file
type: boolean
toolchangeGcode:
description: Load toolChange gcode from the supplied file
type: boolean
seamPosition:
description: Position of loop starting points
enum:
- random
- nearest
- aligned
default: aligned
externalPerimetersFirst:
description: Reverse perimeter order
type: boolean
default: false
spiralVase:
description: >
Experimental option to raise Z gradually
when printing singleWalled vases
type: boolean
default: false
onlyRetractWhenCrossingPerimeters:
description: >
Disable retraction when travelling between
infill paths inside the same island.
type: boolean
default: false
solidInfillBelowArea:
description: >
Force solid infill when a region has a smaller area
than this threshold in mm^2
type: number
default: 70
infillOnlyWhereNeeded:
description: Only infill under ceilings
type: boolean
default: false
infillFirst:
description: Make infill before perimeters
type: boolean
default: false
# Quality options (slower slicing)
extraPerimeters:
description: Add more perimeters when needed
type: boolean
default: true
avoidCrossingPerimeters:
description: Optimize travel moves so that no perimeters are crossed
type: boolean
default: false
thinWalls:
description: Detect single-width walls
type: boolean
default: true
overhangs:
description: >
Experimental option to use bridge flow,
speed and fan for overhangs
type: boolean
default: true
# Support material options
supportMaterial:
description: Generate support material for overhangs
type: boolean
supportMaterialThreshold:
description: Overhang threshold angle (set 0 for automatic detection)
type: number
minimum: 0
maximum: 90
default: 0
supportMaterialPattern:
description: Pattern to use for support material
type: string
default: pillars
supportMaterialSpacing:
description: Spacing between pattern lines in mm
type: number
default: 2.5
supportMaterialAngle:
description: Support material angle in degrees
type: number
minimum: 0
maximum: 90
default: 0
supportMaterialInterfaceLayers:
description: >
Number of perpendicular layers between
support material and object
type: number
minimum: 0
default: 3
supportMaterialInterfaceSpacing:
description: >
Spacing between interface pattern lines in mm
(set 0 to get a solid layer)
type: number
default: 0
raftLayers:
description: Number of layers to raise the printed objects by
type: number
minimum: 0
default: 0
supportMaterialEnforceLayers:
description: >
Enforce support material on the specified number of layers from bottom,
regardless of support-material and threshold
type: number
minimum: 0
default: 0
dontSupportBridges:
description: >
Experimental option for preventing support-material
from being generated under bridged areas
type: boolean
default: true
# Retraction options:
retractLength:
description: Length of retraction in mm when pausing extrusion
type: number
default: 1
retractSpeed:
description: Speed for retraction in mm/s
type: number
default: 30
retractRestartExtra:
description: >
Additional amount of filament in mm
to push after compensating retraction
type: number
default: 0
retractBeforeTravel:
description: Only retract before travel moves of this length in mm
type: number
default: 2
retractLift:
description: Lift Z by the given distance in mm when retracting
type: number
default: 0
retractLayerChange:
description: Enforce a retraction before each Z move
type: boolean
default: true
wipe:
description: Wipe the nozzle while doing a retraction
type: boolean
default: false
# Retraction options for multi-extruder setups
retractLengthToolchange:
description: >
Length of retraction in mm when disabling tool.
When retraction is triggered before changing tool,
filament is pulled back by the specified amount
(the length is measured on raw filament, before it enters the extruder).
type: number
default: 10
retractRestartExtraToolchange:
description: >
Additional amount of filament in mm
to push after switching tool
type: number
default: 0
# Cooling options:
cooling:
description: Enable fan and cooling control
type: boolean
minFanSpeed:
description: Minimum fan speed
type: number
minimum: 0
maximum: 1
default: 0.35
maxFanSpeed:
description: Maximum fan speed
type: number
minimum: 0
maximum: 1
default: 1
bridgeFanSpeed:
description: Fan speed to use when bridging
type: number
minimum: 0
maximum: 1
default: 1
fanBelowLayerTime:
description: >
Enable fan if layer print time is below
this approximate number of seconds
type: number
default: 60
slowdownBelowLayerTime:
description: >
Slow down if layer print time is below
this approximate number of seconds
type: number
default: 30
minPrintSpeed:
description: Minimum print speed in mm/s
type: number
default: 10
disableFanFirstLayers:
description: Disable fan for the first n layers
type: number
default: 1
fanAlwaysOn:
description: >
Keep fan always on at min fan speed,
even for layers that don't need cooling
type: boolean
# Skirt options:
skirts:
description: Number of skirts to draw
type: number
minimum: 0
default: 1
skirtDistance:
description: Distance in mm between innermost skirt and object
type: number
default: 6
skirtHeight:
description: Height of skirts to draw (expressed in layers)
type: number
minimum: 0
default: 1
minSkirtLength:
description: >
Generate no less than the number of loops required to consume
this length of filament on the first layer, for each extruder in mm
type: number
minimum: 0
default: 0
brimWidth:
description: >
Width of the brim in mm that will get added to
each object to help adhesion
type: number
default: 0
# Transform options:
scale:
description: Factor for scaling input object
type: number
default: 1
rotate:
description: Rotation angle in degrees
type: number
minimum: 0
maximum: 360
default: 0
duplicate:
description: Number of items with autoArrange
type: number
minimum: 1
default: 1
duplicateGrid:
description: Number of items with grid arrangement
type: string
default: 1,1
duplicateDistance:
description: Distance in mm between copies
type: number
default: 6
xySizeCompensation:
description: Grow/shrink objects by the configured absolute distance in mm
default: 0
# Sequential printing options
completeObjects:
description: >
When printing multiple objects and/or copies,
complete each one before starting the next one
(watch out for extruder collisions)
type: boolean
default: false
extruderClearanceRadius:
description: >
Radius in mm above which extruder
won't collide with anything
type: number
default: 20
extruderClearanceHeight:
description: >
Maximum vertical extruder depth.
I.e. vertical distance from extruder tip and carriage bottom
type: number
default: 20
# Miscellaneous options
notes:
description: Notes to be added as comments to the output file
type: string
default: ''
resolution:
description: >
Minimum detail resolution in mm
(set 0 for full resolution)
type: number
default: 0
bedSize:
description: Bed size in mm (only used for auto-arrange)
type: object
properties:
width:
type: number
default: 200
height:
type: number
default: 200
# Flow options (advanced)
extrusionWidth:
description: >
Set extrusion width manually.
It accepts either an absolute value in mm (like 0.65)
or a percentage over layer height (like 200%).
If left to zero, width gets calculated automatically.
oneOf:
- type: number
- type: string
default: 0
firstLayerExtrusionWidth:
description: >
Set a different extrusion width for first layer.
When printing with very low layer heights,
you might still want to print a thicker bottom layer to improve adhesion
and tolerance for non perfect build plates.
This can be expressed as an absolute value in mm or as a percentage
(for example: 150%) over the default layer height.
oneOf:
- type: number
- type: string
default: 0
perimeterExtrusionWidth:
description: >
Set this to a non-zero value in mm to set a manual extrusion width
for perimeters.
You may want to use thinner extrudates to get more accurate surfaces.
If expressed as percentage (for example 200%)
it will be computed over layer height.
oneOf:
- type: number
- type: string
default: 0
externalPerimeterExtrusionWidth:
description: >
Set a different extrusion width for external perimeters.
Set this to a non-zero value to set a manual extrusion width in mm
for external perimeters.
If left 0, an automatic value will be used that maximizes accuracy
of the external visible surfaces.
If expressed as percentage (for example 200%)
it will be computed over layer height.
oneOf:
- type: number
- type: string
default: 0
infillExtrusionWidth:
description: >
Set a different extrusion width for infill.
Set this to a non-zero value to set a manual extrusion width
in mm for infill.
You may want to use fatter extrudates to speed up the infill
and make your parts stronger.
If expressed as percentage (for example 90%)
it will be computed over layer height.
oneOf:
- type: number
- type: string
default: 0
solidInfillExtrusionWidth:
description: >
Set a different extrusion width for solid infill.
Set this to a non-zero value to set a manual extrusion width
in mm for infill for solid surfaces.
If expressed as percentage (for example 90%)
it will be computed over layer height.
oneOf:
- type: number
- type: string
default: 0
topInfillExtrusionWidth:
description: >
Set a different extrusion width for top infill.
Set this to a non-zero value to set a manual extrusion width
in mm for infill for top surfaces.
You may want to use thinner extrudates to fill all narrow regions and
get a smoother finish.
If expressed as percentage (for example 90%)
it will be computed over layer height.
oneOf:
- type: number
- type: string
default: 0
supportMaterialExtrusionWidth:
description: >
Set a different extrusion width for support material.
Set this to a non-zero value to set a manual extrusion width
in mm for support material.
If expressed as percentage (for example 90%)
it will be computed over layer height.
oneOf:
- type: number
- type: string
default: 0
bridgeFlowRatio:
description: >
Multiplier for extrusion when bridging.
This factor affects the amount of plastic for bridging.
You can decrease it slightly to pull the extrudates and prevent sagging,
although default settings are usually good and you should experiment
with cooling (use a fan) before tweaking this.
type: number
minimum: 0
exclusiveMinimum: true
default: 1
# Multiple extruder options:
extruderOffset:
description: >
Offset of each extruder if firmware doesn't handle the displacement
(can be specified multiple times).
If your firmware doesn't handle the extruder displacement you need
the G-code to take it into account.
This option lets you specify the displacement of each extruder with
respect to the first one. It expects positive coordinates
(they will be subtracted from the XY coordinate).
type: object
properties:
x:
type: number
default: 0
y:
type: number
default: 0
perimeterExtruder:
description: Extruder to use for perimeters
type: number
minimum: 1
default: 1
infillExtruder:
description: Extruder to use for infill
type: number
minimum: 1
default: 1
solidInfillExtruder:
description: Extruder to use for solid infill
type: number
minimum: 1
default: 1
supportMaterialExtruder:
description: Extruder to use for support material
type: number
minimum: 1
default: 1
supportMaterialInterfaceExtruder:
description: Extruder to use for support material interface
type: number
minimum: 1
default: 1
oozePrevention:
description: >
Drop temperature and park extruders outside a full
skirt for automatic wiping
type: boolean
default: false
standbyTemperatureDelta:
description: >
Temperature difference to be applied when an extruder
is not active and ooze-prevention is enabled
type: number
minimum: -400
maximum: 400
default: -5