View property Angular Deflection can freeze FC

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
Chris_G
Veteran
Posts: 2579
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

View property Angular Deflection can freeze FC

Post by Chris_G »

Hi,
I didn't found any bug report about this in the tracker.
If I want to modify the angular deflection in the view panel of an object, i can freeze FC.
Steps to reproduce :
Let's say the angular deflection is set to 5°
- put the text cursor in front of the 5
- delete the 5
- FC freezes ( maybe starting a super-mega-fine tesselation ? )
- you can go for a hundred coffees :D

In case this info is relevant, I have a french locale, with ',' as the decimal separator.

Code: Select all

OS: Ubuntu 17.04
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10949 (Git)
Build type: None
Branch: master
Hash: 20828b3cb31557301da66465363717e1e66c28c7
Python version: 2.7.13
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
wmayer
Founder
Posts: 20243
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: View property Angular Deflection can freeze FC

Post by wmayer »

What kind of part object do you have for testing? Apparently with a standard cylinder I don't see this problem. So, obviously it must have a bit more complex shape.
User avatar
Chris_G
Veteran
Posts: 2579
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: View property Angular Deflection can freeze FC

Post by Chris_G »

It was a pretty simple BSpline surface.
Here is one that freezes.
Thanks.
Surface.fcstd
(8.22 KiB) Downloaded 43 times
EDIT : I just tested on a cylinder, and I have the same freeze.
I renamed my .FreeCAD folder -> no freeze on the cylinder but still freezes on the BSpline surface ???? Weird
wmayer
Founder
Posts: 20243
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: View property Angular Deflection can freeze FC

Post by wmayer »

Confirmed.
User avatar
Chris_G
Veteran
Posts: 2579
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: View property Angular Deflection can freeze FC

Post by Chris_G »

Thanks for the confirmation.
Bug report :
https://www.freecadweb.org/tracker/view.php?id=3000
wmayer
Founder
Posts: 20243
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: View property Angular Deflection can freeze FC

Post by wmayer »

The minimum angle is now 1 deg to avoid to run it forever. Depending on the shape this still may take some time.
User avatar
Chris_G
Veteran
Posts: 2579
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: View property Angular Deflection can freeze FC

Post by Chris_G »

Thanks Werner.
Post Reply