diff --git a/src/Mod/Draft/Draft.py b/src/Mod/Draft/Draft.py
index 5e5d289359..01f42f4842 100644
--- a/src/Mod/Draft/Draft.py
+++ b/src/Mod/Draft/Draft.py
@@ -65,7 +65,7 @@ else:
def translate(ctx,txt):
return txt
-arrowtypes = ["Dot","Circle","Arrow","Tick"]
+arrowtypes = ["Dot","Circle","Arrow","Tick","Tick-2"]
#---------------------------------------------------------------------------
# General functions
@@ -303,6 +303,15 @@ def dimSymbol(symbol=None,invert=False):
marker.addChild(c)
marker.addChild(f)
return marker
+ elif symbol == 4:
+ marker = coin.SoSeparator()
+ v = coin.SoVertexProperty()
+ v.vertex.set1Value(0, -1.5,-1.5,0)
+ v.vertex.set1Value(1, 1.5,1.5,0)
+ l = coin.SoLineSet()
+ l.vertexProperty = v
+ marker.addChild(l)
+ return marker
else:
print("Draft.dimsymbol: Not implemented")
return coin.SoSphere()
@@ -2146,6 +2155,16 @@ def getSVG(obj,scale=1,linewidth=0.35,fontsize=12,fillstyle="shape color",direct
svg += 'fill="'+ color +'" stroke="none" '
svg += 'style="stroke-miterlimit:4;stroke-dasharray:none" '
svg += 'd="M -1 -2 L 0 2 L 1 2 L 0 -2 Z"/>\n'
+ elif obj.ViewObject.ArrowType == "Tick-2":
+ svg += '\n'
else:
print("getSVG: arrow type not implemented")
return svg
diff --git a/src/Mod/Draft/Resources/ui/preferences-drafttexts.ui b/src/Mod/Draft/Resources/ui/preferences-drafttexts.ui
index 5562757aed..3486295be2 100644
--- a/src/Mod/Draft/Resources/ui/preferences-drafttexts.ui
+++ b/src/Mod/Draft/Resources/ui/preferences-drafttexts.ui
@@ -266,6 +266,11 @@ such as "Arial:Bold"
Tick
+ -
+
+ Tick-2
+
+