Bug in BSpline

About the development of the Part Design module/workbench. PLEASE DO NOT POST HELP REQUESTS HERE!
nyalon
Posts: 17
Joined: Wed Aug 15, 2018 7:10 am

Bug in BSpline

Postby nyalon » Sat Dec 01, 2018 10:37 am

The BSpline tool has a visualisation-bug with the curvature comb.
Screenshot_20181201_113140.png
Screenshot_20181201_113140.png (25.51 KiB) Viewed 578 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
Posts: 16858
Joined: Tue Mar 17, 2015 9:14 am

Re: Big in BSpline

Postby chrisb » Sat Dec 01, 2018 11:00 am

nyalon wrote:
Sat Dec 01, 2018 10:37 am
The BSpline tool has a visualisation-bug with the curvature comb.
Please upload the file.
nyalon
Posts: 17
Joined: Wed Aug 15, 2018 7:10 am

Re: Big in BSpline

Postby nyalon » Sat Dec 01, 2018 12:10 pm

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

Re: Bug in BSpline

Postby chrisb » Sat Dec 01, 2018 1:40 pm

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 554 times
nyalon
Posts: 17
Joined: Wed Aug 15, 2018 7:10 am

Re: Bug in BSpline

Postby nyalon » Sat Dec 01, 2018 2:15 pm

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 547 times
chrisb
Posts: 16858
Joined: Tue Mar 17, 2015 9:14 am

Re: Bug in BSpline

Postby chrisb » 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.
nyalon
Posts: 17
Joined: Wed Aug 15, 2018 7:10 am

Re: Bug in BSpline

Postby nyalon » Sat Dec 01, 2018 3:08 pm

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
Posts: 9518
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Bug in BSpline

Postby jmaustpc » Sat Dec 01, 2018 3:38 pm

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
Posts: 16858
Joined: Tue Mar 17, 2015 9:14 am

Re: Bug in BSpline

Postby chrisb » Sat Dec 01, 2018 5:59 pm

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.
nyalon
Posts: 17
Joined: Wed Aug 15, 2018 7:10 am

Re: Bug in BSpline

Postby nyalon » Sun Dec 02, 2018 8:31 am

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)