Vila Matilde House, working with linked files

Show off your FreeCAD projects here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
F_Rosa
Posts: 247
Joined: Thu Feb 18, 2016 10:39 pm
Location: São Paulo
Contact:

Re: Vila Matilde House, working with linked files

Post by F_Rosa »

paullee,

I tried exporting to IFC files, and it worked, including linked files! Consider:

OS: Ubuntu 20.04.2 LTS (MATE/mate)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24291 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0.19.2)
Hash: 7b5e18a0759de778b74d3a5c17eba9cb815035ac
Python version: 3.8.8
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.4.0
Locale: Portuguese/Brazil (pt_BR)

After a few experiments, I adjusted the preferences as follows:
  • To export IFC (figure 32), I only enabled Force export as Brep when I needed to keep the objects in their place (if there is a difference between its base and the generated object), in general I left this option disabled so as not to harm the round shapes;
  • For better definition of tubular shapes (cylinders, tubes, etc.), I decreased the tessellation to 0.1 (figure 33);
  • To increase processing on IFC import, I assigned 3 cores (figure 34), although experimental, it worked;
  • To test the exported files on a server, I installed BIMserver (https://github.com/opensourceBIM/BIMserver). To generate the 3D visualization, I had to install the proprietary version of java, for some reason, with Openjava it didn't work;
  • In FC, I installed the WebTools workbench, logged into the server (figure 35) and sent the original and linked files (figure 36);
  • With this, I got the visualization on the BIMserver (figures 37 and 38).
Attachments
Figure 32
Figure 32
32-Preferencais_exportacao_IFC_Brep.jpg (108.1 KiB) Viewed 4219 times
Figure 33
Figure 33
33-Preferencias_DAE.jpg (94.5 KiB) Viewed 4219 times
Figure 34
Figure 34
34-Preferencias_importacao_IFC.jpg (166.91 KiB) Viewed 4219 times
Figure 35
Figure 35
35-Logando_BIMserver.jpg (297.7 KiB) Viewed 4219 times
Figure 36
Figure 36
36-Enviando_arquivo_IFC.jpg (230.54 KiB) Viewed 4219 times
Last edited by F_Rosa on Mon Aug 02, 2021 9:16 pm, edited 1 time in total.
F_Rosa
Posts: 247
Joined: Thu Feb 18, 2016 10:39 pm
Location: São Paulo
Contact:

Re: Vila Matilde House, working with linked files

Post by F_Rosa »

Figure 37
Figure 37
37-Servidor_BIM_01.jpg (145.96 KiB) Viewed 4212 times
Figure 38
Figure 38
38-Servidro_BIM_02.jpg (176.65 KiB) Viewed 4212 times

After I saw your post about the IFCOpenShell viewer (https://forum.freecadweb.org/viewtopic.php?f=23&t=49484), I decided to test it too (figures 39 to 41). I finally imported the IFC files into Blender (Figure 42), which was fantastic as it kept the important information (scale, x, y, z positions and directions, floors, etc.), leaving only adjustments to generate the renderings.

Some things I still haven't been able to do:
  • When exporting to IFC, all elements used as the basis for the construction of 3D elements (rectangles, for example) become visible on the mentioned servers;
  • All elements generated by various operations (boolean, mainly) will appear in the IFC view. To avoid this, I created simple copies of each one before export;
  • When I wanted to cancel the sending of an IFC file to the BIM server during the operation, it didn't work, it sent it anyway, that is, cancel does not cancel;
  • I couldn't download the files from the server in FC, only downloading directly from that one.
  • I couldn't export IFC files with the stable version of FreeCAD Link Branch (previously mentioned), it just crashes.
OS: Ubuntu 20.04.2 LTS (MATE/mate)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 2021.615.24301 +3584 (Git) AppImage
Build type: Release
Branch: LinkStage3
Hash: d1e4d1c5abdedda669e54d1a41b5c08077f7e561
Python version: 3.9.4
Qt version: 5.12.9
Coin version: 4.0.1
OCC version: 7.5.2
Locale: Portuguese/Brazil (pt_BR)


Overall I thought we've come a long way in these matters, but if anyone can help with these issues I would appreciate it.

All that's left is to thank the fantastic work that people have been doing in the IFC area.
Attachments
Figure 39
Figure 39
41-IFCOpenShell_viewer_02.jpg (178.56 KiB) Viewed 4212 times
Last edited by F_Rosa on Tue Aug 03, 2021 2:19 pm, edited 3 times in total.
F_Rosa
Posts: 247
Joined: Thu Feb 18, 2016 10:39 pm
Location: São Paulo
Contact:

Re: Vila Matilde House, working with linked files

Post by F_Rosa »

Figures
Attachments
Figure 40
Figure 40
43-IFCOpenshell_viewer_06.jpg (297.74 KiB) Viewed 4212 times
Last edited by F_Rosa on Tue Aug 03, 2021 2:20 pm, edited 2 times in total.
F_Rosa
Posts: 247
Joined: Thu Feb 18, 2016 10:39 pm
Location: São Paulo
Contact:

Re: Vila Matilde House, working with linked files

Post by F_Rosa »

Figures
Attachments
Figure 41
Figure 41
45-IFCOpenShell_viewer_03.jpg (206.42 KiB) Viewed 4099 times
Figure 42
Figure 42
46-Importando_IFC_Blender.jpg (351.61 KiB) Viewed 4099 times
Last edited by F_Rosa on Tue Aug 03, 2021 2:20 pm, edited 2 times in total.
F_Rosa
Posts: 247
Joined: Thu Feb 18, 2016 10:39 pm
Location: São Paulo
Contact:

Re: Vila Matilde House, working with linked files

Post by F_Rosa »

I noticed that figures 39 to 41 are repeated, is there a way to erase them?
paullee
Veteran
Posts: 5092
Joined: Wed May 04, 2016 3:58 pm

Re: Vila Matilde House, working with linked files

Post by paullee »

F_Rosa wrote: Mon Aug 02, 2021 10:53 pm I noticed that figures 39 to 41 are repeated, is there a way to erase them?
You can edit the post, go to Attachment Tab again, and remove the attached images as wished :)
paullee
Veteran
Posts: 5092
Joined: Wed May 04, 2016 3:58 pm

Re: Vila Matilde House, working with linked files

Post by paullee »

F_Rosa wrote: Mon Aug 02, 2021 8:58 pm I tried exporting to IFC files, and it worked, including linked files! Consider:
Awesome ! There are several discussions about exporting IFC in the IFC sub-forum within the Draft, Arch & BIM forum. Some workflow, ifc visualisation software, bugs etc. were discussed.

I remember I try fixing use of Link in Windows in the model, but not sure if exporting IFC for Links of Windows is working. @bernd fixed a lot of IFC import/export problems :D

Maybe you can cross-post there for any issues you find / workaround for improvement.

Thanks!
F_Rosa
Posts: 247
Joined: Thu Feb 18, 2016 10:39 pm
Location: São Paulo
Contact:

Re: Vila Matilde House, working with linked files

Post by F_Rosa »

paullee wrote: Mon Aug 02, 2021 11:38 pm
You can edit the post, go to Attachment Tab again, and remove the attached images as wished :)
Thanks!
F_Rosa
Posts: 247
Joined: Thu Feb 18, 2016 10:39 pm
Location: São Paulo
Contact:

