From 4f57ff3ddf2ba91f5e277ce42bbe0bf6335bf142 Mon Sep 17 00:00:00 2001 From: Guille Date: Thu, 28 May 2020 12:07:36 -0400 Subject: [PATCH] Initial development for shared wall implementation. --- init.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/init.py b/init.py index 6e66126..0bd61c1 100644 --- a/init.py +++ b/init.py @@ -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