Draft/Arch: Used new PropertyVectorDistance where needed
This commit is contained in:
@@ -3287,11 +3287,11 @@ class _Dimension(_DraftObject):
|
||||
"The Draft Dimension object"
|
||||
def __init__(self, obj):
|
||||
_DraftObject.__init__(self,obj,"Dimension")
|
||||
obj.addProperty("App::PropertyVector","Start","Draft","Startpoint of dimension")
|
||||
obj.addProperty("App::PropertyVector","End","Draft","Endpoint of dimension")
|
||||
obj.addProperty("App::PropertyVectorDistance","Start","Draft","Startpoint of dimension")
|
||||
obj.addProperty("App::PropertyVectorDistance","End","Draft","Endpoint of dimension")
|
||||
obj.addProperty("App::PropertyVector","Normal","Draft","the normal direction of this dimension")
|
||||
obj.addProperty("App::PropertyVector","Direction","Draft","the normal direction of this dimension")
|
||||
obj.addProperty("App::PropertyVector","Dimline","Draft","Point through which the dimension line passes")
|
||||
obj.addProperty("App::PropertyVectorDistance","Dimline","Draft","Point through which the dimension line passes")
|
||||
obj.addProperty("App::PropertyLink","Support","Draft","The object measured by this dimension")
|
||||
obj.addProperty("App::PropertyLinkSubList","LinkedGeometry","Draft","The geometry this dimension is linked to")
|
||||
obj.addProperty("App::PropertyLength","Distance","Draft","The measurement of this dimension")
|
||||
@@ -3349,7 +3349,7 @@ class _ViewProviderDimension(_ViewProviderDraft):
|
||||
obj.addProperty("App::PropertyDistance","ExtLines","Draft","Length of the extension lines")
|
||||
obj.addProperty("App::PropertyBool","FlipArrows","Draft","Rotate the dimension arrows 180 degrees")
|
||||
obj.addProperty("App::PropertyBool","ShowUnit","Draft","Show the unit suffix")
|
||||
obj.addProperty("App::PropertyVector","TextPosition","Draft","The position of the text. Leave (0,0,0) for automatic position")
|
||||
obj.addProperty("App::PropertyVectorDistance","TextPosition","Draft","The position of the text. Leave (0,0,0) for automatic position")
|
||||
obj.addProperty("App::PropertyString","Override","Draft","Text override. Use $dim to insert the dimension length")
|
||||
obj.FontSize = getParam("textheight",0.20)
|
||||
obj.TextSpacing = getParam("dimspacing",0.05)
|
||||
@@ -3683,8 +3683,8 @@ class _AngularDimension(_DraftObject):
|
||||
_DraftObject.__init__(self,obj,"AngularDimension")
|
||||
obj.addProperty("App::PropertyAngle","FirstAngle","Draft","Start angle of the dimension")
|
||||
obj.addProperty("App::PropertyAngle","LastAngle","Draft","End angle of the dimension")
|
||||
obj.addProperty("App::PropertyVector","Dimline","Draft","Point through which the dimension line passes")
|
||||
obj.addProperty("App::PropertyVector","Center","Draft","The center point of this dimension")
|
||||
obj.addProperty("App::PropertyVectorDistance","Dimline","Draft","Point through which the dimension line passes")
|
||||
obj.addProperty("App::PropertyVectorDistance","Center","Draft","The center point of this dimension")
|
||||
obj.addProperty("App::PropertyVector","Normal","Draft","The normal direction of this dimension")
|
||||
obj.addProperty("App::PropertyLink","Support","Draft","The object measured by this dimension")
|
||||
obj.addProperty("App::PropertyLinkSubList","LinkedGeometry","Draft","The geometry this dimension is linked to")
|
||||
@@ -3719,7 +3719,7 @@ class _ViewProviderAngularDimension(_ViewProviderDraft):
|
||||
obj.addProperty("App::PropertyColor","LineColor","Draft","Line color")
|
||||
obj.addProperty("App::PropertyBool","FlipArrows","Draft","Rotate the dimension arrows 180 degrees")
|
||||
obj.addProperty("App::PropertyBool","ShowUnit","Draft","Show the unit suffix")
|
||||
obj.addProperty("App::PropertyVector","TextPosition","Draft","The position of the text. Leave (0,0,0) for automatic position")
|
||||
obj.addProperty("App::PropertyVectorDistance","TextPosition","Draft","The position of the text. Leave (0,0,0) for automatic position")
|
||||
obj.addProperty("App::PropertyString","Override","Draft","Text override. Use 'dim' to insert the dimension length")
|
||||
obj.FontSize = getParam("textheight",0.20)
|
||||
obj.FontName = getParam("textfont","")
|
||||
@@ -4131,8 +4131,8 @@ class _Wire(_DraftObject):
|
||||
obj.addProperty("App::PropertyBool","Closed","Draft","If the wire is closed or not")
|
||||
obj.addProperty("App::PropertyLink","Base","Draft","The base object is the wire is formed from 2 objects")
|
||||
obj.addProperty("App::PropertyLink","Tool","Draft","The tool object is the wire is formed from 2 objects")
|
||||
obj.addProperty("App::PropertyVector","Start","Draft","The start point of this line")
|
||||
obj.addProperty("App::PropertyVector","End","Draft","The end point of this line")
|
||||
obj.addProperty("App::PropertyVectorDistance","Start","Draft","The start point of this line")
|
||||
obj.addProperty("App::PropertyVectorDistance","End","Draft","The end point of this line")
|
||||
obj.addProperty("App::PropertyLength","Length","Draft","The length of this line")
|
||||
obj.addProperty("App::PropertyLength","FilletRadius","Draft","Radius to use to fillet the corners")
|
||||
obj.addProperty("App::PropertyLength","ChamferSize","Draft","Size of the chamfer to give to the corners")
|
||||
@@ -4739,11 +4739,11 @@ class _Array(_DraftObject):
|
||||
obj.addProperty("App::PropertyInteger","NumberY","Draft","Number of copies in Y direction")
|
||||
obj.addProperty("App::PropertyInteger","NumberZ","Draft","Number of copies in Z direction")
|
||||
obj.addProperty("App::PropertyInteger","NumberPolar","Draft","Number of copies")
|
||||
obj.addProperty("App::PropertyVector","IntervalX","Draft","Distance and orientation of intervals in X direction")
|
||||
obj.addProperty("App::PropertyVector","IntervalY","Draft","Distance and orientation of intervals in Y direction")
|
||||
obj.addProperty("App::PropertyVector","IntervalZ","Draft","Distance and orientation of intervals in Z direction")
|
||||
obj.addProperty("App::PropertyVector","IntervalAxis","Draft","Distance and orientation of intervals in Axis direction")
|
||||
obj.addProperty("App::PropertyVector","Center","Draft","Center point")
|
||||
obj.addProperty("App::PropertyVectorDistance","IntervalX","Draft","Distance and orientation of intervals in X direction")
|
||||
obj.addProperty("App::PropertyVectorDistance","IntervalY","Draft","Distance and orientation of intervals in Y direction")
|
||||
obj.addProperty("App::PropertyVectorDistance","IntervalZ","Draft","Distance and orientation of intervals in Z direction")
|
||||
obj.addProperty("App::PropertyVectorDistance","IntervalAxis","Draft","Distance and orientation of intervals in Axis direction")
|
||||
obj.addProperty("App::PropertyVectorDistance","Center","Draft","Center point")
|
||||
obj.addProperty("App::PropertyAngle","Angle","Draft","Angle to cover with copies")
|
||||
obj.addProperty("App::PropertyBool","Fuse","Draft","Specifies if copies must be fused (slower)")
|
||||
obj.ArrayType = ['ortho','polar']
|
||||
@@ -4838,7 +4838,7 @@ class _PathArray(_DraftObject):
|
||||
obj.addProperty("App::PropertyLink","PathObj","Draft","The path object along which to distribute objects")
|
||||
obj.addProperty("App::PropertyLinkSubList","PathSubs","Draft","Selected subobjects (edges) of PathObj")
|
||||
obj.addProperty("App::PropertyInteger","Count","Draft","Number of copies")
|
||||
obj.addProperty("App::PropertyVector","Xlate","Draft","Optional translation vector")
|
||||
obj.addProperty("App::PropertyVectorDistance","Xlate","Draft","Optional translation vector")
|
||||
obj.addProperty("App::PropertyBool","Align","Draft","Orientation of Base along path")
|
||||
obj.Count = 2
|
||||
obj.PathSubs = []
|
||||
|
||||
Reference in New Issue
Block a user