Skip to main content
Namespace: VM.API.Pre.GearTrain
Assembly: VM.API.Pre.GearTrain.dll
This class implements APIs for GearSet class.

Inheritance

object ← GearSetAPI

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Methods

CalculateBeamStiffness(HiddenGearSetRackAndPinionDocument)

Calculate beam stiffness.

Parameters

document HiddenGearSetRackAndPinionDocument The HiddenGearSetRackAndPinionDocument for simulate. If null, the active document will be used.

Returns

IEnumerable<double> The 6 by 6 stiffness.

Exceptions

ArgumentNullException Will be thrown if ‘document’ argument is empty. FileNotFoundException Will be thrown if ‘feDataFilePath’ is not found.

CalculateToothStiffness(HiddenGearSetDocumentBase, int)

Calculate tooth stiffness in gear designer.

Parameters

document HiddenGearSetDocumentBase The HiddenGearSetDocumentBase for calculate. If null, the active document will be used. gearIdx int The gear index.

Exceptions

ArgumentNullException Will be thrown if ‘document’ argument is empty. ArgumentOutOfRangeException Will be thrown if ‘gearIdx’ argument is less than 0.

CalculateToothStiffness(GearTrainDocument, Obj, int)

Calculate tooth stiffness in gear train subsystem.

Parameters

document GearTrainDocument The GearTrainDocument for simulate. If null, the active document will be used. gearset Obj The gearset. The type is IGearSet. gearIdx int The gear index.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘gearset’ arguments are empty. ArgumentOutOfRangeException Will be thrown if ‘gearIdx’ argument is less than 0. ArgumentNullException Will be thrown if type of ‘gearset’ is not IGearSet.

CalculateToothStiffnessForCycloid(HiddenGearSetCycloidPinDocument, int)

Calculate tooth stiffness for cycloid in gear designer.

Parameters

document HiddenGearSetCycloidPinDocument The HiddenGearSetDocumentBase for calculate. If null, the active document will be used. gearIdx int The gear index.

Exceptions

ArgumentNullException Will be thrown if ‘document’ argument is empty. ArgumentOutOfRangeException Will be thrown if ‘gearIdx’ argument is less than 0.

CalculateToothStiffnessForCycloid(GearTrainDocument, Obj, int)

Calculate tooth stiffness for cycloid in gear train subsystem.

Parameters

document GearTrainDocument The GearTrainDocument for simulate. If null, the active document will be used. gearset Obj The gearset. The type is IGearSet. gearIdx int The gear index.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘gearset’ arguments are empty. ArgumentOutOfRangeException Will be thrown if ‘gearIdx’ argument is less than 0. ArgumentNullException Will be thrown if type of ‘gearset’ is not IGearSet.

CalculateToothStiffnessForRackAndPinion(HiddenGearSetRackAndPinionDocument, int)

Calculate tooth stiffness for rack and pinion in gear designer.

Parameters

document HiddenGearSetRackAndPinionDocument The HiddenGearSetRackAndPinionDocument for calculate. If null, the active document will be used. gearIdx int The gear index.

Exceptions

ArgumentNullException Will be thrown if ‘document’ argument is empty. ArgumentOutOfRangeException Will be thrown if ‘gearIdx’ argument is less than 0.

CalculateToothStiffnessForRackAndPinion(GearTrainDocument, Obj, int)

Calculate tooth stiffness for rack and pinion in gear train subsystem.

Parameters

document GearTrainDocument The GearTrainDocument for simulate. If null, the active document will be used. gearset Obj The gearset. The type is IGearSet. gearIdx int The gear index.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘gearset’ arguments are empty. ArgumentOutOfRangeException Will be thrown if ‘gearIdx’ argument is less than 0. ArgumentNullException Will be thrown if type of ‘gearset’ is not IGearSet.

CalculateWebStiffnessForEF(HiddenGearSetDocumentBase, string, int, ExpressionValueVariable, ExpressionValueVariable)

Calculate ef web stiffness for EF in gear designer.

Parameters

document HiddenGearSetDocumentBase The GearTrainDocument for simulate. If null, the active document will be used. cadDataFilePath string The cad data file path. gearIdx int The gear index. angle ExpressionValueVariable The angle. offset ExpressionValueVariable The offset.

Returns

(double, IEnumerable<double>, IEnumerable<double>) The mass, moment of inertia(Ixx, Ixy, Ixz, Iyy, Iyz, Izz), 6 by 6 stiffness.

Exceptions

ArgumentNullException Will be thrown if ‘document’ argument is empty. FileNotFoundException Will be thrown if ‘feDataFilePath’ is not found. ArgumentOutOfRangeException Will be thrown if ‘gearIdx’ argument is less than 0.

CalculateWebStiffnessForFE(HiddenGearSetDocumentBase, string, int, ExpressionValueVariable, ExpressionValueVariable)

Calculate fe web stiffness for FE in gear designer.

Parameters

