- 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

@@ -312,7 +312,7 @@ class QRCode(AppTool):
if self.ui.bb_radio.get_value() == 'r':
mask_geo = box(a, b, c, d).buffer(buff_val)
else:
mask_geo = box(a, b, c, d).buffer(buff_val, join_style=2)
mask_geo = box(a, b, c, d).buffer(buff_val, join_style="mitre")
# update the solid geometry with the cutout (if it is the case)
new_solid_geometry = []