D
by duncan on 25 Jul 2021, edited 4 Apr 2022
#
I would love it if we could gather resources here on the tools available for IFC file validation. This is not validation of the geometry or anything like that but instead validation that the files data structure is well formed. Please help me expand the list and add your comments
FLOSS solutions:
-
BIMtester (from IfcOpenShell and part of BlenderBIM Add-on) can read MicroMVD and is building support for buildingSmart IDS support.
-
IfcValidator (from OpenSourceBIM) looks like it's not active any more.
Proprietary solutions:
What else do people know about?
P
by paullee on 26 Jul 2021
#
I remember Yorik / Bernd mention using IFC++ to open the file to verify if the IFC is good enough. Bernd has even a repository for proper compilation on Linux.
Good to have a discussion / wiki on 'proper' / 'orthodox' way of validation indeed :)
( BTW, some time I find IFC++ has different behavior from other like BIMServer. )
B
by bernd on 27 Jul 2021
#
Proprietary clound solutions:
B
by brunopostle on 27 Jul 2021
#
+3 votes
The first-stop for validating an IFC file is IfcOpenShell itself:
python -m ifcopenshell.validate project.ifc
..or several files at once (I just discovered lots of things I need to fix with this one):
python -m ifcopenshell.validate *.ifc
B
by bitacovir on 27 Jul 2021
#
+1 votes
Related tool in the BIM workbench of FreeCAD
https://wiki.freecadweb.org/BIM_Preflight
T
by tlang on 28 Jul 2021, edited 28 Jul 2021
#
+1 votes
@duncan buildingsmart Norway and Statsbygg have some publicly released mvdxml based filters that are created in the bimQ database by AEC3: https://www.bimq.de/en/
https://sites.google.com/view/statsbyggs-bim-manual-2-0-sbm2/hjem
Mr. Frode Mohus from Statsbygg sent me some links and test files to try out after I saw this presentation:
http://www.eubim.eu/wp-content/uploads/2019/08/2019-08-28_EU_BIM_Task_Group_Statsbygg_BIM_Manual_20_v101.pdf
Recommended tools with mvdxml capability are Simplebim and Xbim
M
by Moult on 29 Jul 2021
#
+1 votes
For those interested, validating an IFC can also be done graphically via the BlenderBIM Add-on UI in the debug panel - in addition, there are a variety of debugging tools to see why the data isn't coming through correctly, including generating partial shapes, profiling, and inspecting relationships.
C
by CadGiru on 31 Mar 2022, edited 31 Mar 2022
#
With validate.py
Does key, Level generate any other value than error ?
{
"level": "error",
"message": "() not valid for <attribute HasProperties: <set [1:?] of <entity IfcProperty>>>",
"instance": "#1096=IfcPropertySet('1MBM1sEgT9CgfDdbdOE4JQ',#45,'Attributter','',())"
},
B
by Bimlooser on 31 Mar 2022
#
I like BimTester but i'm not so able in creating IDSs.
I don't know which category belongs https://regola.io/ but could be useful, I think they used your code too
M
by mcnill on 4 Apr 2022
#
There are 2 tools from the KIT. One is a standalone checking tool and the other one is a viewer with some semantic checking built-in i guess.
https://www.iai.kit.edu/1302.php
An other tool i often found usefull is from NIST.
https://github.com/usnistgov/IFA