Mod.PartDesign.WizardShaft.Shaft.Shaft Class Reference

Public Member Functions

def addSegment (self, l, d, di)
 
def addTo (self, dict, location, value)
 
def editConstraint (self, index)
 
def equilibrium (self)
 
def getConstraint (self, index)
 
def getEdgeIndex (self, column, startIdx)
 
def getLengthTo (self, index)
 
def printEquilibrium (self, var, coeff)
 
def showDiagram (self, which)
 
def updateConstraint (self, index, constraintType)
 
def updateDiagrams (self)
 
def updateEdge (self, column, start)
 
def updateSegment (self, index, length=None, diameter=None, innerdiameter=None)
 

Public Attributes

 diagrams
 
 doc
 
 F
 
 feature
 
 M
 
 parent
 
 segments
 
 sigmaB
 
 sigmaN
 
 w
 

Static Public Attributes

list Fstr = ["Nx","Qy","Qz"]
 
list Mstr = ["Mx","Mz","My"]
 
tuple Mstrings
 
tuple Qstrings
 
list sigmaBstr = ["taut","sigmabz", "sigmaby"]
 
tuple sigmaBstrings
 
list sigmaNstr = ["sigmax","sigmay","sigmaz"]
 
tuple sigmaNstrings
 
list wstr = ["", "wy", "wz"]
 
tuple wstrings
 

Member Function Documentation

◆ addSegment()

def Mod.PartDesign.WizardShaft.Shaft.Shaft.addSegment (   self,
  l,
  d,
  di 
)

References Mod.PartDesign.FeatureHole.TaskHole.TaskHole.feature, Mod.PartDesign.FeatureHole.FeatureHole.Hole.feature, Mod.PartDesign.WizardShaft.Shaft.Shaft.feature, App::UpdateElementReferenceExpressionVisitor< P >.feature, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.product_concept_feature_association.feature, automotive_design.product_concept_feature_association.feature, Mod.PartDesign.WizardShaft.Shaft.Shaft.segments, MeshCore::MeshSurfaceSegment.segments, Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction.segments, MeshPart::Mesher.segments, config_control_design.composite_curve.segments, config_control_design.rectangular_composite_surface.segments, ifc2x3.ifccompositecurve.segments, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.solid_with_stepped_round_hole.segments, ifc4.ifccompositecurve.segments, automotive_design.composite_curve.segments, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.composite_curve.segments, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.rectangular_composite_surface.segments, and automotive_design.rectangular_composite_surface.segments.

◆ addTo()

def Mod.PartDesign.WizardShaft.Shaft.Shaft.addTo (   self,
  dict,
  location,
  value 
)

◆ editConstraint()

def Mod.PartDesign.WizardShaft.Shaft.Shaft.editConstraint (   self,
  index 
)

References Mod.PartDesign.WizardShaft.Shaft.Shaft.segments, MeshCore::MeshSurfaceSegment.segments, Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction.segments, MeshPart::Mesher.segments, config_control_design.composite_curve.segments, config_control_design.rectangular_composite_surface.segments, ifc2x3.ifccompositecurve.segments, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.solid_with_stepped_round_hole.segments, ifc4.ifccompositecurve.segments, automotive_design.composite_curve.segments, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.composite_curve.segments, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.rectangular_composite_surface.segments, and automotive_design.rectangular_composite_surface.segments.

◆ equilibrium()

def Mod.PartDesign.WizardShaft.Shaft.Shaft.equilibrium (   self)

