Skip to content

Latest commit

 

History

84 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IFC 4.x specification models

This repository contains sample models for the Industry Foundation Classes (IFC) specifications, complementing the IFC4.x-development repository.

The examples demonstrate how IFC concepts can be represented in small, focused data sets. They are intended to support implementers, software developers, specification authors, and others learning or testing IFC.

Official IFC publications are available from the buildingSMART IFC Specifications Database.

Important

These examples are informative in nature and do not replace the normative specification. Concepts in use in these examples may potentially not adhere to specified schema subsets (model view definitions). For normative use, always refer to the corresponding official buildingSMART publication.

Each example focuses on a particular concept or representation pattern. Where available, a nearby README.md describes the purpose and structure of the sample. The models are deliberately compact so that the relevant IFC entities and relationships can be inspected in textual form. Some examples also include reference images.

Issues with a sample model may be reported in this repository. Issues and proposed changes concerning the IFC specification itself should be submitted to IFC4.x-development.

Repository contents

The models directory organizes examples by subject, including:

  • advanced and basic geometric shapes;
  • alignments, linear positioning, placements, and GIS referencing;
  • building elements;
  • construction scheduling;
  • mapped and tessellated geometry, including styles and textures;
  • structural analysis models; and
  • trimmed-curve parameters and basic project context information.

The test directory contains additional automated checks related to alignment examples.

Validation

All IFC sample files are validated automatically by the repository's continuous-integration workflow. The checks include:

  • verify absence of UTF-8 byte order marks;
  • IFC STEP syntax validation;
  • validation against the current development schema and validation pipeline; and
  • targeted tests for alignment structure and measure types.

On a configured Linux environment, the repository validation can be started from the repository root with:

./validate.sh

The script downloads the current generated schema and validation tooling, updates sample-file schema identifiers to the current identifier, and then runs the validation suite. Because it may modify .ifc files, review the resulting changes before committing them.

License

Copyright © buildingSMART International Ltd. All Rights reserved until formal release. Final IFC is licensed under the Creative Commons Attribution-NoDerivatives 4.0 International License (CC BY-ND 4.0).

About

Models used in the official documentation of IFC

Topics

Resources

Stars

11 stars

Watchers

5 watching

Forks

Releases

Packages

Used by

Contributors

Languages