Using PropertyVectorDistance
per yorik: https://forum.freecadweb.org/viewtopic.php?f=3&t=29787#p244785
This commit is contained in:
committed by
Yorik van Havre
parent
c93ff200ca
commit
024ce84da3
@@ -148,7 +148,7 @@ class ObjectOp(object):
|
||||
obj.addProperty("App::PropertyDistance", "SafeHeight", "Depth", QtCore.QT_TRANSLATE_NOOP("PathOp", "Rapid Safety Height between locations."))
|
||||
|
||||
if FeatureStartPoint & features:
|
||||
obj.addProperty("App::PropertyVector", "StartPoint", "Start Point", QtCore.QT_TRANSLATE_NOOP("PathOp", "The start point of this path"))
|
||||
obj.addProperty("App::PropertyVectorDistance", "StartPoint", "Start Point", QtCore.QT_TRANSLATE_NOOP("PathOp", "The start point of this path"))
|
||||
obj.addProperty("App::PropertyBool", "UseStartPoint", "Start Point", QtCore.QT_TRANSLATE_NOOP("PathOp", "make True, if specifying a Start Point"))
|
||||
|
||||
self.initOperation(obj)
|
||||
|
||||
Reference in New Issue
Block a user