[SOLVED]: Sketcher cannot select points
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
[SOLVED]: Sketcher cannot select points
Hi,
in the attached file I cannot select points to add a constraint.
It is also not possible to add a constraint even when selecting the points with a different method from simple click,
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.13870 (Git)
Build type: Release
Branch: master
Hash: f0964a9c052ee666631cd9caec1655790964ecb6
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedStates (en_US)
This was possible until
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.13830 (Git)
Build type: Release
Branch: master
Hash: 262d7c0cd05c6072d5807ebb98a0a3113cfebba0
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedStates (en_US)
in the attached file I cannot select points to add a constraint.
It is also not possible to add a constraint even when selecting the points with a different method from simple click,
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.13870 (Git)
Build type: Release
Branch: master
Hash: f0964a9c052ee666631cd9caec1655790964ecb6
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedStates (en_US)
This was possible until
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.13830 (Git)
Build type: Release
Branch: master
Hash: 262d7c0cd05c6072d5807ebb98a0a3113cfebba0
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedStates (en_US)
Last edited by easyw-fc on Sat Jun 02, 2018 10:28 pm, edited 1 time in total.
Re: Bug: Sketcher cannot select points
No problem here. Did you try to close and reopen the file? Or restart FreeCAD?
OS: Mac OS X
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.13826 (Git)
Build type: Release
Branch: (HEAD detached at 3b02ff2)
Hash: 3b02ff2a9481f0883063c7e24c312978ef0ce642
Python version: 2.7.15
Qt version: 5.11.0
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: German/Germany (de_DE)
OS: Mac OS X
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.13826 (Git)
Build type: Release
Branch: (HEAD detached at 3b02ff2)
Hash: 3b02ff2a9481f0883063c7e24c312978ef0ce642
Python version: 2.7.15
Qt version: 5.11.0
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: German/Germany (de_DE)
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Bug: Sketcher cannot select points
but have you read my post?
I have this issue with Version: 0.18.13870 (Git)
and not until
Version: 0.18.13830 (Git) included
you are on Version: 0.18.13826 (Git) which is before the still good one
Re: Bug: Sketcher cannot select points
I can verify on Windows 7.
Works correctly in 0.18.13824.
Fails in 0.18.13870.
Gene
Works correctly in 0.18.13824.
Fails in 0.18.13870.
Gene
Re: Bug: Sketcher cannot select points
Sorry, I missed the line above the second FreeCAD info and had thought it doesn't work on these two versions .
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Bug: Sketcher cannot select points
I guess it's a regression caused by this PR https://github.com/FreeCAD/FreeCAD/pull/1483/files
- DeepSOIC
- Veteran
- Posts: 7896
- Joined: Fri Aug 29, 2014 12:45 am
- Location: used to be Saint-Petersburg, Russia
Re: Bug: Sketcher cannot select points
No problem here:
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.13870 (Git)
Build type: Release
Branch: master
Hash: f0964a9c052ee666631cd9caec1655790964ecb6
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: Russian/RussianFederation (ru_RU)
WTF?
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.13870 (Git)
Build type: Release
Branch: master
Hash: f0964a9c052ee666631cd9caec1655790964ecb6
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: Russian/RussianFederation (ru_RU)
WTF?
- DeepSOIC
- Veteran
- Posts: 7896
- Joined: Fri Aug 29, 2014 12:45 am
- Location: used to be Saint-Petersburg, Russia
Re: Bug: Sketcher cannot select points
OK, I see WTF. If I turn the grid on, I have the same problem.
The points ARE being selected (I can see it in selection view), but the selection does not render. It is affected by grid being rendered somehow.
For example, I have no grid, and select a point. So far so good. Now I switch the grid on, and the point becomes red. And I toggle the grid back off and the point is green again.
The points ARE being selected (I can see it in selection view), but the selection does not render. It is affected by grid being rendered somehow.
For example, I have no grid, and select a point. So far so good. Now I switch the grid on, and the point becomes red. And I toggle the grid back off and the point is green again.
Re: Bug: Sketcher cannot select points
And it looks like that only points that have a coincidence applied are affected because selection works correctly for the start or end points of a polyline. And when selecting the inner points via box selection then the rendering is OK because then both points are selected.
So, it must have something to do with the z values used for the rendering.
So, it must have something to do with the z values used for the rendering.
Re: Bug: Sketcher cannot select points
Somehow, grid rendering affects points at a height lower than zHighlight. The algorithm was setting the zheight of the points regardless of whether the where selected/preselected.
This should fix it:
https://github.com/FreeCAD/FreeCAD/pull/1490