document HiddenGearSetDocumentBase The GearTrainDocument for simulate. If null, the active document will be used. feDataFilePath string The fe data file path. gearIdx int The gear index. angle ExpressionValueVariable The angle. offset ExpressionValueVariable The offset.

Returns

(double, IEnumerable<double>, IEnumerable<double>) The mass, moment of inertia(Ixx, Ixy, Ixz, Iyy, Iyz, Izz), 6 by 6 stiffness.

Exceptions

ArgumentNullException Will be thrown if ‘document’ argument is empty. FileNotFoundException Will be thrown if ‘feDataFilePath’ is not found. ArgumentOutOfRangeException Will be thrown if ‘gearIdx’ argument is less than 0.

ContactAnalysis(HiddenGearSetDocumentBase, int, ExpressionValueVariable, ExpressionValueVariable, ExpressionValueVariable, bool, ContactAnalysisInputType, ContactAnalysisInputType)

Contact analysis In gearset designer.

Parameters

document HiddenGearSetDocumentBase The HiddenGearSetDocumentBase for simulate. If null, the active document will be used. nGearPairIndex int The gear pair index. speed ExpressionValueVariable The speed. torque ExpressionValueVariable The torque. ratio ExpressionValueVariable The ratio. openPost bool The flag for whether opening post processor. The default value is false. input PropertyGearSetPlanetary.ContactAnalysisInputType The input type. The default value is SunGear. output PropertyGearSetPlanetary.ContactAnalysisInputType The output type. The default value is Carrier.

Exceptions

ArgumentNullException Will be thrown if ‘document’ argument is empty. ArgumentOutOfRangeException Will be thrown if ‘gearIdx’ argument is less than 0.

CreateCrossHelicalGearSet(GearTrainDocument, string, HelicalAngleType, ExpressionValueVariable?, ExpressionValueVariable?, ExpressionValueVariable?, IEnumerable<ExpressionValueVariable>, IEnumerable<ExpressionValueVariable>, IEnumerable<ExpressionValueVariable>, IEnumerable<ExpressionValueVariable>, IEnumerable<string>, ExpressionValueVariable?, Color?)

Create GearSetCrossHelical.

Parameters

document GearTrainDocument The document to create the cross helical gearset. gearsetName string The name of the gearset. If empty, default name starts with ‘CrossHelicalGearSet_’ will be generated and used. helicalAngleType BasicInvolute.HelicalAngleType The helical angle type. The default value is Right. module ExpressionValueVariable? The module. The default value is 3.046. pressureAngle ExpressionValueVariable? The pressure angle. The default value is 20. helixAngle ExpressionValueVariable? The helix angle. The default value is 10. centerDistance IEnumerable<ExpressionValueVariable> The center distance of each gear pair. The default value is 74. numberOfTeeth IEnumerable<ExpressionValueVariable> The number of teeth of each gear. The default value is 18, 25. profileShift IEnumerable<ExpressionValueVariable> The profile shift of each gear. The default value is 0,0. faceWidth IEnumerable<ExpressionValueVariable> The face width of each gear. The default value is 30, 30. gearName IEnumerable<string> The gear name of each gear. The default value is Gear1, Gear2. crossAxisAngle ExpressionValueVariable? The cross axis angle. The default value is 45. color Color? The color of the gearset.

Returns

Obj The new GearSetCrossHelical object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’ argument is empty. ArgumentException Will be thrown if length of ‘centerDistance’ is not 1. ArgumentException Will be thrown if length of ‘numberOfTeeth’ is not 2. ArgumentException Will be thrown if length of ‘profileShift’ is not 2. ArgumentException Will be thrown if length of ‘faceWidth’ is not 2. ArgumentException Will be thrown if length of ‘gearName’ is not 2.

CreateCrossHelicalGearSet(GearTrainDocument, Obj, string, Color?)

Create GearSetCrossHelical.

Parameters

document GearTrainDocument The document to create the cross helical gearset. gearsetCopy Obj The cross helical gearset to be copied. The type is GearSetCrossHelical. gearsetName string The name of the gearset. If empty, default name starts with ‘CrossHelicalGearSet_’ will be generated and used. color Color? The color of the gearset.

Returns

Obj The new GearSetCrossHelical object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘gearsetCopy’ arguments are empty. ArgumentException Will be thrown if type of ‘gearsetCopy’ is not GearSetCrossHelical.

CreateCrossHelicalGearSetWithKISSsoft(GearTrainDocument, string, string, Color?)

Create GearSetCrossHelical with KISSsoft.

Parameters

document GearTrainDocument The document to create the cross helical gearset. modelFilePath string The KISS soft model file path. gearsetName string The name of the gearset. If empty, default name starts with ‘CrossHelicalGearSet_’ will be generated and used. color Color? The color of the gearset.

Returns

Obj The new GearSetCrossHelical object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘modelPath’ arguments are empty. FileNotFoundException Will be thrown if ‘modelPath’ is not found.

