Extracting Geometry from IFC File
<p>I have to extract the geometry of a ifc file in JAVA. My problem is, that i don't know how to do it.</p>

<p>I tried to use <a href="http://www.openifctools.org/" rel="nofollow">openifctools</a> but the documentation is really bad. For now i have the ifc file loaded, but i cannot get the geometry out of the model. </p>

<p>Does anyone have experience with ifc model loading?</p>

<p>Thanks in advance.</p>

<p>EDIT: This is what I've done so far</p>

<pre><code>try {
    IfcModel ifcModel = new IfcModel();
    ifcModel.readStepFile(new File("my-project.ifc"));
    Collection&lt;IfcClass&gt; ifcObjects = ifcModel.getIfcObjects();
    System.out.println(ifcObjects.iterator().next());
} catch (Exception e) {
    e.printStackTrace();
}
</code></pre>

<p>This correctly loads the ifc file. But I don't know what to do with this information. </p>

<p>I also tried to use <a href="http://ifcopenshell.org/index.html" rel="nofollow">IfcOpenShell</a> but the provided jar container hadn't worked either. At the moment I try to build IfcOpenShell by myself.</p>

<p>I'm kinda desperate because everything is very undocumented and I really need to load and parse the ifc geometry.</p>
