Initial development for shared wall implementation.

This commit is contained in:
Guille Gutierrez 2020-05-28 12:07:36 -04:00
parent ce9f1a7c14
commit 4f57ff3ddf

View File

@ -50,11 +50,4 @@ class Init:
self._city = GeometryFactory('citygml', self._geometry_path).city
PhysicsFactory(self.handler, self._city)
UsageFactory(self.handler, self._city)
# todo: not sure if this is the best way
# todo: up to now, there is only one usage_zone, but this will change in the future
# and this method must be revised
for city_object in self._city.city_objects:
usage_zones_list = [100, city_object.usage_zones[0]]
for thermal_zone in city_object.thermal_zones:
thermal_zone.set_usage_zones(usage_zones_list)
return self._city