FCC0.18/FC0.19pre - Sketcher blocked to [0,0]

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
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!
Post Reply
User avatar
OakLD
Posts: 131
Joined: Fri Jan 12, 2018 7:38 pm
Location: Brno

FCC0.18/FC0.19pre - Sketcher blocked to [0,0]

Post by OakLD »

Forgive me, if it's a duplicate. I reviewed the List Of Known Specific Issues by chrisb, searched the forum, but didn't find anything. And yes, I'm aware I'm using a development version and accept the fact it's not working right on my PC.

The issue is, that with some newer releases of FC, the Sketcher gets "blocked" beyond usage. It won't let me draw anything, because it basically snaps all points to [0,0] of the sketch plane. Only if I rudiculously zoom out, it allows to draw some objects; EDIT: I tried, it's approximately from coortinates of 2300x2000 in 1st quadrant (X+,Y+), where it starts to behave as it should.
Obvisously, it produces such error messages (as a consequence):

Code: Select all

Failed to add box: Both points are equal
Unhandled exception in ViewProvider::eventCallback: Constraint has invalid indexes
(Event type: SoMouseButtonEvent, object type: SketcherGui::ViewProviderSketch)
I tried approx 7+ different combinations of PCs and 0.19 releases (deleted some), Qt5 and Qt4, here are few of them:

Working 1 - Desktop PC:
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18738 (Git)
Build type: Release
Branch: master
Hash: f65a72deb71e8b2a18c849adc9a900c3d113d51b
Python version: 3.7.3
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Czech/Czech Republic (cs_CZ)


Working 2 - Desktop PC:
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.16487 (Git)
Build type: Release
Branch: master
Hash: e33472c0559f4b8b95628d1c62c413d604f62a90
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: Czech/CzechRepublic (cs_CZ)


Failing 1 - Laptop PC:
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.16487 (Git)
Build type: Release
Branch: master
Hash: e33472c0559f4b8b95628d1c62c413d604f62a90
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: Czech/CzechRepublic (cs_CZ)


Failing 2 - Laptop PC:
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.17352 (Git)
Build type: Release
Branch: master
Hash: ec0049921b813ee78c1fd4ea304e70904a3208f7
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: Czech/CzechRepublic (cs_CZ)


Failing 3 - Laptop PC:
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18733 (Git)
Build type: Release
Branch: master
Hash: 2637280c1d2cb48e7cd946fa9f2484467edd8b0c
Python version: 3.6.7
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Czech/Czech Republic (cs_CZ)


Failing 4 - Laptop PC - with stable R0.18.3:
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16131 (Git)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 3129ae4296e40ed20e7b3d460b86e6969acbe1c3
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Czech/CzechRepublic (cs_CZ)



Working - Linux Desktop PC with latest FC I could find for OpenSUSE:
OS: openSUSE Leap 15.1
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.Unknown
Build type: Release
Python version: 3.6.5
Qt version: 5.9.7
Coin version: 3.1.3
OCC version: 7.3.0
Locale: Czech/CzechRepublic (cs_CZ)
Regards,

Oak
chrisb
Veteran
Posts: 54273
Joined: Tue Mar 17, 2015 9:14 am

Re: FCC0.18/FC0.19pre - Sketcher blocked to [0,0]

Post by chrisb »

It sounds as if you have the grid enabled with a rather big grid size.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
DeepSOIC
Veteran
Posts: 7896
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

Re: FCC0.18/FC0.19pre - Sketcher blocked to [0,0]

Post by DeepSOIC »

I have actually experienced an issue with grid snap recently. Whenever I created a new sketch, the grid was off, but grid snapping was on, and it was really difficult to turn it off (I had to turn the grid on, then turn off the snapping, then turn the grid back off). And it just didn't stick. I don't quite remember how I sorted out the situation, probably it was through preferences. It's strange.
openBrain
Veteran
Posts: 9041
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: FCC0.18/FC0.19pre - Sketcher blocked to [0,0]

Post by openBrain »

DeepSOIC wrote: Wed Nov 20, 2019 1:08 pm I have actually experienced an issue with grid snap recently. Whenever I created a new sketch, the grid was off, but grid snapping was on, and it was really difficult to turn it off (I had to turn the grid on, then turn off the snapping, then turn the grid back off). And it just didn't stick. I don't quite remember how I sorted out the situation, probably it was through preferences. It's strange.
Also grid and snapping is a by-sketch setting, so you can change that by selecting the sketch in the treeview and modify properties in the property editor. ;)
User avatar
OakLD
Posts: 131
Joined: Fri Jan 12, 2018 7:38 pm
Location: Brno

RESOLVED: Re: FCC0.18/FC0.19pre - Sketcher blocked to [0,0]

Post by OakLD »

chrisb wrote: Tue Nov 19, 2019 9:32 pm It sounds as if you have the grid enabled with a rather big grid size.
Thank you, that basically resolved the consequences of this issue. The Grid Size in Edit->Preferences: Sketcher was set to 100mm. When changed to 10mm, the Sketcher now behaves more or less as expected.

I checked the other pcs that are working well and the value is se to 0mm. It seems to show 10mm grid with this setting as a default one.
Regards,

Oak
chrisb
Veteran
Posts: 54273
Joined: Tue Mar 17, 2015 9:14 am

Re: FCC0.18/FC0.19pre - Sketcher blocked to [0,0]

Post by chrisb »

Many power users advise not to use the grid in sketcher at all, because it pretends coincidences even if they don't exist. There is only one thing you should rely on: constraints.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: FCC0.18/FC0.19pre - Sketcher blocked to [0,0]

Post by Kunda1 »

OP please mark the 1st post of the thread [Solved] if thread is indeed solved. Thank you.
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Post Reply