CreateCustomGearSet(GearTrainDocument, string, int, IEnumerable<string>, Color?)

Create GearSetCustom.

Parameters

document GearTrainDocument The document to create the rack and pinion gearset. gearsetName string The name of the gearset. If empty, default name starts with ‘CustomGearSet_’ will be generated and used. numberOfGear int The number of gear. The default value is 2. gearName IEnumerable<string> The gear name of each gear. The default value is Gear1, Gear2. color Color? The color of the gearset.

Returns

Obj The new GearSetCustom object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’ argument is empty. ArgumentException Will be thrown if length of ‘gearName’ is not ‘numberOfGear’.

CreateCustomGearSet(GearTrainDocument, Obj, string, Color?)

Create GearSetCustom.

Parameters

document GearTrainDocument The document to create the custom gearset. gearsetCopy Obj The custom gearset to be copied. The type is GearSetCustom. gearsetName string The name of the gearset. If empty, default name starts with ‘CustomGearSet_’ will be generated and used. color Color? The color of the gearset.

Returns

Obj The new GearSetCustom object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘gearsetCopy’ arguments are empty. ArgumentException Will be thrown if type of ‘gearsetCopy’ is not GearSetCustom.

CreateCycloidPinGearSet(GearTrainDocument, string, string, IEnumerable<ExpressionValueVariable>, IEnumerable<ExpressionValueVariable>, IEnumerable<string>, ExpressionValueVariable?, ExpressionValueVariable?, ExpressionValueVariable?, Color?)

Create GearSetCycloidPin.

Parameters

document GearTrainDocument The document to create the cycloid pin gearset. cycloidProfilePath string The cycloid profile path. gearsetName string The name of the gearset. If empty, default name starts with ‘CycloidPinGearSet_’ will be generated and used. numberOfTeeth IEnumerable<ExpressionValueVariable> The number of teeth of each gear. The default value is 39, 40. faceWidth IEnumerable<ExpressionValueVariable> The face width of each gear. The default value is 10, 10. gearName IEnumerable<string> The gear name of each gear. The default value is Cycloid, Pin. pinDiameterOfGear ExpressionValueVariable? The pin diameter of gear. The default value is 6. pinPitchOfGear ExpressionValueVariable? The pin pitch of gear. The default value is 141. eccentricityOfGear ExpressionValueVariable? The eccentricity of gear. The default value is 1.4. color Color? The color of the gearset.

Returns

Obj The new GearSetCycloidPin object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’ argument is empty. FileNotFoundException Will be thrown if ‘modelPath’ is not found. ArgumentException Will be thrown if length of ‘numberOfTeeth’ is not 2. ArgumentException Will be thrown if length of ‘profileShift’ is not 2. ArgumentException Will be thrown if length of ‘faceWidth’ is not 2. ArgumentException Will be thrown if length of ‘gearName’ is not 2.

CreateCycloidPinGearSet(GearTrainDocument, Obj, string, Color?)

Create GearSetCycloidPin.

Parameters

document GearTrainDocument The document to create the cycloid pin gearset. gearsetCopy Obj The cycloid pin gearset to be copied. The type is GearSetCycloidPin. gearsetName string The name of the gearset. If empty, default name starts with ‘CycloidPinGearSet_’ will be generated and used. color Color? The color of the gearset.

Returns

Obj The new GearSetCycloidPin object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘gearsetCopy’ arguments are empty. ArgumentException Will be thrown if type of ‘gearsetCopy’ is not GearSetCycloidPin.

CreateExternalGearSet(GearTrainDocument, string, GearType, HelicalAngleType, int, ExpressionValueVariable?, ExpressionValueVariable?, ExpressionValueVariable?, IEnumerable<ExpressionValueVariable>, IEnumerable<ExpressionValueVariable>, IEnumerable<ExpressionValueVariable>, IEnumerable<ExpressionValueVariable>, IEnumerable<string>, bool, Color?)

Create GearSet.

Parameters

document GearTrainDocument The document to create the external gearset. gearsetName string The name of the gearset. If empty, default name starts with ‘ExternalGearSet_’ will be generated and used. gearType BasicInvolute.GearType The gear type. The default value is Helical. helicalAngleType BasicInvolute.HelicalAngleType The helical angle type. The default value is Right. numberOfGear int The number of gear. The default value is 2. module ExpressionValueVariable? The module. The default value is 2.245. pressureAngle ExpressionValueVariable? The pressure angle. The default value is 17. helixAngle ExpressionValueVariable? The helix angle. The default value is 29. centerDistance IEnumerable<ExpressionValueVariable> The center distance of each gear pair. The default value is 75. numberOfTeeth IEnumerable<ExpressionValueVariable> The number of teeth of each gear. If the number of gear is 2, the default value is 17, 40. profileShift IEnumerable<ExpressionValueVariable> The profile shift of each gear. If the number of gear is 2, the default value is 0.3441, 0.5426. faceWidth IEnumerable<ExpressionValueVariable> The face width of each gear. If the number of gear is 2, the default value is 31, 31. gearName IEnumerable<string> The gear name of each gear. If the number of gear is 2, the default value is Gear1, Gear2. useAdvanced bool The flag that indicates using advanced mode. The default value is false. color Color? The color of the gearset.

