'QT_QPA_PLATFORM_PLUGIN_PATH'] = qw_modeller_path + "\platforms" #wersja freecad 018 qt5 python 3.6 import FreeCADGui import QW_Modeller import FreeCAD from wgtocx1_inventor_proj import * GUIMode = FreeCAD.ConfigGet("RunMode") if not GUIMode: FreeCADGui.showMainWindow() FreeCADGui.activateWorkbench("QW_ModellerWorkbench") qwm_doc = QW_Modeller.newQWDocument("wgtocx1_inventor") FreeCADGui.activeDocument().activeView().viewAxometric() proj = wgtocx1_inventor_Project(qwm_doc) proj.set_Circuit_Parameters() proj.set_GeometryAndMedia() proj.set_Mesh() proj.set_Excitation() proj.set_Postprocessing() proj.set_Simulation() proj.run_Simulation() FreeCADGui.SendMsgToActiveView("ViewFit") qwm_doc.recompute()
os.environ['QT_QPA_PLATFORM_PLUGIN_PATH'] = qw_modeller_path+"\platforms" #wersja freecad 018 qt5 python 3.6 import FreeCADGui import QW_Modeller import FreeCAD from cylinder_proj import * GUIMode = FreeCAD.ConfigGet("RunMode") if not GUIMode: FreeCADGui.showMainWindow() FreeCADGui.activateWorkbench("QW_ModellerWorkbench") qwm_doc = QW_Modeller.newQWDocument("cylinder") FreeCADGui.activeDocument().activeView().viewAxometric() proj = cylinder_Project(qwm_doc) proj.set_Circuit_Parameters() proj.set_GeometryAndMedia() proj.set_Mesh() proj.set_Excitation() proj.set_Postprocessing() proj.set_Simulation() proj.run_Simulation() FreeCADGui.SendMsgToActiveView("ViewFit") qwm_doc.recompute()
'QT_QPA_PLATFORM_PLUGIN_PATH'] = qw_modeller_path + "\platforms" #wersja freecad 018 qt5 python 3.6 import FreeCADGui import QW_Modeller import FreeCAD from vtape_proj import * GUIMode = FreeCAD.ConfigGet("RunMode") if not GUIMode: FreeCADGui.showMainWindow() FreeCADGui.activateWorkbench("QW_ModellerWorkbench") qwm_doc = QW_Modeller.newQWDocument("vtape") FreeCADGui.activeDocument().activeView().viewAxometric() proj = vtape_Project(qwm_doc) proj.set_Circuit_Parameters() proj.set_GeometryAndMedia() proj.set_Mesh() proj.set_Excitation() proj.set_Postprocessing() proj.set_Simulation() proj.run_Simulation() FreeCADGui.SendMsgToActiveView("ViewFit") qwm_doc.recompute()
os.environ['QT_QPA_PLATFORM_PLUGIN_PATH'] = qw_modeller_path+"\platforms" #wersja freecad 018 qt5 python 3.6 import FreeCADGui import QW_Modeller import FreeCAD from cubeNested_proj import * GUIMode = FreeCAD.ConfigGet("RunMode") if not GUIMode: FreeCADGui.showMainWindow() FreeCADGui.activateWorkbench("QW_ModellerWorkbench") qwm_doc = QW_Modeller.newQWDocument("cubeNested") FreeCADGui.activeDocument().activeView().viewAxometric() proj = cubeNested_Project(qwm_doc) proj.set_Circuit_Parameters() proj.set_GeometryAndMedia() proj.set_Mesh() proj.set_Excitation() proj.set_Postprocessing() proj.set_Simulation() proj.run_Simulation() FreeCADGui.SendMsgToActiveView("ViewFit") qwm_doc.recompute()
'QT_QPA_PLATFORM_PLUGIN_PATH'] = qw_modeller_path + "\platforms" #wersja freecad 018 qt5 python 3.6 import FreeCADGui import QW_Modeller import FreeCAD from dielf1_proj import * GUIMode = FreeCAD.ConfigGet("RunMode") if not GUIMode: FreeCADGui.showMainWindow() FreeCADGui.activateWorkbench("QW_ModellerWorkbench") qwm_doc = QW_Modeller.newQWDocument("dielf1") FreeCADGui.activeDocument().activeView().viewAxometric() proj = dielf1_Project(qwm_doc) proj.set_Circuit_Parameters() proj.set_GeometryAndMedia() proj.set_Mesh() proj.set_Excitation() proj.set_Postprocessing() proj.set_Simulation() proj.run_Simulation() FreeCADGui.SendMsgToActiveView("ViewFit") qwm_doc.recompute()
'QT_QPA_PLATFORM_PLUGIN_PATH'] = qw_modeller_path + "\platforms" #wersja freecad 018 qt5 python 3.6 import FreeCADGui import QW_Modeller import FreeCAD from man8_kawalek_proj import * GUIMode = FreeCAD.ConfigGet("RunMode") if not GUIMode: FreeCADGui.showMainWindow() FreeCADGui.activateWorkbench("QW_ModellerWorkbench") qwm_doc = QW_Modeller.newQWDocument("man8_kawalek") FreeCADGui.activeDocument().activeView().viewAxometric() proj = man8_kawalek_Project(qwm_doc) proj.set_Circuit_Parameters() proj.set_GeometryAndMedia() proj.set_Mesh() proj.set_Excitation() proj.set_Postprocessing() proj.set_Simulation() proj.run_Simulation() FreeCADGui.SendMsgToActiveView("ViewFit") qwm_doc.recompute()
'QT_QPA_PLATFORM_PLUGIN_PATH'] = qw_modeller_path + "\platforms" #wersja freecad 018 qt5 python 3.6 import FreeCADGui import QW_Modeller import FreeCAD from angpc_proj import * GUIMode = FreeCAD.ConfigGet("RunMode") if not GUIMode: FreeCADGui.showMainWindow() FreeCADGui.activateWorkbench("QW_ModellerWorkbench") qwm_doc = QW_Modeller.newQWDocument("angpc") FreeCADGui.activeDocument().activeView().viewAxometric() proj = angpc_Project(qwm_doc) proj.set_Circuit_Parameters() proj.set_GeometryAndMedia() proj.set_Mesh() proj.set_Excitation() proj.set_Postprocessing() proj.set_Simulation() proj.run_Simulation() FreeCADGui.SendMsgToActiveView("ViewFit") qwm_doc.recompute()
'QT_QPA_PLATFORM_PLUGIN_PATH'] = qw_modeller_path + "\platforms" #wersja freecad 018 qt5 python 3.6 import FreeCADGui import QW_Modeller import FreeCAD from patch2_proj import * GUIMode = FreeCAD.ConfigGet("RunMode") if not GUIMode: FreeCADGui.showMainWindow() FreeCADGui.activateWorkbench("QW_ModellerWorkbench") qwm_doc = QW_Modeller.newQWDocument("patch2") FreeCADGui.activeDocument().activeView().viewAxometric() proj = patch2_Project(qwm_doc) proj.set_Circuit_Parameters() proj.set_GeometryAndMedia() proj.set_Mesh() proj.set_Excitation() proj.set_Postprocessing() proj.set_Simulation() proj.run_Simulation() FreeCADGui.SendMsgToActiveView("ViewFit") qwm_doc.recompute()
os.environ['QT_QPA_PLATFORM_PLUGIN_PATH'] = qw_modeller_path+"\platforms" #wersja freecad 018 qt5 python 3.6 import FreeCADGui import QW_Modeller import FreeCAD from horn1_proj import * GUIMode = FreeCAD.ConfigGet("RunMode") if not GUIMode: FreeCADGui.showMainWindow() FreeCADGui.activateWorkbench("QW_ModellerWorkbench") qwm_doc = QW_Modeller.newQWDocument("horn1") FreeCADGui.activeDocument().activeView().viewAxometric() proj = horn1_Project(qwm_doc) proj.set_Circuit_Parameters() proj.set_GeometryAndMedia() proj.set_Mesh() proj.set_Excitation() proj.set_Postprocessing() proj.set_Simulation() proj.run_Simulation() FreeCADGui.SendMsgToActiveView("ViewFit") qwm_doc.recompute()
os.environ['QT_QPA_PLATFORM_PLUGIN_PATH'] = qw_modeller_path+"\platforms" #wersja freecad 018 qt5 python 3.6 import FreeCADGui import QW_Modeller import FreeCAD from cube_proj import * GUIMode = FreeCAD.ConfigGet("RunMode") if not GUIMode: FreeCADGui.showMainWindow() FreeCADGui.activateWorkbench("QW_ModellerWorkbench") qwm_doc = QW_Modeller.newQWDocument("cube") FreeCADGui.activeDocument().activeView().viewAxometric() proj = cube_Project(qwm_doc) proj.set_Circuit_Parameters() proj.set_GeometryAndMedia() proj.set_Mesh() proj.set_Excitation() proj.set_Postprocessing() proj.set_Simulation() proj.run_Simulation() FreeCADGui.SendMsgToActiveView("ViewFit") qwm_doc.recompute()
os.environ['QT_QPA_PLATFORM_PLUGIN_PATH'] = qw_modeller_path+"\platforms" #wersja freecad 018 qt5 python 3.6 import FreeCADGui import QW_Modeller import FreeCAD from rx_proj import * GUIMode = FreeCAD.ConfigGet("RunMode") if not GUIMode: FreeCADGui.showMainWindow() FreeCADGui.activateWorkbench("QW_ModellerWorkbench") qwm_doc = QW_Modeller.newQWDocument("rx") FreeCADGui.activeDocument().activeView().viewAxometric() proj = rx_Project(qwm_doc) proj.set_Circuit_Parameters() proj.set_GeometryAndMedia() proj.set_Mesh() proj.set_Excitation() proj.set_Postprocessing() proj.set_Simulation() proj.run_Simulation() FreeCADGui.SendMsgToActiveView("ViewFit") qwm_doc.recompute()
'QT_QPA_PLATFORM_PLUGIN_PATH'] = qw_modeller_path + "\platforms" #wersja freecad 018 qt5 python 3.6 import FreeCADGui import QW_Modeller import FreeCAD from cwgheat_proj import * GUIMode = FreeCAD.ConfigGet("RunMode") if not GUIMode: FreeCADGui.showMainWindow() FreeCADGui.activateWorkbench("QW_ModellerWorkbench") qwm_doc = QW_Modeller.newQWDocument("cwgheat") FreeCADGui.activeDocument().activeView().viewAxometric() proj = cwgheat_Project(qwm_doc) proj.set_Circuit_Parameters() proj.set_GeometryAndMedia() proj.set_Mesh() proj.set_Excitation() proj.set_Postprocessing() proj.set_Simulation() proj.run_Simulation() FreeCADGui.SendMsgToActiveView("ViewFit") qwm_doc.recompute()
'QT_QPA_PLATFORM_PLUGIN_PATH'] = qw_modeller_path + "\platforms" #wersja freecad 018 qt5 python 3.6 import FreeCADGui import QW_Modeller import FreeCAD from threeel_proj import * GUIMode = FreeCAD.ConfigGet("RunMode") if not GUIMode: FreeCADGui.showMainWindow() FreeCADGui.activateWorkbench("QW_ModellerWorkbench") qwm_doc = QW_Modeller.newQWDocument("threeel") FreeCADGui.activeDocument().activeView().viewAxometric() proj = threeel_Project(qwm_doc) proj.set_Circuit_Parameters() proj.set_GeometryAndMedia() proj.set_Mesh() proj.set_Excitation() proj.set_Postprocessing() proj.set_Simulation() proj.run_Simulation() FreeCADGui.SendMsgToActiveView("ViewFit") qwm_doc.recompute()
os.environ['QT_QPA_PLATFORM_PLUGIN_PATH'] = qw_modeller_path+"\platforms" #wersja freecad 018 qt5 python 3.6 import FreeCADGui import QW_Modeller import FreeCAD from beefburg_proj import * GUIMode = FreeCAD.ConfigGet("RunMode") if not GUIMode: FreeCADGui.showMainWindow() FreeCADGui.activateWorkbench("QW_ModellerWorkbench") qwm_doc = QW_Modeller.newQWDocument("beefburg") FreeCADGui.activeDocument().activeView().viewAxometric() proj = beefburg_Project(qwm_doc) proj.set_Circuit_Parameters() proj.set_GeometryAndMedia() proj.set_Mesh() proj.set_Excitation() proj.set_Postprocessing() proj.set_Simulation() proj.run_Simulation() FreeCADGui.SendMsgToActiveView("ViewFit") qwm_doc.recompute()
'QT_QPA_PLATFORM_PLUGIN_PATH'] = qw_modeller_path + "\platforms" #wersja freecad 018 qt5 python 3.6 import FreeCADGui import QW_Modeller import FreeCAD from ant2R_proj import * GUIMode = FreeCAD.ConfigGet("RunMode") if not GUIMode: FreeCADGui.showMainWindow() FreeCADGui.activateWorkbench("QW_ModellerWorkbench") qwm_doc = QW_Modeller.newQWDocument("ant2R") FreeCADGui.activeDocument().activeView().viewAxometric() proj = ant2R_Project(qwm_doc) proj.set_Circuit_Parameters() proj.set_GeometryAndMedia() proj.set_Mesh() proj.set_Excitation() proj.set_Postprocessing() proj.set_Simulation() proj.run_Simulation() FreeCADGui.SendMsgToActiveView("ViewFit") qwm_doc.recompute()
'QT_QPA_PLATFORM_PLUGIN_PATH'] = qw_modeller_path + "\platforms" #wersja freecad 018 qt5 python 3.6 import FreeCADGui import QW_Modeller import FreeCAD from cyv_proj import * GUIMode = FreeCAD.ConfigGet("RunMode") if not GUIMode: FreeCADGui.showMainWindow() FreeCADGui.activateWorkbench("QW_ModellerWorkbench") qwm_doc = QW_Modeller.newQWDocument("cyv") FreeCADGui.activeDocument().activeView().viewAxometric() proj = cyv_Project(qwm_doc) proj.set_Circuit_Parameters() proj.set_GeometryAndMedia() proj.set_Mesh() proj.set_Excitation() proj.set_Postprocessing() proj.set_Simulation() proj.run_Simulation() FreeCADGui.SendMsgToActiveView("ViewFit") qwm_doc.recompute()
os.environ['QT_QPA_PLATFORM_PLUGIN_PATH'] = qw_modeller_path+"\platforms" #wersja freecad 018 qt5 python 3.6 import FreeCADGui import QW_Modeller import FreeCAD from wgtocx1_proj import * GUIMode = FreeCAD.ConfigGet("RunMode") if not GUIMode: FreeCADGui.showMainWindow() FreeCADGui.activateWorkbench("QW_ModellerWorkbench") qwm_doc = QW_Modeller.newQWDocument("wgtocx1") FreeCADGui.activeDocument().activeView().viewAxometric() proj = wgtocx1_Project(qwm_doc) proj.set_Circuit_Parameters() proj.set_GeometryAndMedia() proj.set_Mesh() proj.set_Excitation() proj.set_Postprocessing() proj.set_Simulation() proj.run_Simulation() FreeCADGui.SendMsgToActiveView("ViewFit") qwm_doc.recompute()
#sys.path.insert(0, os.path.dirname(__file__)) #sys.path.append(os.path.dirname(__file__)) #sys.path.append("..\tests\customTest\") #sys.path.insert(0, '..\tests\customTest\') from customTest_proj import * GUIMode = FreeCAD.ConfigGet("RunMode") if not GUIMode: FreeCADGui.showMainWindow() FreeCADGui.activateWorkbench("QW_ModellerWorkbench") qwm_doc = QW_Modeller.newQWDocument("customTest") FreeCADGui.activeDocument().activeView().viewAxometric() proj = customTest_Project(qwm_doc) proj.set_Circuit_Parameters() proj.set_GeometryAndMedia() proj.set_Mesh() proj.set_Excitation() proj.set_Postprocessing() proj.set_Simulation() proj.run_Simulation() FreeCADGui.SendMsgToActiveView("ViewFit") qwm_doc.recompute()