[Feature Request] [Draft] [UI/UX] Remove the center arrow on radial dimensions (#10655)

Related to issue #7573

Forum discussion

https://forum.freecadweb.org/viewtopic.php?p=631252#p631252

These modifications don't add the new properties suggested on the issue mentioned above and suggested on the forum discussion but just remove the center arrow

Other info and discussion can be found at https://gitlab.com/calligarov/FreeCAD/-/merge_requests/1
This commit is contained in:
CalligaroV
2023-09-13 15:27:51 +02:00
committed by GitHub
parent 0b13057f10
commit 457b676972
2 changed files with 27 additions and 12 deletions

View File

@@ -350,10 +350,14 @@ def _svg_dimension(obj, plane, scale, linewidth, fontsize,
if vobj.FlipArrows:
angle = angle + math.pi
svg += get_arrow(obj,
vobj.ArrowType,
p2, arrowsize, stroke, linewidth,
angle)
if not hasattr(obj, "Diameter") \
or obj.Diameter \
or not prx.is_linked_to_circle():
svg += get_arrow(obj,
vobj.ArrowType,
p2, arrowsize, stroke, linewidth,
angle)
svg += get_arrow(obj,
vobj.ArrowType,
p3, arrowsize, stroke, linewidth,