Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Part Design Pad tool does not work (co-planar issue?) #7142

Closed
FreeCAD-Bug-Importer opened this issue Feb 7, 2022 · 13 comments
Closed

Part Design Pad tool does not work (co-planar issue?) #7142

FreeCAD-Bug-Importer opened this issue Feb 7, 2022 · 13 comments
Labels
3rd party: OCC Bug This issue or PR is related to a bug Help wanted Regression Bugs describing a regression or PRs fixing one WB Part Design Related to the Part Design Workbench

Comments

@FreeCAD-Bug-Importer
Copy link
Collaborator

Issue imported from https://tracker.freecad.org/view.php?id=4606

  • Reporter: jhelmine
  • Date submitted: 3/25/2021
  • FreeCAD version: 0.19
  • Category: Bug
  • Status: new
  • Tags: #pending-forum, appimage

Original report text

Hello,

Example were padding do not work in prebuild 24212 Linux version but works on Windows, compiled from git 24489.
Test file in http://jhelmine.kapsi.fi/3D/LedKehysVaunuun_test.FCStd (same included to report also).

Additional information

Padding tested in:
FreeCAD_0.19-24212-Linux-Conda_glibc2.12-x86_64.AppImage
FreeCAD_0.19-23578-Linux-Conda_glibc2.12-x86_64.AppImage

Steps to reproduce

To repeat error open file LedKehysVaunuun_test.FCStd.
First use "Part Design" then activate Body001Yläpallo.
Click Sketch006RuuvinRunko and click Pad this sketch.
Padding to normal direction do not show anything else than outlines in already made body. Reverse direction padding adds structure.

Windows version (0.20 from master) works as expected and I can continue. Before error situation parameters in spreadsheet ("data") was changed and paddings and pockets removed. Changing data.PallonD (text "Pallon halkaisija") to small value like 50 or less makes error situation, multiple bodies. This was done before error but correcting to back do not help.

FreeCAD Info

