Пример #1
0
def checkOpenscadInstalled():
    found = True

    try:
        import OpenSCADUtils

        found = OpenSCADUtils.getopenscadversion() is not None
    except:
        found = False
    
    if not found:
        qtutils.showInfo('OpenSCAD import failed', 'The import of OpenSCADUtils failed. Make sure you have OpenSCAD installed and configured in the preferences.')
    
    return found