def processTextCmd(t): import os from OpenSCADUtils import callopenscadstring tmpfilename = callopenscadstring(t,'dxf') obj=processDXF(os.path.splitext(tmpfilename)[0],"") try: os.unlink(tmpfilename) except OSError: pass return(obj)
def processTextCmd(t): import os from OpenSCADUtils import callopenscadstring tmpfilename = callopenscadstring(t, 'dxf') obj = processDXF(os.path.splitext(tmpfilename)[0], "") try: os.unlink(tmpfilename) except OSError: pass return (obj)
def processTextCmd(t): from OpenSCADUtils import callopenscadstring tmpfilename = callopenscadstring(t,'dxf') from OpenSCAD2Dgeom import importDXFface face = importDXFface(tmpfilename,None,None) obj=doc.addObject('Part::Feature','text') obj.Shape=face try: os.unlink(tmpfilename) except OSError: pass return(obj)
def processTextCmd(t): import os from OpenSCADUtils import callopenscadstring tmpfilename = callopenscadstring(t,'dxf') from OpenSCAD2Dgeom import importDXFface face = importDXFface(tmpfilename,None,None) obj=doc.addObject('Part::Feature','text') obj.Shape=face try: os.unlink(tmpfilename) except OSError: pass return(obj)