Alle Unterverteiler heissen vom Text her immer +<Verteilername> und nicht -<Verteilername>

This commit is contained in:
2025-07-23 17:08:09 +02:00
parent 56aa84f225
commit 55da6645c6
+1 -1
View File
@@ -429,7 +429,7 @@ def get_subdistributor_positions_iter(dxf_path, dist2sensors: dict) -> dict:
if entity_layer != layer_name:
continue
for distname in all_distributors:
if f"-{distname}" in entity_text:
if f"+{distname}" in entity_text:
ret[distname] = (round(insert_point[0], 1), round(insert_point[1], 1))
return ret