changed name to fit our stile

This commit is contained in:
Pilar Monsalvete 2023-06-08 11:25:57 -04:00
parent 38418f9bd7
commit 37ad7fae0d

View File

@ -1,15 +1,13 @@
from pathlib import Path
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
path = Path(__file__).parent
for building in city.buildings:
print(building.name)
print(building.volume)
print(building.floor_area)
ExportsFactory('obj', city, path).export()
ExportsFactory('obj', city, './').export()