changed name to fit our stile
This commit is contained in:
parent
38418f9bd7
commit
37ad7fae0d
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user