Skip to content

Latest commit

 

History

History

backend

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Validation Steps

Serial steps

  1. Syntax Validation
python3 apps/ifc_validation/checks/step_file_parser/main.py --json filename 
  1. Parse Info
import ifcopenshell

...

try:
    ifcopenshell.open(filename)
    # all OK
except ifcopenshell.Error as err:
    print(f'Error: {err}')
  1. Prerequisites
python3 apps/ifc_validation/checks/check_gherkin.py --file-name file_name --task-id id --rule-type CRITICAL (--verbose)

Parallel steps

  1. Schema Validation
python3 -m ifcopenshell.validate --json --rules --fields filename 
  1. bSDD Validation
python3 apps/ifc_validation/checks/check_bsdd.py --file-name file_name --task-id id (--verbose)
  1. Normative Rules - Implementer Agreements (IA)
python3 apps/ifc_validation/checks/check_gherkin.py --file-name file_name --task-id id --rule-type IMPLEMENTER_AGREEMENT (--verbose)
  1. Normative Rules - Informal Proposition (IP)
python3 apps/ifc_validation/checks/check_gherkin.py --file-name file_name --task-id id --rule-type INFORMAL_PROPOSITION (--verbose)
  1. Industry Practices
python3 apps/ifc_validation/checks/check_gherkin.py --file-name file_name --task-id id --rule-type INDUSTRY_PRACTICE (--verbose)