Ticket #4606 - Part Design Pad tool do not work in linux AppImage 24212 works in Windows 0.20 24489 (git)

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Post Reply
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Ticket #4606 - Part Design Pad tool do not work in linux AppImage 24212 works in Windows 0.20 24489 (git)

Post by Kunda1 »

Discussion thread for issue #4606: Part Design Pad tool do not work in linux AppImage 24212 works in Windows 0.20 24489 (git)
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
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: Tiket #4606 - Part Design Pad tool do not work in linux AppImage 24212 works in Windows 0.20 24489 (git)

Post by looo »

I guess this is related to ooct7.4 / occt7.5 differences?
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: Tiket #4606 - Part Design Pad tool do not work in linux AppImage 24212 works in Windows 0.20 24489 (git)

Post by GeneFC »

I just tried with Windows using both OCC 7.5 and OCC 7.4 versions. Both worked without any problem.

Pad and Pocket obviously work with both OCC versions, since many users would complain otherwise.

Must be something else.

Gene
User avatar
alonso_jamm
Posts: 77
Joined: Mon Nov 11, 2019 11:32 pm

Re: Tiket #4606 - Part Design Pad tool do not work in linux AppImage 24212 works in Windows 0.20 24489 (git)

Post by alonso_jamm »

I tried with the latest FreeCAD AppImage 24276 and 0.20 24495 and had the same problem with both versions. The AppImage is using OCC 7.4 and the 0.20 version is using OCC 7.5.

I found that this problem doesn't occur when I set the value of the diameter constraint of the big arc in "Sketch006RuuvinRunko" from 61mm to 61.3mm (by removing the expression). If I set the value of this diameter constraint to a smaller value than 61mm it will result in material being added in the inner region of the revolution but not on the outer region.
Pad adds material in the inner region of the revolution but not on the outer region.
Pad adds material in the inner region of the revolution but not on the outer region.
Screenshot_20210327_132812.png (102.74 KiB) Viewed 920 times

Also, instead of modifying "Sketch006RuuvinRunko" and using a custom pad direction instead does not produce this problem.
I just added a small value (0.01mm) in the x-direction.
Small value in the x-direction using a custom direction does not give the error.
Small value in the x-direction using a custom direction does not give the error.
Screenshot_20210327_131822.png (114.05 KiB) Viewed 920 times
versions I used:

OS: Arch Linux (KDE//usr/share/wayland-sessions/plasmawayland)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24276 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0.19.1)
Hash: a88db11e0a908f6e38f92bfc5187b13ebe470438
Python version: 3.8.8
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United States (en_US)

and

OS: Arch Linux (KDE//usr/share/wayland-sessions/plasmawayland)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.20.24495 (Git)
Build type: Release
Branch: master
Hash: 6317acc97ca1d8f02f763cc4d4be3795305d9b40
Python version: 3.9.2
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/United States (en_US)
chrisb
Veteran
Posts: 53945
Joined: Tue Mar 17, 2015 9:14 am

Re: Tiket #4606 - Part Design Pad tool do not work in linux AppImage 24212 works in Windows 0.20 24489 (git)

Post by chrisb »

I can confirm the problem here, looks like a so called coplanar issue.

OS: macOS 10.16
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24276 (Git)
Build type: Release
Branch: (HEAD detached at 0.19.1)
Hash: a88db11e0a908f6e38f92bfc5187b13ebe470438
Python version: 3.8.8
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.4.0
Locale: C/Default (C)
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: Ticket #4606 - Part Design Pad tool do not work in linux AppImage 24212 works in Windows 0.20 24489 (git)

Post by adrianinsaval »

xposting my findings posted on github issue: confirmed the bug in many versions of freecad (0.19.4 0.20.0 and 0.21.29446) using occt 7.5.3 or 7.6.2 (blobfish), only version where it worked was 0.19.3 flatpak that used occt 7.3 so it could be a regression upstream. I also observed this weird behavior when changing the pad length on all the failing versions:
Peek 2022-07-06 19-02.gif
Peek 2022-07-06 19-02.gif (218.21 KiB) Viewed 490 times
Post Reply