Hello,
i'm running freecad 0.18-16110 and i try to fillet a rectangle whose size is constraint by distance constraints on its edges. I've noticed that when i use the fillet on this rectangle, it makes the edges disapear and thus the constraints on the size of the rectangle are broken (you can see that as you change the fillet radius, it changes the size of the rectangle).
Is this a bug or I'm i using freecad badly.
thanks for your help.
best
Sketch fillet breaks 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: Sketch fillet breaks constraints
Hi gouach, welcome to the forum.
This is a known issue. The point where the dimension is hooked to is removed and with it the dimension constraint.
This is a known issue. The point where the dimension is hooked to is removed and with it the dimension constraint.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Sketch fillet breaks constraints
Funny, but I had always looked at it as almost a feature. When one applies a fillet to a constrained sharp angle, FreeCAD has no idea what the radius of the fillet is going to be, so the constraint must be removed to accommodate it's placement, otherwise the radius would need to end up infinitely small in order to maintain the preexisting dimension, would it not?
Not arguing, just an observation from another perspective. I have always come at Sketcher as something that one first "sketches" out the complete rough shape, then applies the dimensioning to constrain. If a fillet is forgotten in a corner, FreeCAD is kind enough to apply it, (the fillet), and remove the constraint(s) that would otherwise be in the way. After all, how is the program suppose to know whether or not one wants a constraint on the dimension that comes before or after the fillet radius?
Mark
Oh, I say "FreeCAD is kind enough to apply it, (the fillet), and remove the constraint(s)" as sort of a personification. The constraint is lost because the coincident that it was attached to is removed/deleted and 2 new coincidents are created. With the law of averages on our side, if FreeCAD were to guess which new vertex to attach the preexisting constraint, 50% of the time it would get it wrong.
Not arguing, just an observation from another perspective. I have always come at Sketcher as something that one first "sketches" out the complete rough shape, then applies the dimensioning to constrain. If a fillet is forgotten in a corner, FreeCAD is kind enough to apply it, (the fillet), and remove the constraint(s) that would otherwise be in the way. After all, how is the program suppose to know whether or not one wants a constraint on the dimension that comes before or after the fillet radius?
Mark
Oh, I say "FreeCAD is kind enough to apply it, (the fillet), and remove the constraint(s)" as sort of a personification. The constraint is lost because the coincident that it was attached to is removed/deleted and 2 new coincidents are created. With the law of averages on our side, if FreeCAD were to guess which new vertex to attach the preexisting constraint, 50% of the time it would get it wrong.
This post made with 0.0% Micro$oft products - GOT LINUX?
- HarryGeier
- Veteran
- Posts: 1231
- Joined: Mon Jul 10, 2017 12:36 pm
- Location: Hof Germany
Re: Sketch fillet breaks constraints
idea:
sketch on middle plane of the element, constraints will stay when upper/ower faces get fillets. If the fillets need to be constructive and parallel to the plane of orign, use sketchers fillet instead of part designs fillet ( obviously you need constructions lines then )..which..could be the solution anyway..i will make a try..
it works, The referencing lines endpoints are not influenced by the fillets. The real edges are just constrained as beein vertically/horizontally to the helper lines
sketch on middle plane of the element, constraints will stay when upper/ower faces get fillets. If the fillets need to be constructive and parallel to the plane of orign, use sketchers fillet instead of part designs fillet ( obviously you need constructions lines then )..which..could be the solution anyway..i will make a try..
it works, The referencing lines endpoints are not influenced by the fillets. The real edges are just constrained as beein vertically/horizontally to the helper lines
- Attachments
-
- 2019-05-09 17_53_00-FreeCAD 0.18.png (60.37 KiB) Viewed 1840 times
-
- trickwithfillets.FCStd
- (23.12 KiB) Downloaded 36 times
Kaum macht man´s richtig , gehts´s
My Video Tutorials on Youtube: https://www.youtube.com/channel/UCoe3B ... p8Q/videos
My FreeCAD Stuff on Hidrive: https://my.hidrive.com/share/qr3l1yddy6#$/
My Video Tutorials on Youtube: https://www.youtube.com/channel/UCoe3B ... p8Q/videos
My FreeCAD Stuff on Hidrive: https://my.hidrive.com/share/qr3l1yddy6#$/
Re: Sketch fillet breaks constraints
In the case of a rectangle with horizontal/vertical lines there could be a sensible replacement for a removed vertical or horizontal constraint. But as soon as it is tilted it becomes clear that this is no longer possible.
So Mark is right, a general strategy can only be to delete the constraint; thus it is rather a feature.
Before filleting: .
After filleting, where should the constraint go?
So Mark is right, a general strategy can only be to delete the constraint; thus it is rather a feature.
Before filleting: .
After filleting, where should the constraint go?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Sketch fillet breaks constraints
IIRC in SolidWorks, the trimmed line segments are replaced by colinear construction ones so constraints are kept.
In FC world it would give something like that (left before filleting, right after) : However this isn't IMO the worst case as it is understandable that a dimension constraint can be lost.
What I find a pity is that the sketcher isn't able to "explode" a point-point perpendicularity to keep it when filleting.
With pictures : in the case of a coincidence + line-line perpendicularity => perpendicular constraint is kept when filleting In the case of a point-point perpendicularity => perpendicular constraint is (unfortunately) lost
In FC world it would give something like that (left before filleting, right after) : However this isn't IMO the worst case as it is understandable that a dimension constraint can be lost.
What I find a pity is that the sketcher isn't able to "explode" a point-point perpendicularity to keep it when filleting.
With pictures : in the case of a coincidence + line-line perpendicularity => perpendicular constraint is kept when filleting In the case of a point-point perpendicularity => perpendicular constraint is (unfortunately) lost