[workaround] Calculating the volume of several walls causes the freecad master to crash

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

[workaround] Calculating the volume of several walls causes the freecad master to crash

Post by thomas-neemann »

E.g. quantity calculations are necessary for tenders

my freecad crashes in the master

am i making a mistake? if so, how can you do it out-of-the-box in freecad?


930.FCStd
(71.34 KiB) Downloaded 35 times

https://www.youtube.com/watch?v=qz-qBN4yEdM

phpBB [video]





ko:
OS: Ubuntu 20.04.1 LTS (XFCE/xubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.26720 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 7bca26e)
Hash: 7bca26e7c14d4d43374ff7e0c8582735b249cbfd
Python version: 3.9.9
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.3
Locale: German/Germany (de_DE)


ok:
OS: Ubuntu 20.04.1 LTS (XFCE/xubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 2021.1015.24301 +4280 (Git) AppImage
Build type: Release
Branch: LinkDaily
Hash: 556c87868ea46796242156e9f73eae98259794b7
Python version: 3.9.7
Qt version: 5.12.9
Coin version: 4.0.1
OCC version: 7.5.2
Locale: German/Germany (de_DE)
Last edited by thomas-neemann on Fri Jan 07, 2022 12:04 pm, edited 1 time in total.
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Calculating the volume of several walls causes the freecad master to crash

Post by thomas-neemann »

workaround:

if you create a fusion, freecad no longer crashes and overlaps are not taken into account. this is also useful for the ifc export and in that case no more work. in my opinion that is exeptable


1.png
1.png (17.53 KiB) Viewed 2598 times



https://www.youtube.com/watch?v=i2MLJbKWpCo




phpBB [video]



OS: Ubuntu 20.04.1 LTS (XFCE/xubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.26720 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 7bca26e)
Hash: 7bca26e7c14d4d43374ff7e0c8582735b249cbfd
Python version: 3.9.9
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.3
Locale: German/Germany (de_DE)
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
marioalexis
Posts: 124
Joined: Wed Jun 19, 2019 7:44 pm

Re: [workaround] Calculating the volume of several walls causes the freecad master to crash

Post by marioalexis »

can you give a detailed step by step to reproduce the crash?
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: [workaround] Calculating the volume of several walls causes the freecad master to crash

Post by thomas-neemann »

marioalexis wrote: Fri Jan 07, 2022 3:01 pm can you give a detailed step by step to reproduce the crash?

so that it can be reproduced, i shot a video and uploaded the file
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
chrisb
Veteran
Posts: 53930
Joined: Tue Mar 17, 2015 9:14 am

Re: [workaround] Calculating the volume of several walls causes the freecad master to crash

Post by chrisb »

thomas-neemann wrote: Fri Jan 07, 2022 4:25 pm
marioalexis wrote: Fri Jan 07, 2022 3:01 pm can you give a detailed step by step to reproduce the crash?
so that it can be reproduced, i shot a video and uploaded the file
Sorry, but that's not a replacement for a detailed description for several reasons:
- FreeCAD is a free program while data-octopus youtube is the opposite
- people may not want to support the hunt-for-clicks
- for me your videos are far too fast, it even seems that you speed them additionally; so I stopped watching them.
- Watching a video takes more time than a properly prepared description with images, where you can conentrate on the essentials. This is even more so, with high speed videos which I would have to watch several times, which then isn't really a time saver.

So please, take the time and add detailed descriptions. It is a very economic investment from the community point of view: you have to invest time once, and everyone else saves the time. Such descriptions can of course be accompanied by video.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
doia
Posts: 251
Joined: Sat May 29, 2021 5:47 am
Location: Düsseldorf

Re: [workaround] Calculating the volume of several walls causes the freecad master to crash

Post by doia »

chrisb wrote: Sun Jan 16, 2022 7:28 am
+1
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: [workaround] Calculating the volume of several walls causes the freecad master to crash

Post by thomas-neemann »

chrisb wrote: Sun Jan 16, 2022 7:28 am ...
So please, take the time and add detailed descriptions. ..
doia wrote: Sun Jan 16, 2022 7:37 am
chrisb wrote: Sun Jan 16, 2022 7:28 am
+1
marioalexis wrote: Fri Jan 07, 2022 3:01 pm can you give a detailed step by step to reproduce the crash?


no problem.

open the file
930.FCStd
(71.34 KiB) Downloaded 28 times

make windows and doors invisible

click arch survey

select all with edit box selection.

crash

it's still the same with the current version



OS: Ubuntu 20.04.1 LTS (XFCE/xubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.27008 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 9162733)
Hash: 91627338a44371fe9a8e815b4900f62558af98a1
Python version: 3.9.9
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.3
Locale: German/Germany (de_DE)
Last edited by thomas-neemann on Sun Jan 16, 2022 11:42 am, edited 1 time in total.
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
chrisb
Veteran
Posts: 53930
Joined: Tue Mar 17, 2015 9:14 am

Re: [workaround] Calculating the volume of several walls causes the freecad master to crash

Post by chrisb »

Many thanks for the description. Took 10 seconds to read :D .

I can confirm the crash in master.

OS: macOS 10.16
Word size of FreeCAD: 64-bit
Version: 0.20.27008 (Git)
Build type: Release
Python version: 3.9.9
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.3
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
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: [workaround] Calculating the volume of several walls causes the freecad master to crash

Post by thomas-neemann »

chrisb wrote: Sun Jan 16, 2022 11:38 am ...
I can confirm the crash in master.
.

thanks for the confirmation, also under mac os.

can someone test it under windows?
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
Post Reply