Draft Snap possible bug

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
carlopav
Veteran
Posts: 2062
Joined: Mon Dec 31, 2018 1:49 pm
Location: Venice, Italy

Draft Snap possible bug

Post by carlopav »

Hello,
found a strange behavior of DraftSnap: in the below version it seems to work with just the first edge of wires:
- draw a draft wire (polyline)
- draw another line and try to snap to endpoints
- it only work for first wire segment, not for the rest.
Can you confirm?

Code: Select all

OS: Windows 7 SP 1 (6.1)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.17803 (Git)
Build type: Release
Branch: master
Hash: 89961a33d46063a43e9fb5b0308ca95d559eca94
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Italian/Italy (it_IT)
follow my experiments on BIM modelling for architecture design
UR_
Veteran
Posts: 1355
Joined: Tue Jan 03, 2017 8:42 pm

Re: Draft Snap possible bug

Post by UR_ »

confirmed :hushed:

version:
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.17889 (Git)
Build type: Release
Branch: master
Hash: ed0eff0248f5c7c52c58687f88481f4a0fb7c5cb
Python version: 3.7.3
Qt version: 5.9.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)
User avatar
yorik
Founder
Posts: 13659
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Draft Snap possible bug

Post by yorik »

Indeed.. strange. If you hover the mouse over the next segments, they don't light up properly anymore. Without snapping, it still works OK, though.
I think it's also a post-link3 issue. Maybe getObjectsInfo() not working well anymore. Investigating...
User avatar
yorik
Founder
Posts: 13659
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Draft Snap possible bug

Post by yorik »

Ok it was a regression not because of link3 but because of the snap cycling stuff... Fixed in git commit 92895f7940
Post Reply