chiark / gitweb /
poster-tube-lid: catch: rework mostly done ?
[reprap-play.git] / size-tests.m-g
1 ; -*- fundamental -*-
2
3 ; slic3r originally produced this, with these comments, and then we edited:
4 ; layer_height = 0.4
5 ; perimeters = 3
6 ; solid_layers = 3
7 ; fill_density = 0.4
8 ; perimeter_speed = 30
9 ; infill_speed = 60
10 ; travel_speed = 130
11 ; scale = 1
12 ; nozzle_diameter = 0.59
13 ; filament_diameter = 1.77
14 ; extrusion_multiplier = 1
15 ; single wall width = 0.71mm
16 ; first layer single wall width = 0.60mm
17
18 M190 S65 ; wait for bed temperature to be reached
19 M104 S215 ; set temperature
20 G28 ; home all axes
21 M109 S215 ; wait for temperature to be reached
22 G90 ; use absolute coordinates
23 G21 ; set units to millimeters
24 G92 E0
25 M82 ; use absolute distances for extrusion
26
27 !zprint=0.3
28
29 ; "skirt" - prep extruder
30 !draw 5,5 100,5 101,5.5 101,6.0 100,6.5 5,6.5
31
32 ; edge ticks for global motions sizing
33
34 !edge_ticks(){
35 !draw 20,10 10,10 10,20
36 !draw 10,65 10,75
37 !draw 10,120 10,130 20,130
38 !draw 65,130 75,130
39 !draw 120,130 130,130 130,120
40 !draw 130,75 130,65
41 !draw 130,20 130,10 120,10
42 !draw 75,10 65,10
43 !}
44
45 ;!edge_ticks()
46
47 !outer_square(){
48  !draw @0.000,@0.000 @5.000,@0.000 @5.000,@5.000 @0.000,@5.000 @0.000,@0.000
49 !}
50 !inner_square(){
51  !draw @0.500,@0.500 @4.500,@0.500 @4.500,@4.500 @0.500,@4.500 @0.500,@0.500
52 !}
53 !outer_vlines(){
54  !draw @0.000,@0.000 @0.000,@5.000
55  !draw @5.000,@0.000 @5.000,@5.000
56 !}
57 !inner_vlines(){
58  !draw @0.500,@0.500 @0.500,@4.500
59  !draw @4.500,@0.500 @4.500,@4.500
60 !}
61 !outer_longrect(){
62  !draw @0.000,@0.000 @5.000,@0.000 @5.000,@20.000 @0.000,@20.000 @0.000,@0.000
63 !}
64 !inner_longrect(){
65  !draw @0.500,@0.500 @4.500,@0.500 @4.500,@19.500 @0.500,@19.500 @0.500,@0.500
66 !}
67
68 !org_oblong(){
69 ; original test oblong
70
71 !draw 68.498,79.498 \
72 71.502,79.498 \
73 71.502,82.502 \
74 68.498,82.502 \
75 68.498,79.588 \
76 *67.899,78.899 \
77 72.101,78.899 \
78 72.101,83.101 \
79 67.899,83.101 \
80 67.899,78.989 \
81 *67.300,78.300 \
82 72.700,78.300 \
83 72.700,83.700 \
84 67.300,83.700 \
85 67.300,78.390 \
86
87 !}
88
89 !squares_tests(){
90
91 !orgy=40
92
93 !orgx=30
94 !outer_longrect()
95
96 !orgx=50
97 !inner_longrect()
98 !outer_longrect()
99
100 !orgx=90
101 !inner_square()
102 !outer_square()
103
104 !orgx=110
105 !outer_square()
106
107 !orgy=60
108 !outer_vlines()
109
110 !orgx=90
111 !inner_vlines()
112 !outer_vlines()
113
114 !orgy=80
115 !outer_square()
116 !inner_square()
117
118 !orgx=110
119 !inner_square()
120
121 !orgy=100
122 !inner_vlines()
123
124 !orgx=90
125 !outer_vlines()
126 !inner_vlines()
127
128 !orgx=50
129 !orgy=80
130 !outer_longrect()
131 !inner_longrect()
132
133 !orgx=30
134 !inner_longrect()
135
136 !}
137
138 !feedrate_tests(){
139
140 !orgx=20
141 !extruderate=0.045
142 !feedrate_test1()
143
144 !orgx=30
145 !extruderate=0.060
146 !feedrate_test1()
147
148 !orgx=40
149 !extruderate=0.080
150 !feedrate_test1()
151
152 !orgx=50
153 !extruderate=0.100
154 !feedrate_test1()
155
156 !orgx=60
157 !extruderate=0.125
158 !feedrate_test1()
159
160 !orgx=70
161 !extruderate=0.150
162 !feedrate_test1()
163
164 !orgx=80
165 !extruderate=0.200
166 !feedrate_test1()
167
168 !}
169
170 !feedrate_test1(){
171
172 !orgy=20
173 !outer_longrect()
174
175 !orgy=50
176 !inner_longrect()
177 !outer_longrect()
178
179 !orgy=80
180 !outer_longrect()
181 !inner_longrect()
182
183 !}
184
185 !layer(){
186
187 ;--------------------
188
189 ;!squares_tests()
190 ;!org_oblong()
191 !feedrate_tests()
192
193 !}
194
195 !layer()
196
197 M104 S210 ; set temperature
198 M140 S60 ; set bed temperature
199
200 !zprint=0.7
201 !layer()
202
203 !zprint=1.1
204 !layer()
205
206 M83 ; extruder relative
207 G1 F1000 ;1000mm/min extrusion
208 G1 E-10; retract
209 G1 X0 Y0 F10000
210 G28 X0 Y0
211 M104 S0 ; turn off temperature
212 M140 S0 ; turn off bed
213 M84     ; disable motors