[SOLVED] Started IFc Explorer but.. display meshes?

This forum section is only for IFC-related issues
lalberts
Posts: 87
Joined: Fri Feb 05, 2016 2:40 pm
Location: Esslingen am Neckar

[SOLVED] Started IFc Explorer but.. display meshes?

Post by lalberts »

Hello
I follow the FreeCAD progresses since a while, and now I try to be a user in BIM..
I downloaded the latest 0.19 zip for win10. (extract to C:\FreeCAd and start \bin\Freecad.exe)
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.17505 (Git)
Build type: Release
Branch: master
Hash: 755536e9df94d2d39da1468420f1fd333c35da7a
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)

And I could open an IFC File in the new IFC-Explorer and browse the FIle.. now I would like to see something? but both buttons remain grey?
(activate and display mesh)
the IFC comes from Revit..

where is my mistake or what should I check?
Thanks for Your time.
Lukas (at work, electrical planer..starting BIM processes with DDS-CAD)
Attachments
Zwischenablage01.jpg
Zwischenablage01.jpg (182.28 KiB) Viewed 2082 times
Last edited by lalberts on Tue Aug 06, 2019 12:04 pm, edited 2 times in total.
Cyril
Posts: 133
Joined: Wed Aug 23, 2017 5:04 pm
Location: Geneva (Switzerland)
Contact:

Re: Started IFc Explorer but.. display meshes?

Post by Cyril »

Hello lalberts,
It is probably related to ifcopenshell. Do you have ifcopenshell installed ?
I blog about HVAC / BIM / Energy : pythoncvc.net. If you like you can follow the RSS feed.
lalberts
Posts: 87
Joined: Fri Feb 05, 2016 2:40 pm
Location: Esslingen am Neckar

Re: Started IFc Explorer but.. display meshes?

Post by lalberts »

Bonjour,
no not yet on my Win10.. but howto? could download some py scripts from ifcopenshell.. just extract to the py dist folder???
where should this be?
so, get some python distribution?
any recommendation?

thanks a lot.
Lukas
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Started IFc Explorer but.. display meshes?

Post by bernd »

The IfcExplorer you talking about is not part of standard FreeCAD it is part of AddOn BIM workbench.

If you downloaded the 0.19 windows dev version which is a 7z file ifcopenshell is includes. You can easily try by in FreeCAD Python console by:

Code: Select all

import ifcopenshell
this should return no error

to get the installed version you could use
ifcopenshell.version
ATM on windows dev version you should get

Code: Select all

>>> import ifcopenshell
>>> ifcopenshell.version
'0.5.0-dev'
The reason the left icon is grey is much simpler. The tool is to add the selected object to the current document, but if there is no document you can not add the object. Just make a new document in FreeCAD and the button will get a color :)
Cyril
Posts: 133
Joined: Wed Aug 23, 2017 5:04 pm
Location: Geneva (Switzerland)
Contact:

Re: Started IFc Explorer but.. display meshes?

Post by Cyril »

bernd wrote: Tue Aug 06, 2019 7:24 amThe reason the left icon is grey is much simpler. The tool is to add the selected object to the current document, but if there is no document you can not add the object. Just make a new document in FreeCAD and the button will get a color :)
Oh yes, my bad :lol:
I blog about HVAC / BIM / Energy : pythoncvc.net. If you like you can follow the RSS feed.
lalberts
Posts: 87
Joined: Fri Feb 05, 2016 2:40 pm
Location: Esslingen am Neckar

Re: Started IFc Explorer but.. display meshes?

Post by lalberts »

Oh... so easy..

Thanks a lot,

Lukas
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: [SOLVED] Started IFc Explorer but.. display meshes?

Post by bernd »

Does one of you guys know how the other icon works?
Cyril
Posts: 133
Joined: Wed Aug 23, 2017 5:04 pm
Location: Geneva (Switzerland)
Contact:

Re: [SOLVED] Started IFc Explorer but.. display meshes?

Post by Cyril »

bernd wrote: Tue Aug 06, 2019 12:49 pm Does one of you guys know how the other icon works?
You mean the one to display mesh ?
Same way. You select an object in your IfcTree and it displays all objects as a mesh. You can select any object in tree to highlight it. If you click the button again it hides the mesh.
I blog about HVAC / BIM / Energy : pythoncvc.net. If you like you can follow the RSS feed.
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: [SOLVED] Started IFc Explorer but.. display meshes?

Post by bernd »

Cyril wrote: Tue Aug 06, 2019 1:38 pm
bernd wrote: Tue Aug 06, 2019 12:49 pm Does one of you guys know how the other icon works?
You mean the one to display mesh ?
Same way. You select an object in your IfcTree and it displays all objects as a mesh. You can select any object in tree to highlight it. If you click the button again it hides the mesh.
Mhh here I have problems with. This icon is grey for me in any case. May be in this case I see the forest not because of all the trees :lol:
lalberts
Posts: 87
Joined: Fri Feb 05, 2016 2:40 pm
Location: Esslingen am Neckar

Re: [SOLVED] Started IFc Explorer but.. display meshes?

Post by lalberts »

Here those two buttons seem to work like they should..
with the first one you import the ifc part into the freecad model if you want it.. (takes eternities, but this is known..)
and with the second one , you can select and deselect the ifcs you want to see (as mesh, not imported).. with a very long waiting time a the first selection (since is seems to me that the whole file is first read in..)
it is not really practicable for now.. the solibri viewer is instantaneous compare to frecad.
I would wish a filter selection in the ifc-explorer.. de/select all doors.. or whatever..
one can compare too ifc's, or superpose 2 ifc's.. great.. now a tool to translate the imported ifc (freecad model) to the compared ifc (mesh view) would be fine to correct wrongly saved files from architect, plumbing or electrical. (or bad ifc definitions coming from revit ifc-files)

is parallelisation the solution for faster ifc import? (attachment, have no clue what they talk about)

Lukas
Attachments
multicore for CAD.pdf
(225.79 KiB) Downloaded 57 times
Post Reply