Break random things

This commit is contained in:
2024-06-06 21:55:41 +02:00
parent 9867909e9f
commit e8d3b8d29a
5 changed files with 40 additions and 19 deletions

View File

@@ -17,8 +17,8 @@ class Strip:
self.curvature = curve_tools.curvature(self.curve)
def compute_surface_perpendicular(self, width, normals):
self.offset_left = curve_tools.offset(self.curve, width, normals)
self.offset_right = curve_tools.offset(self.curve, -width, normals)
self.offset_left = curve_tools.offset(self.curve, width/2, normals)
self.offset_right = curve_tools.offset(self.curve, -width/2, normals)
self.perpendicular_segment = []
for i in range(len(self.offset_left)):