Returns

Obj The new GearSet object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’ argument is empty. ArgumentOutOfRangeException Will be thrown if ‘numberOfGear’ is less than 2. ArgumentException Will be thrown if length of ‘centerDistance’ is not ‘numberOfGear’-1. ArgumentException Will be thrown if length of ‘numberOfTeeth’ is not ‘numberOfGear’. ArgumentException Will be thrown if length of ‘profileShift’ is not ‘numberOfGear’. ArgumentException Will be thrown if length of ‘faceWidth’ is not ‘numberOfGear’. ArgumentException Will be thrown if length of ‘gearName’ is not ‘numberOfGear’.

CreateExternalGearSet(GearTrainDocument, Obj, string, Color?)

Create GearSet.

Parameters

document GearTrainDocument The document to create the external gearset. gearsetCopy Obj The external gearset to be copied. The type is GearSet. gearsetName string The name of the gearset. If empty, default name starts with ‘ExternalGearSet_’ will be generated and used. color Color? The color of the gearset.

Returns

Obj The new GearSet object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘gearsetCopy’ arguments are empty. ArgumentException Will be thrown if type of ‘gearsetCopy’ is not GearSet.

CreateExternalGearSetWithKISSsoft(GearTrainDocument, string, string, Color?)

Create GearSet with KISSsoft.

Parameters

document GearTrainDocument The document to create the external gearset. modelFilePath string The KISS soft model file path. gearsetName string The name of the gearset. If empty, default name starts with ‘ExternalGearSet_’ will be generated and used. color Color? The color of the gearset.

Returns

Obj The new GearSet object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘modelPath’ arguments are empty. FileNotFoundException Will be thrown if ‘modelPath’ is not found.

CreateInternalGearSet(GearTrainDocument, string, GearType, HelicalAngleType, ExpressionValueVariable?, ExpressionValueVariable?, ExpressionValueVariable?, IEnumerable<ExpressionValueVariable>, IEnumerable<ExpressionValueVariable>, IEnumerable<ExpressionValueVariable>, IEnumerable<ExpressionValueVariable>, IEnumerable<string>, bool, Color?)

Create GearSetInternal.

Parameters

document GearTrainDocument The document to create the internal gearset. gearsetName string The name of the gearset. If empty, default name starts with ‘InternalGearSet_’ will be generated and used. gearType BasicInvolute.GearType The gear type. The default value is Helical. helicalAngleType BasicInvolute.HelicalAngleType The helical angle type. The default value is Right. module ExpressionValueVariable? The module. The default value is 2.245. pressureAngle ExpressionValueVariable? The pressure angle. The default value is 17. helixAngle ExpressionValueVariable? The helix angle. The default value is 29. centerDistance IEnumerable<ExpressionValueVariable> The center distance of each gear pair. The default value is 26. numberOfTeeth IEnumerable<ExpressionValueVariable> The number of teeth of each gear. The default value is 17, -40. profileShift IEnumerable<ExpressionValueVariable> The profile shift of each gear. The default value is 0.3441, -0.5426. faceWidth IEnumerable<ExpressionValueVariable> The face width of each gear. The default value is 31, 31. gearName IEnumerable<string> The gear name of each gear. The default value is Pinion, RingGear. useAdvanced bool The flag that indicates using advanced mode. The default value is false. color Color? The color of the gearset.

Returns

Obj The new GearSetInternal object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’ argument is empty. ArgumentException Will be thrown if length of ‘centerDistance’ is not 1. ArgumentException Will be thrown if length of ‘numberOfTeeth’ is not 2. ArgumentException Will be thrown if length of ‘profileShift’ is not 2. ArgumentException Will be thrown if length of ‘faceWidth’ is not 2. ArgumentException Will be thrown if length of ‘gearName’ is not 2.

CreateInternalGearSet(GearTrainDocument, Obj, string, Color?)

Create GearSetInternal.

Parameters

document GearTrainDocument The document to create the internal gearset. gearsetCopy Obj The internal gearset to be copied. GearSetInternal. gearsetName string The name of the gearset. If empty, default name starts with ‘InternalGearSet_’ will be generated and used. color Color? The color of the gearset.

Returns

Obj The new GearSetInternal object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘gearsetCopy’ arguments are empty. ArgumentException Will be thrown if type of ‘gearsetCopy’ is not GearSetInternal.

CreateInternalGearSetWithKISSsoft(GearTrainDocument, string, string, Color?)

Create GearSetInternal with KISSsoft.

Parameters

document GearTrainDocument The document to create the internal gearset. modelFilePath string The KISS soft model file path. gearsetName string The name of the gearset. If empty, default name starts with ‘InternalGearSet_’ will be generated and used. color Color? The color of the gearset.

Returns

Obj The new GearSetInternal object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘modelPath’ arguments are empty. FileNotFoundException Will be thrown if ‘modelPath’ is not found.

CreatePlanetaryDPGearSet(GearTrainDocument, string, GearType, HelicalAngleType, int, ExpressionValueVariable?, ExpressionValueVariable?, ExpressionValueVariable?, IEnumerable<ExpressionValueVariable>, IEnumerable<ExpressionValueVariable>, IEnumerable<ExpressionValueVariable>, IEnumerable<ExpressionValueVariable>, DogLegDirectionType, Color?)

Create GearSetPlanetaryDP.

Parameters

document GearTrainDocument The document to create the double pinion planetary gearset. gearsetName string The name of the gearset. If empty, default name starts with ‘PlanetaryGearSet_’ will be generated and used. gearType BasicInvolute.GearType The gear type. The default value is Helical. helicalAngleType BasicInvolute.HelicalAngleType The helical angle type. The default value is Right. numberOfPinionGear int The number of pinion gear. The default value is 5. module ExpressionValueVariable? The module. The default value is 1.5. pressureAngle ExpressionValueVariable? The pressure angle. The default value is 20. helixAngle ExpressionValueVariable? The helix angle. The default value is 22. centerDistance IEnumerable<ExpressionValueVariable> The center distance of each gear pair. If the number of pinion gear is 5, The default value is 49.343, 25.076, 64.712, 0. numberOfTeeth IEnumerable<ExpressionValueVariable> The number of teeth of each gear. If the number of pinion gear is 5, the default value is 46, 15, 16, -96. profileShift IEnumerable<ExpressionValueVariable> The profile shift of each gear. If the number of pinion gear is 5, the default value is 0, 0, 0, 0. faceWidth IEnumerable<ExpressionValueVariable> The face width of each gear. If the number of pinion gear is 5, the default value is 10, 10, 10, 10. dogLegDirectionType PropertyGearSetPlanetaryDP.DogLegDirectionType The dog leg direction type. The default value is Right.. color Color? The color of the gearset.

Returns

Obj The new GearSetPlanetaryDP object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’ argument is empty. ArgumentOutOfRangeException Will be thrown if ‘numberOfPinionGear’ is less than 2. ArgumentException Will be thrown if length of ‘centerDistance’ is not 4. ArgumentException Will be thrown if length of ‘numberOfTeeth’ is not 4. ArgumentException Will be thrown if length of ‘profileShift’ is not 4. ArgumentException Will be thrown if length of ‘faceWidth’ is not 4.

CreatePlanetaryDPGearSet(GearTrainDocument, Obj, string, Color?)

Create GearSetPlanetaryDP.

Parameters

document GearTrainDocument The document to create the double pinion planetary gearset. gearsetCopy Obj The double pinion planetary gearset to be copied. The type is GearSetPlanetaryDP. gearsetName string The name of the gearset. If empty, default name starts with ‘PlanetaryGearSet_’ will be generated and used. color Color? The color of the gearset.

Returns

Obj The new GearSetPlanetaryDP object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘gearsetCopy’ arguments are empty. ArgumentException Will be thrown if type of ‘gearsetCopy’ is not GearSetPlanetaryDP.

CreatePlanetaryGearSet(GearTrainDocument, string, GearType, HelicalAngleType, int, ExpressionValueVariable?, ExpressionValueVariable?, ExpressionValueVariable?, IEnumerable<ExpressionValueVariable>, IEnumerable<ExpressionValueVariable>, IEnumerable<ExpressionValueVariable>, IEnumerable<ExpressionValueVariable>, bool, Color?)

Create GearSetPlanetary.

Parameters

document GearTrainDocument The document to create the planetary gearset. gearsetName string The name of the gearset. If empty, default name starts with ‘PlanetaryGearSet_’ will be generated and used. gearType BasicInvolute.GearType The gear type. The default value is Helical. helicalAngleType BasicInvolute.HelicalAngleType The helical angle type. The default value is Right. numberOfPinionGear int The number of pinion gear. The default value is 3. module ExpressionValueVariable? The module. The default value is 0.8. pressureAngle ExpressionValueVariable? The pressure angle. The default value is 20. helixAngle ExpressionValueVariable? The helix angle. The default value is 0. centerDistance IEnumerable<ExpressionValueVariable> The center distance of each gear pair. If the number of pinion gear is 3, The default value is 10.6, 10.6, 10.6. numberOfTeeth IEnumerable<ExpressionValueVariable> The number of teeth of each gear. If the number of pinion gear is 3, the default value is 11, 14, -40. profileShift IEnumerable<ExpressionValueVariable> The profile shift of each gear. If the number of pinion gear is 3, the default value is 0.3125, 0.4055, -0.6725. faceWidth IEnumerable<ExpressionValueVariable> The face width of each gear. If the number of pinion gear is 3, the default value is 10, 10, 10. useAdvanced bool The flag that indicates using advanced mode. The default value is false. color Color? The color of the gearset.

Returns

Obj The new GearSetPlanetary object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’ argument is empty. ArgumentOutOfRangeException Will be thrown if ‘numberOfPinionGear’ is less than 1. ArgumentException Will be thrown if length of ‘centerDistance’ is not 3. ArgumentException Will be thrown if length of ‘numberOfTeeth’ is not 3. ArgumentException Will be thrown if length of ‘profileShift’ is not 3. ArgumentException Will be thrown if length of ‘faceWidth’ is not 3.

CreatePlanetaryGearSet(GearTrainDocument, Obj, string, Color?)

Create GearSetPlanetary.

Parameters

document GearTrainDocument The document to create the planetary gearset. gearsetCopy Obj The planetary gearset to be copied. The type is GearSetPlanetary. gearsetName string The name of the gearset. If empty, default name starts with ‘PlanetaryGearSet_’ will be generated and used. color Color? The color of the gearset.

Returns

Obj The new GearSetPlanetary object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘gearsetCopy’ arguments are empty. ArgumentException Will be thrown if type of ‘gearsetCopy’ is not GearSetPlanetary.

CreatePlanetaryGearSetWithKISSsoft(GearTrainDocument, string, string, Color?)

Create GearSetPlanetary with KISSsoft.

Parameters

document GearTrainDocument The document to create the planetary gearset. modelFilePath string The KISS soft model file path. gearsetName string The name of the gearset. If empty, default name starts with ‘PlanetaryGearSet_’ will be generated and used. color Color? The color of the gearset.

Returns

Obj The new GearSetPlanetary object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘modelPath’ arguments are empty. FileNotFoundException Will be thrown if ‘modelPath’ is not found.

CreateRackAndPinionGearSet(GearTrainDocument, string, GearType, HelicalAngleType, ExpressionValueVariable?, ExpressionValueVariable?, ExpressionValueVariable?, IEnumerable<ExpressionValueVariable>, IEnumerable<ExpressionValueVariable>, IEnumerable<ExpressionValueVariable>, IEnumerable<ExpressionValueVariable>, IEnumerable<string>, bool, ExpressionValueVariable?, BarType, ExpressionValueVariable?, ExpressionValueVariable?, ExpressionValueVariable?, Color?)

Create GearSetRackAndPinion.

Parameters

document GearTrainDocument The document to create the rack and pinion gearset. gearsetName string The name of the gearset. If empty, default name starts with ‘RackPSet_’ will be generated and used. gearType BasicInvolute.GearType The gear type. The default value is Helical. helicalAngleType BasicInvolute.HelicalAngleType The helical angle type. The default value is Right. module ExpressionValueVariable? The module. The default value is 2. pressureAngle ExpressionValueVariable? The pressure angle. The default value is 20. helixAngle ExpressionValueVariable? The helix angle. The default value is 15. centerDistance IEnumerable<ExpressionValueVariable> The center distance of each gear pair. The default value is 18.5. numberOfTeeth IEnumerable<ExpressionValueVariable> The number of teeth of each gear. The default value is 10, 32. profileShift IEnumerable<ExpressionValueVariable> The profile shift of each gear. The default value is 0.5, 0. faceWidth IEnumerable<ExpressionValueVariable> The face width of each gear. The default value is 49, 49. gearName IEnumerable<string> The gear name of each gear. The default value is Pinion, Rack. useDifferentHelixAngle bool The flag that indicates using different helix angle. The default value is true. rackHelixAngle ExpressionValueVariable? The rack helix angle. The default value is 5.0. rackType Rack.BarType The rack type. The default value is Circular. diameterOfRack ExpressionValueVariable? The diameter of rack. The default value is 28. heightOfRack ExpressionValueVariable? The height of rack. The default value is 23. sideLength ExpressionValueVariable? The side length. The default value is 9.1834. color Color? The color of the gearset.

Returns

Obj The new GearSetRackAndPinion object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’ argument is empty. ArgumentException Will be thrown if length of ‘centerDistance’ is not 1. ArgumentException Will be thrown if length of ‘numberOfTeeth’ is not 2. ArgumentException Will be thrown if length of ‘profileShift’ is not 2. ArgumentException Will be thrown if length of ‘faceWidth’ is not 2. ArgumentException Will be thrown if length of ‘gearName’ is not 2.

CreateRackAndPinionGearSet(GearTrainDocument, Obj, string, Color?)

Create GearSetRackAndPinion.

Parameters

document GearTrainDocument The document to create the rack and pinion gearset. gearsetCopy Obj The rack and pinion gearset to be copied. The type is GearSetRackAndPinion. gearsetName string The name of the gearset. If empty, default name starts with ‘RackPSet_’ will be generated and used. color Color? The color of the gearset.

Returns

