Exemplo n.º 1
0
 public EagleExporter(string destBoardFile, LedBoardBuilder board)
 {
     if (!destBoardFile.EndsWith(".brd"))
         destBoardFile += ".brd";
     BoardFile = destBoardFile;
     _board = board;
 }
Exemplo n.º 2
0
 protected static bool CreateBoardFile(string boardFile, LedBoardBuilder board)
 {
     using (var file = new StreamWriter(boardFile))
     {
         board.ToXml().Save(file);
     }
     return true;
 }
Exemplo n.º 3
0
 protected static bool CreateBoardFile(string boardFile, LedBoardBuilder board)
 {
     using (var file = new StreamWriter(boardFile))
     {
         board.ToXml().Save(file);
     }
     return(true);
 }
Exemplo n.º 4
0
 public EagleExporter(string destBoardFile, LedBoardBuilder board)
 {
     if (!destBoardFile.EndsWith(".brd"))
     {
         destBoardFile += ".brd";
     }
     BoardFile = destBoardFile;
     _board    = board;
 }
Exemplo n.º 5
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="destZipFile">The location to save a zip file of the GERBER files</param>
 /// <param name="board">The model from which to generate the board</param>
 public GerberExporter(string destZipFile, LedBoardBuilder board)
     : base(GetTempBoardFile(), board)
 {
     _zip = destZipFile;
 }
Exemplo n.º 6
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="destZipFile">The location to save a zip file of the GERBER files</param>
 /// <param name="board">The model from which to generate the board</param>
 public GerberExporter(string destZipFile, LedBoardBuilder board)
     : base(GetTempBoardFile(), board)
 {
     _zip = destZipFile;
 }