Hi,
I stumbled across a odd behavoir of the sketcher when with "lock constraint" when toggling from/to reference mode.
Following setup:
- make 1st sketch on xy with fully constraint sqaure
- make 2nd sketch on xy and "external reference" on line on sketch 1.
- toggle to reference constraint mode
- lock on end point of sktech
Expected behavior: two blue reference constraint
Precieved behavior: two red constraints
When playing further things get more mixed up...
Please see demo file (delete sketch001 to reproduce).
And Gif.
Topic can be reproduced in:
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21775 (Git)
Build type: Release
Branch: master
Hash: 1f741aa511e898849e46ed14515fce416fe32acb
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: German/Germany (de_DE)
and assembly-3 release from realthunder 0.11 2020.06.18
Can someone to reproduce / any advice?
Ticket #4399 - sketcher behavior generating a lock constraint in reference mode
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Ticket #4399 - sketcher behavior generating a lock constraint in reference mode
Last edited by Kunda1 on Thu Jul 09, 2020 12:34 pm, edited 1 time in total.
Reason: Added ticket number to thread title
Reason: Added ticket number to thread title
Re: sketcher behavior generating a lock constraint in reference mode
Confirmed.
Reproducing and showing desired behaviour can be slightly simplified:
Reproduce:
- in second sketch create a reference to external geometry.
- select an endpoint of the reference geometry
- add lock constraint
-> normal (red) constraints are added and correctly a redundancy error is detected.
To show expected behaviour:
- in second sketch create a reference to external geometry.
- select an endpoint of the reference geometry
- add a vertical distance constraint -> is added as (blue) driven dimension
- add a horizontal distance constraint -> is added as (blue) driven dimension
Would you please create a ticket?
OS: macOS High Sierra (10.13)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21671 (Git)
Build type: Release
Branch: master
Hash: f05253f882b336f56aae32593faa5676fd5aafdd
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: C/Default (C)
Reproducing and showing desired behaviour can be slightly simplified:
Reproduce:
- in second sketch create a reference to external geometry.
- select an endpoint of the reference geometry
- add lock constraint
-> normal (red) constraints are added and correctly a redundancy error is detected.
To show expected behaviour:
- in second sketch create a reference to external geometry.
- select an endpoint of the reference geometry
- add a vertical distance constraint -> is added as (blue) driven dimension
- add a horizontal distance constraint -> is added as (blue) driven dimension
Would you please create a ticket?
OS: macOS High Sierra (10.13)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21671 (Git)
Build type: Release
Branch: master
Hash: f05253f882b336f56aae32593faa5676fd5aafdd
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: C/Default (C)
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: sketcher behavior generating a lock constraint in reference mode
Thanks! For your next ticket: You can use the "bug" tag and simply enter the number. That creates a link to the ticket.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.