References Gui::Action.addTo(), Gui::ActionGroup.addTo(), Gui::WorkbenchGroup.addTo(), Gui::UndoAction.addTo(), Gui::RedoAction.addTo(), Mod.PartDesign.WizardShaft.Shaft.Shaft.addTo(), Gui::DockWidgetAction.addTo(), Gui::ToolBarAction.addTo(), Gui::WindowAction.addTo(), Gui::Command.addTo(), Gui::CommandManager.addTo(), Mod.PartDesign.WizardShaft.Shaft.Shaft.F, Mod.PartDesign.WizardShaft.Shaft.Shaft.Fstr, Mod.PartDesign.WizardShaft.Shaft.Shaft.getLengthTo(), Mod.PartDesign.WizardShaft.Shaft.Shaft.M, Mod.PartDesign.WizardShaft.Shaft.Shaft.Mstr, Base::TypeData.parent, PartGui::ResultEntry.parent, Mod.PartDesign.WizardShaft.Shaft.Shaft.parent, Gui::Dialog::CommandNode.parent, Info.parent, ReplaceObjectExpressionVisitor.parent, ItemInfo.parent, ItemInfo2.parent, Mod.PartDesign.WizardShaft.Shaft.Shaft.printEquilibrium(), Mod.PartDesign.WizardShaft.Shaft.Shaft.segments, MeshCore::MeshSurfaceSegment.segments, Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction.segments, MeshPart::Mesher.segments, config_control_design.composite_curve.segments, config_control_design.rectangular_composite_surface.segments, ifc2x3.ifccompositecurve.segments, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.solid_with_stepped_round_hole.segments, ifc4.ifccompositecurve.segments, automotive_design.composite_curve.segments, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.composite_curve.segments, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.rectangular_composite_surface.segments, automotive_design.rectangular_composite_surface.segments, Mod.PartDesign.WizardShaft.Shaft.Shaft.sigmaB, Mod.PartDesign.WizardShaft.Shaft.Shaft.sigmaBstr, Mod.PartDesign.WizardShaft.Shaft.Shaft.sigmaN, Mod.PartDesign.WizardShaft.Shaft.Shaft.sigmaNstr, Mod.PartDesign.WizardShaft.Shaft.Shaft.w, Base::DualQuat.w, Gui::ToolTip.w, and Mod.PartDesign.WizardShaft.Shaft.Shaft.wstr.

Referenced by Mod.PartDesign.WizardShaft.Shaft.Shaft.updateConstraint(), and Mod.PartDesign.WizardShaft.Shaft.Shaft.updateSegment().

◆ getConstraint()

def Mod.PartDesign.WizardShaft.Shaft.Shaft.getConstraint (   self,
  index 
)

References Mod.PartDesign.WizardShaft.Shaft.Shaft.segments, MeshCore::MeshSurfaceSegment.segments, Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction.segments, MeshPart::Mesher.segments, config_control_design.composite_curve.segments, config_control_design.rectangular_composite_surface.segments, ifc2x3.ifccompositecurve.segments, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.solid_with_stepped_round_hole.segments, ifc4.ifccompositecurve.segments, automotive_design.composite_curve.segments, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.composite_curve.segments, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.rectangular_composite_surface.segments, and automotive_design.rectangular_composite_surface.segments.

◆ getEdgeIndex()

def Mod.PartDesign.WizardShaft.Shaft.Shaft.getEdgeIndex (   self,
  column,
  startIdx 
)

◆ getLengthTo()

def Mod.PartDesign.WizardShaft.Shaft.Shaft.getLengthTo (   self,
  index 
)

References Mod.PartDesign.WizardShaft.Shaft.Shaft.segments, MeshCore::MeshSurfaceSegment.segments, Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction.segments, MeshPart::Mesher.segments, config_control_design.composite_curve.segments, config_control_design.rectangular_composite_surface.segments, ifc2x3.ifccompositecurve.segments, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.solid_with_stepped_round_hole.segments, ifc4.ifccompositecurve.segments, automotive_design.composite_curve.segments, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.composite_curve.segments, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.rectangular_composite_surface.segments, and automotive_design.rectangular_composite_surface.segments.

Referenced by Mod.PartDesign.WizardShaft.Shaft.Shaft.equilibrium(), and Mod.PartDesign.WizardShaft.Shaft.Shaft.showDiagram().

◆ printEquilibrium()

def Mod.PartDesign.WizardShaft.Shaft.Shaft.printEquilibrium (   self,
  var,
  coeff 
)

◆ showDiagram()

def Mod.PartDesign.WizardShaft.Shaft.Shaft.showDiagram (   self,
  which 
)

