Draft: fixed issues with DXF import when used by OpenSCAD WB
This commit is contained in:
parent
b20dd3f7ab
commit
20d6c93fd5
|
@ -1009,6 +1009,9 @@ def addToBlock(obj,layer):
|
|||
def processdxf(document,filename,getShapes=False):
|
||||
"this does the translation of the dxf contents into FreeCAD Part objects"
|
||||
global drawing # for debugging - so drawing is still accessible to python after the script ran
|
||||
if not dxfReader:
|
||||
getDXFlibs()
|
||||
readPreferences()
|
||||
FreeCAD.Console.PrintMessage("opening "+filename+"...\n")
|
||||
drawing = dxfReader.readDXF(filename)
|
||||
global layers
|
||||
|
|
Loading…
Reference in New Issue
Block a user