14 lines
382 B
Python
14 lines
382 B
Python
|
from hub.imports.geometry_factory import GeometryFactory
|
||
|
from hub.exports.exports_factory import ExportsFactory
|
||
|
|
||
|
|
||
|
gml_file = './FZK-Haus-LoD2-KIT-IAI-KHH-B36-V1.gml'
|
||
|
city = GeometryFactory('citygml', gml_file).city
|
||
|
|
||
|
for building in city.buildings:
|
||
|
print(building.name)
|
||
|
print(building.volume)
|
||
|
print(building.floor_area)
|
||
|
|
||
|
ExportsFactory('obj', city, './').export()
|