Yes, cmake-gui is my friend. On Kubuntu 14.04 mine looks like this after setting some paths
The other key is to get the occt paths right. Notice on Ubuntu the .libs are in the multi-arch directory.
Some highlights are the source dir is the cmake sub directory.Modelling for IFC export
Re: Modelling for IFC export
"fight the good fight"
Re: Modelling for IFC export
Thanks, the build-all.py (with change aothms /IfcOpenShell suggested) finally run on my Fedora 27.sgrogan wrote: ↑Sat Sep 29, 2018 6:22 pm Yes, cmake-gui is my friend. On Kubuntu 14.04 mine looks like this after setting some paths
ifc.png
Some highlights are the source dir is the cmake sub directory.
The other key is to get the occt paths right. Notice on Ubuntu the .libs are in the multi-arch directory.
It is huge - ~ 21-22G !!! The IfcOpenShell-Python downloaded is only 16.8M - There is almost 21G I do not need !?
So I do not need to run build-all.py script and run cmake-gui directly ?
Re: Modelling for IFC export
I remember I should have one time use this cmake-gui..... for ifcPlusPlus?
I locate the 'source code' as you do, guess I should press Configure...
... then there is Error message ' unable to find header files, aborting'
... maybe opening/digging out another thread on IfcOpenShell compilation for further discussion.
I locate the 'source code' as you do, guess I should press Configure...
... then there is Error message ' unable to find header files, aborting'
... maybe opening/digging out another thread on IfcOpenShell compilation for further discussion.
Re: Modelling for IFC export
I thought I have pressed 'submit' on below earlier but it is not here...so re-post...yorik wrote: ↑Sat Sep 29, 2018 2:41 pm
The case of "complex" sketches is complicated. Internally, an Arch wall built on such a complex sketch will build a wall on each wire found in the sketch, then union those wires. So the IFC exporter doesn't have a 2D profile to extrude. Maybe as a quick workaround we could force-export these walls as breps. But I am still not sure what would be a better solution...
I am more interested in this case - I attempt to look at the IfcExport.py and failed to understand of cos
Just thinking if this make sense:-
- ArchWall seems generate base 2d profiles for each wires it get (getExtursion) ... then union them for extrusion
- So can IfcExport just export those 2d profiles one by one (with same extrusion)
- I look at the *.ifc file withe the 'simple' sketch : it seem there is a complete 'polyline' description
Re: Modelling for IFC export
After hours of build_all.py, there seems no Python 2.7.6 only Python-2.7.12 version compiled...
EDIT:
seem copying _ifcopenshell_wrapper.so ifcopenshell_wrapper.py does not work
Console just return IfcOpenShell is not available...
OK, turn out the folder need to be all lowercase 'ifcopenshell', it works now. Thanks
Re: Modelling for IFC export
Actually I just had a better look, it does that already. But there is some weird behaviour that doesn't union the faces correctly... Needs some further investigation