Obj The new GearSetRackAndPinion object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘gearsetCopy’ arguments are empty. ArgumentException Will be thrown if type of ‘gearsetCopy’ is not GearSetRackAndPinion.

CreateWormAndWormWheelGearSet(GearTrainDocument, string, HelicalAngleType, ExpressionValueVariable?, ExpressionValueVariable?, ExpressionValueVariable?, IEnumerable<ExpressionValueVariable>, IEnumerable<ExpressionValueVariable>, IEnumerable<ExpressionValueVariable>, IEnumerable<ExpressionValueVariable>, IEnumerable<string>, Color?)

Create GearSetWormAndWormWheel.

Parameters

document GearTrainDocument The document to create the worm and worm wheel gearset. gearsetName string The name of the gearset. If empty, default name starts with ‘WormGearSet_’ will be generated and used. helicalAngleType BasicInvolute.HelicalAngleType The helical angle type. The default value is Right. module ExpressionValueVariable? The module. The default value is 0.802183. pressureAngle ExpressionValueVariable? The pressure angle. The default value is 14.5. leadAngle ExpressionValueVariable? The lead angle. The default value is 30. centerDistance IEnumerable<ExpressionValueVariable> The center distance of each gear pair. The default value is 14.2. numberOfTeeth IEnumerable<ExpressionValueVariable> The number of teeth of each gear. The default value is 5, 22. profileShift IEnumerable<ExpressionValueVariable> The profile shift of each gear. The default value is -0.75, 0.465. faceWidth IEnumerable<ExpressionValueVariable> The face width of each gear. The default value is 13, 9. gearName IEnumerable<string> The gear name of each gear. The default value is Worm, Wheel. color Color? The color of the gearset.

Returns

Obj The new GearSetWormAndWormWheel object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’ argument is empty. ArgumentException Will be thrown if length of ‘centerDistance’ is not 1. ArgumentException Will be thrown if length of ‘numberOfTeeth’ is not 2. ArgumentException Will be thrown if length of ‘profileShift’ is not 2. ArgumentException Will be thrown if length of ‘faceWidth’ is not 2. ArgumentException Will be thrown if length of ‘gearName’ is not 2.

CreateWormAndWormWheelGearSet(GearTrainDocument, Obj, string, Color?)

Create GearSetWormAndWormWheel.

Parameters

document GearTrainDocument The document to create the worm and worm wheel gearset. gearsetCopy Obj The worm and worm wheel gearset to be copied. The type is GearSetWormAndWormWheel. gearsetName string The name of the gearset. If empty, default name starts with ‘WormGearSet_’ will be generated and used. color Color? The color of the gearset.

Returns

Obj The new GearSetWormAndWormWheel object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘gearsetCopy’ arguments are empty. ArgumentException Will be thrown if type of ‘gearsetCopy’ is not GearSetWormAndWormWheel.

MeshingGearSet(GearTrainDocument, Obj)

Meshing gearset in gear train subsystem.

Parameters

document GearTrainDocument The GearTrainDocument for simulate. If null, the active document will be used. gearset Obj The gearset. The type is IGearSet

Returns

bool The flag for success.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘gearset’ arguments are empty. ArgumentNullException Will be thrown if type of ‘gearset’ is not IGearSet.

UpdateGearInEF(HiddenDocumentMeshBase, Obj, int, ExpressionValueVariable, AttachLocationType, Obj, RacewayType)

Update gear in EF shaftset/housing designer.

Parameters

document HiddenDocumentMeshBase The HiddenDocumentMeshBase for gear update. If null, the active document will be used. gearset Obj The gearset. The type is IGearSet. gearIdx int The gear index. referenceOffset ExpressionValueVariable The reference offset. attachLocationType AttachLocationType The attach location type. bearing Obj The bearing. The type is Bearing. racewayType RacewayGeometryInfo.RacewayType The raceway type.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘gearset’ or ‘bearing’ arguments are empty. ArgumentOutOfRangeException Will be thrown if ‘gearIndex’ is less than zero.

UpdateGearInEF(HiddenDocumentMeshBase, Obj, int, Obj)

Update gear in EF shaftset/housing designer.

Parameters

document HiddenDocumentMeshBase The HiddenDocumentMeshBase for gear update. If null, the active document will be used. gearset Obj The gearset. The type is IGearSet. gearIdx int The gear index. connectable Obj The start rbe. The type is IConnectable

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘connectable’ arguments are empty. ArgumentOutOfRangeException Will be thrown if ‘gearIndex’ is less than zero.

UpdateGearInFE(HiddenDocumentMeshBase, Obj, int, ExpressionValueVariable, AttachLocationType, Obj, RacewayType)

Update gear in FE shaftset/housing designer.

Parameters

