OpenSCAD: set legacy options when using importDXF
This commit is contained in:
parent
e214567a64
commit
388ea0629c
|
@ -477,6 +477,8 @@ def superWireReverse(debuglist,closed=False):
|
|||
def importDXFface(filename,layer=None,doc=None):
|
||||
import FreeCAD,importDXF
|
||||
importDXF.readPreferences()
|
||||
importDXF.getDXFlibs()
|
||||
importDXF.dxfMakeBlocks = False
|
||||
doc = doc or FreeCAD.activeDocument()
|
||||
layers = importDXF.processdxf(doc,filename) or importDXF.layers
|
||||
for l in layers:
|
||||
|
|
Loading…
Reference in New Issue
Block a user