3D board display: better rendering of the board: the board polygon outlines (generated by the specctra function) is now used to create the 3D body of the board.
This commit is contained in:
@@ -67,6 +67,10 @@ bool GERBER_PLOTTER::StartPlot()
|
||||
if( outputFile == NULL )
|
||||
return false;
|
||||
|
||||
/* Set coordinate format to 3.4 absolute, leading zero omitted */
|
||||
fputs( "%FSLAX34Y34*%\n", outputFile );
|
||||
fputs( "G04 Gerber Fmt 3.4, Leading zero omitted, Abs format*\n", outputFile );
|
||||
|
||||
wxString Title = creator + wxT( " " ) + GetBuildVersion();
|
||||
fprintf( outputFile, "G04 (created by %s) date %s*\n",
|
||||
TO_UTF8( Title ), TO_UTF8( DateAndTime() ) );
|
||||
@@ -74,10 +78,6 @@ bool GERBER_PLOTTER::StartPlot()
|
||||
/* Mass parameter: unit = INCHES */
|
||||
fputs( "%MOIN*%\n", outputFile );
|
||||
|
||||
/* Set coordinate format to 3.4 absolute, leading zero omitted */
|
||||
fputs( "G04 Gerber Fmt 3.4, Leading zero omitted, Abs format*\n%FSLAX34Y34*%\n",
|
||||
outputFile );
|
||||
|
||||
/* Specify linear interpol (G01), unit = INCH (G70), abs format (G90) */
|
||||
fputs( "G01*\nG70*\nG90*\n", outputFile );
|
||||
fputs( "G04 APERTURE LIST*\n", outputFile );
|
||||
|
||||
Reference in New Issue
Block a user