You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I added some new options to support unmodified pcb2gcode backend...
Backtrack, invert-gerbers, path-finding-limit and some crude solder mask generation.
I know that the mask generated also mills above the tracks, but tinning these tracks would fix this.
( limitation of the backend?)
These cloned options are handled by the mask creation button
without manually messing with milling --zwork, --invert-gerbers, and --extra-passes options.
The problem i am having is in mainwindow.cpp
Added line 159: connect(ui->maskstartPushButton, SIGNAL(clicked()), this, SLOT(maskstartPcb2gcode()));
at around line 577 i added:
`void MainWindow::maskstartPcb2gcode()
{
QStringList arguments;
args[ MILLARGS ].insert("zwork", ui->maskzworkDoubleSpinBox);
args[ MILLARGS ].insert("invert-gerbers", = true; // <-- how to fix this so it is true without checkbox?
args[ MILLARGS ].insert("extra-passes", ui->maskextrapassesSpinBox);
MainWindow::startPcb2gcode();
}
`
I thought that these args would not get used until the mask start button would get clicked?
but these values override the --zwork --invert-gerbers and --extra-passes from normal milling when starting the program.
( I looked at 'show command line arguments' as well, and it looks like these get clobbered as well )
I am not a wiz when it comes to C++ / QT, but have some small 8051 C experience on some embedded from many years ago.
Can someone here give me pointers on what is going on here?
The text was updated successfully, but these errors were encountered:
I added some new options to support unmodified pcb2gcode backend...
Backtrack, invert-gerbers, path-finding-limit and some crude solder mask generation.
I know that the mask generated also mills above the tracks, but tinning these tracks would fix this.
( limitation of the backend?)
These cloned options are handled by the mask creation button
without manually messing with milling --zwork, --invert-gerbers, and --extra-passes options.
The problem i am having is in mainwindow.cpp
Added line 159:
connect(ui->maskstartPushButton, SIGNAL(clicked()), this, SLOT(maskstartPcb2gcode()));
at around line 577 i added:
`void MainWindow::maskstartPcb2gcode()
{
QStringList arguments;
}
`
I thought that these args would not get used until the mask start button would get clicked?
but these values override the --zwork --invert-gerbers and --extra-passes from normal milling when starting the program.
( I looked at 'show command line arguments' as well, and it looks like these get clobbered as well )
I am not a wiz when it comes to C++ / QT, but have some small 8051 C experience on some embedded from many years ago.
Can someone here give me pointers on what is going on here?
The text was updated successfully, but these errors were encountered: