Add requested revision by @chennes

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
This commit is contained in:
luzpaz
2021-10-28 10:17:31 -04:00
committed by luz paz
parent 580a52f75c
commit 4dcc03cc72

View File

@@ -132,7 +132,7 @@ def make_sketch(objects_list, autoconstraints=False, addTo=None,
if len(points) >= 2:
poly = Part.makePolygon(points)
if not DraftGeomUtils.is_planar(poly, tol):
App.Console.PrintError(translate("draft","All Shapes must be coplanar") + '\n')
App.Console.PrintError(translate("draft", "All Shapes must be coplanar") + '\n')
return None
normal = DraftGeomUtils.get_normal(poly, tol)
if not normal: