this is a 2-layer design
[hw/easymotor] / easymotor.lht
index ddf8c0b16741e3fa9b17491ecdd9d5a6e3e7beb7..fc26acf89ba0aac7e4a49f8d5b2c699ac72d32e9 100644 (file)
@@ -456,7 +456,7 @@ ha:pcb-rnd-board-v8 {
      }
     }
     ha:padstack_ref.174164 {
-     proto=6; x=958.0mil; y=880.0mil; rot=0.000000; xmirror=0; smirror=0; clearance=5.0mil;
+     proto=6; x=993.0mil; y=847.0mil; rot=0.000000; xmirror=0; smirror=0; clearance=5.0mil;
      ha:flags {
       clearline=1
      }
@@ -465,7 +465,7 @@ ha:pcb-rnd-board-v8 {
      }
     }
     ha:padstack_ref.174165 {
-     proto=6; x=869.0mil; y=821.0mil; rot=0.000000; xmirror=0; smirror=0; clearance=5.0mil;
+     proto=6; x=885.0mil; y=821.0mil; rot=0.000000; xmirror=0; smirror=0; clearance=5.0mil;
      ha:flags {
       clearline=1
      }
@@ -7962,7 +7962,7 @@ ha:pcb-rnd-board-v8 {
             }
           }
 
