Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Sketcher] Constraint driving/driven status integration in dimension … #3201

Closed
wants to merge 1 commit into from

Conversation

0penBrain
Copy link
Contributor

…edition dialog

This integrates the ability to manage dimensional constraint driving/driven status
in the constraint edition dialog box.
It adds a checkbox in the dialog to show/select whether a constraint is driving or
driven. When the constraint value is modified, it is automatically set as driving.
Main focus is to allow to edit name (alias) of reference (driven) constraints
directly in the constraint edition box.

Resolves #3793, #3978

  • Branch rebased on latest master git pull --rebase upstream master
  • Unit tests confirmed to pass by running ./bin/FreeCAD --run-test 0
  • Commit message is well-written
  • Commit message includes issue #<id> or fixes #<id> where <id> is the associated MantisBT issue id if one exists

Links :
https://forum.freecadweb.org/viewtopic.php?f=3&t=33705
https://forum.freecadweb.org/viewtopic.php?f=3&t=36433

@0penBrain 0penBrain changed the title [Sketcher] Constraint driving/driven status integration in dimension … [DO NOT MERGE] [Sketcher] Constraint driving/driven status integration in dimension … Mar 18, 2020
@0penBrain 0penBrain force-pushed the sketchDriving branch 2 times, most recently from ebcdc36 to ebf5cd4 Compare March 18, 2020 17:50
@0penBrain 0penBrain changed the title [DO NOT MERGE] [Sketcher] Constraint driving/driven status integration in dimension … [Sketcher] Constraint driving/driven status integration in dimension … Mar 18, 2020
@donovaly
Copy link
Member

…edition dialog

 This integrates the ability to manage dimensional constraint driving/driven status
 in the constraint edition dialog box.
 It adds a checkbox in the dialog to show/select whether a constraint is driving or
 driven. When the constraint value is modified, it is automatically set as driving.
 Main focus is to allow to edit name (alias) of reference (driven) constraints
 directly in the constraint edition box.

 Resolves FreeCAD#3793, FreeCAD#3978
@0penBrain
Copy link
Contributor Author

0penBrain commented Mar 19, 2020

I see a UI regression: https://forum.freecadweb.org/viewtopic.php?f=3&t=33705&p=378107#p378107

Can't reproduce. Everything's OK here. Code seems OK as well.

@@ -63,11 +62,11 @@ EditDatumDialog::EditDatumDialog(Sketcher::SketchObject* pcSketch, int ConstrNbr

EditDatumDialog::~EditDatumDialog(){}

void EditDatumDialog::customEvent(QEvent*)
/*void EditDatumDialog::customEvent(QEvent*)
{
this->exec();
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maintainers, please decide if it shall be deleted or leave commented out

@wwmayer
Copy link
Contributor

wwmayer commented Mar 19, 2020

Merged.

@wwmayer wwmayer closed this Mar 19, 2020
@0penBrain 0penBrain deleted the sketchDriving branch February 25, 2023 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants