Shaft Key
The ShaftKeys tool is used to create ShaftKey on the shaft part. This dialog box is displayed every time you drop the ShaftKey tool in the scene or when you edit one.
The ShaftKey can be placed also on cylindrical parts, drop the tool on an circular edge or face and the ShaftKey inherits the shaft dimensions.
Components
You can change the type of ShaftKeys clicking of the combo box Normative placed into parameters.
Parameters
- Unit - This box lets you choose the measure unit.
- Normative - Using this combo box, the user can select the correct rule.
- Hollow Mode - This box lets you choose between the hollow mode: none, active, only hollow (in this case the ShaftKey is not positioned). When the user activates the hollow, the check control of the Chamfer is activated to do so on the edge of the groove.
- Material - Using this combo box, the user could select the code of the material related to the component.
- Shaft Diam. - This combo box contains all the values related to the selected rule. When the user drags a component over on circle edge (for example, if the user drags a ShaftKey over a shaft) the ShaftKey inherits the shaft dimensions.
- other Fields specific for each components
BOM Information
ShaftKey BOMThe bottom section of the dialog contains the items useful to set the information related to the component.
The section is divided in two parts: BOM Information and Custom Information. For a detailed explanation see here BOM information
The data structure behind ShaftKey
Every component defined in the User Interface has behind him some data files which contain properties and parameters related to the component itself. These files are placed in the folder of the standard rule. The main files associated to the family of components are the followings: ShaftKey.ini and FileName.dat
Every numbered section is related to an icon of the component in the User Interface, and every record contains these fields:
- Name -> Component name that appears in the combo
- FileTable -> File containing the data values useful to build the component
- TypeKey -> Type of ShaftKey
- Description -> Description of the Standard Rule
- CodeConf -> Configuration of Code
- Descr -> Configuration of the Description
- MaterialFile -> Data file containing the materials allowed for this kind of component
For example, this is the structure of a ShaftKey.ini file
#
# Name |FileTable |TypeKey| Description | CodeConf | Descr | Material
#
DIN 6885 A | DIN6885A.dat | 0 | Parallel Key Low Type | <b>x<h>x<l><T> | KK<b>x<h>x<l> | Steel.dat
DIN 6885 B | DIN6885B.dat | 1 | Parallel Key Hight Type | <b>x<h>x<l><T> | KR<b>x<h>x<l> | Steel.dat
DIN 6887 | DIN6887.dat | 2 | Taper key with gib head | <b>x<h>x<l><T> | KR<b>x<h>x<l> | Steel.dat
DIN 6888-1 | DIN6888-1.dat | 3 | Woodruff key | <b>x<h>x<l><T> | KR<b>x<h>x<l> | Steel.dat
DIN 6888-2 | DIN6888-2.dat | 3 | Woodruff key | <b>x<h>x<l><T> | KR<b>x<h>x<l> | Steel.dat
Under each section it is possible to place several records; every record refers to a particular rule.
The material data file contains all the materials available for the component. All the material files are stored in the folder Norme.
The FileName.dat files, contain the fields of the standard values related to ShaftKey normative; the structure of the files are self-explaining.
#
# DMin DMax b h l t1
#
6 | 8 | 2 | 2 | 6 | 1.2
6 | 8 | 2 | 2 | 8 | 1.2
6 | 8 | 2 | 2 | 10 | 1.2
6 | 8 | 2 | 2 | 12 | 1.2
6 | 8 | 2 | 2 | 14 | 1.2
6 | 8 | 2 | 2 | 16 | 1.2
6 | 8 | 2 | 2 | 18 | 1.2
...
...