Fix breaking height partially
This commit is contained in:
@@ -69,6 +69,9 @@ class Polyline:
|
||||
self.total_line_output.extend(
|
||||
self.segments[self.length_polyline-1].segment())
|
||||
|
||||
self.total_line_output = self.total_line_output[0].optimized_path(
|
||||
self.total_line_output)
|
||||
|
||||
def __repr__(self):
|
||||
return str(self.alpha_radii)
|
||||
|
||||
|
||||
@@ -27,10 +27,9 @@ class Road:
|
||||
self._projection()
|
||||
self._surface()
|
||||
|
||||
print(self.polyline_total_line_output)
|
||||
|
||||
def _surface(self):
|
||||
# Segments
|
||||
|
||||
for i in range(1, len(self.polyline.segments)):
|
||||
if len(self.polyline.segments[i].segment()) > 1:
|
||||
for j in range(len(self.polyline.segments[i].segment_thick(self.width, LINE_THICKNESS_MODE.MIDDLE))):
|
||||
|
||||
Reference in New Issue
Block a user