2009-08-07 16:37:51 +03:00
|
|
|
/*
|
|
|
|
* new-style measurements demo
|
|
|
|
*/
|
|
|
|
|
|
|
|
part "measurements"
|
|
|
|
loop x = -2, 2
|
|
|
|
A: vec @(0mm, 0mm)
|
|
|
|
B: vec @(x*2mm, 2mm)
|
|
|
|
C: vec @(0mm, 4mm)
|
|
|
|
|
|
|
|
/*
|
|
|
|
* If we measure (x, y), y trumps x
|
|
|
|
*/
|
2009-08-09 03:06:54 +03:00
|
|
|
meas "A -> B = " A -> B 0.2mm
|
|
|
|
meas "A <- B = " A <- B 0.5mm
|
2009-08-07 16:37:51 +03:00
|
|
|
|
2009-08-09 03:06:54 +03:00
|
|
|
meas "A >> B = " A >> B 1.5mm
|
2009-08-07 16:37:51 +03:00
|
|
|
|
|
|
|
measx "x(A -> B) = " A -> B -0.5mm
|
|
|
|
measx "x(A >> B) = " A >> B -1mm
|
|
|
|
measy "y(A -> B) = " A -> B -2mm
|
|
|
|
measy "y(A >> B) = " A >> B -4.5mm
|
|
|
|
|
2009-08-09 03:06:54 +03:00
|
|
|
meas "B -> C = " B -> C 0.5mm
|