References femsolver.elmer.equations.elasticity.create(), Mod.PartDesign.WizardShaft.Shaft.Shaft.diagrams, Mod.PartDesign.WizardShaft.Shaft.Shaft.F, Mod.PartDesign.WizardShaft.Shaft.Shaft.Fstr, Mod.PartDesign.WizardShaft.Shaft.Shaft.getLengthTo(), Mod.PartDesign.WizardShaft.Shaft.Shaft.M, Mod.PartDesign.WizardShaft.Shaft.Shaft.Mstr, Mod.PartDesign.WizardShaft.Shaft.Shaft.Mstrings, Mod.PartDesign.WizardShaft.Shaft.Shaft.Qstrings, Mod.PartDesign.WizardShaft.Shaft.Shaft.segments, MeshCore::MeshSurfaceSegment.segments, Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction.segments, MeshPart::Mesher.segments, config_control_design.composite_curve.segments, config_control_design.rectangular_composite_surface.segments, ifc2x3.ifccompositecurve.segments, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.solid_with_stepped_round_hole.segments, ifc4.ifccompositecurve.segments, automotive_design.composite_curve.segments, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.composite_curve.segments, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.rectangular_composite_surface.segments, automotive_design.rectangular_composite_surface.segments, Mod.PartDesign.WizardShaft.Shaft.Shaft.sigmaB, Mod.PartDesign.WizardShaft.Shaft.Shaft.sigmaBstr, Mod.PartDesign.WizardShaft.Shaft.Shaft.sigmaBstrings, Mod.PartDesign.WizardShaft.Shaft.Shaft.sigmaN, Mod.PartDesign.WizardShaft.Shaft.Shaft.sigmaNstr, Mod.PartDesign.WizardShaft.Shaft.Shaft.sigmaNstrings, Mod.PartDesign.WizardShaft.Shaft.Shaft.w, Base::DualQuat.w, Gui::ToolTip.w, Mod.PartDesign.WizardShaft.Shaft.Shaft.wstr, and Mod.PartDesign.WizardShaft.Shaft.Shaft.wstrings.

◆ updateConstraint()

def Mod.PartDesign.WizardShaft.Shaft.Shaft.updateConstraint (   self,
  index,
  constraintType 
)

References drafttests.test_pivy.DraftPivy.doc, drafttests.test_airfoildat.DraftAirfoilDAT.doc, drafttests.test_svg.DraftSVG.doc, drafttests.test_dwg.DraftDWG.doc, drafttests.test_dxf.DraftDXF.doc, drafttests.test_modification.DraftModification.doc, drafttests.test_oca.DraftOCA.doc, drafttests.test_creation.DraftCreation.doc, Mod.PartDesign.WizardShaft.Shaft.Shaft.doc, Import::ImportOCAFAssembly.doc, Import::ImportOCAF.doc, Gui::GraphvizView.doc, draftguitools.gui_annotationstyleeditor.AnnotationStyleEditor.doc, draftguitools.gui_base.GuiCommandSimplest.doc, ExpressionCompleterModel::Info.doc, WorkingPlane.Plane.doc, PartGui::FaceColors::Private.doc, PartDesignGui::ComboLinks.doc, App::RelabelDocumentExpressionVisitor.doc, Import::ImportXCAF.doc, draftguitools.gui_base_original.DraftTool.doc, App::DynamicProperty::PropData.doc, draftguitools.gui_base.GuiCommandBase.doc, App::LinkBaseExtension::PropInfo.doc, MeshPartGui::Mesh2ShapeGmsh::Private.doc, ItemInfo.doc, ItemInfo2.doc, importIFClegacy.IfcEntity.doc, Mod.PartDesign.WizardShaft.Shaft.Shaft.equilibrium(), Mod.PartDesign.FeatureHole.TaskHole.TaskHole.feature, Mod.PartDesign.FeatureHole.FeatureHole.Hole.feature, Mod.PartDesign.WizardShaft.Shaft.Shaft.feature, App::UpdateElementReferenceExpressionVisitor< P >.feature, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.product_concept_feature_association.feature, automotive_design.product_concept_feature_association.feature, Mod.PartDesign.WizardShaft.Shaft.Shaft.segments, MeshCore::MeshSurfaceSegment.segments, Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction.segments, MeshPart::Mesher.segments, config_control_design.composite_curve.segments, config_control_design.rectangular_composite_surface.segments, ifc2x3.ifccompositecurve.segments, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.solid_with_stepped_round_hole.segments, ifc4.ifccompositecurve.segments, automotive_design.composite_curve.segments, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.composite_curve.segments, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.rectangular_composite_surface.segments, automotive_design.rectangular_composite_surface.segments, and Mod.PartDesign.WizardShaft.Shaft.Shaft.updateDiagrams().

◆ updateDiagrams()

def Mod.PartDesign.WizardShaft.Shaft.Shaft.updateDiagrams (   self)

◆ updateEdge()

◆ updateSegment()

