Radii in polylines still to big

This commit is contained in:
2024-06-12 21:38:22 +02:00
parent bbdd59ca9b
commit a84a57d901
2 changed files with 10 additions and 3 deletions

View File

@@ -275,8 +275,11 @@ block_list = ["blue_concrete", "red_concrete", "green_concrete",
# p = Polyline((Point2D(-1183, 528), Point2D(-1138, 481),
# Point2D(-1188, 451), Point2D(-1152, 416)))
p = Polyline((Point2D(-1225, 468), Point2D(-1138, 481),
Point2D(-1188, 451), Point2D(-1152, 416)))
# p = Polyline((Point2D(-1225, 468), Point2D(-1138, 481),
# Point2D(-1188, 451), Point2D(-1176, 409), Point2D(-1179, 399)))
p = Polyline((Point2D(-1206, 414), Point2D(-1176, 409),
Point2D(-1188, 451), Point2D(-1138, 481), Point2D(-1225, 500)))
# Point2D(-1156, 378), Point2D(-1220, 359), Point2D(-1265, 290)
# print(p.alpha_radii)
@@ -288,7 +291,7 @@ print(radius)
print(center)
print(p.lengths)
y = 280
y = 160
for i in range(len(p.coordinates)-1):
if p.coordinates[i] != None: