IfcOpenShell is an open source (LGPL) software library for working with the
Industry Foundation Classes (IFC) file format. Currently supported IFC
releases are IFC2x3 TC1 and [IFC4 Add2 TC1].
It's a version I've had on my laptop for a while, but I haven't pushed it. There is a new version (0.7.0) but at the moment I do not know how to compile it on FreeBSD; I will look at it later.
It is part of the wnated port list. https://wiki.freebsd.org/WantedPorts#I-N