OS: Ubuntu 20.10 (ubuntu:GNOME/ubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24212 (Git) AppImage
Build type: Release
Branch: master
Hash: 3d227cf7179c00e57f2733f947b4b1b0368d219a
Python version: 3.8.6
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: Finnish/Finland (fi_FI)

Other bug information

  • Priority: normal
  • Severity: minor
  • Category: Bug
  • Updated: 3/27/2021

Discussion from Mantis ticket

Comment by Kunda1 2021-03-27 10:25

Forum thread: https://forum.freecadweb.org/viewtopic.php?f=8&t=57132


Comment by Kunda1 2021-03-27 11:47

Per looo this looks like a discrepancy between OCCT 7.4.0 and 7.5.0

@FreeCAD-Bug-Importer FreeCAD-Bug-Importer added Bug This issue or PR is related to a bug WB Part Design Related to the Part Design Workbench labels Feb 7, 2022
@adrianinsaval
Copy link
Member

can reproduce here:

OS: Linux 5.16.8-arch1-1 (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.27465 (Git)
Build type: Release
Branch: master
Hash: 092afacfcb5127eb67c385a43cbe34a4cd15bef4
Python version: 3.10.2
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.3
Locale: English/United Kingdom (en_GB)

but not here:

OS: KDE Flatpak runtime (KDE/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.14555 (Git shallow)
Build type: Release
Branch: (HEAD detached at 0.19.3)
Hash: 6530e364184ce05ccff39501e175cf2237e6ee4b
Python version: 3.9.9
Qt version: 5.15.3
Coin version: 4.0.0
OCC version: 7.3.0
Locale: English/United Kingdom (en_GB)

@luzpaz luzpaz transferred this issue from FreeCAD/FreeCAD Jul 6, 2022
@adrianinsaval
Copy link
Member

adrianinsaval commented Jul 6, 2022

I don't believe this is a bundle issue, most likely an actual FreeCAD issue, possibly related to inverted faces, I can now reproduce in all of these:

OS: Linux 5.18.9-arch1-1 (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.21.29393 (Git) AppImage
Build type: Release
Branch: master
Hash: 6820e0a9ec85203a6f342ca72a2ff8fd417beaf1
Python 3.10.5, Qt 5.12.9, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.3
Locale: C/Default (C) [ OS: English/United Kingdom (en_GB) ]
OS: Linux 5.18.9-arch1-1 (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.21.29446 +1 (Git)
Build type: None
Branch: patch-2
Hash: 11c280bc675aa498a2fb6e29ea61cb9c065d8bc9
Python 3.10.5, Qt 5.15.5, Coin 4.0.1, Vtk 9.1.0, OCC 7.5.3
Locale: C/Default (C) [ OS: English/United Kingdom (en_GB) ]
OS: KDE Flatpak runtime (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git)
Build type: Release
Branch: (HEAD detached at 0.20)
Hash: 68e337670e227889217652ddac593c93b5e8dc94
Python 3.9.9, Qt 5.15.4, Coin 4.0.0, Vtk 8.2.0, OCC 7.6.2
Locale: C/Default (C) [ OS: English/United Kingdom (en_GB) ]

Note that in my previous report I did not even test the appimage

@adrianinsaval
Copy link
Member

aditionally the base shape is displayed differently depending on the pad length, very weird:
Peek 2022-07-06 19-02

@luzpaz luzpaz changed the title Part Design Pad tool do not work in linux AppImage 24212 works in Windows 0.20 24489 (git) Part Design Pad tool does not work (co-planar issue?) Jul 6, 2022
@luzpaz luzpaz transferred this issue from FreeCAD/FreeCAD-Bundle Jul 6, 2022
@adrianinsaval
Copy link
Member

Also doesn't work on archlinux's 0.19.4:

OS: Linux 5.18.9-arch1-1 (KDE/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24415 (Git)
Build type: Release
Branch: makepkg
Hash: 476ecf091941bead59b14e44afa6064d5a66afa3
Python version: 3.10.5
Qt version: 5.15.4
Coin version: 4.0.1
OCC version: 7.5.3
Locale: English/United Kingdom (en_GB)

Of all my test it only worked in the 0.19 flatpak when it used occt 7.3 so it could be a regression upstream

@luzpaz luzpaz added 3rd party: OCC Regression Bugs describing a regression or PRs fixing one labels Jul 26, 2022
@ghost
Copy link

ghost commented Jul 23, 2023

@adrianinsaval : can you retest it? For me it works flawless.

OS: Debian GNU/Linux 11 (bullseye) (X-Cinnamon/lightdm-xsession)
Word size of FreeCAD: 64-bit
Version: 0.21.0.33631 (Git)
Build type: Release
Branch: master
Hash: 2167fb6f7ec6ac5c2f6365d4c3035d2db6879b1e
Python 3.9.2, Qt 5.15.2, Coin 4.0.0, Vtk 9.0.1, OCC 7.7.1
Locale: English/United States (en_US)
Installed mods: 
  * QuickMeasure 2022.10.28
  * CurvedShapes 1.0.4
  * Curves 0.6.8

I add the file direct here.

LedKehysVaunuun_test.zip

@adrianinsaval
Copy link
Member

I still experience this, might be fixed in occt 7.7.1, will try a version with 7.7.1 later today

OS: Windows 11 build 22621
Word size of FreeCAD: 64-bit
Version: 0.21.0.33593 (Git)
Build type: Release
Branch: master
Hash: 15371a04f38bbeb5a04edc5a91020ada1e30ef88
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: Spanish/Paraguay (es_PY)

@ghost
Copy link

ghost commented Jul 23, 2023

Thanks. Note, that OCCT have created a 7.7.2 head, which means that in a certain time (normally some days) they release an update.

@adrianinsaval
Copy link
Member

Indeed, works without issue with occt 7.7.1:

OS: KDE Flatpak runtime
Word size of FreeCAD: 64-bit
Version: 0.21.0.33439 (Git)
Build type: Release
Branch: (HEAD detached at 976ecb3)
Hash: 976ecb3754700dfe6059699b77f896f9610891e3
Python 3.10.11, Qt 5.15.10, Coin 4.0.0, Vtk 8.2.0, OCC 7.7.1
Locale: English/United States (en_US)

@adrianinsaval
Copy link
Member

I'll close the issue since this is an upstream issue so not actionable by us, and it's fixed upstream so it will eventually make it's way to our releases once we get full 7.7.1 compatibility

@luzpaz
Copy link
Contributor

luzpaz commented Jul 23, 2023

Maybe we should add this as a 'Known Issue' that is solved upstream ? (especially for the distros that don't keep OCC as up to date as we do?)

@adrianinsaval
Copy link
Member

Where do we have such a list?

@luzpaz
Copy link
Contributor

luzpaz commented Jul 23, 2023

@adrianinsaval
Copy link
Member

I think we use that for different general usage problems, mentioning specific opencascade coplanar-like problems seems like it will quickly fill the page with noise

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3rd party: OCC Bug This issue or PR is related to a bug Help wanted Regression Bugs describing a regression or PRs fixing one WB Part Design Related to the Part Design Workbench
Projects
None yet
Development

No branches or pull requests

3 participants