_slic3r 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. #compdef -P slic3r(|.pl|.exe)
  2. #
  3. # Slic3r completions configuration for zsh(1).
  4. # Currently undocumented options:
  5. # --debug, --gui, --ignore-nonexistent-config
  6. # --acceleration, --perimeter-acceleration, --infill-acceleration
  7. _arguments -S \
  8. '(- *)--help[output usage screen and exit]' \
  9. '(- *)--version[output the version of Slic3r and exit]' \
  10. '--save[save configuration to file]:config output file:_files -g "*.(#i)ini(-.)"' \
  11. '*--load[load configuration from file]:config input file:_files -g "*.(#i)ini(-.)"' \
  12. '(--output -o)'{--output,-o}'[specify output file]:output file:_files -g "*.(#i)(gcode|svg)(-.)"' \
  13. '(--threads -j)'{--threads,-j}'[specify number of threads to use]:number of threads' \
  14. \
  15. '--output-filename-format[specify output filename format]:output filename format' \
  16. '*--post-process[specify post-processing script]:post-processing script file:_files' \
  17. '--export-svg[export SVG containing slices instead of G-code]' \
  18. '(--merge -m)'{--merge,-m}'[merge multiple input files into a single print]' \
  19. \
  20. '*--nozzle-diameter[specify nozzle diameter]:nozzle diameter in mm' \
  21. '--print-center[specify print center coordinates]:print center coordinates in mm,mm' \
  22. '--z-offset[specify Z-axis offset]:Z-axis offset in mm' \
  23. '--gcode-flavor[specify the type of G-code to generate]:G-code flavor:(reprap teacup repetier makerware sailfish mach3 machinekit no-extrusion)' \
  24. '(--use-relative-e-distances --no-use-relative-e-distances)'--{no-,}use-relative-e-distances'[disable/enable relative E values]' \
  25. '--extrusion-axis[specify letter associated with the extrusion axis]:extrusion axis letter' \
  26. '(--gcode-arcs --no-gcode-arcs)'--{no-,}gcode-arcs'[disable/enable G2/G3 commands for native arcs]' \
  27. '(--gcode-comments --no-gcode-comments)'--{no-,}gcode-comments'[disable/enable verbose G-code comments]' \
  28. \
  29. '*--filament-diameter[specify raw filament diameter]:raw filament diameter in mm' \
  30. '*--extrusion-multiplier[specify multiplier for amount of plastic extruded]:extrusion multiplier' \
  31. '*--temperature[specify extrusion temperature]:extrusion temperature in Celsius' \
  32. '*--first-layer-temperature[specify extrusion temperature for the first layer]:first layer extrusion temperature in Celsius' \
  33. '--bed-temperature[specify heated bed temperature]:heated bed temperature in Celsius' \
  34. '--first-layer-bed-temperature[specify heated bed temperature for the first layer]:first layer heated bed temperature in Celsius' \
  35. \
  36. '--perimeter-extruder[specify extruder to use for printing perimeters]:extruder number' \
  37. '--infill-extruder[specify extruder to use for printing infill]:extruder number' \
  38. '--support-material-extruder[specify extruder to use for printing support material]:extruder number' \
  39. \
  40. '--travel-speed[specify speed of non-print moves]:speed of non-print moves in mm/s' \
  41. '--perimeter-speed[specify speed of print moves for perimeters]:speed of print moves for perimeters in mm/s' \
  42. '--external-perimeter-speed[specify speed of print moves for external perimeters]:speed of print moves for external perimeters in mm/s or % of --perimeter-speed' \
  43. '--small-perimeter-speed[specify speed of print moves for small perimeters]:speed of print moves for small perimeters in mm/s or % of --perimeter-speed' \
  44. '--infill-speed[specify speed of infill print moves]:speed of infill print moves in mm/s' \
  45. '--solid-infill-speed[specify speed of solid surface print moves]:speed of solid surface print moves in mm/s or % of --infill-speed' \
  46. '--top-solid-infill-speed[specify speed of top surface print moves]:speed of top surface print moves in mm/s or % of --solid-infill-speed' \
  47. '--bridge-speed[specify speed of bridge print moves]:speed of bridge print moves in mm/s' \
  48. '--first-layer-speed[specify speed of bottom layer print moves]:speed of bottom layer print moves in mm/s or % of normal speeds' \
  49. \
  50. '--layer-height[specify layer height]:layer height in mm' \
  51. '--first-layer-height[specify layer height for bottom layer]:layer height for bottom layer in mm or % of --layer-height' \
  52. '--infill-every-layers[specify infill for every N layers]:N layers' \
  53. \
  54. '--perimeters[specify number of perimeters]:number of perimeters' \
  55. '--solid-layers[specify number of solid layers to do for top/bottom surfaces]:number of layers for top/bottom surfaces' \
  56. '--fill-density[specify infill density]:infill density in percent' \
  57. '--fill-angle[specify infill angle]:infill angle in degrees' \
  58. '--fill-pattern[specify pattern used for infill]:infill pattern:(rectilinear line concentric honeycomb hilbertcurve archimedeanchords octagramspiral)' \
  59. '--solid-fill-pattern[specify pattern used for solid layers]:solid fill pattern:(rectilinear concentric hilbertcurve archimedeanchords octagramspiral)' \
  60. '--start-gcode[load initial G-code from file]:start G-code file:_files -g "*.(#i)(gcode)(-.)"' \
  61. '--end-gcode[load final G-code from file]:end G-code file:_files -g "*.(#i)(gcode)(-.)"' \
  62. '--layer-gcode[load layer-change G-code from file]:layer-change G-code file:_files -g "*.(#i)(gcode)(-.)"' \
  63. '(--support-material --no-support-material)'--{no-,}support-material'[disable/enable generation of support material for overhangs]' \
  64. '--support-material-threshold[specify support material threshold]:maximum slope angle for generating support material' \
  65. '--support-material-pattern[specify pattern used for support material]:support material pattern:(rectilinear honeycomb)' \
  66. '--support-material-spacing[specify spacing between support material lines]:spacing between support material lines in mm' \
  67. '--support-material-angle[specify support material angle]:support material angle in degrees' \
  68. '(--randomize-start --no-randomize-start)'--{no-,}randomize-start'[disable/enable randomization of starting point across layers]' \
  69. '(--extra-perimeters --no-extra-perimeters)'--{no-,}extra-perimeters'[disable/enable generation of extra perimeters when needed]' \
  70. \
  71. '--retract-length[specify filament retraction length when pausing extrusion]:filament retraction length in mm' \
  72. '--retract-speed[specify filament retraction speed]:filament retraction speed in mm/s' \
  73. '--retract-restart-extra[specify filament length to extrude for compensating retraction]: filament lenght in mm' \
  74. '--retract-before-travel[specify minimum travel length for activating retraction]:minimum travel length for activating retraction in mm' \
  75. '--retract-lift[specify Z-axis lift for use when retracting]:Z-axis lift in mm' \
  76. \
  77. '(--cooling --no-cooling)'--{no-,}cooling'[disable/enable fan and cooling control]' \
  78. '--min-fan-speed[specify minimum fan speed]:minimum fan speed in percent' \
  79. '--max-fan-speed[specify maximum fan speed]:maximum fan speed in percent' \
  80. '--bridge-fan-speed[specify fan speed to use for bridging]:bridging fan speed in percent' \
  81. '--fan-below-layer-time[specify maximum layer print time before activating fan]:maximum layer print time in seconds' \
  82. '--slowdown-below-layer-time[specify maximum layer print time before slowing down printing]:maximum layer print time in seconds' \
  83. '--min-print-speed[specify minimum print speed]:minimum print speed in mm/s' \
  84. '--disable-fan-first-layers[specify number of bottom layers to print before activating fan]:number of bottom layers' \
  85. '(--fan-always-on --no-fan-always-on)'--{no-,}fan-always-on'[disable/enable deactivation of fan]' \
  86. \
  87. '--skirts[specify number of skirts]:number of skirts' \
  88. '--skirt-distance[specify distance between innermost skirt and object]:distance between innermost skirt and object in mm' \
  89. '--skirt-height[specify number of skirt layers]:number of skirt layers' \
  90. '--brim-width[specify brim width]:width of brim in mm' \
  91. \
  92. '--scale[specify object scaling factor]:object scaling factor in percent' \
  93. '--rotate[specify object rotation angle]:object rotation angle in degrees' \
  94. '(--duplicate-grid)--duplicate[specify number of duplicates for auto-arrange]:number of duplicates for auto-arrange' \
  95. '(--duplicate-grid)--bed-size[specify bed size for auto-arrange]:bed size for auto-arrange in mm,mm' \
  96. '(--duplicate --bed-size)--duplicate-grid[specify number of duplicates for grid arrangement]:number of duplicates for grid arrangement as x,y' \
  97. '--duplicate-distance[specify distance between duplicates]:distance between duplicates in mm' \
  98. \
  99. '(--complete-objects --no-complete-objects)'--{no-,}complete-objects'[disable/enable completion of each object before starting a new one]' \
  100. '--extruder-clearance-radius[specify radius above which extruder will not collide with anything]:radius in mm' \
  101. '--extruder-clearance-height[specify maximum vertical extruder depth]:maximum vertical extruder depth in mm' \
  102. \
  103. '--notes[specify notes to be added as comments to the output file]:notes' \
  104. \
  105. '--extrusion-width[specify extrusion width]:extrusion width in mm or % of --layer-height' \
  106. '--first-layer-extrusion-width[specify extrusion width for first layer]:first layer extrusion width in mm or % og --layer-height' \
  107. '--perimeters-extrusion-width[specify extrusion width for perimeters]:perimeter extrusion width in mm or % of --layer-height' \
  108. '--infill-extrusion-width[specify extrusion width for infill]:infill extrusion width in mm or % of --layer-height' \
  109. '--support-material-extrusion-width[specify extrusion width for support material]:support material extrusion width in mm or % of --layer-height' \
  110. '--bridge-flow-ratio[specify multiplier for extrusion when bridging]:bridge extrusion multiplier' \
  111. \
  112. '*:input file:_files -g "*.(#i)(stl|obj|amf|xml)(-.)"'
  113. # Local Variables: ***
  114. # mode:sh ***
  115. # End: ***