Update shape2dview.py
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user