def Mod.PartDesign.WizardShaft.Shaft.Shaft.updateSegment (   self,
  index,
  length = None,
  diameter = None,
  innerdiameter = None 
)

References Mod.PartDesign.WizardShaft.Shaft.Shaft.equilibrium(), Mod.PartDesign.FeatureHole.TaskHole.TaskHole.feature, Mod.PartDesign.FeatureHole.FeatureHole.Hole.feature, Mod.PartDesign.WizardShaft.Shaft.Shaft.feature, App::UpdateElementReferenceExpressionVisitor< P >.feature, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.product_concept_feature_association.feature, automotive_design.product_concept_feature_association.feature, Mod.PartDesign.WizardShaft.Shaft.Shaft.segments, MeshCore::MeshSurfaceSegment.segments, Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction.segments, MeshPart::Mesher.segments, config_control_design.composite_curve.segments, config_control_design.rectangular_composite_surface.segments, ifc2x3.ifccompositecurve.segments, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.solid_with_stepped_round_hole.segments, ifc4.ifccompositecurve.segments, automotive_design.composite_curve.segments, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.composite_curve.segments, ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf.rectangular_composite_surface.segments, automotive_design.rectangular_composite_surface.segments, and Mod.PartDesign.WizardShaft.Shaft.Shaft.updateDiagrams().

Member Data Documentation

◆ diagrams

Mod.PartDesign.WizardShaft.Shaft.Shaft.diagrams

◆ doc

Mod.PartDesign.WizardShaft.Shaft.Shaft.doc

Referenced by Mod.Show.SceneDetails.Pickability.Pickability.apply_data(), Mod.Show.SceneDetails.VProperty.VProperty.apply_data(), Mod.Show.SceneDetails.ClipPlane.ClipPlane.apply_data(), Mod.Show.SceneDetails.ObjectClipPlane.ObjectClipPlane.apply_data(), importSVG.svgHandler.characters(), importSVG.svgHandler.endElement(), Mod.Show.SceneDetail.SceneDetail.full_key(), Mod.Show.SceneDetails.ObjectClipPlane.ObjectClipPlane.scene_value(), Mod.Show.SceneDetails.Pickability.Pickability.scene_value(), Mod.Show.SceneDetails.VProperty.VProperty.scene_value(), Mod.Show.SceneDetail.SceneDetail.set_doc(), PathTests.TestPathToolController.TestPathToolController.tearDown(), PathTests.TestPathHelix.TestPathHelix.tearDown(), PathTests.TestPathSetupSheet.TestPathSetupSheet.tearDown(), TestSpreadsheet.SpreadsheetCases.tearDown(), PathTests.TestPathUtil.TestPathUtil.test00(), PathTests.TestPathSetupSheet.TestPathSetupSheet.test00(), PathTests.TestPathUtil.TestPathUtil.test01(), PathTests.TestPathSetupSheet.TestPathSetupSheet.test01(), PathTests.TestPathUtil.TestPathUtil.test02(), PathTests.TestPathUtil.TestPathUtil.test03(), PathTests.TestPathHelix.TestPathHelix.test03(), PathTests.TestPathUtil.TestPathUtil.test04(), PathTests.TestPathHelix.TestPathHelix.test04(), PathTests.TestPathSetupSheet.TestPathSetupSheet.test13(), TestSpreadsheet.SpreadsheetCases.testAggregates(), TestSpreadsheet.SpreadsheetCases.testAlias(), TestSpreadsheet.SpreadsheetCases.testAmbiguousAlias(), TestSpreadsheet.SpreadsheetCases.testClearAlias(), TestSpreadsheet.SpreadsheetCases.testCrossDocumentLinks(), TestSpreadsheet.SpreadsheetCases.testFunctions(), TestSpreadsheet.SpreadsheetCases.testInsertRows(), TestSpreadsheet.SpreadsheetCases.testInvoluteGear(), TestSpreadsheet.SpreadsheetCases.testIssue3128(), TestSpreadsheet.SpreadsheetCases.testIssue3225(), TestSpreadsheet.SpreadsheetCases.testIssue3363(), TestSpreadsheet.SpreadsheetCases.testIssue3432(), TestSpreadsheet.SpreadsheetCases.testMatrix(), TestSpreadsheet.SpreadsheetCases.testNumbers(), TestSpreadsheet.SpreadsheetCases.testPlacementName(), TestSpreadsheet.SpreadsheetCases.testPrecedence(), TestSpreadsheet.SpreadsheetCases.testRelationalOperators(), TestSpreadsheet.SpreadsheetCases.testRemoveRows(), TestSpreadsheet.SpreadsheetCases.testRenameAlias(), TestSpreadsheet.SpreadsheetCases.testRenameAlias2(), TestSpreadsheet.SpreadsheetCases.testRenameAlias3(), TestSpreadsheet.SpreadsheetCases.testSetInvalidAlias(), TestSpreadsheet.SpreadsheetCases.testSetInvalidAlias2(), TestSpreadsheet.SpreadsheetCases.testSketcher(), TestSpreadsheet.SpreadsheetCases.testUnits(), Mod.PartDesign.WizardShaft.Shaft.Shaft.updateConstraint(), Mod.PartDesign.WizardShaft.Shaft.Shaft.updateEdge(), and Mod.Show.SceneDetails.ObjectClipPlane.ObjectClipPlane.val().

