Exemple #1
0
 public EagleBoard()
 {
     _layers = new Dictionary<int, string>
     {
         {1, "Top"}, // elements on top of the board
         {16, "Bottom"}, // elements on the bottom of the board
         {17, "Pads"}, // defineds the pads for all SMD
         {18, "Vias"}, // holes through the board, to connect traces on the bottom/top
         {20, "Dimension"}, // size of the board
         {21, "tPlace"},
         {22, "bPlace"},
         {25, "tNames"},
         {26, "bNames"},
         {27, "tValues"},
         {28, "bValues"},
         {29, "tStop"},
         {30, "bStop"},
         {31, "tCream"},
         {32, "bCream"},
         {44, "Drills"},
         {45, "Holes"},
         {46, "Milling"},
         {47, "Measures"},
     };
     Signals = new Dictionary<string, Signal>();
     Packages = new List<IPackage>();
     Elements = new List<Element>();
     DesignRules = new DefaultDesignRules();
 }
Exemple #2
0
 public EagleBoard()
 {
     _layers = new Dictionary <int, string>
     {
         { 1, "Top" },        // elements on top of the board
         { 16, "Bottom" },    // elements on the bottom of the board
         { 17, "Pads" },      // defineds the pads for all SMD
         { 18, "Vias" },      // holes through the board, to connect traces on the bottom/top
         { 20, "Dimension" }, // size of the board
         { 21, "tPlace" },
         { 22, "bPlace" },
         { 25, "tNames" },
         { 26, "bNames" },
         { 27, "tValues" },
         { 28, "bValues" },
         { 29, "tStop" },
         { 30, "bStop" },
         { 31, "tCream" },
         { 32, "bCream" },
         { 44, "Drills" },
         { 45, "Holes" },
         { 46, "Milling" },
         { 47, "Measures" },
     };
     Signals     = new Dictionary <string, Signal>();
     Packages    = new List <IPackage>();
     Elements    = new List <Element>();
     DesignRules = new DefaultDesignRules();
 }