Skip to content
A multi-platform command line tool for extracting the structural hierarchy of the building elements within an IFC into the metadata format of the xeokit-sdk.
C#
Branch: develop
Clone or download

Latest commit

BalintBende feature: Extract model creation/version/authoring metadata #5, MetaMo…
…del struct is extended with author, date of creation, schema, creating application.
Latest commit 3f07b5f Mar 4, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist Fixing async issue where output file might end up truncated. Sep 23, 2019
xeokit
.gitignore
LICENSE Added a LICENSE Jul 27, 2019
MetaModel.schema.json Renamed main namespace and extended Readme. Jul 27, 2019
README.md Update Readme.md Dec 13, 2019

README.md

xeokit-metadata

The xeokit-metadata is a multi-platform command line tool for extracting the structural hierarchy of the building elements within an IFC into the metadata format of the xeokit-sdk.

Usage

$ wget --quiet https://github.com/bimspot/xeokit-metadata/releases/download/0.0.5/xeokit-metadata-linux-x64.tar.gz
$ tar -zxvf xeokit-metadata-linux-x64.tar.gz
$ chmod +x xeokit-metadata-linux-x64/xeokit-metadata
$ ln -s /absolute/path/to/xeokit-metadata-linux-x64/xeokit-metadata /usr/local/bin/xeokit-metadata

See the usage with xeokit-sdk here.

JSON

See the JSON schema in the repo: MetaModel.schema.json.

Example:

{
  "id": "Geldropseweg 47",
  "projectId": "344O7vICcwH8qAEnwJDjSU",
  "metaObjects": [
    {
      "id": "344O7vICcwH8qAEnwJDjSU",
      "name": "Geldropseweg 47",
      "type": "IfcProject",
      "parent": null
    },
    {
      "id": "1GJdSmuaI6JvfGvF8t8fMD",
      "name": "-01. Fundering",
      "type": "IfcBuildingStorey",
      "parent": null
    },
    {
      "id": "1aR5aRgqnAJ9NEC7sfD6qG",
      "name": "21_1 WAND NC",
      "type": "IfcWall",
      "parent": "1GJdSmuaI6JvfGvF8t8fMD"
    }
  ]
}

Credits

Created by BIMspot for the xeokit-sdk using the XbimEssentials and the NewtonSoft JSON libraries.

You can’t perform that action at this time.