PartDesign WizardShaft: Difference between revisions

From FreeCAD Documentation
(GuiCommand PartDesign_WizardShaft created)
 
(Shaft Wizard now available through menu, prerequisite changed to matplotlib)
Line 1: Line 1:
{{GuiCommand|Name=PartDesign_WizardShaft|Workbenches=[[PartDesign Workbench|PartDesign]], Complete}}
{{GuiCommand|Name=PartDesign_WizardShaft|MenuLocation=Part Design → Shaft design wizard...|Workbenches=[[PartDesign Workbench|PartDesign]], Complete}}
==Introduction==
==Introduction==
This tool allows you to create a shaft from a table of values, and to analyse forces and moments. You can start the wizard by typing
This tool allows you to create a shaft from a table of values, and to analyse forces and moments. You can start the wizard from the Part Design menu or by typing
Gui.runCommand('PartDesign_WizardShaft')
Gui.runCommand('PartDesign_WizardShaft')
into the Python console of FreeCAD. The wizard will start and show a default table, the corresponding shaft part and force/moment graphs.
into the Python console of FreeCAD. The wizard will start and show a default table, the corresponding shaft part and force/moment graphs.
Line 13: Line 13:
----
----
==Prerequisites==
==Prerequisites==
The shaft design wizard depends on the numpy package and the pyxplot program to create and display the graphs of shear force and bending moment
The shaft design wizard depends on the [http://matplotlib.org/ matplotlib] library to create and display the graphs of shear force and bending moment. On Debian/Ubuntu-based systems, it is available through the python-matplotlib package.
==Parameters==
==Parameters==
For each shaft segment, the following parameters can be defined
For each shaft segment, the following parameters can be defined

Revision as of 04:20, 4 December 2012

PartDesign_WizardShaft

Menu location
Part Design → Shaft design wizard...
Workbenches
PartDesign, Complete
Default shortcut
None
Introduced in version
-
See also
None

Introduction

This tool allows you to create a shaft from a table of values, and to analyse forces and moments. You can start the wizard from the Part Design menu or by typing

 Gui.runCommand('PartDesign_WizardShaft')

into the Python console of FreeCAD. The wizard will start and show a default table, the corresponding shaft part and force/moment graphs.

The top of the window is taken up by the table. It is organized into numbered columns which correspond to segments of the shaft. A shaft segment is characterized by having certain length and diameter. The main window shows two tabs. One is the shaft part itself (a revolution feature), shown in the image above. The second tab shows graphs of the shear forces and moments created by the loads defined in the table.


Prerequisites

The shaft design wizard depends on the matplotlib library to create and display the graphs of shear force and bending moment. On Debian/Ubuntu-based systems, it is available through the python-matplotlib package.

Parameters

For each shaft segment, the following parameters can be defined

  • Length of the segment
  • Diameter of the segment
  • Load type. Note that you have to click on the desired entry in the menu after scrolling to it, otherwise it will not be selected!
    • None: No load
    • Fixed: The end of the shaft is fixed (e.g. welded to another part). This load type can only be defined for the first or last segment.
    • Static: There is a static load on this shaft segment
  • Load on the shaft segment
  • Location where the load is applied to the segment. The location is counted from the left-hand edge of the segment

(Other rows and load types exist but no functionality has been implemented yet)

Menus

To add a new shaft segment, right-click into the empty space to the right of the table, and choose "Add column".

Limitations

  • It is not possible to have adjacent shaft segments with the same diameter.

Planned functionality

  • Table-driven chamfers and rounds on the shaft edges
  • Recognize a previously created shaft wizard part and initialize the table values from it
  • Shaft stress calculation
  • Visualization of loads on the shaft (can use the same functionality as for FEM module)
  • Definition of loads as a Document Object (can use the same functionality as for FEM module)
  • Material database
  • Allow loads in the Z-direction as well as in Y-direction (requires definition of loads as a Document Object, otherwise the table will become very long)
Available translations of this page: