Hi fellow IFCers,
I’ve searched on the wide wide web for any tool that could perform a “querying operation” along a line and I couldn’t find anything that would be obviously useful to me. Since a “querying operation” is not really descriptive, I’ll provide a more detailed description of our problem and what are the results we would like to obtain.
Let’s say we have three walls with different widths, materials and distances in between them. A line is passing through these walls like this:
We then export these walls as IFC and we get the line in a seperate IFC file as a IfcCurve.(IfcLine, IfcPolyline or IfcBSplineCurve, etc.).
Next we need to perform a query along this line through the IFC 3D geometry to get sections of the line that pass through a particular 3D objects. We then would need to get some properties on these sections that are pulled from 3D objects (the material in this simple case). Our end result would be a table (XML, CSV, etc.) carrying data like this:
Mind you that the these could be any 3D objects (proxy included).
I hope I was able to explain the problem properly.
I’ve already checked tools like IfcOpenShell and IFC++, but the documentation on these tools is sparse and my programming skills aren’t as good as I’d wish, so there might be an obvious solution using these two or some other tools and I just can’t find it. If you have any suggestions on how this could be done and how we could use a tool to code the solution, don’t hesitate to speak out.
Any and all help would be much appreciated.