Collaboration with other software
About model and data exchange with 3rd party solutions: Revit, Solibri, dRofus, Bluebeam, structural analysis solutions, and IFC, BCF and DXF/DWG-based exchange, etc.

Triangulation patterns in .ifc file format using coordinates and indexes

Anonymous
Not applicable
I've posted this in another forum as well due to the mathematical nature of the issue:
http://mathhelpforum.com/math-software/280400-triangulation-patterns-ifc-file-format-using-coordinates-indexes.html#post934494

I'm doing some manipulation of raw string data from an .ifc file exported from Archicad.
I have an .ifc file in which the raw data exported describes a wall in the xy plane by a set of coordinates and their corresponding indexes according to the link explanation:
http://www.buildingsmart-tech.org/ifc/IFC4/final/html/schema/ifcgeometricmodelresource/lexical/ifctriangulatedfaceset.htm

The following is a link to a txt file where the data is divided into the coordinates in xyz space, then indexes and some other data:
https://ufile.io/kb7bx

I was hoping that someone can help me understand how to link the indexes to their corresponding coordinates. There are 164 coordinate pairs and 324 index pairs so it doesn't make sense to me that each index relates to only 1 coordinate pair.

The goal is to establish a relationship between indexes and coordinates such that this type of data can output the wall thickness, which is in this case '10'. I was thinking that (according to the link above) by taking the first triangle described, it should describe the edge of the wall in 3D and therefore give us one of its sides as the shortest segment in the wall which is the thickness.

I received an answer in the mentioned forum post, that I should "...expanding out each coordinate in terms of X's, Y's, and Z's [instead of (X,Y,Z) triples) and then use every index triple to get the actual coordinate for the individual coordinate instead of one triple. So for example you have X[], Y[] and Z[] and you have an index (a,b,c) then you find X, Y, and Z not Point(a,b,c)... "

I didn't quite understand this explanation, and would appreciate a...

0 REPLIES 0