mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
ff6db5f24d
* ifccityjson-BB integration: include CJIO in makefile * Add ifccityjson to BlenderBIM * Make ifccityjson work like a package * Use pip while installing CJIO dependency for ifccityjson * revert removal of brick module * Changes from pull request review * Use ifccityjson as CLI and as package for BlenderBIM
IFCCityJSON
Converter for CityJSON files and IFC. Currently only supports one-way conversion from CityJSON to IFC.
Dependencies
- IfcOpenShell (also IfcOpenShell api is needed)
- CJIO
Usage of IFCCityJSON
An extended ifccityjson tutorial can be found on the OSARCH wiki Following command will execute a conversion from CityJSON to IFC
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
python ifccityjson.py -i example/3DBAG_example.json -o example/3DBAG_example.ifc -n identificatie
Implemented geometries
- "MultiPoint"
- "MultiLineString"
- "MultiSurface"
- "CompositeSurface"
- "Solid": exterior shell
- "Solid": interior shell
- "MultiSolid"
- "CompositeSolid"
- "GeometryInstance"
TODO
- CityJSON Attributes as IFC properties in 'CityJSON_attributes' pset
- Implement georeferencing
- Do not use template IFC for new IFC file, but make IFC file from scratch
- Create mapping to IFC for all CityJSON object types & semantic surfaces
- Implement conversion of all CitYJSON geometries
- Implement conversion of all LODs instead of only the most detailed