◆ F

◆ feature

◆ Fstr

list Mod.PartDesign.WizardShaft.Shaft.Shaft.Fstr = ["Nx","Qy","Qz"]
static

◆ M

◆ Mstr

list Mod.PartDesign.WizardShaft.Shaft.Shaft.Mstr = ["Mx","Mz","My"]
static

◆ Mstrings

tuple Mod.PartDesign.WizardShaft.Shaft.Shaft.Mstrings
static
Initial value:
= (("Torque [x]", "x", "mm", "M_t", "Nm"),
("Bending moment [z]", "x", "mm", "M_{b,z}", "Nm"),
("Bending moment [y]", "x", "mm", "M_{b,y}", "Nm"))

Referenced by Mod.PartDesign.WizardShaft.Shaft.Shaft.showDiagram().

◆ parent

◆ Qstrings

tuple Mod.PartDesign.WizardShaft.Shaft.Shaft.Qstrings
static
Initial value:
= (("Normal force [x]", "x", "mm", "N_x", "N"),
("Shear force [y]", "x", "mm", "Q_y", "N"),
("Shear force [z]", "x", "mm", "Q_z", "N"))

Referenced by Mod.PartDesign.WizardShaft.Shaft.Shaft.showDiagram().

◆ segments

◆ sigmaB

◆ sigmaBstr

list Mod.PartDesign.WizardShaft.Shaft.Shaft.sigmaBstr = ["taut","sigmabz", "sigmaby"]
static

◆ sigmaBstrings

tuple Mod.PartDesign.WizardShaft.Shaft.Shaft.sigmaBstrings
static
Initial value:
= (("Torque stress [x]", "x", "mm", "\tau_t", u"N/mm²"),
("Bending stress [z]", "x", "mm", "\sigma_{b,z}", u"N/mm²"),
("Bending stress [y]", "x", "mm", "\sigma_{b,y}", u"N/mm²"))

Referenced by Mod.PartDesign.WizardShaft.Shaft.Shaft.showDiagram().

◆ sigmaN

◆ sigmaNstr

list Mod.PartDesign.WizardShaft.Shaft.Shaft.sigmaNstr = ["sigmax","sigmay","sigmaz"]
static

◆ sigmaNstrings

tuple Mod.PartDesign.WizardShaft.Shaft.Shaft.sigmaNstrings
static
Initial value:
= (("Normal stress [x]", "x", "mm", "\sigma_x", u"N/mm²"),
("Shear stress [y]", "x", "mm", "\sigma_y", u"N/mm²"),
("Shear stress [z]", "x", "mm", "\sigma_z", u"N/mm²"))

Referenced by Mod.PartDesign.WizardShaft.Shaft.Shaft.showDiagram().

◆ w

◆ wstr

list Mod.PartDesign.WizardShaft.Shaft.Shaft.wstr = ["", "wy", "wz"]
static

◆ wstrings

tuple Mod.PartDesign.WizardShaft.Shaft.Shaft.wstrings
static
Initial value:
= (("", "", "", "", ""),
("Translation [y]", "x", "mm", "w_y", "mm"),
("Translation [z]", "x", "mm", "w_z", "mm"))

Referenced by Mod.PartDesign.WizardShaft.Shaft.Shaft.showDiagram().


The documentation for this class was generated from the following file:
  • src/Mod/PartDesign/WizardShaft/Shaft.py