|
@@ -42,8 +42,10 @@ def calc_adjacent_relation(columns, segments, v_walls, walls):
|
|
space_relation.update(binary_space_relations)
|
|
space_relation.update(binary_space_relations)
|
|
|
|
|
|
relations = []
|
|
relations = []
|
|
|
|
+ result_key = ['from', 'to']
|
|
for relation in space_relation:
|
|
for relation in space_relation:
|
|
- relations.append(relation)
|
|
|
|
|
|
+ temp = dict(zip(result_key, relation.split('@')))
|
|
|
|
+ relations.append(temp)
|
|
|
|
|
|
return relations
|
|
return relations
|
|
|
|
|