document HiddenDocumentMeshBase The HiddenDocumentMeshBase for gear update. If null, the active document will be used. gearset Obj The gearset. The type is IGearSet. gearIdx int The gear index. referenceOffset ExpressionValueVariable The reference offset. attachLocationType AttachLocationType The attach location type. bearing Obj The bearing. The type is Bearing. racewayType RacewayGeometryInfo.RacewayType The raceway type.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘gearset’ or ‘bearing’ arguments are empty. ArgumentOutOfRangeException Will be thrown if ‘gearIdx’ argument is less than 0.

UpdateGearInFE(HiddenDocumentMeshBase, Obj, int, Obj)

Update gear in FE shaftset/housing designer.

Parameters

document HiddenDocumentMeshBase The HiddenDocumentMeshBase for gear update. If null, the active document will be used. gearset Obj The gearset. The type is IGearSet. gearIdx int The gear index. connectable Obj The start rbe. The type is IConnectable

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘connectable’ arguments are empty. ArgumentOutOfRangeException Will be thrown if ‘gearIdx’ argument is less than 0.

UpdateGearInShaftSet(HiddenShaftSetDocument, Obj, int, ExpressionValueVariable, AttachLocationType, Obj, RacewayType, ClearanceParameters?)

Update gear in simple shaftset designer.

Parameters

document HiddenShaftSetDocument The HiddenShaftSetDocument for gear update. If null, the active document will be used. gearset Obj The gearset. The type is IGearSet. gearIdx int The gear index. referenceOffset ExpressionValueVariable The reference offset. attachLocationType AttachLocationType The attach location type. bearing Obj The bearing. The type is Bearing. racewayType RacewayGeometryInfo.RacewayType The raceway type. clearanceParameters ClearanceParameters? The clearance parameter. If it is not given, default values will be used.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘gearset’ or ‘bearing’ arguments are empty. ArgumentOutOfRangeException Will be thrown if ‘gearIndex’ is less than zero.

UpdateGearInShaftSet(HiddenShaftSetDocument, Obj, int, ClearanceParameters?)

Update gear in simple shaftset designer.

Parameters

document HiddenShaftSetDocument The HiddenShaftSetDocument for gear update. If null, the active document will be used. gearset Obj The gearset. The type is IGearSet. gearIdx int The gear index. clearanceParameters ClearanceParameters? The clearance parameter. If it is not given, default values will be used.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘gearset’ or ‘connectable’ arguments are empty. ArgumentOutOfRangeException Will be thrown if ‘gearIndex’ is less than zero.

UpdateGearSet(HiddenGearSetDocumentBase)

Update gearset in gearset designer.

Parameters

document HiddenGearSetDocumentBase The HiddenGearSetDocumentBase for gearset update. If null, the active document will be used.

Exceptions

ArgumentNullException Will be thrown if ‘document’ argument is empty.

UpdateRackInEF(HiddenDocumentMeshBase, Obj, Obj, Obj, bool, bool, Vector, ExpressionValueVariable)

Update rack in EF shaftset/housing designer.

Parameters

document HiddenDocumentMeshBase The HiddenDocumentMeshBase for gear update. If null, the active document will be used. gearset Obj The gearset. The type is IGearSet. startConnectable Obj The start rbe. The type is IConnectable endConnectable Obj The end rbe. The type is IConnectable useStart bool The flag whether using start rbe. useEnd bool The flag whether using end rbe. zAxis Vector The z axis. initialAngle ExpressionValueVariable The initial angle.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘gearset’ arguments are empty. ArgumentException Will be thrown if the magnitude of ‘zAxis’ is 0. ArgumentException Will be thrown if the ‘useStart’ is true and ‘startConnectable’ is empty. ArgumentException Will be thrown if the ‘useEnd’ is true and ‘endConnectable’ is empty.

UpdateRackInFE(HiddenDocumentMeshBase, Obj, Obj, Obj, bool, bool, Vector, ExpressionValueVariable)

Update rack in FE shaftset/housing designer.

Parameters

document HiddenDocumentMeshBase The HiddenDocumentMeshBase for gear update. If null, the active document will be used. gearset Obj The gearset. The type is IGearSet. startConnectable Obj The start rbe. The type is IConnectable endConnectable Obj The end rbe. The type is IConnectable useStart bool The flag whether using start rbe. useEnd bool The flag whether using end rbe. zAxis Vector The z axis. initialAngle ExpressionValueVariable The initial angle.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘gearset’ arguments are empty. ArgumentException Will be thrown if the magnitude of ‘zAxis’ is 0. ArgumentException Will be thrown if the ‘useStart’ is true and ‘startConnectable’ is empty. ArgumentException Will be thrown if the ‘useEnd’ is true and ‘endConnectable’ is empty.

UpdateRackInShaftSet(HiddenShaftSetDocument, Obj, ExpressionValueVariable)

Update rack in simple shaftset designer.

Parameters

document HiddenShaftSetDocument The HiddenShaftSetDocument for gear update. If null, the active document will be used. gearset Obj The gearset. The type is IGearSet. initialAngle ExpressionValueVariable The initial angle.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘gearName’ or ‘clearanceInfo’ arguments are empty.