Files
IfcOpenShell/src/ifccityjson/README.md
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
1.4 KiB
Markdown
Raw Normal View History

2021-04-23 17:12:29 +02:00
# IFCCityJSON
Converter for CityJSON files and IFC. Currently only supports one-way conversion from CityJSON to IFC.
## Dependencies
- [IfcOpenShell](https://github.com/IfcOpenShell/IfcOpenShell) (also IfcOpenShell api is needed)
- [CJIO](https://github.com/cityjson/cjio)
2021-04-23 17:12:29 +02:00
## Usage of IFCCityJSON
2021-11-01 18:18:46 +01:00
An extended ifccityjson tutorial can be found on [the OSARCH wiki](https://wiki.osarch.org/index.php?title=Ifccityjson)
Following command will execute a conversion from CityJSON to IFC
2021-04-23 17:12:29 +02:00
python ifccityjson.py [-i input file] [-o output file] [-n name of identification attribute]
The example file that could be used is example/3D_BAG_example.json
2021-04-23 17:12:29 +02:00
python ifccityjson.py -i example/3DBAG_example.json -o example/3DBAG_example.ifc -n identificatie
## Implemented geometries
- [x] "MultiPoint"
- [x] "MultiLineString"
2021-04-23 17:12:29 +02:00
- [x] "MultiSurface"
- [x] "CompositeSurface"
2021-04-23 17:12:29 +02:00
- [x] "Solid": exterior shell
- [ ] "Solid": interior shell
- [x] "MultiSolid"
- [x] "CompositeSolid"
- [ ] "GeometryInstance"
## TODO
- [x] CityJSON Attributes as IFC properties in 'CityJSON_attributes' pset
- [x] Implement georeferencing
2021-05-16 15:36:58 +02:00
- [x] Do not use template IFC for new IFC file, but make IFC file from scratch
- [x] Create mapping to IFC for all CityJSON object types & semantic surfaces
- [ ] Implement conversion of all CitYJSON geometries
- [x] Implement conversion of all LODs instead of only the most detailed