(SOLVED) Snaping point is not displayed

Report observations made with the new Toponaming branch.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
realthunder
Veteran
Posts: 2190
Joined: Tue Jan 03, 2017 10:55 am

Re: Snaping point is not displayed

Post by realthunder »

The issue is mostly about the questionable choice of white color for the snap point. In your OP, you are trying to show the snapping point of the moving object, which is a rare case I'd say. I expect in most cases, the user would want to snap to other objects, hence without selection highlight, make it easy to see the snap point. And I've tested that it works about the same as the upstream master. It works better if you enable both selection on top and preselection on top.
Peek 2022-06-26 08-39.gif
Peek 2022-06-26 08-39.gif (261.3 KiB) Viewed 1324 times
With the LinkDaily branch (the one you just installed), you can also try the experimental render cache, which works better in all cases.
Peek 2022-06-26 08-39-2.gif
Peek 2022-06-26 08-39-2.gif (471.91 KiB) Viewed 1324 times
Try Assembly3 with my custom build of FreeCAD at here.
And if you'd like to show your support, you can donate through patreon, liberapay, or paypal
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: Snaping point is not displayed

Post by Roy_043 »

realthunder wrote: Sun Jun 26, 2022 12:47 am the questionable choice of white color for the snap point.
FYI that color can be changed in the preferences. See Draft_Snap#Preferences.
User avatar
bambuko
Veteran
Posts: 2164
Joined: Thu Oct 24, 2019 12:53 pm
Location: UK, England, North Devon

Re: Snaping point is not displayed

Post by bambuko »

I must be doing something wrong again .... :mrgreen:

I worked out the snap colour change (same as? @Roy_043 ):
snap_colour.png
snap_colour.png (95.21 KiB) Viewed 1251 times
Selection settings were (same as? @realthunder ):
selection_options.png
selection_options.png (108.58 KiB) Viewed 1251 times
and yet... when I try to select, snapping point (@thomas-neemann) is not displayed??
Screenshot from 2022-06-26 09.56.32.png
Screenshot from 2022-06-26 09.56.32.png (167.65 KiB) Viewed 1251 times
Any ideas, please, what am I doing wrong?

Code: Select all

OS: Ubuntu Core 20 (Pantheon/pantheon)
Word size of FreeCAD: 64-bit
Version: 2022.625.14555 (Git shallow)
Build type: Release
Branch: (HEAD detached at 2022.06.25-edge)
Hash: 0191f4edf1b19bf52124a4be654074b5cc035645
Python version: 3.8.10
Qt version: 5.15.3
Coin version: 4.0.1
OCC version: 7.6.2
Locale: English/United Kingdom (en_GB)
I am using Link branch and Assembly3
you can also download ... and try it here
excellent Assembly3 tutorials here
realthunder
Veteran
Posts: 2190
Joined: Tue Jan 03, 2017 10:55 am

Re: Snaping point is not displayed

Post by realthunder »

bambuko wrote: Sun Jun 26, 2022 9:04 am Any ideas, please, what am I doing wrong?
Can you please send me your user settings? Tools -> Edit parameters -> Export.
Try Assembly3 with my custom build of FreeCAD at here.
And if you'd like to show your support, you can donate through patreon, liberapay, or paypal
User avatar
bambuko
Veteran
Posts: 2164
Joined: Thu Oct 24, 2019 12:53 pm
Location: UK, England, North Devon

Re: Snaping point is not displayed

Post by bambuko »

realthunder wrote: Sun Jun 26, 2022 9:10 am ...send me your user settings?
Thank you - I have sent you a PM
I am using Link branch and Assembly3
you can also download ... and try it here
excellent Assembly3 tutorials here
User avatar
bambuko
Veteran
Posts: 2164
Joined: Thu Oct 24, 2019 12:53 pm
Location: UK, England, North Devon

Re: Snaping point is not displayed

Post by bambuko »

possibly a clue?

Code: Select all

10:36:58  Running the Python command 'Draft_Snap_Center' failed:
Traceback (most recent call last):
  File "/tmp/.mount_FreeCAunleRl/usr/Mod/Draft/draftguitools/gui_snaps.py", line 385, in Activated
    sync_snap_statusbar_button("Draft_Snap_Center_Statusbutton", status)
  File "/tmp/.mount_FreeCAunleRl/usr/Mod/Draft/draftguitools/gui_snaps.py", line 89, in sync_snap_statusbar_button
    for a in ssb.menu().actions() + ssw.children()[-6:]:

local variable 'ssb' referenced before assignmentPick end point
when using:

Code: Select all

OS: elementary OS 6.1 Jólnir (Pantheon/pantheon)
Word size of FreeCAD: 64-bit
Version: 2022.430.26244 +4758 (Git) AppImage
Build type: Release
Branch: LinkDaily
Hash: b024b876480a533018fdc702145e9e38f8c54ba6
Python version: 3.9.12
Qt version: 5.12.9
Coin version: 4.0.1
OCC version: 7.5.3
Locale: English/United Kingdom (en_GB)
and

Code: Select all

10:39:39  Running the Python command 'Draft_Snap_Center' failed:
Traceback (most recent call last):
  File "/snap/freecad-realthunder/47/usr/Mod/Draft/draftguitools/gui_snaps.py", line 385, in Activated
    sync_snap_statusbar_button("Draft_Snap_Center_Statusbutton", status)
  File "/snap/freecad-realthunder/47/usr/Mod/Draft/draftguitools/gui_snaps.py", line 89, in sync_snap_statusbar_button
    for a in ssb.menu().actions() + ssw.children()[-6:]:

local variable 'ssb' referenced before assignmentRunning the Python command 'Draft_Snap_Center' failed:
Traceback (most recent call last):
  File "/snap/freecad-realthunder/47/usr/Mod/Draft/draftguitools/gui_snaps.py", line 385, in Activated
    sync_snap_statusbar_button("Draft_Snap_Center_Statusbutton", status)
  File "/snap/freecad-realthunder/47/usr/Mod/Draft/draftguitools/gui_snaps.py", line 89, in sync_snap_statusbar_button
    for a in ssb.menu().actions() + ssw.children()[-6:]:

local variable 'ssb' referenced before assignment
when using:

Code: Select all

OS: Ubuntu Core 20 (Pantheon/pantheon)
Word size of FreeCAD: 64-bit
Version: 2022.625.14555 (Git shallow)
Build type: Release
Branch: (HEAD detached at 2022.06.25-edge)
Hash: 0191f4edf1b19bf52124a4be654074b5cc035645
Python version: 3.8.10
Qt version: 5.15.3
Coin version: 4.0.1
OCC version: 7.6.2
Locale: English/United Kingdom (en_GB)
I am using Link branch and Assembly3
you can also download ... and try it here
excellent Assembly3 tutorials here
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Snaping point is not displayed

Post by thomas-neemann »

realthunder wrote: Sun Jun 26, 2022 12:47 am ...

it works now, thank you very much

OS: Ubuntu 20.04.1 LTS (XFCE/xubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 2022.704.28821 (Git) AppImage
Build type: Release
Branch: LinkStage3
Hash: c83a0368027dcdb972bfb3e0a00fbf9c26536fcd
Python version: 3.9.13
Qt version: 5.12.9
Coin version: 4.0.1
OCC version: 7.5.3
Locale: German/Germany (de_DE)
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
Post Reply