Integration of BlenderBIM Features : FreeCAD Arch/BIM - Native IFC

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
paullee
Veteran
Posts: 5097
Joined: Wed May 04, 2016 3:58 pm

Re: Integration of BlenderBIM Feaures : FreeCAD Arch/BIM

Post by paullee »

Realised I only have 6G physical ram, and 6G swap.

When I have Firefox, and run expanding children at some level, the swap memory availability drop and somehow around below 600mB probably, then FC crash (importing ok). Shell window also crash, so it is difficult to screencapture the exact moment FC crash.


Screenshot from 2022-12-12 01-04-12.png
Screenshot from 2022-12-12 01-04-12.png (32.59 KiB) Viewed 2386 times
paullee
Veteran
Posts: 5097
Joined: Wed May 04, 2016 3:58 pm

Re: Integration of BlenderBIM Feaures : FreeCAD Arch/BIM

Post by paullee »

Another interesting finding - trying to import Brunopostile's ninteen-plots-X-X.ifc.

After importing, it is a village of house; then expanding children, the village disappear and become 1 house only :lol:

nineteen-plots-X-X.ifc.zip
(1009.07 KiB) Downloaded 93 times
Screenshot from 2022-12-12 01-37-11.png
Screenshot from 2022-12-12 01-37-11.png (12.57 KiB) Viewed 2364 times
Screenshot from 2022-12-12 01-41-20.png
Screenshot from 2022-12-12 01-41-20.png (245.85 KiB) Viewed 2364 times
Screenshot from 2022-12-12 01-36-30.png
Screenshot from 2022-12-12 01-36-30.png (211.04 KiB) Viewed 2364 times
User avatar
ragohix769
Posts: 565
Joined: Sat Jul 18, 2020 7:04 am
Location: Rome - Italy

Re: Integration of BlenderBIM Feaures : FreeCAD Arch/BIM

Post by ragohix769 »

paullee wrote: Sun Dec 11, 2022 5:08 pm Realised I only have 6G physical ram, and 6G swap.

When I have Firefox, and run expanding children at some level, the swap memory availability drop and somehow around below 600mB probably, then FC crash (importing ok). Shell window also crash, so it is difficult to screencapture the exact moment FC crash.
So it's a memory problem, as you argued correctly.
After #ElonMuskBuyTwitter I'm no more on Twitter, that's really enough :-(
=> Now you can find me here on #Mastodon: https://mastodon.uno/@opensoul - I hope more people do the same :-)
User avatar
ragohix769
Posts: 565
Joined: Sat Jul 18, 2020 7:04 am
Location: Rome - Italy

Re: Integration of BlenderBIM Feaures : FreeCAD Arch/BIM

Post by ragohix769 »

paullee wrote: Sun Dec 11, 2022 5:46 pm Another interesting finding - trying to import Brunopostile's ninteen-plots-X-X.ifc.
In my "old" FC 0.21 (no more updated and not on edge so there is the old NativeIFC and the FC 0.21 of one month ago) I opened this file by BrunoPostile, and in memory I can see (via htop) that it uses 10,9 GB, so maybe this is why you have some problem with only 6 GB of ram :-)
Attachments
wpez9473947.png
wpez9473947.png (693.4 KiB) Viewed 2297 times
wepz8983.png
wepz8983.png (287.04 KiB) Viewed 2297 times
After #ElonMuskBuyTwitter I'm no more on Twitter, that's really enough :-(
=> Now you can find me here on #Mastodon: https://mastodon.uno/@opensoul - I hope more people do the same :-)
paullee
Veteran
Posts: 5097
Joined: Wed May 04, 2016 3:58 pm

Re: Integration of BlenderBIM Feaures : FreeCAD Arch/BIM

Post by paullee »

Thanks for testing; so yo have expanded Children and get all the shapes of every house right ?
paullee
Veteran
Posts: 5097
Joined: Wed May 04, 2016 3:58 pm

