True roads very quick

This commit is contained in:
2024-06-24 21:54:10 +02:00
parent cf889d3e10
commit 8a3909c12f
21 changed files with 146 additions and 72 deletions

View File

@@ -240,7 +240,7 @@ class Segment2D:
reel_distance = self.points_thick_by_line[0][0].distance(
self.points_thick_by_line[-1][0])
delta_correction = round(reel_distance - thickness)
delta_correction = round(reel_distance - thickness)-1
if delta_correction > 0:
for i in range(delta_correction):
if (-1) ** i == 1: