Bug in BSpline

About the development of the Part Design module/workbench. PLEASE DO NOT POST HELP REQUESTS HERE!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
nyalon

Bug in BSpline

Post by nyalon »

The BSpline tool has a visualisation-bug with the curvature comb.
Screenshot_20181201_113140.png
Screenshot_20181201_113140.png (25.51 KiB) Viewed 2144 times
OS: Debian GNU/Linux testing (buster)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15291 (Git)
Build type: Release
Branch: master
Hash: 9e870bec2e0faba1f688bc4409837b70f40181e7
Python version: 2.7.15+
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.9.1.oce-0.18
Locale: German/Germany (de_DE)
Last edited by nyalon on Sat Dec 01, 2018 11:57 am, edited 1 time in total.
chrisb
Veteran
Posts: 54150
Joined: Tue Mar 17, 2015 9:14 am

Re: Big in BSpline

Post by chrisb »

nyalon wrote: Sat Dec 01, 2018 10:37 am The BSpline tool has a visualisation-bug with the curvature comb.
Please upload the file.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
nyalon

Re: Big in BSpline

Post by nyalon »

chrisb wrote: Sat Dec 01, 2018 11:00 am Please upload the file.
Attachments
Bezier_Bug.fcstd
(6.49 KiB) Downloaded 75 times
chrisb
Veteran
Posts: 54150
Joined: Tue Mar 17, 2015 9:14 am

Re: Bug in BSpline

Post by chrisb »

The uploaded file is different from the image shown above and the curvature comb is flawless:

OS: Ubuntu 16.04.5 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15287 (Git)
Build type: Release
Branch: master
Hash: 792bb8282a475905a233905a07060640456f3128
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
Attachments
Bildschirmfoto 2018-12-01 um 14.38.11.png
Bildschirmfoto 2018-12-01 um 14.38.11.png (34.55 KiB) Viewed 2120 times
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
nyalon

Re: Bug in BSpline

Post by nyalon »

chrisb wrote: Sat Dec 01, 2018 1:40 pm The uploaded file is different from the image shown above and the curvature comb is flawless:

Yes, it is different but here it shows the same problem:
Bezier.png
Bezier.png (50.59 KiB) Viewed 2113 times
chrisb
Veteran
Posts: 54150
Joined: Tue Mar 17, 2015 9:14 am

Re: Bug in BSpline

Post by chrisb »

I have the latest Ubuntu PPA version, nevertheless is yours newer. But I dont assume a regression. First thing to try is resetting or deleting your config files.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
nyalon

Re: Bug in BSpline

Post by nyalon »

chrisb wrote: Sat Dec 01, 2018 2:30 pm I have the latest Ubuntu PPA version, nevertheless is yours newer. But I dont assume a regression. First thing to try is resetting or deleting your config files.
I recompiled with occt instead of oce: same problem.
I removed system.cfg and user.cfg: similar problem.
I removed .FreeCAD: same problem.

OS: Debian GNU/Linux testing (buster)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15291 (Git)
Build type: Release
Branch: master
Hash: 9e870bec2e0faba1f688bc4409837b70f40181e7
Python version: 2.7.15+
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Bug in BSpline

Post by jmaustpc »

seems to work perfectly here.

OS: Ubuntu 16.04.5 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15287 (Git)
Build type: Release
Branch: master
Hash: 792bb8282a475905a233905a07060640456f3128
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/Australia (en_AU)
chrisb
Veteran
Posts: 54150
Joined: Tue Mar 17, 2015 9:14 am

Re: Bug in BSpline

Post by chrisb »

Can this be a hardware problem? I don't know how far the graphic card driver is involved.

And another idea: can you try with the Appimage? Then we can compare the results of identical programs.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
nyalon

Re: Bug in BSpline

Post by nyalon »

I rebuild freecad with python 3.7 instead of python 2.7 and Qt5 instead of Qt4 und the problem vanished.
Perhaps a Qt4-related problem?

OS: Debian GNU/Linux buster/sid
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15291 (Git)
Build type: Unknown
Branch: master
Hash: 9e870bec2e0faba1f688bc4409837b70f40181e7
Python version: 3.7.1
Qt version: 5.11.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)
Post Reply