Re: Integration of BlenderBIM Feaures : FreeCAD Arch/BIM

Post by paullee »

Have tried again

- No Firefox
- Imported ok, seems everything here
- Then, expand Children; seem swap almost used up but not
- ( just note there is something called zram, not much idea what output means though)
- FC do not crash but just after expand is done, only 1 building is left :roll:
- Open Firefox (try to report here)
- Then the Terminals crash, as well as FC :!:

Screenshot from 2022-12-13 05-17-55.png
Screenshot from 2022-12-13 05-17-55.png (276.91 KiB) Viewed 2178 times
paullee
Veteran
Posts: 5097
Joined: Wed May 04, 2016 3:58 pm

Re: Integration of BlenderBIM Feaures : FreeCAD Arch/BIM

Post by paullee »

For reference / record purpose:-

  1. Found if apply 'Expand Children' to the My Site object 2nd time, all the houses re-appears :lol:
  2. Increase the physical ram from 6G to 8G, much better, can have FireFox up, and Expand Children to some level without crash... until 'swap ram' become below around 900Mb again
  3. On Fedora system, zRam is used, adding conventional disk swap space has no help at all, super slow then when ram runs out
Screenshot from 2022-12-16 02-21-28.png
Screenshot from 2022-12-16 02-21-28.png (331.68 KiB) Viewed 2077 times
Screenshot from 2022-12-15 08-31-12.png
Screenshot from 2022-12-15 08-31-12.png (411.96 KiB) Viewed 2077 times
Screenshot from 2022-12-15 08-21-49.png
Screenshot from 2022-12-15 08-21-49.png (489.38 KiB) Viewed 2077 times
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Integration of BlenderBIM Feaures : FreeCAD Arch/BIM

Post by yorik »

Interesting! I'll check that file too. It might have particularities regarding sites/buildings...

Note that the importer now has a "Mesh" import mode, which is much faster than the Shape mode. It should take less memory too. The general idea is that the mesh mode is good enough just to view an IFC file, while the shape mode will be needed when working with the geometry. It's possible to also right-click and switch any object between shape and mesh mode.
paullee
Veteran
Posts: 5097
Joined: Wed May 04, 2016 3:58 pm

Re: Integration of BlenderBIM Feaures : FreeCAD Arch/BIM

Post by paullee »

Great! There are Mesh and Coin mode in the dialog box, what is the difference?

With Mesh mode, there is also in the context menu ( not in Coin mode ) :-
- Transform
- Display Component
- Display Segment

What do they mean for ?


Screenshot from 2022-12-24 23-21-27.png
Screenshot from 2022-12-24 23-21-27.png (17.69 KiB) Viewed 1917 times
Screenshot from 2022-12-24 23-23-51.png
Screenshot from 2022-12-24 23-23-51.png (333.25 KiB) Viewed 1917 times
Screenshot from 2022-12-24 23-25-40.png
Screenshot from 2022-12-24 23-25-40.png (305.6 KiB) Viewed 1917 times
paullee
Veteran
Posts: 5097
Joined: Wed May 04, 2016 3:58 pm

Re: Integration of BlenderBIM Feaures : FreeCAD Arch/BIM

Post by paullee »

Behaviour seems unexpected:-

With mesh import, and expand Children result in 1st object / building seems to be Shape (has colours).

Further expand Children result in all objects / buildings in the village shown, these all objects are Mesh (has no colour).


EDIT - And Convert To Shape seems not working.


Screenshot from 2022-12-24 23-45-31.png
Screenshot from 2022-12-24 23-45-31.png (329.62 KiB) Viewed 1908 times
Screenshot from 2022-12-24 23-46-01.png
Screenshot from 2022-12-24 23-46-01.png (270.61 KiB) Viewed 1908 times
Screenshot from 2022-12-24 23-46-06.png
Screenshot from 2022-12-24 23-46-06.png (246.96 KiB) Viewed 1908 times
Post Reply