def __init__(self): super(_SolverZ88, self).__init__() self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_SolverZ88", "Solver Z88") self.accel = "S, Z" self.tooltip = Qt.QT_TRANSLATE_NOOP("FEM_SolverZ88", "Creates a FEM solver Z88") self.is_active = "with_analysis" self.do_activated = "add_obj_on_gui_noset_edit"
def __init__(self): super(_FEMMesh2Mesh, self).__init__() self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_FEMMesh2Mesh", "FEM mesh to mesh") self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_FEMMesh2Mesh", "Convert the surface of a FEM mesh to a mesh") self.is_active = "with_femmesh_andor_res"
def __init__(self): super(_MeshGroup, self).__init__() self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_MeshGroup", "FEM mesh group") self.tooltip = Qt.QT_TRANSLATE_NOOP("FEM_MeshGroup", "Creates a FEM mesh group") self.is_active = "with_gmsh_femmesh" self.do_activated = "add_obj_on_gui_selobj_set_edit"
def __init__(self): super(_ClippingPlaneAdd, self).__init__() self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_ClippingPlaneAdd", "Clipping plane on face") self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_ClippingPlaneAdd", "Add a clipping plane on a selected face") self.is_active = "with_document"
def __init__(self): super(_ResultShow, self).__init__() self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_ResultShow", "Show result") self.accel = "R, S" self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_ResultShow", "Shows and visualizes selected result data") self.is_active = "with_selresult"
def __init__(self): super(_ClippingPlaneRemoveAll, self).__init__() self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_ClippingPlaneRemoveAll", "Remove all clipping planes") self.tooltip = Qt.QT_TRANSLATE_NOOP("FEM_ClippingPlaneRemoveAll", "Remove all clipping planes") self.is_active = "with_document"
def GetResources(self): return { 'MenuText': Qt.QT_TRANSLATE_NOOP("Part_MakeTube", "Create tube"), 'Accel': "", 'CmdType': "ForEdit", 'ToolTip': Qt.QT_TRANSLATE_NOOP("Part_MakeTube", "Creates a tube") }
def __init__(self): super(_MeshDisplayInfo, self).__init__() self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_MeshDisplayInfo", "Display FEM mesh info") self.tooltip = Qt.QT_TRANSLATE_NOOP("FEM_MeshDisplayInfo", "Display FEM mesh info") self.is_active = "with_femmesh"
def __init__(self): super(_MaterialEditor, self).__init__() self.pixmap = "Arch_Material_Group" self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_MaterialEditor", "Material editor") self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_MaterialEditor", "Opens the FreeCAD material editor") self.is_active = "always"
def __init__(self): super(_Examples, self).__init__() self.pixmap = "FemWorkbench" self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_Examples", "Open FEM examples") self.tooltip = Qt.QT_TRANSLATE_NOOP("FEM_Examples", "Open FEM examples") self.is_active = "always"
def __init__(self): super(_EquationHeat, self).__init__() self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_EquationHeat", "Heat equation") self.tooltip = Qt.QT_TRANSLATE_NOOP("FEM_EquationHeat", "Creates a FEM equation for heat") self.is_active = "with_solver_elmer" self.do_activated = "add_obj_on_gui_selobj_noset_edit"
def __init__(self): super(_ElementRotation1D, self).__init__() self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_ElementRotation1D", "Beam rotation") self.tooltip = Qt.QT_TRANSLATE_NOOP("FEM_ElementRotation1D", "Creates a FEM beam rotation") self.is_active = "with_analysis" self.do_activated = "add_obj_on_gui_noset_edit"
def __init__(self): super(_ElementGeometry2D, self).__init__() self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_ElementGeometry2D", "Shell plate thickness") self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_ElementGeometry2D", "Creates a FEM shell plate thickness") self.is_active = "with_analysis" self.do_activated = "add_obj_on_gui_set_edit"
def __init__(self): super(_ConstraintTie, self).__init__() self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_ConstraintTie", "Constraint tie") self.tooltip = Qt.QT_TRANSLATE_NOOP("FEM_ConstraintTie", "Creates a FEM constraint tie") self.is_active = "with_analysis" self.do_activated = "add_obj_on_gui_set_edit"
def GetResources(self): return { 'MenuText': Qt.QT_TRANSLATE_NOOP("Part_Tube", "Create tube"), 'Accel': "", 'CmdType': "AlterDoc:Alter3DView:AlterSelection", 'Pixmap': "Part_Tube", 'ToolTip': Qt.QT_TRANSLATE_NOOP("Part_Tube", "Creates a tube") }
def __init__(self): super(_MaterialMechanicalNonlinear, self).__init__() self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_MaterialMechanicalNonlinear", "Nonlinear mechanical material") self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_MaterialMechanicalNonlinear", "Creates a nonlinear mechanical material") self.is_active = "with_material_solid"
def __init__(self): super(_ElementFluid1D, self).__init__() self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_ElementFluid1D", "Fluid section for 1D flow") self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_ElementFluid1D", "Creates a FEM fluid section for 1D flow") self.is_active = "with_analysis" self.do_activated = "add_obj_on_gui_set_edit"
def __init__(self): super(_MaterialFluid, self).__init__() self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_MaterialFluid", "Material for fluid") self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_MaterialFluid", "Creates a FEM material for fluid") self.is_active = "with_analysis" self.do_activated = "add_obj_on_gui_set_edit"
def __init__(self): super(_SolverRun, self).__init__() self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_SolverRun", "Run solver calculations") self.accel = "S, R" self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_SolverRun", "Runs the calculations for the selected solver") self.is_active = "with_solver"
def __init__(self): super(_MeshGmshFromShape, self).__init__() self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_MeshGmshFromShape", "FEM mesh from shape by Gmsh") self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_MeshGmshFromShape", "Create a FEM mesh from a shape by Gmsh mesher") self.is_active = "with_part_feature"
def __init__(self): super(_SolverMystran, self).__init__() self.pixmap = "FEM_SolverStandard" self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_SolverMystran", "Solver Mystran") self.accel = "S, M" self.tooltip = Qt.QT_TRANSLATE_NOOP("FEM_SolverMystran", "Creates a FEM solver Mystran") self.is_active = "with_analysis" self.do_activated = "add_obj_on_gui_noset_edit"
def __init__(self): super(_ResultsPurge, self).__init__() self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_ResultsPurge", "Purge results") self.accel = "R, P" self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_ResultsPurge", "Purges all results from active analysis") self.is_active = "with_results"
def __init__(self): super(_MeshNetgenFromShape, self).__init__() self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_MeshNetgenFromShape", "FEM mesh from shape by Netgen") self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_MeshNetgenFromShape", "Create a FEM mesh from a solid or face shape by Netgen internal mesher" ) self.is_active = "with_part_feature"
def __init__(self): super(_Analysis, self).__init__() self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_Analysis", "Analysis container") self.accel = "S, A" self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_Analysis", "Creates an analysis container with standard solver CalculiX") self.is_active = "with_document"
def __init__(self): super(_SolverControl, self).__init__() self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_SolverControl", "Solver job control") self.accel = "S, T" self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_SolverControl", "Changes solver attributes and runs the calculations for the selected solver" ) self.is_active = "with_solver"
def __init__(self): super(_ConstraintBodyHeatSource, self).__init__() self.pixmap = "FEM_ConstraintHeatflux" # the heatflux icon is used self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_ConstraintBodyHeatSource", "Constraint body heat source") self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_ConstraintBodyHeatSource", "Creates a FEM constraint body heat source") self.is_active = "with_analysis" self.do_activated = "add_obj_on_gui_noset_edit"
def __init__(self): super(_SolverCxxtools, self).__init__() self.pixmap = "FEM_SolverStandard" self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_SolverCalculixCxxtools", "Solver CalculiX Standard") self.accel = "S, X" self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_SolverCalculixCxxtools", "Creates a standard FEM solver CalculiX with ccx tools") self.is_active = "with_analysis"
def __init__(self): super(_ConstraintElectrostaticPotential, self).__init__() self.menutext = Qt.QT_TRANSLATE_NOOP( "FEM_ConstraintElectrostaticPotential", "Constraint electrostatic potential") self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_ConstraintElectrostaticPotential", "Creates a FEM constraint electrostatic potential") self.is_active = "with_analysis" self.do_activated = "add_obj_on_gui_set_edit"
def __init__(self): super(_ConstraintInitialFlowVelocity, self).__init__() self.menutext = Qt.QT_TRANSLATE_NOOP( "FEM_ConstraintInitialFlowVelocity", "Constraint initial flow velocity") self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_ConstraintInitialFlowVelocity", "Creates a FEM constraint initial flow velocity") self.is_active = "with_analysis" self.do_activated = "add_obj_on_gui_set_edit"
def __init__(self): super(_MaterialReinforced, self).__init__() self.menutext = Qt.QT_TRANSLATE_NOOP("FEM_MaterialReinforced", "Reinforced material (concrete)") self.tooltip = Qt.QT_TRANSLATE_NOOP( "FEM_MaterialReinforced", "Creates a material for reinforced matrix material such as concrete" ) self.is_active = "with_analysis" self.do_activated = "add_obj_on_gui_set_edit"