- upgrade to use the new notations in the Shapely's buffer method for the cap_style and join_style parameters (used to be integers, now they are strings or defines)

This commit is contained in:
Marius Stanciu
2025-03-05 01:49:19 +02:00
parent bc3fb8fdee
commit 3f504e86c6
19 changed files with 88 additions and 84 deletions

View File

@@ -731,7 +731,7 @@ class ExclusionAreas(QtCore.QObject):
for area in self.exclusion_areas_storage:
new_area = deepcopy(area)
new_area['shape'] = area['shape'].buffer(buffered_distance, join_style=2)
new_area['shape'] = area['shape'].buffer(buffered_distance, join_style="mitre")
buffered_storage.append(new_area)
# sort the Exclusion areas from the closest to the start_point to the farthest