try to fix doors again 🥺
This commit is contained in:
parent
ee0d7102b2
commit
3595a875e8
1 changed files with 1 additions and 1 deletions
|
@ -294,7 +294,7 @@ class SingleLevelGeometries(BaseLevelGeometries):
|
||||||
doors_geom = doors_geom.intersection(buildings_geom)
|
doors_geom = doors_geom.intersection(buildings_geom)
|
||||||
walkable_spaces_geom = unary_union([unwrap_geom(space.walkable_geom) for space in spaces])
|
walkable_spaces_geom = unary_union([unwrap_geom(space.walkable_geom) for space in spaces])
|
||||||
doors_geom = doors_geom.difference(walkable_spaces_geom)
|
doors_geom = doors_geom.difference(walkable_spaces_geom)
|
||||||
walls_geom = buildings_geom.difference(unary_union((spaces_geom, doors_geom)))
|
walls_geom = buildings_geom.difference(unary_union((spaces_geom, doors_geom.buffer(0.01))))
|
||||||
if level.on_top_of_id is None:
|
if level.on_top_of_id is None:
|
||||||
holes_geom = unary_union([s.holes_geom for s in spaces])
|
holes_geom = unary_union([s.holes_geom for s in spaces])
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue