]> git.armaanb.net Git - atreides.git/commitdiff
Add edge cuts.
authorPhil Hagelberg <phil@hagelb.org>
Fri, 24 Oct 2014 04:50:55 +0000 (21:50 -0700)
committerPhil Hagelberg <phil@hagelb.org>
Fri, 24 Oct 2014 04:50:55 +0000 (21:50 -0700)
atreus.rkt

index 040e462fe14614ea9de989a0c7195d0acef1cc3a..70d1721bcf4ed76441219ed694001002a4753346 100644 (file)
@@ -75,7 +75,7 @@
 
 (define teensy-module
   `(module TEENSY_2.0 (layer Front) (tedit 4FDC31C8) (tstamp 543EF800)
-    (at 133 70 270)
+    (at 134 70 270)
     (path /543EEB02)
     (fp_text value TEENSY2.0 (at 0 0 270) (layer F.SilkS)
              (effects (font (size 3.048 2.54) (thickness 0.4572))))
                       '(0) (in-range rows))])
     (list (switch row col) (diode row col))))
 
+(define edge-cuts
+  (for/list [(s '([32 22] [84 22] [119 42] [125 54] [143 54] [149 42] [185 22]
+                  [236 22] [249 95] [161 112] [107 112] [19 95]))
+             (e '([84 22] [119 42] [125 54] [143 54] [149 42] [185 22]
+                  [236 22] [249 95] [161 112] [107 112] [19 95] [32 22]))]
+    `(gr_line (start ,@s) (end ,@e) (angle 90) (layer Edge.Cuts) (width 0.3))))
+
 (define board
   (apply append nets
          (list (net-class nets))
          (list teensy-module)
+         edge-cuts
          switches+diodes))
 
 (define (write-placement filename)