Update shape2dview.py

This commit is contained in:
FEA-eng
2024-06-15 22:06:35 +02:00
committed by Chris Hennes
parent c2526bd7af
commit be32fc6773

View File

@@ -93,15 +93,13 @@ class Shape2DView(DraftObject):
obj.Tessellation = False
if not "InPlace" in pl:
_tip = QT_TRANSLATE_NOOP("App::Property",
"For Cutlines and Cutfaces modes, \
this leaves the faces at the cut location")
"For Cutlines and Cutfaces modes, this leaves the faces at the cut location")
obj.addProperty("App::PropertyBool", "InPlace",
"Draft", _tip)
obj.InPlace = True
if not "SegmentLength" in pl:
_tip = QT_TRANSLATE_NOOP("App::Property",
"Length of line segments if tessellating Ellipses or B-splines \
into line segments")
"Length of line segments if tessellating Ellipses or B-splines into line segments")
obj.addProperty("App::PropertyFloat", "SegmentLength",
"Draft", _tip)
obj.SegmentLength = .05