Hello everyone.
I came across this one case where the solver says the sketch is fully defined when geometrically there are other possible solutions. To demonstrate this I deactivated an Equal constraint, moved a line and reactivated the constraint to get a different shape. I will be attaching the pictures below. The correctly fully defined sketch is the one with the 2 angle constraints.
I have come across behaviour like that in other CAD systems too, so I would not classify this as a bug. But I just wanted to know if this can be dealt with by changing the advanced solver options? If not, is this something you guys have come across and have deemed fixable/ worth the effort to fix?
Thx in advance.
OS: Ubuntu 18.04.5 LTS (ubuntu:GNOME/ubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Branch: unknown
Hash: 1f0b7793e6e48c18e818f17b082790a4af0124d6
Python version: 3.6.9
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
Silly Question about Fully Defined Sketches
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!
Silly Question about Fully Defined Sketches
- Attachments
-
- Is_it_really-1.png (205.79 KiB) Viewed 716 times
-
- Is_it_really-2.png (208.72 KiB) Viewed 716 times
-
- This_is_really.png (214.62 KiB) Viewed 716 times
Re: Silly Question about Fully Defined Sketches
The solver stops at the first closest fully constrained solution, but there are cases where alternative solutions would be available, but the solver stops at the closest solution.
Re: Silly Question about Fully Defined Sketches
OK, I don't know if it's just me running into these issues. Haven't used FreeCAD for too long. But this is definitely a bug.
https://youtu.be/xRABKEnP270
OS: Ubuntu 18.04.5 LTS (ubuntu:GNOME/ubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Branch: unknown
Hash: 72eb41b24f12b572d55081042160954b93f4614c
Python version: 3.6.9
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
https://youtu.be/xRABKEnP270
OS: Ubuntu 18.04.5 LTS (ubuntu:GNOME/ubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Branch: unknown
Hash: 72eb41b24f12b572d55081042160954b93f4614c
Python version: 3.6.9
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
Re: Silly Question about Fully Defined Sketches
Could post your FreeCAD file?
I can't duplicate...
OS: Ubuntu 20.04.1 LTS (XFCE/ubuntustudio)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Branch: unknown
Hash: 72eb41b24f12b572d55081042160954b93f4614c
Python version: 3.8.5
Qt version: 5.12.8
Coin version: 4.0.0
OCC version: 7.3.0
Locale: English/United States (en_US)
I can't duplicate...
OS: Ubuntu 20.04.1 LTS (XFCE/ubuntustudio)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Branch: unknown
Hash: 72eb41b24f12b572d55081042160954b93f4614c
Python version: 3.8.5
Qt version: 5.12.8
Coin version: 4.0.0
OCC version: 7.3.0
Locale: English/United States (en_US)
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
Re: Silly Question about Fully Defined Sketches
There you go. Sent two files because I was playing with the Shapebinder between part files to get to know how it works.drmacro wrote: ↑Wed Oct 21, 2020 2:36 pm Could post your FreeCAD file?
I can't duplicate...
OS: Ubuntu 20.04.1 LTS (XFCE/ubuntustudio)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Branch: unknown
Hash: 72eb41b24f12b572d55081042160954b93f4614c
Python version: 3.8.5
Qt version: 5.12.8
Coin version: 4.0.0
OCC version: 7.3.0
Locale: English/United States (en_US)
Please excuse the slightly rubbish design work up to that point. Was only playing around.
- Attachments
-
- Small Stepper.FCStd
- (93.59 KiB) Downloaded 46 times
-
- RobotBase.FCStd
- (40.04 KiB) Downloaded 41 times
Re: Silly Question about Fully Defined Sketches
I removed some superfluous stuff so that there are no dependencies to an external file.
The culprit in Sketch 002 is Constraint15. It is the coincidence fixing the center of the inner arc to the origin. If it is removed we should see 2 additional DOF; instead we see 3 which is now correct. If I re-apply the coincidence one DOF is left which is correct.
Constraints with circles are sometimes tricky because they tend to consume parts of the DOFs of a constraint, see the bugtracker, there are several such reports among the latest.
Here the number of DOF created by geometry is 34 (6 lines with 24 + 2 arcs with 10) which the same number consumed by the constraints (14 coincidences with 28 + 2 vertical, 3 horizontal, 1 diameter with together 6 DOF)
The culprit in Sketch 002 is Constraint15. It is the coincidence fixing the center of the inner arc to the origin. If it is removed we should see 2 additional DOF; instead we see 3 which is now correct. If I re-apply the coincidence one DOF is left which is correct.
Constraints with circles are sometimes tricky because they tend to consume parts of the DOFs of a constraint, see the bugtracker, there are several such reports among the latest.
Here the number of DOF created by geometry is 34 (6 lines with 24 + 2 arcs with 10) which the same number consumed by the constraints (14 coincidences with 28 + 2 vertical, 3 horizontal, 1 diameter with together 6 DOF)
I guess we have this among the existing tickets with the partially constraints, should we create a ticket anyway?Abdullah wrote:ping
- Attachments
-
- RobotBase_cb.FCStd
- (21.35 KiB) Downloaded 38 times
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.