Fork from http://sourceforge.net/projects/ifcopenshell/ with adaptations