-          {ha:top copper}  {
+          {ha:top copper}        {
            lid=2
            ha:combining {           }
 
@@ -11911,12 +11911,6 @@ ha:pcb-rnd-board-v8 {
          clearline=1
         }
        }
-       ha:line.172959 {
-        x1=959.0mil; y1=881.0mil; x2=993.0mil; y2=847.0mil; thickness=5.0mil; clearance=10.0mil;
-        ha:flags {
-         clearline=1
-        }
-       }
        ha:line.172962 {
         x1=993.0mil; y1=847.0mil; x2=993.0mil; y2=706.0mil; thickness=5.0mil; clearance=10.0mil;
         ha:flags {
@@ -11930,7 +11924,7 @@ ha:pcb-rnd-board-v8 {
         }
        }
        ha:line.172968 {
-        x1=790.0mil; y1=819.0mil; x2=869.0mil; y2=819.0mil; thickness=12.0mil; clearance=10.0mil;
+        x1=790.0mil; y1=819.0mil; x2=883.0mil; y2=819.0mil; thickness=12.0mil; clearance=10.0mil;
         ha:flags {
          clearline=1
         }
@@ -12013,12 +12007,6 @@ ha:pcb-rnd-board-v8 {
          clearline=1
         }
        }
-       ha:line.173040 {
-        x1=14.357858mm; y1=4.890389mm; x2=598.72mil; y2=135.455mil; thickness=5.0mil; clearance=10.0mil;
-        ha:flags {
-         clearline=1
-        }
-       }
        ha:line.173043 {
         x1=528.0mil; y1=136.0mil; x2=14.357858mm; y2=135.455mil; thickness=5.0mil; clearance=10.0mil;
         ha:flags {
@@ -12572,19 +12560,13 @@ ha:pcb-rnd-board-v8 {
         }
        }
        ha:line.184236 {
-        x1=30.1244mm; y1=656.0mil; x2=1.286in; y2=656.0mil; thickness=5.0mil; clearance=10.0mil;
-        ha:flags {
-         clearline=1
-        }
-       }
-       ha:line.184239 {
-        x1=1.286in; y1=656.0mil; x2=1.376in; y2=566.0mil; thickness=5.0mil; clearance=10.0mil;
+        x1=30.1244mm; y1=656.0mil; x2=32.639mm; y2=656.0mil; thickness=5.0mil; clearance=10.0mil;
         ha:flags {
          clearline=1
         }
        }
        ha:line.184242 {
-        x1=1.376in; y1=566.0mil; x2=1.376in; y2=400.0mil; thickness=5.0mil; clearance=10.0mil;
+        x1=1.376in; y1=565.0mil; x2=1.376in; y2=400.0mil; thickness=5.0mil; clearance=10.0mil;
         ha:flags {
          clearline=1
         }
@@ -12667,13 +12649,95 @@ ha:pcb-rnd-board-v8 {
          clearline=1
         }
        }
+       ha:line.188870 {
+        x1=14.357858mm; y1=4.890389mm; x2=14.357858mm; y2=4.590542mm; thickness=5.0mil; clearance=10.0mil;
+        ha:flags {
+         clearline=1
+        }
+       }
+       ha:line.188876 {
+        x1=598.72mil; y1=135.455mil; x2=598.72mil; y2=147.28mil; thickness=5.0mil; clearance=10.0mil;
+        ha:flags {
+         clearline=1
+        }
+       }
+       ha:line.188879 {
+        x1=14.357858mm; y1=4.590542mm; x2=598.72mil; y2=147.28mil; thickness=5.0mil; clearance=10.0mil;
+        ha:flags {
+         clearline=1
+        }
+       }
+       ha:line.189969 {
+        x1=32.639mm; y1=656.0mil; x2=1.376in; y2=565.0mil; thickness=5.0mil; clearance=10.0mil;
+        ha:flags {
+         clearline=1
+        }
+       }
+       ha:line.189981 {
+        x1=883.0mil; y1=819.0mil; x2=885.0mil; y2=821.0mil; thickness=12.0mil; clearance=10.0mil;
+        ha:flags {
+         clearline=1
+        }
+       }
+       ha:line.191219 {
+        x1=100.0mil; y1=100.0mil; x2=100.0mil; y2=900.0mil; thickness=10.0mil; clearance=10.0mil;
+        ha:flags {
+         clearline=1
+         lock=1
+        }
+
+        ha:attributes {
+          on_every_layer=
+          on_every_layer_gen=outline
+          noexport=1
+        }
+       }
+       ha:line.191231 {
+        x1=100.0mil; y1=100.0mil; x2=1.6in; y2=100.0mil; thickness=10.0mil; clearance=10.0mil;
+        ha:flags {
+         clearline=1
+         lock=1
+        }
+
+        ha:attributes {
+          on_every_layer=
+          on_every_layer_gen=outline
+          noexport=1
+        }
+       }
+       ha:line.191243 {
+        x1=1.6in; y1=900.0mil; x2=1.6in; y2=100.0mil; thickness=10.0mil; clearance=10.0mil;
+        ha:flags {
+         clearline=1
+         lock=1
+        }
+
+        ha:attributes {
+          on_every_layer=
+          on_every_layer_gen=outline
+          noexport=1
+        }
+       }
+       ha:line.191255 {
+        x1=100.0mil; y1=900.0mil; x2=1.6in; y2=900.0mil; thickness=10.0mil; clearance=10.0mil;
+        ha:flags {
+         clearline=1
+         lock=1
+        }
+
+        ha:attributes {
+          on_every_layer=
+          on_every_layer_gen=outline
+          noexport=1
+        }
+       }
       }
       color = {#8b2323}
     }
 
     ha:bottom-sig {
      lid=1
-     group=10
+     group=8
      ha:combining {     }
 
       ha:attributes {
@@ -12809,25 +12873,13 @@ ha:pcb-rnd-board-v8 {
         }
        }
        ha:line.173190 {
-        x1=869.0mil; y1=819.0mil; x2=947.0mil; y2=819.0mil; thickness=12.0mil; clearance=10.0mil;
-        ha:flags {
-         clearline=1
-        }
-       }
-       ha:line.173193 {
-        x1=958.0mil; y1=880.0mil; x2=878.0mil; y2=880.0mil; thickness=5.0mil; clearance=10.0mil;
-        ha:flags {
-         clearline=1
-        }
-       }
-       ha:line.173196 {
-        x1=878.0mil; y1=880.0mil; x2=847.0mil; y2=849.0mil; thickness=5.0mil; clearance=10.0mil;
+        x1=885.0mil; y1=821.0mil; x2=887.0mil; y2=819.0mil; thickness=12.0mil; clearance=10.0mil;
         ha:flags {
          clearline=1
         }
        }
        ha:line.173199 {
-        x1=847.0mil; y1=849.0mil; x2=847.0mil; y2=789.0mil; thickness=5.0mil; clearance=10.0mil;
+        x1=847.0mil; y1=827.0mil; x2=847.0mil; y2=789.0mil; thickness=5.0mil; clearance=10.0mil;
         ha:flags {
          clearline=1
         }
@@ -13078,6 +13130,76 @@ ha:pcb-rnd-board-v8 {
          clearline=1
         }
        }
+       ha:line.189978 {
+        x1=887.0mil; y1=819.0mil; x2=947.0mil; y2=819.0mil; thickness=12.0mil; clearance=10.0mil;
+        ha:flags {
+         clearline=1
+        }
+       }
+       ha:line.191228 {
+        x1=100.0mil; y1=100.0mil; x2=100.0mil; y2=900.0mil; thickness=10.0mil; clearance=10.0mil;
+        ha:flags {
+         clearline=1
+         lock=1
+        }
+
+        ha:attributes {
+          on_every_layer=
+          on_every_layer_gen=outline
+          noexport=1
+        }
+       }
+       ha:line.191240 {
+        x1=100.0mil; y1=100.0mil; x2=1.6in; y2=100.0mil; thickness=10.0mil; clearance=10.0mil;
+        ha:flags {
+         clearline=1
+         lock=1
+        }
+
+        ha:attributes {
+          on_every_layer=
+          on_every_layer_gen=outline
+          noexport=1
+        }
+       }
+       ha:line.191252 {
+        x1=1.6in; y1=900.0mil; x2=1.6in; y2=100.0mil; thickness=10.0mil; clearance=10.0mil;
+        ha:flags {
+         clearline=1
+         lock=1
+        }
+
+        ha:attributes {
+          on_every_layer=
+          on_every_layer_gen=outline
+          noexport=1
+        }
+       }
+       ha:line.191264 {
+        x1=100.0mil; y1=900.0mil; x2=1.6in; y2=900.0mil; thickness=10.0mil; clearance=10.0mil;
+        ha:flags {
+         clearline=1
+         lock=1
+        }
+
+        ha:attributes {
+          on_every_layer=
+          on_every_layer_gen=outline
+          noexport=1
+        }
+       }
+       ha:line.191270 {
+        x1=993.0mil; y1=847.0mil; x2=867.0mil; y2=847.0mil; thickness=5.0mil; clearance=10.0mil;
+        ha:flags {
+         clearline=1
+        }
+       }
+       ha:line.191273 {
+        x1=867.0mil; y1=847.0mil; x2=847.0mil; y2=827.0mil; thickness=5.0mil; clearance=10.0mil;
+        ha:flags {
+         clearline=1
+        }
+       }
       }
       color = {#3a5fcd}
     }
@@ -13123,7 +13245,7 @@ ha:pcb-rnd-board-v8 {
 
     ha:bottom-gnd {
      lid=3
-     group=10
+     group=8
      ha:combining {     }
 
       li:objects {
@@ -13147,72 +13269,55 @@ ha:pcb-rnd-board-v8 {
     }
 
 
-     ha:power {
-      lid=4
-      group=7
-      ha:combining {      }
-
-       ha:attributes {
-         {pcb-rnd::key::vis}={<Key>l; Shift<Key>i}
-         {pcb-rnd::key::select}={<Key>l; <Key>i}
-       }
-
-       li:objects {
-       }
-       color = {#548b54}
-     }
-
-     ha:int-gnd {
-      lid=5
-      group=5
-      ha:combining {      }
-
-       ha:attributes {
-         {pcb-rnd::key::vis}={<Key>l; Shift<Key>o}
-         {pcb-rnd::key::select}={<Key>l; <Key>o}
-       }
-
-       li:objects {
-       }
-       color = {#8b7355}
-     }
     ha:outline {
-     lid=6
-     group=9
+     lid=4
+     group=7
      ha:combining {     }
 
       li:objects {
        ha:line.173269 {
-        x1=100.0mil; y1=100.0mil; x2=100.0mil; y2=900.0mil; thickness=10.0mil; clearance=40.0mil;
+        x1=100.0mil; y1=100.0mil; x2=100.0mil; y2=900.0mil; thickness=10.0mil; clearance=10.0mil;
         ha:flags {
          clearline=1
         }
+         ha:attributes {
+          on_every_layer=outline
+         }
        }
        ha:line.173272 {
-        x1=100.0mil; y1=100.0mil; x2=1.6in; y2=100.0mil; thickness=10.0mil; clearance=40.0mil;
+        x1=100.0mil; y1=100.0mil; x2=1.6in; y2=100.0mil; thickness=10.0mil; clearance=10.0mil;
         ha:flags {
          clearline=1
         }
+         ha:attributes {
+          on_every_layer=outline
+         }
        }
        ha:line.173275 {
-        x1=1.6in; y1=900.0mil; x2=1.6in; y2=100.0mil; thickness=10.0mil; clearance=40.0mil;
+        x1=1.6in; y1=900.0mil; x2=1.6in; y2=100.0mil; thickness=10.0mil; clearance=10.0mil;
         ha:flags {
          clearline=1
         }
+         ha:attributes {
+          on_every_layer=outline
+         }
        }
        ha:line.173278 {
-        x1=100.0mil; y1=900.0mil; x2=1.6in; y2=900.0mil; thickness=10.0mil; clearance=40.0mil;
+        x1=100.0mil; y1=900.0mil; x2=1.6in; y2=900.0mil; thickness=10.0mil; clearance=10.0mil;
         ha:flags {
          clearline=1
         }
+         ha:attributes {
+          on_every_layer=outline
+         }
        }
       }
       color = {#00868b}
     }
 
     ha:bottom-silk {
-     lid=7
-     group=12
+     lid=5
+     group=10
      ha:combining { auto=1;     }
 
       ha:attributes {
@@ -13322,19 +13427,19 @@ ha:pcb-rnd-board-v8 {
         rot = 270.000000
        }
        ha:text.187784 {
-        string=debug; x=1.476in; y=359.0mil; scale=75; fid=0;
+        string=debug; x=1.528in; y=588.0mil; scale=75; fid=0;
         ha:flags {
          clearline=1
          onsolder=1
         }
-        rot = 360.000000
+        rot = 270.000000
        }
       }
       color = {#000000}
     }
 
     ha:top-silk {
-     lid=8
+     lid=6
      group=1
      ha:combining { auto=1;     }
 
@@ -13349,7 +13454,7 @@ ha:pcb-rnd-board-v8 {
     }
 
     ha:top-paste {
-     lid=9
+     lid=7
      group=0
      ha:combining { auto=1;     }
 
@@ -13359,7 +13464,7 @@ ha:pcb-rnd-board-v8 {
     }
 
     ha:top-mask {
-     lid=10
+     lid=8
      group=2
      ha:combining { sub=1; auto=1;     }
 
@@ -13369,8 +13474,8 @@ ha:pcb-rnd-board-v8 {
     }
 
     ha:bottom-mask {
-     lid=11
-     group=11
+     lid=9
+     group=9
      ha:combining { sub=1; auto=1;     }
 
       li:objects {
@@ -13379,8 +13484,8 @@ ha:pcb-rnd-board-v8 {
     }
 
     ha:bottom-paste {
-     lid=12
-     group=13
+     lid=10
+     group=11
      ha:combining { auto=1;     }
 
       li:objects {
@@ -13389,8 +13494,8 @@ ha:pcb-rnd-board-v8 {
     }
 
     ha:slot-plated {
-     lid=13
-     group=14
+     lid=11
+     group=12
      ha:combining { auto=1;     }
 
       li:objects {
@@ -13399,8 +13504,8 @@ ha:pcb-rnd-board-v8 {
     }
 
     ha:slot-unplated {
-     lid=14
-     group=15
+     lid=12
+     group=13
      ha:combining { auto=1;     }
 
       li:objects {
@@ -13409,8 +13514,8 @@ ha:pcb-rnd-board-v8 {
     }
 
     ha:top-assy {
-     lid=15
-     group=16
+     lid=13
+     group=14
      ha:combining {     }
 
       li:objects {
@@ -13419,8 +13524,8 @@ ha:pcb-rnd-board-v8 {
     }
 
     ha:bot-assy {
-     lid=16
-     group=17
+     lid=14
+     group=15
      ha:combining {     }
 
       li:objects {
@@ -13429,8 +13534,8 @@ ha:pcb-rnd-board-v8 {
     }
 
     ha:fab {
-     lid=17
-     group=18
+     lid=15
+     group=16
      ha:combining { auto=1;     }
 
       li:objects {
@@ -15437,17 +15542,17 @@ ha:pcb-rnd-board-v8 {
    ha:0 {
     name = top_paste
     ha:type { top=1; paste=1;    }
-    li:layers { 9;    }
+    li:layers { 7;    }
    }
    ha:1 {
     name = top_silk
     ha:type { silk=1; top=1;    }
-    li:layers { 8;    }
+    li:layers { 6;    }
    }
    ha:2 {
     name = top_mask
     ha:type { top=1; mask=1;    }
-    li:layers { 10;    }
+    li:layers { 8;    }
    }
    ha:3 {
     name = top_copper
@@ -15463,24 +15568,14 @@ ha:pcb-rnd-board-v8 {
     }
    }
    ha:5 {
-    name = Intern
-    ha:type { copper=1; intern=1;    }
-    li:layers { 5;    }
-   }
-   ha:6 {
     name = grp_6
-    ha:type { substrate=1; intern=1;    }
-    li:layers {    }
-    ha:attributes {
-     thickness={0.125mm }
-    }
-   }
-   ha:7 {
-    name = Intern
-    ha:type { copper=1; intern=1;    }
-    li:layers { 4;    }
+    ha:type {  intern=1; substrate=1;    }
+    li:layers {     }
+     ha:attributes {
+      thickness={0.125mm }
+     }
    }
-   ha:8 {
+   ha:6 {
     name = grp_8
     ha:type { substrate=1; intern=1;    }
     li:layers {    }
@@ -15488,66 +15583,66 @@ ha:pcb-rnd-board-v8 {
      thickness={0.7375mm }
     }
    }
-   ha:9 {
+   ha:7 {
     name = global_outline
-    ha:type { boundary=1;    }
-    li:layers { 6;    }
-    purpose = uroute
+    ha:type {  boundary=1;    }
+    li:layers { 4;    }
+     purpose = uroute
    }
-   ha:10 {
+   ha:8 {
     name = bottom_copper
-    ha:type { bottom=1; copper=1;    }
-    li:layers { 1; 3;    }
+    ha:type {  bottom=1; copper=1;    }
+    li:layers {     1; 3;}
    }
-   ha:11 {
+   ha:9 {
     name = bottom_mask
-    ha:type { bottom=1; mask=1;    }
-    li:layers { 11;    }
+    ha:type {  bottom=1; mask=1;    }
+    li:layers { 9;    }
    }
-   ha:12 {
+   ha:10 {
     name = bottom_silk
-    ha:type { silk=1; bottom=1;    }
-    li:layers { 7;    }
+    ha:type { bottom=1; silk=1;    }
+    li:layers { 5;    }
    }
-   ha:13 {
+   ha:11 {
     name = bottom_paste
     ha:type { bottom=1; paste=1;    }
-    li:layers { 12;    }
+    li:layers { 10;    }
    }
-   ha:14 {
+   ha:12 {
     name = pmech
-    ha:type { mech=1;    }
-    li:layers { 13;    }
-    purpose = proute
+    ha:type {  mech=1;    }
+    li:layers { 11;    }
+     purpose = proute
    }
-   ha:15 {
+   ha:13 {
     name = umech
-    ha:type { mech=1;    }
-    li:layers { 14;    }
-    purpose = uroute
+    ha:type {  mech=1;    }
+    li:layers { 12;    }
+     purpose = uroute
    }
-   ha:16 {
+   ha:14 {
     name = top_assy
-    ha:type { top=1; doc=1;    }
-    li:layers { 15;    }
-    ha:attributes {
-     init-invis=1
-    }
+    ha:type {  top=1; doc=1;    }
+    li:layers { 13;    }
     purpose = assy
+     ha:attributes {
+      init-invis=1
+     }
    }
-   ha:17 {
+   ha:15 {
     name = bot_assy
-    ha:type { bottom=1; doc=1;    }
-    li:layers { 16;    }
-    ha:attributes {
-     init-invis=1
-    }
+    ha:type {  bottom=1; doc=1;    }
+    li:layers { 14;    }
     purpose = assy
+     ha:attributes {
+      init-invis=1
+     }
    }
-   ha:18 {
+   ha:16 {
     name = fab
     ha:type { top=1; doc=1;    }
-    li:layers { 17;    }
+    li:layers { 15;    }
     ha:attributes {
      init-invis=1
     }
@@ -15559,15 +15654,16 @@ ha:pcb-rnd-board-v8 {
   ha:overwrite {
    ha:design {
     text_font_id = 0
-     line_thickness = 12.00 mil
-     via_proto = 1
+     line_thickness = 5.00 mil
+     via_proto = 5
      text_scale = 100
      text_thickness = 0
-     clearance = 6.00 mil
-      min_slk = 0.15240000 mm
+     clearance = 5.00 mil
+      min_slk = 0.12700000 mm
      ha:drc {
-      min_ring = 0.2 mm
+      min_ring = 6.0 mil
       min_drill = 0.2 mm
+       min_copper_overlap = 5.0 mil
      }
       min_wid = 0.12700000 mm
       bloat = 0.12700000 mm
@@ -15578,9 +15674,9 @@ ha:pcb-rnd-board-v8 {
      buffer_number = 0
      all_direction_lines = false
      ha:view {
-      flip_y = 0
+      flip_y = 1
      }
-     show_solder_side = 0
+     show_solder_side = 1
    }
   }
  }
@@ -15595,30 +15691,30 @@ ha:pcb-rnd-board-v8 {
      ha:unnamed_net15 {
      li:conn { C3-1; U7-5; X2-3;     }
      }
-                ha:unnamed_net21 {
-                li:conn { J5-3; R9-1; R55-1;                }
-                }
-                ha:unnamed_net17 {
-                li:conn { R55-2; U7-14;                }
-                }
-                ha:unnamed_net18 {
-                li:conn { R54-2; U7-13;                }
-                }
-                ha:unnamed_net24 {
-                li:conn { R35-2; U2-5;                }
-                }
-                ha:unnamed_net25 {
-                li:conn { D1-2; R50-1;                }
-                }
-                ha:unnamed_net20 {
-                li:conn { J5-2; R54-1;                }
-                }
-               ha:unnamed_net16 {
-               li:conn { C2-1; U7-4; X2-1;               }
-               }
-          ha:beeper {
-          li:conn { U7-3; U8-2;          }
-          }
+                    ha:unnamed_net21 {
+                    li:conn { J5-3; R9-1; R55-1;                    }
+                    }
+                    ha:unnamed_net17 {
+                    li:conn { R55-2; U7-14;                    }
+                    }
+                    ha:unnamed_net18 {
+                    li:conn { R54-2; U7-13;                    }
+                    }
+                    ha:unnamed_net24 {
+                    li:conn { R35-2; U2-5;                    }
+                    }
+                    ha:unnamed_net25 {
+                    li:conn { D1-2; R50-1;                    }
+                    }
+                    ha:unnamed_net20 {
+                    li:conn { J5-2; R54-1;                    }
+                    }
+                   ha:unnamed_net16 {
+                   li:conn { C2-1; U7-4; X2-1;                   }
+                   }
+                   ha:beeper {
+                   li:conn { U7-3; U8-2;                   }
+                   }
           ha:GND {
           li:conn { B1-2; C1-1; C2-2; C3-2; C4-1; C5-1; C7-1; C9-1; C10-1; C11-1; C37-1; C38-2; C39-1; C101-1; C102-1; H1-1; H2-1; H3-1; H4-1; J1-2; J5-5; J5-G; J6-1; J12-5; J12-6; R28-1; R32-1; R35-1; R51-1; U1-2; U2-2; U3-2; U3-4; U3-5; U4-6; U4-7; U4-9; U5-4; U7-33; U8-1; X2-2; X2-4;          }
           }