From 5318d5338da1d5a56ffd94bebe30ffeadab87cb7 Mon Sep 17 00:00:00 2001 From: Roy-043 <70520633+Roy-043@users.noreply.github.com> Date: Sat, 1 Nov 2025 12:59:03 +0100 Subject: [PATCH] BIM: no longer use DraftVecUtils.precision() Fixes #24928 Use `Draft.precision()` instead of `DraftVecUtils.precision()`. --- src/Mod/BIM/ArchVRM.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Mod/BIM/ArchVRM.py b/src/Mod/BIM/ArchVRM.py index 61c46fd2de..6a8d60c3e5 100644 --- a/src/Mod/BIM/ArchVRM.py +++ b/src/Mod/BIM/ArchVRM.py @@ -37,6 +37,7 @@ import math import FreeCAD import ArchCommands +import Draft import DraftVecUtils import DraftGeomUtils import Part @@ -663,7 +664,7 @@ class Renderer: "Returns a SVG path data string from a 2D wire" def tostr(val): - return str(round(val, DraftVecUtils.precision())) + return str(round(val, Draft.precision())) edges = Part.__sortEdges__(w.Edges) v = edges[0].Vertexes[0].Point