Updated dxf importer to recent ezdxf version 0.15.2

This commit is contained in:
Mario Voigt 2021-03-04 22:21:30 +01:00
parent 8d571201a0
commit 9871809e2d

View File

@ -40,8 +40,9 @@ import urllib.request as urllib
#ezdxf related imports #ezdxf related imports
import matplotlib.pyplot as plt import matplotlib.pyplot as plt
import ezdxf import ezdxf
from ezdxf.addons.drawing import RenderContext, Frontend from ezdxf.addons.drawing import RenderContext, Frontend
from ezdxf.addons.drawing.matplotlib_backend import MatplotlibBackend #from ezdxf.addons.drawing.matplotlib_backend import MatplotlibBackend for older ezdxf library 0.14.1
from ezdxf.addons.drawing.matplotlib import MatplotlibBackend #for recent ezdxf library 0.15.2
from ezdxf.addons import Importer from ezdxf.addons import Importer
class DXFDWGImport(inkex.Effect): class DXFDWGImport(inkex.Effect):