So I've been busy going on the development today and just pushed a commit that brings :
- Sketch Chamfer tool.
- Support of fillet/chamfer in ToolSettings. Which enables us to have only 2 Tools in the dropdown : Fillet and Chamfer. Fillet with point has been removed and keeping the point can be done using a checkbox in the toolsetting.
Also the tool settings enables to make more than 1 lines for polychamfers. And to create inward fillet/polychamfers.
Also it let you set the radius if you want to.
Overall it's really pretty cool.
One thing missing that that I'd like the "Preserve Corner Point" checkbox setting to be stored as a preference for the user. Such that if user always use it then it stays put. Currently the checkbox reset everytime.
I'm checking TaskSketcherGeneral.cpp and I found 2 things that could be doing this saving checkbox setting :
Code: Select all
void SketcherGeneralWidget::saveSettings()
{
ui->checkBoxShowGrid->onSave();
ui->gridSize->onSave();
ui->checkBoxGridSnap->onSave();
ui->checkBoxAutoconstraints->onSave();
ui->checkBoxRedundantAutoconstraints->onSave();
saveOrderingOrder();
}
void SketcherGeneralWidget::loadSettings()
{
ui->checkBoxShowGrid->onRestore();
ui->gridSize->onRestore();
if (ui->gridSize->rawValue() == 0) { ui->gridSize->setValue(10.0); }
ui->checkBoxGridSnap->onRestore();
ui->checkBoxAutoconstraints->onRestore();
ui->checkBoxRedundantAutoconstraints->onRestore();
loadOrderingOrder();
}
Code: Select all
widget->checkGridSnap(sketchView->GridSnap.getValue());
widget->enableGridSettings(sketchView->ShowGrid.getValue());
widget->checkAutoconstraints(sketchView->Autoconstraints.getValue());
widget->checkAvoidRedundant(sketchView->AvoidRedundant.getValue());
widget->enableAvoidRedundant(sketchView->Autoconstraints.getValue());
If you want to build and try