Re: Vila Matilde House, working with linked files

Post by F_Rosa »

paullee wrote: Mon Aug 02, 2021 11:49 pm Maybe you can cross-post there for any issues you find / workaround for improvement.
Sure!

BTW, does anyone know any free BIM server that performs analytics of any kind to test the BIMbots workbench?
paullee
Veteran
Posts: 5092
Joined: Wed May 04, 2016 3:58 pm

Re: Vila Matilde House, working with linked files

Post by paullee »

F_Rosa wrote: Sat Jul 10, 2021 10:36 pm Stage 03

From the single file of the house, the linked files of each discipline were prepared, according to the description contained in the README of the templates available in BIM_#_Name_project_Templates.zip (https://forum.freecadweb.org/viewtopic. ... 2&start=10) and also to the following disciplines:
There are a lot to explore in this thread indeed :D

There could be a series of topics to be raised and discussed later systematically !

Link / LinkGroup

I look at previous discussion about use of Link / LinkGroup on the Opensource house [ LinkGroup ] Help, Wiki or Tutorial ? (Found I did not write which git version (0.19_pre) I used). Below is my understanding / testing of current capability -

As of FreeCAD_0.20_weekly-builds git 25025 -
  1. Link / LinkGroup to BuildingPart is not working
  2. Link / LinkGroup with individual ArchObjects / Groups as an element works
    ( with limitations discussed in other threads )
  3. Create a Link pointing to a Group in another source file is not supported (yet ?)
  4. Create a Link pointing to a Link / LinkGroup (those works in above items) in another source file works

Link / LinkGroup IFC Support

Haven't dug out previous tests / tested how these Link / LinkGroup are supported in IFC export.

Image
Post Reply