Hello,
I have those 2 constraints (4mm)
I would like to be able to change both at the same time by changing 1 value only, like if there had an "equal" constraint between them.
Sorry if I'm not clear I'm still a noob with freecad
Thanks for your help
"synchronize" constraints
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
Re: "synchronize" constraints
Hi
there are several solutions:
you draw 2 lines of construction (in blue), constrain equal, and size a single
there are several solutions:
you draw 2 lines of construction (in blue), constrain equal, and size a single
- Attachments
-
- egalité.PNG (9.7 KiB) Viewed 747 times
Re: "synchronize" constraints
Thanks for your answer !
Since my part is a rectangle, I ended up using diagonals
What do you think ?
Cheers
Since my part is a rectangle, I ended up using diagonals
What do you think ?
Cheers
Re: "synchronize" constraints
there is one of the several other solutions
- DeepSOIC
- Veteran
- Posts: 7896
- Joined: Fri Aug 29, 2014 12:45 am
- Location: used to be Saint-Petersburg, Russia
Re: "synchronize" constraints
As long as both constraints are red, they can be tied with an expression (use f(x) blue button in value edit box, use something like Constraints.myLength). The constraint you refer to in an expression must have been given a name.
As of now, expressions involving blue constraints (reference dimensions) are not yet supported. Having support for them would give some awesome power, but it requires serious development effort. Your example features only red constraints, so it should work.
As of now, expressions involving blue constraints (reference dimensions) are not yet supported. Having support for them would give some awesome power, but it requires serious development effort. Your example features only red constraints, so it should work.
Re: "synchronize" constraints
indeed, i'm stupid.
gonna use the other way then, thanks
Re: "synchronize" constraints
Thank you this is perfect ! <3DeepSOIC wrote: ↑Wed Apr 10, 2019 12:11 pm As long as both constraints are red, they can be tied with an expression (use f(x) blue button in value edit box, use something like Constraints.myLength). The constraint you refer to in an expression must have been given a name.
As of now, expressions involving blue constraints (reference dimensions) are not yet supported. Having support for them would give some awesome power, but it requires serious development effort. Your example features only red constraints, so it should work.