IFC File Validation Workflow
This document outlines how Industry Foundation Classes (IFC) files should be validated as part of the OpenPermit submission process. The goal is to ensure that building models conform to open standards and local code requirements before they are used in permitting workflows.
1. Schema Validation
- Validate against the official IFC schema
- Use tools such as IfcOpenShell or
ifc-validator
to check compliance with the appropriate IFC release (e.g., IFC4 or IFC4x3).
- Ensure that geometry and property sets are defined according to the EXPRESS schema.
- Check JSON representations
2. Code and Rule Compliance
- Local code requirements
- Run rule-based checks to verify that the model meets municipal code constraints (e.g., maximum building height, required safety clearances).
- Libraries like BIMTester or the IfcOpenShell Python API can automate these rule checks.
- Geometry and spatial validation
- Validate spatial relationships (e.g., clashes, accessibility) using open-source tools such as IfcOpenShell’s
ifc-clash
or BCF workflows.
3. Integration with OpenPermit
- Submission pipeline
- Feedback and reporting
- Collect validation results (errors, warnings, and rule violations) and store them alongside the permit record.
- Provide applicants with a report highlighting issues that need to be resolved.
- Manual review
- After automated checks pass, reviewers can inspect the model using tools like BlenderBIM or other IFC viewers to confirm compliance.
- IfcOpenShell – open-source library for parsing, validating, and manipulating IFC files.
- BIMTester – behavior-driven testing framework for IFC models.
- BlenderBIM – IFC authoring and review toolkit built on Blender.
- ifc-validator – lightweight command-line validator for IFC schema compliance.
Summary
By integrating schema validation and rule-based checks into the submission workflow, OpenPermit ensures that IFC files are consistent with open standards and local regulations. Automated validation provides immediate feedback to applicants, while manual review tools help authorities confirm compliance before issuing permits.