From 737f1cb7bae0130cc246a99471e475e4af51cf06 Mon Sep 17 00:00:00 2001 From: Marius Stanciu Date: Thu, 31 Dec 2020 18:12:42 +0200 Subject: [PATCH] - fixed parseDXF() class imports to work with newer versions of ezdxf module (starting with 0.15) - contribution of Maurizio D'Addona and Hans Boot --- CHANGELOG.md | 1 + appParsers/ParseDXF.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 111fae22..570308dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ CHANGELOG for FlatCAM beta - all the logs done on Exception are now errors (with the exception of few places where the Exception is expected) - added the modifications made by Andre Spahlinger in PR #333 - replaced all usages of QFormLayout with QGridLayout +- fixed parseDXF() class imports to work with newer versions of ezdxf module (starting with 0.15) - contribution of Maurizio D'Addona and Hans Boot 30.12.2020 diff --git a/appParsers/ParseDXF.py b/appParsers/ParseDXF.py index dc756205..3337f83f 100644 --- a/appParsers/ParseDXF.py +++ b/appParsers/ParseDXF.py @@ -7,7 +7,7 @@ from shapely.geometry import LineString, Point from shapely.affinity import rotate -from ezdxf.math.vector import Vector as ezdxf_vector +from ezdxf.math import Vector as ezdxf_vector from appParsers.ParseFont import * from appParsers.ParseDXF_Spline import *