Remove polyline wall size limit restriction. See #6162

This commit is contained in:
Bruno Perdigão
2025-02-25 18:05:12 -03:00
parent 81f4b08b6d
commit 0104a2cc9f
2 changed files with 0 additions and 4 deletions
@@ -712,8 +712,6 @@ class DumbWallGenerator:
def create_wall_from_2_points(self, coords, should_round=False) -> Union[dict[str, Any], None]:
direction = coords[1] - coords[0]
length = direction.length
if round(length, 4) < 0.1:
return
data = {"coords": coords}
self.length = length
-2
View File
@@ -534,8 +534,6 @@ class Polyline(bonsai.core.tool.Polyline):
length = (
Vector((x, y, z)) - Vector((polyline_points[-1].x, polyline_points[-1].y, polyline_points[-1].z))
).length
if round(length, 4) < 0.1:
return "Cannot create a segment smaller then 10cm"
polyline_point = polyline_points.add()
polyline_point.x = x