~ubuntu-branches/ubuntu/utopic/slic3r/utopic

« back to all changes in this revision

Viewing changes to utils/zsh/functions/_slic3r

  • Committer: Package Import Robot
  • Author(s): Chow Loong Jin
  • Date: 2014-06-17 01:27:26 UTC
  • Revision ID: package-import@ubuntu.com-20140617012726-2wrs4zdo251nr4vg
Tags: upstream-1.1.4+dfsg
ImportĀ upstreamĀ versionĀ 1.1.4+dfsg

Show diffs side-by-side

added added

removed removed

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