1
0
mirror of git://projects.qi-hardware.com/fped.git synced 2024-11-25 00:35:20 +02:00
fped/meas.fpd
werner 4a0fd61016 More work on measurements. Getting there ...
- removed support for old-style measurements
- new-style measurements are now embedded in "struct obj", so we can dump and 
  delete them
- "measxy" is now called "meas"
- updated examples to use new-style measurements



git-svn-id: http://svn.openmoko.org/trunk/eda/fped@5412 99fdad57-331a-0410-800a-d7fa5415bdb3
2009-08-09 00:06:54 +00:00

25 lines
436 B
Plaintext

/*
* 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
*/
meas "A -> B = " A -> B 0.2mm
meas "A <- B = " A <- B 0.5mm
meas "A >> B = " A >> B 1.5mm
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
meas "B -> C = " B -> C 0.5mm