Feature request: equality constraint between lines and arcs in the Sketcher
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
-
- Posts: 54
- Joined: Thu May 15, 2014 11:51 am
Feature request: equality constraint between lines and arcs in the Sketcher
Hello!
It would be extremely helpful for me to constrain the length of also a line and an arc in the sketcher. So I could generate (rather trivial) sheet metal unroll jobs in the sketcher.
Thank you!
--
Christoph
It would be extremely helpful for me to constrain the length of also a line and an arc in the sketcher. So I could generate (rather trivial) sheet metal unroll jobs in the sketcher.
Thank you!
--
Christoph
Re: Feature request: equality constraint between lines and arcs in the Sketcher
I have needed this from time to time too.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Feature request: equality constraint between lines and arcs in the Sketcher
As in set the line length and the length between the two end points of the arc to the same value?
Re: Feature request: equality constraint between lines and arcs in the Sketcher
Yes, although that is a constraint which I can set but it does nothing.hokieengr wrote:As in set the line length and the length between the two end points of the arc to the same value?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
-
- Posts: 54
- Joined: Thu May 15, 2014 11:51 am
Re: Feature request: equality constraint between lines and arcs in the Sketcher
No, I would rather suggest that the line length should be equal to the length of the arc. Thank you!
-
- Posts: 54
- Joined: Thu May 15, 2014 11:51 am
Re: Feature request: equality constraint between lines and arcs in the Sketcher
I posted this as a feature request into the bugtracker: http://freecadweb.org/tracker/view.php?id=2939
Re: Feature request: equality constraint between lines and arcs in the Sketcher
I asked Abdullah on his opinion about this:chrili_rakete wrote:I posted this as a feature request into the bugtracker: http://freecadweb.org/tracker/view.php?id=2939
https://forum.freecadweb.org/viewtopic. ... 90#p161448
And in the past there was a discussion on how such constraint could be useful in for example creating belt length:
https://forum.freecadweb.org/viewtopic.php?f=24&t=17372
Bottom line it doesn't look like such constrain will be made anytime soon. But i guess you never know what the future holds.
-
- Posts: 54
- Joined: Thu May 15, 2014 11:51 am
Re: Feature request: equality constraint between lines and arcs in the Sketcher
Thank you triplus – I did not know about this interesting discussion. I am not absolutely sure, but I think that my request is similar, but much more trivial, as I was asking for the length of a simple arc (given e.g. center, starting and end-point geometry, radius) to constrain. Compared to splines or other complex curved geometry as it is discussed in your post, the algorithm of constraining the length of an arc to another length might be considerably simpler. And for me: very useful
Re: Feature request: equality constraint between lines and arcs in the Sketcher
Unfortunately i explicitly asked about Arc length constraint. And the answer was it wouldn't be trivial to implement such constraint.chrili_rakete wrote:Thank you triplus – I did not know about this interesting discussion. I am not absolutely sure, but I think that my request is similar, but much more trivial, as I was asking for the length of a simple arc (given e.g. center, starting and end-point geometry, radius) to constrain. Compared to splines or other complex curved geometry as it is discussed in your post, the algorithm of constraining the length of an arc to another length might be considerably simpler. And for me: very useful
P.S. I am wondering if expressions could be used in combination with existing constraints. I guess it depends on the use case.
-
- Posts: 54
- Joined: Thu May 15, 2014 11:51 am
Re: Feature request: equality constraint between lines and arcs in the Sketcher
Oh yes, I did notice that – but I think that microelly2 and abdullah continued to talk about "curves" in their answers. (Sorry if I might be wrong!)triplus wrote: Unfortunately i explicitly asked about Arc length constraint. And the answer was it wouldn't be trivial to implement such constraint.
Yes, this is possible, at least in 0.17 – for example you can constrain the length of a line in a sketch to the length of an arc (Draft) via the expression "=Arc.Shape.Length"triplus wrote: P.S. I am wondering if expressions could be used in combination with existing constraints. I guess it depends on the use case.