From 6f7f64e436abbfe90cd49b9964c1d737042d9ad9 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Thu, 14 Sep 2023 09:37:31 +0200 Subject: [PATCH] Draft: use master version of dxf libraries - issue yorikvanhavre/Draft-dxf-importer#26 (#10670) --- src/Mod/Draft/importDXF.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Mod/Draft/importDXF.py b/src/Mod/Draft/importDXF.py index cf053fc4c7..3de9923162 100644 --- a/src/Mod/Draft/importDXF.py +++ b/src/Mod/Draft/importDXF.py @@ -46,9 +46,9 @@ lines, polylines, lwpolylines, circles, arcs, texts, colors,layers (from groups) """ # scaling factor between autocad font sizes and coin font sizes -# the minimum version of the dxfLibrary needed to run TEXTSCALING = 1.35 -CURRENTDXFLIB = 1.41 +# the minimum version of the dxfLibrary needed to run - OBSOLETE - not used anymore +# CURRENTDXFLIB = 1.41 import sys import os @@ -118,7 +118,8 @@ def errorDXFLib(gui): _weburl = 'https://raw.githubusercontent.com/yorikvanhavre/' _weburl += 'Draft-dxf-importer/' - baseurl = _weburl + '{0:.2f}'.format(CURRENTDXFLIB) + "/" + # baseurl = _weburl + '{0:.2f}'.format(CURRENTDXFLIB) + "/" + baseurl = _weburl + "master/" import ArchCommands from FreeCAD import Base progressbar = Base.ProgressIndicator()