Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI for IFC file validation? #1

Open
tymokvo opened this issue Sep 26, 2022 · 2 comments
Open

CLI for IFC file validation? #1

tymokvo opened this issue Sep 26, 2022 · 2 comments

Comments

@tymokvo
Copy link

tymokvo commented Sep 26, 2022

Hello!

I came across this repository while looking for a solution to validate IFC files locally. The readme here seems to be focused on deploying this service for high availability as a web API.

Is there a recommended way to validate IFC files on a local machine and in a cross-platform (Win, Max, Linux) way?

@Moult
Copy link
Collaborator

Moult commented Sep 26, 2022

This repo seems to provide a service that combines 4 validation "levels" as described in the README. You can run steps 1 and 2 easily locally (for example the BlenderBIM Add-on also comes with a button to trigger the ifcopenshell.validate module).

@aothms
Copy link
Collaborator

aothms commented Sep 27, 2022

4 validation "levels"

Correct. Most of these can be ran independently and are cli tools deliberately for easy of development and testing:

  1. Syntax: https://github.com/IfcOpenShell/step-file-parser
  2. Schema: python -m ifcopenshell.validate
  3. bsDD: built-in code in this repo
  4. Gherkin rules: https://github.com/buildingSMART/ifc-gherkin-rules

2 is most mature currently, but is missing the where rules (being worked on) 4 is currently just a prototype

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants