-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Renamed main namespace and extended Readme.
- Loading branch information
Adam Eri
committed
Jul 27, 2019
1 parent
42c4dc9
commit 01d1f8c
Showing
8 changed files
with
92 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
.idea | ||
bin | ||
obj | ||
*.zip | ||
*.tar.gz |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,61 @@ | ||
# xeokit-metadata-utils | ||
# 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`][0]. Currently only IFC 2x3 is supported. | ||
|
||
## Usage | ||
|
||
``` | ||
$ mkdir xeokit-metadata | ||
$ wget https://github.com/bimspot/xeokit-metadata/releases/download/0.0.1/xeokit-metadata-linux-x64.tar.gz | ||
$ tar -zxvf xeokit-metadata-linux-x64.tar.gz | ||
$ chmod +x xeokit-metadata | ||
$ ./xeokit-metadata /path/to/project/scene.ifc /path/to/project/metadata.json | ||
``` | ||
|
||
[See the usage with `xeokit-sdk` here][0]. | ||
|
||
## JSON | ||
|
||
See the JSON schema in the repo: `MetaModel.schema.json`. | ||
|
||
Example: | ||
|
||
```json | ||
{ | ||
"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][1] for the [`xeokit-sdk`][2] using the | ||
[`XbimEssentials`][3] and the [NewtonSoft JSON][4] libraries. | ||
|
||
[0]: https://github.com/xeokit/xeokit-sdk/wiki/Viewing-BIM-Models-Offline | ||
[1]: https://bimspot.io | ||
[2]: https://xeokit.io | ||
[3]: https://github.com/xBimTeam/XbimEssentials | ||
[4]: https://www.newtonsoft.com/json |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<TargetFramework>netcoreapp2.2</TargetFramework> | ||
<LangVersion>latest</LangVersion> | ||
<PackageVersion>0.0.1</PackageVersion> | ||
<Title>xeokit-metadata</Title> | ||
<Authors>bimspot.io</Authors> | ||
<Copyright>BIM SPOT GmbH</Copyright> | ||
<PackageProjectUrl>https://github.com/bimspot/xeokit-metadata-utils</PackageProjectUrl> | ||
<PackageLicenseUrl>https://github.com/bimspot/xeokit-metadata-utils/LICENSE</PackageLicenseUrl> | ||
<RepositoryUrl>https://github.com/bimspot/xeokit-metadata-utils</RepositoryUrl> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' "> | ||
<PlatformTarget>AnyCPU</PlatformTarget> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Newtonsoft.Json" Version="12.0.2" /> | ||
<PackageReference Include="Xbim.Essentials" Version="5.1.259" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters