ha:pcb-rnd-board-v6 {

 li:styles {
   ha:Signal {
    diameter = 2.0mm
    text_scale = 0
    text_thick = 0.0
    thickness = 10.0mil
    hole = 31.5mil
    clearance = 20.0mil
   }
   ha:Power {
    diameter = 2.2mm
    text_scale = 0
    text_thick = 0.0
    thickness = 20.0mil
    hole = 1.0mm
    clearance = 20.0mil
   }
   ha:Fat {
    diameter = 137.8mil
    text_scale = 0
    text_thick = 0.0
    thickness = 80.0mil
    hole = 47.24mil
    clearance = 25.0mil
   }
   ha:Sig-tight {
    diameter = 64.0mil
    text_scale = 0
    text_thick = 0.0
    thickness = 10.0mil
    hole = 31.5mil
    clearance = 12.0mil
   }
 }

 ha:meta {
   ha:size {
    thermal_scale = 0.500000
    x = 550.0mil
    y = 2.25in
   }
   ha:grid {
    spacing = 25.0mil
    offs_x = 0.0
    offs_y = 0.0
   }
 }

 ha:data {
  li:padstack_prototypes {

    ha:ps_proto_v6.0 {
      hdia=31.5mil; hplated=1; htop=0; hbottom=0;
      li:shape {

        ha:ps_shape_v4 {
         ha:ps_circ { x=0.0; y=0.0; dia=2.0mm;         }
         ha:combining {         }
         ha:layer_mask {
          copper = 1
          top = 1
         }
         clearance=0.0
        }

        ha:ps_shape_v4 {
         ha:ps_circ { x=0.0; y=0.0; dia=2.0mm;         }
         ha:combining {         }
         ha:layer_mask {
          bottom = 1
          copper = 1
         }
         clearance=0.0
        }

        ha:ps_shape_v4 {
         ha:ps_circ { x=0.0; y=0.0; dia=2.0mm;         }
         ha:combining {         }
         ha:layer_mask {
          copper = 1
          intern = 1
         }
         clearance=0.0
        }
      }
    }

    ha:ps_proto_v6.1 {
      hdia=1.0mm; hplated=1; htop=0; hbottom=0;
      li:shape {

        ha:ps_shape_v4 {
         ha:ps_circ { x=0.0; y=0.0; dia=2.2mm;         }
         ha:combining {         }
         ha:layer_mask {
          copper = 1
          top = 1
         }
         clearance=0.0
        }

        ha:ps_shape_v4 {
         ha:ps_circ { x=0.0; y=0.0; dia=2.2mm;         }
         ha:combining {         }
         ha:layer_mask {
          bottom = 1
          copper = 1
         }
         clearance=0.0
        }

        ha:ps_shape_v4 {
         ha:ps_circ { x=0.0; y=0.0; dia=2.2mm;         }
         ha:combining {         }
         ha:layer_mask {
          copper = 1
          intern = 1
         }
         clearance=0.0
        }
      }
    }

    ha:ps_proto_v6.2 {
      hdia=47.24mil; hplated=1; htop=0; hbottom=0;
      li:shape {

        ha:ps_shape_v4 {
         ha:ps_circ { x=0.0; y=0.0; dia=137.8mil;         }
         ha:combining {         }
         ha:layer_mask {
          copper = 1
          top = 1
         }
         clearance=0.0
        }

        ha:ps_shape_v4 {
         ha:ps_circ { x=0.0; y=0.0; dia=137.8mil;         }
         ha:combining {         }
         ha:layer_mask {
          bottom = 1
          copper = 1
         }
         clearance=0.0
        }

        ha:ps_shape_v4 {
         ha:ps_circ { x=0.0; y=0.0; dia=137.8mil;         }
         ha:combining {         }
         ha:layer_mask {
          copper = 1
          intern = 1
         }
         clearance=0.0
        }
      }
    }
  }

   li:objects {
    ha:padstack_ref.23 {
     proto=0; x=100.0mil; y=49.53mm; rot=0.000000; xmirror=0; smirror=0; clearance=20.0mil;
     ha:flags {
      clearline=1
     }

     li:thermal {
     }
    }
    ha:padstack_ref.24 {
     proto=1; x=200.0mil; y=49.53mm; rot=0.000000; xmirror=0; smirror=0; clearance=20.0mil;
     ha:flags {
      clearline=1
     }

     li:thermal {
     }
    }
    ha:padstack_ref.25 {
     proto=2; x=400.0mil; y=49.53mm; rot=0.000000; xmirror=0; smirror=0; clearance=25.0mil;
     ha:flags {
      clearline=1
     }

     li:thermal {
     }
    }
     ha:subc.51 {
      ha:attributes {
       footprint=1206 Standard SMT resistor, capacitor etc
       refdes=R1
      }
     ha:data {
          li:padstack_prototypes {

      ha:ps_proto_v6.0 {
        hdia=0.0; hplated=0; htop=0; hbottom=0;
        li:shape {

          ha:ps_shape_v4 {
           ha:combining {           }
           ha:layer_mask {
            copper = 1
            top = 1
           }
           clearance=0.0
            li:ps_poly {
             0.649986mm  
             -0.94996mm  
             -0.649986mm  
             -0.94996mm  
             -0.649986mm  
             0.94996mm  
             0.649986mm  
             0.94996mm  
            }
          }

          ha:ps_shape_v4 {
           ha:combining { sub=1; auto=1;           }
           ha:layer_mask {
            top = 1
            mask = 1
           }
           clearance=0.0
            li:ps_poly {
             0.726186mm  
             -1.02616mm  
             -0.726186mm  
             -1.02616mm  
             -0.726186mm  
             1.02616mm  
             0.726186mm  
             1.02616mm  
            }
          }

          ha:ps_shape_v4 {
           ha:combining { auto=1;           }
           ha:layer_mask {
            top = 1
            paste = 1
           }
           clearance=0.0
            li:ps_poly {
             0.649986mm  
             -0.94996mm  
             -0.649986mm  
             -0.94996mm  
             -0.649986mm  
             0.94996mm  
             0.649986mm  
             0.94996mm  
            }
          }
        }
      }
     }

      li:objects {
       ha:padstack_ref.71 {
        proto=0; x=3.58013mm; y=54.61mm; rot=0.000000; xmirror=0; smirror=0; clearance=10.0mil;
        ha:flags {
         clearline=1
        }

        li:thermal {
        }

        ha:attributes {
          term=1
          name=1
        }
       }
       ha:padstack_ref.72 {
        proto=0; x=259.05mil; y=54.61mm; rot=0.000000; xmirror=0; smirror=0; clearance=10.0mil;
        ha:flags {
         clearline=1
        }

        li:thermal {
        }

        ha:attributes {
          term=2
          name=2
        }
       }
      }
      li:layers {

       ha:top-silk {
        lid=0
        ha:combining {        }

         li:objects {
          ha:line.52 {
           x1=4.480052mm; y1=2.1126in; x2=223.62mil; y2=2.1126in; thickness=8.0mil; clearance=0.0;
          }
          ha:line.55 {
           x1=4.480052mm; y1=2.1874in; x2=223.62mil; y2=2.1874in; thickness=8.0mil; clearance=0.0;
          }
          ha:text.58 {
           string=%a.parent.refdes%; x=342.12mil; y=2.1311in; scale=100; fid=0;
           ha:flags {
            dyntext=1
            floater=1
           }
           rot = 0.000000
          }
         }
         ha:type {
          silk = 1
          top = 1
         }
       }

       ha:subc-aux {
        lid=1
        ha:combining {        }

         li:objects {
          ha:line.59 {
           x1=200.0mil; y1=54.61mm; x2=200.0mil; y2=54.61mm; thickness=0.1mm; clearance=0.0;
           ha:attributes {
             subc-role=pnp-origin
           }
          }
          ha:line.62 {
           x1=200.0mil; y1=54.61mm; x2=200.0mil; y2=54.61mm; thickness=0.1mm; clearance=0.0;
           ha:attributes {
             subc-role=origin
           }
          }
          ha:line.65 {
           x1=200.0mil; y1=54.61mm; x2=6.08mm; y2=54.61mm; thickness=0.1mm; clearance=0.0;
           ha:attributes {
             subc-role=x
           }
          }
          ha:line.68 {
           x1=200.0mil; y1=54.61mm; x2=200.0mil; y2=55.61mm; thickness=0.1mm; clearance=0.0;
           ha:attributes {
             subc-role=y
           }
          }
         }
         ha:type {
          top = 1
          misc = 1
          virtual = 1
         }
       }
      }
     }
      uid = pjaLj8tSfYLVqy1mjLYAAAAB
     }
     ha:rat.85 {
      x1=3.58013mm; y1=54.61mm; lgrp1=3; x2=259.05mil; y2=54.61mm; lgrp2=3;
     }
   }
   li:layers {

    ha:top-sig {
     lid=0
     group=3
     ha:combining {     }

      li:objects {
       ha:text.10 {
        string=topcop; x=100.0mil; y=350.0mil; scale=100; fid=0;
        ha:flags {
         clearline=1
        }
        rot = 0.000000
       }
      }
      color = {#8b2323}
    }

    ha:bottom-sig {
     lid=1
     group=10
     ha:combining {     }

      li:objects {
       ha:text.13 {
        string=botcop; x=100.0mil; y=750.0mil; scale=100; fid=0;
        ha:flags {
         clearline=1
         onsolder=1
        }
        rot = 0.000000
       }
      }
      color = {#3a5fcd}
    }

    ha:int-sig2 {
     lid=2
     group=7
     ha:combining {     }

      li:objects {
       ha:text.12 {
        string=icop2; x=100.0mil; y=550.0mil; scale=100; fid=0;
        ha:flags {
         clearline=1
        }
        rot = 0.000000
       }
      }
      color = {#548b54}
    }

    ha:int-sig1 {
     lid=3
     group=5
     ha:combining {     }

      li:objects {
       ha:text.11 {
        string=icop1; x=100.0mil; y=450.0mil; scale=100; fid=0;
        ha:flags {
         clearline=1
        }
        rot = 0.000000
       }
      }
      color = {#8b7355}
    }

    ha:outline {
     lid=4
     group=9
     ha:combining {     }

      li:objects {
       ha:text.17 {
        string=bnd; x=100.0mil; y=29.21mm; scale=100; fid=0;
        ha:flags {
         clearline=1
        }
        rot = 0.000000
       }
      }
      color = {#00868b}
    }

    ha:bottom-silk {
     lid=5
     group=12
     ha:combining { auto=1;     }

      li:objects {
       ha:text.15 {
        string=botslk; x=100.0mil; y=950.0mil; scale=100; fid=0;
        ha:flags {
         clearline=1
         onsolder=1
        }
        rot = 0.000000
       }
      }
      color = {#000000}
    }

    ha:top-silk {
     lid=6
     group=1
     ha:combining { auto=1;     }

      li:objects {
       ha:text.8 {
        string=topslk; x=100.0mil; y=150.0mil; scale=100; fid=0;
        ha:flags {
         clearline=1
        }
        rot = 0.000000
       }
      }
      color = {#000000}
    }

    ha:top-paste {
     lid=7
     group=0
     ha:combining { auto=1;     }

      li:objects {
       ha:text.7 {
        string=toppst; x=100.0mil; y=50.0mil; scale=100; fid=0;
        ha:flags {
         clearline=1
        }
        rot = 0.000000
       }
      }
      color = {#cd00cd}
    }

    ha:top-mask {
     lid=8
     group=2
     ha:combining { sub=1; auto=1;     }

      li:objects {
       ha:text.9 {
        string=topmsk; x=100.0mil; y=250.0mil; scale=100; fid=0;
        ha:flags {
         clearline=1
        }
        rot = 0.000000
       }
      }
      color = {#ff0000}
    }

    ha:bottom-mask {
     lid=9
     group=11
     ha:combining { sub=1; auto=1;     }

      li:objects {
       ha:text.14 {
        string=botmsk; x=100.0mil; y=850.0mil; scale=100; fid=0;
        ha:flags {
         clearline=1
         onsolder=1
        }
        rot = 0.000000
       }
      }
      color = {#ff0000}
    }

    ha:bottom-paste {
     lid=10
     group=13
     ha:combining { auto=1;     }

      li:objects {
       ha:text.16 {
        string=botpst; x=100.0mil; y=26.67mm; scale=100; fid=0;
        ha:flags {
         clearline=1
         onsolder=1
        }
        rot = 0.000000
       }
      }
      color = {#cd00cd}
    }

    ha:slot-plated {
     lid=11
     group=14
     ha:combining { auto=1;     }

      li:objects {
       ha:text.18 {
        string=pslt; x=100.0mil; y=31.75mm; scale=100; fid=0;
        ha:flags {
         clearline=1
        }
        rot = 0.000000
       }
      }
      color = {#8b7355}
    }

    ha:slot-unplated {
     lid=12
     group=15
     ha:combining { auto=1;     }

      li:objects {
       ha:text.19 {
        string=uslt; x=100.0mil; y=1.35in; scale=100; fid=0;
        ha:flags {
         clearline=1
        }
        rot = 0.000000
       }
      }
      color = {#00868b}
    }

    ha:top-assy {
     lid=13
     group=16
     ha:combining {     }

      li:objects {
       ha:text.20 {
        string=topasy; x=100.0mil; y=36.83mm; scale=100; fid=0;
        ha:flags {
         clearline=1
        }
        rot = 0.000000
       }
      }
      color = {#444444}
    }

    ha:bot-assy {
     lid=14
     group=17
     ha:combining {     }

      li:objects {
       ha:text.21 {
        string=botasy; x=100.0mil; y=1.65in; scale=100; fid=0;
        ha:flags {
         clearline=1
         onsolder=1
        }
        rot = 0.000000
       }
      }
      color = {#444444}
    }

    ha:fab {
     lid=15
     group=18
     ha:combining { auto=1;     }

      li:objects {
       ha:text.22 {
        string=fab; x=100.0mil; y=44.45mm; scale=100; fid=0;
        ha:flags {
         clearline=1
        }
        rot = 0.000000
       }
      }
      color = {#222222}
    }
   }
 }

 ha:layer_stack {
  li:groups {
   ha:0 {
    name = top_paste
    ha:type { top=1; paste=1;    }
    li:layers { 7;    }
   }
   ha:1 {
    name = top_silk
    ha:type { silk=1; top=1;    }
    li:layers { 6;    }
   }
   ha:2 {
    name = top_mask
    ha:type { top=1; mask=1;    }
    li:layers { 8;    }
   }
   ha:3 {
    name = top_copper
    ha:type { copper=1; top=1;    }
    li:layers { 0;    }
   }
   ha:4 {
    name = grp_4
    ha:type { substrate=1; intern=1;    }
    li:layers {    }
   }
   ha:5 {
    name = Intern
    ha:type { copper=1; intern=1;    }
    li:layers { 3;    }
   }
   ha:6 {
    name = grp_6
    ha:type { substrate=1; intern=1;    }
    li:layers {    }
   }
   ha:7 {
    name = Intern
    ha:type { copper=1; intern=1;    }
    li:layers { 2;    }
   }
   ha:8 {
    name = grp_8
    ha:type { substrate=1; intern=1;    }
    li:layers {    }
   }
   ha:9 {
    name = global_outline
    ha:type { boundary=1;    }
    li:layers { 4;    }
    purpose = uroute
   }
   ha:10 {
    name = bottom_copper
    ha:type { bottom=1; copper=1;    }
    li:layers { 1;    }
   }
   ha:11 {
    name = bottom_mask
    ha:type { bottom=1; mask=1;    }
    li:layers { 9;    }
   }
   ha:12 {
    name = bottom_silk
    ha:type { silk=1; bottom=1;    }
    li:layers { 5;    }
   }
   ha:13 {
    name = bottom_paste
    ha:type { bottom=1; paste=1;    }
    li:layers { 10;    }
   }
   ha:14 {
    name = pmech
    ha:type { mech=1;    }
    li:layers { 11;    }
    purpose = proute
   }
   ha:15 {
    name = umech
    ha:type { mech=1;    }
    li:layers { 12;    }
    purpose = uroute
   }
   ha:16 {
    name = top_assy
    ha:type { top=1; doc=1;    }
    li:layers { 13;    }
    ha:attributes {
     init-invis=1
    }
    purpose = assy
   }
   ha:17 {
    name = bot_assy
    ha:type { bottom=1; doc=1;    }
    li:layers { 14;    }
    ha:attributes {
     init-invis=1
    }
    purpose = assy
   }
   ha:18 {
    name = fab
    ha:type { top=1; doc=1;    }
    li:layers { 15;    }
    ha:attributes {
     init-invis=1
    }
    purpose = fab
   }
  }
 }
 li:pcb-rnd-conf-v1 {
  ha:overwrite {
   ha:design {
    text_font_id = 0
     text_scale = 100
     via_thickness = 137.80 mil
     via_drilling_hole = 47.24 mil
     text_thickness = 0
     line_thickness = 80.00 mil
     clearance = 25.00 mil
   }
   ha:editor {
    ha:view {
     flip_y = 0
    }
    wireframe_draw = false
    show_solder_side = 0
    grids_idx = 4
    grid = 25.00 mil
   }
  }
 }
 ha:netlists {

  li:netlist_patch {
   ha:add_conn { net=pcbrnd1; term=R1-1;   }
   ha:add_conn { net=pcbrnd1; term=R1-2;   }
  }
 }
}
