chiark / gitweb /
size-test: remove edge ticks; our printer is printing in right places
[reprap-play.git] / size-tests.m-g
index 12f7886839349a18d7d861e92a23d88fff15ccb7..57d98c4d5795a78448086abb60eac811d889ca11 100644 (file)
@@ -27,9 +27,11 @@ M82 ; use absolute distances for extrusion
 !zprint=0.4
 
 ; "skirt" - prep extruder
-!draw 5,5 100,5 101,6 101,7 100,8 5,8
+!draw 5,5 100,5 101,5.5 101,6.0 100,6.5 5,6.5
 
 ; edge ticks for global motions sizing
+
+!edge_ticks(){
 !draw 20,10 10,10 10,20
 !draw 10,65 10,75
 !draw 10,120 10,130 20,130
@@ -38,10 +40,79 @@ M82 ; use absolute distances for extrusion
 !draw 130,75 130,65
 !draw 130,20 130,10 120,10
 !draw 75,10 65,10
+!}
+
+;!edge_ticks()
+
+!outer_square(){
+ !draw @0.000,@0.000 @5.000,@0.000 @5.000,@5.000 @0.000,@5.000 @0.000,@0.000
+!}
+!inner_square(){
+ !draw @0.500,@0.500 @4.500,@0.500 @4.500,@4.500 @0.500,@4.500 @0.500,@0.500
+!}
+!outer_vlines(){
+ !draw @0.000,@0.000 @0.000,@5.000
+ !draw @5.000,@0.000 @5.000,@5.000
+!}
+!inner_vlines(){
+ !draw @0.500,@0.500 @0.500,@4.500
+ !draw @4.500,@0.500 @4.500,@4.500
+!}
+!outer_longrect(){
+ !draw @0.000,@0.000 @5.000,@0.000 @5.000,@20.000 @0.000,@20.000 @0.000,@0.000
+!}
+!inner_longrect(){
+ !draw @0.500,@0.500 @4.500,@0.500 @4.500,@19.500 @0.500,@19.500 @0.500,@0.500
+!}
 
 !layer(){
 
-; parallel lines
+;--------------------
+
+!orgy=40
+
+!orgx=30
+!outer_longrect()
+
+!orgx=50
+!inner_longrect()
+!outer_longrect()
+
+!orgx=90
+!inner_square()
+!outer_square()
+
+!orgx=110
+!outer_square()
+
+!orgy=60
+!outer_vlines()
+
+!orgx=90
+!inner_vlines()
+!outer_vlines()
+
+!orgy=80
+!outer_square()
+!inner_square()
+
+!orgx=110
+!inner_square()
+
+!orgy=100
+!inner_vlines()
+
+!orgx=90
+!outer_vlines()
+!inner_vlines()
+
+!orgx=50
+!orgy=80
+!outer_longrect()
+!inner_longrect()
+
+!orgx=30
+!inner_longrect()
 
 ; original test oblong