Class PropertyShaftSetBase
Last update: 16.07.2025Namespace: VM.Managed.DAFUL.GearTrain
Assembly: VMDGearTrain.dll
Property of Shaft set base
public abstract class PropertyShaftSetBase : PropertyHousingBase, IObservableObject, IDisposableObject, ILinkable, IObjectBase, IObject, IEventProvider, IHasKeyObject, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, IContainer, ILinkContainer, IOwned, IHasID
Inheritance
object ←
ObservableObject ←
LinkableBase ←
ObjectBase ←
Object
Derived
Implements
IObservableObject, IDisposableObject, ILinkable, IObjectBase, IObject, IEventProvider, IHasKeyObject, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, IContainer, ILinkContainer, IOwned, IHasID
Inherited Members
PropertyHousingBase.Initialize(Unit.ConvertFactor),
PropertyHousingBase.GetUnnamedObjectName(object),
PropertyHousingBase.FindLocal(string),
PropertyHousingBase.GeometryInfos(GeometryInfoBase.GeometryType),
PropertyHousingBase.FindAddedBuilderFromGeomInfo(GeometryInfoBase, string),
PropertyHousingBase.IsAvaiableToAddOrModifyGearWithAxis(GearTrainDocument, string, VectorBase, VectorBase, GearGeometryInfo),
PropertyHousingBase.IsAvaiableToAddOrModifyCrossHelicalGearWithAxis(GearTrainDocument, string, VectorBase, VectorBase, GearGeometryInfo),
PropertyHousingBase.IsAvaiableToAddOrModifyGearWithCenterDistance(GearTrainDocument, string, VectorBase, VectorBase, GearGeometryInfo),
PropertyHousingBase.GetGlobalAxisCore(Body[], ref List
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkedObjects
Constructors
PropertyShaftSetBase()
Initializes a new instance of the
public PropertyShaftSetBase()
Properties
AssemblyTolerance
Gets or sets the assembly tolerance
public static double AssemblyTolerance { get; set; }
Property Value
BeamSectionRatio
Gets or sets the beam section ratio.
public ExpressionValueVariable BeamSectionRatio { get; set; }
Property Value
ExpressionValueVariable
Color
Gets or sets the color. Use SetColor() when this instance sets for undo/redo
public string Color { get; set; }
Property Value
DrawingColor
Gets the color of the drawing.
public Color DrawingColor { get; }
Property Value
EccentricDirection
Gets or sets the eccentric direction.
public DirectionBase EccentricDirection { get; set; }
Property Value
DirectionBase
InputPowerLoad
Gets the input power load.
public PowerLoad InputPowerLoad { get; }
Property Value
MeasurePoints
Gets or sets the Measure points.
public MeasurePoint[] MeasurePoints { get; set; }
Property Value
OutputPowerLoad
Gets the output power load.
public PowerLoad OutputPowerLoad { get; }
Property Value
PowerLoads
Gets or sets the power loads.
public PowerLoad[] PowerLoads { get; set; }
Property Value
SectionInfos
Gets or sets the section infos.
public SectionInfo[] SectionInfos { get; set; }
Property Value
Exceptions
Section Info List is null. or Section Info list is null. or Section information object is null.
StartAxis
Gets or sets the start axis.
public DirectionBase StartAxis { get; set; }
Property Value
DirectionBase
StartAxisValue
Gets the start axis value.
public VectorBase StartAxisValue { get; }
Property Value
VectorBase
StartPoint
Gets or sets the start point.
public PointBase StartPoint { get; set; }
Property Value
PointBase
TotalSectionLength
Gets the total length of the section.
public double TotalSectionLength { get; }
Property Value
UseMiddleElementReferenceFrame
Use middle element reference frame
public bool UseMiddleElementReferenceFrame { get; set; }
Property Value
WidthForDurabilityAnalysis
Gets or sets the width for durability analysis.
public ExpressionValueVariable WidthForDurabilityAnalysis { get; set; }
Property Value
ExpressionValueVariable
Methods
AddGearInfo(GearGeometryInfo, double, Document3D, IOpenDesignerForGearTrain, RacewayGeometryInfo)
Adds the gear information.
public bool AddGearInfo(GearGeometryInfo info, double dOffset, Document3D doc, IOpenDesignerForGearTrain objParent, RacewayGeometryInfo rInfo)
Parameters
info GearGeometryInfo
The information.
dOffset double
The d offset.
doc Document3D
The document.
objParent IOpenDesignerForGearTrain
The object parent.
rInfo RacewayGeometryInfo
The r information.
Returns
AddGeometryInfo(GeometryInfoBase, double, Document3D, IOpenDesignerForGearTrain)
Adds the geometry information.
public bool AddGeometryInfo(GeometryInfoBase info, double dOffset, Document3D doc, IOpenDesignerForGearTrain objParent)
Parameters
info GeometryInfoBase
The information.
dOffset double
The d offset.
doc Document3D
The document.
objParent IOpenDesignerForGearTrain
The object parent.
Returns
AddGeometryInfo(GeometryInfoBase, double, Document3D, IOpenDesignerForGearTrain, bool)
Adds the geometry information.
public bool AddGeometryInfo(GeometryInfoBase info, double dOffset, Document3D doc, IOpenDesignerForGearTrain objParent, bool bRack)
Parameters
info GeometryInfoBase
The information.
dOffset double
The d offset.
doc Document3D
The document.
objParent IOpenDesignerForGearTrain
The object parent.
bRack bool
The object rack.
Returns
AddMeasurePoint(MeasurePoint)
Adds the Measure point.
public void AddMeasurePoint(MeasurePoint ip)
Parameters
ip MeasurePoint
The ip.
AddPowerLoad(PowerLoad)
Adds the power load.
public void AddPowerLoad(PowerLoad pl)
Parameters
pl PowerLoad
The pl.
AddSectionInfo(SectionInfo)
Adds the section information.
public void AddSectionInfo(SectionInfo info)
Parameters
info SectionInfo
The information.
ClearSectionInfo()
Clear section information.
public void ClearSectionInfo()
FindLocal(string)
Finds the specified string name.
public override IObjectBase FindLocal(string strName)
Parameters
strName string
Name of the string.
Returns
IObjectBase
FindRack(double, double, Document3D)
Finds the rack from geom information.
public Section FindRack(double dLength, double dOffset, Document3D doc)
Parameters
dLength double
Length of the d.
dOffset double
The d offset.
doc Document3D
The document.
Returns
FindSection(double, double, Document3D)
Finds the section from gear information.
public Section FindSection(double dLength, double dOffset, Document3D doc)
Parameters
dLength double
Length of the d.
dOffset double
The d offset.
doc Document3D
The document.
Returns
FindSection(double)
Find section
public SectionInfo FindSection(double dOffset)
Parameters
dOffset double
THe offset
Returns
FindSectionWithGearInfo(GearGeometryInfo, double)
Finds the section with gear information.
public SectionInfo FindSectionWithGearInfo(GearGeometryInfo info, double dOffset)
Parameters
info GearGeometryInfo
The information.
dOffset double
The d offset.
Returns
FindSectionWithRacewayInfo(RacewayGeometryInfo, double)
Finds the section with raceway information.
public SectionInfo FindSectionWithRacewayInfo(RacewayGeometryInfo info, double dOffset)
Parameters
info RacewayGeometryInfo
The information.
dOffset double
The d offset.
Returns
FindSectionWithSlidingBearingInfo(SBGeometryInfo, double)
Finds the section with sliding bearing information.
public SectionInfo FindSectionWithSlidingBearingInfo(SBGeometryInfo info, double dOffset)
Parameters
info SBGeometryInfo
The information.
dOffset double
The d offset.
Returns
GetBearingStartEndPoint()
Gets the bearing start end point.
public List<vector> GetBearingStartEndPoint()
Returns
GetGearStartEndPoint()
Gets the gear start end point.
public List<vector> GetGearStartEndPoint()
Returns
GetGlobalAxisCore(Body[], ref List)
Get the global axis
protected override void GetGlobalAxisCore(Body[] arBody, ref List<vectorbase> lst)
Parameters
arBody Body[]
The body list.
lst List
vector list.
GetLengthUntilTargetSegment(SectionInfo)
Gets the length until target segment.
public double GetLengthUntilTargetSegment(SectionInfo target)
Parameters
target SectionInfo
The target segment.
Returns
The length until target segment.
GetNewNameFromMeasurePoint(string)
Gets the new name from Measure point.
public string GetNewNameFromMeasurePoint(string strPrefix)
Parameters
strPrefix string
The string prefix.
Returns
GetNewNameFromPowerLoad(string)
Gets the new name from power load.
public string GetNewNameFromPowerLoad(string strPrefix)
Parameters
strPrefix string
The string prefix.
Returns
GetNextLocationPoint(SectionGeometryBase, Vector, VectorBase)
Gets the next location.
public VectorBase GetNextLocationPoint(SectionGeometryBase sgb, Vector vecAxis, VectorBase vecOffsetDirection)
Parameters
The SGB.
vecAxis Vector
The vec axis.
vecOffsetDirection VectorBase
The offset direction.
Returns
VectorBase
GetPowerLoadPoint()
Gets the power load point.
public List<vector> GetPowerLoadPoint()
Returns
GetShaftStartEndPoint()
Gets the shaft start end point.
public List<vector> GetShaftStartEndPoint()
Returns
Initialize(ConvertFactor)
Initializes the specified factor.
public override void Initialize(Unit.ConvertFactor factor)
Parameters
factor Unit.ConvertFactor
The factor.
InsertSectionInfo(SectionInfo, SectionInfo[])
Inserts the section information.
public void InsertSectionInfo(SectionInfo beforeSectionInfo, SectionInfo[] infos)
Parameters
beforeSectionInfo SectionInfo
The before section information.
infos SectionInfo[]
The infos.
IsContainsNameOfMeasurePoint(string)
Determines whether [is contains name of Measure point] [the specified string name].
public bool IsContainsNameOfMeasurePoint(string strName)
Parameters
strName string
Name of the string.
Returns
IsContainsNameOfPowerLoad(string)
Determines whether [is contains name of power load] [the specified string name].
public bool IsContainsNameOfPowerLoad(string strName)
Parameters
strName string
Name of the string.
Returns
IsContainsOffsetOfMeasurePoint(double)
Determines whether [is contains offset of Measure point] [the specified d offset].
public bool IsContainsOffsetOfMeasurePoint(double dOffset)
Parameters
dOffset double
The d offset.
Returns
IsContainsOffsetOfPowerLoad(double)
Determines whether [is contains offset of power load] [the specified d offset].
public bool IsContainsOffsetOfPowerLoad(double dOffset)
Parameters
dOffset double
The d offset.
Returns
IsLooseSameValue(double, double)
Determines whether is same value.
public static bool IsLooseSameValue(double dVal1, double dVal2)
Parameters
dVal1 double
value.
dVal2 double
The another value.
Returns
IsLooseSameVector(VectorBase, VectorBase)
Determines whether is same value.
public static bool IsLooseSameVector(VectorBase vecVal1, VectorBase vecVal2)
Parameters
vecVal1 VectorBase
value.
vecVal2 VectorBase
The another value.
Returns
IsSameValue(double, double)
Determines whether is same value.
public static bool IsSameValue(double dVal1, double dVal2)
Parameters
dVal1 double
value.
dVal2 double
The another value.
Returns
IsSameVector(VectorBase, VectorBase)
Determines whether is same value.
public static bool IsSameVector(VectorBase vecVal1, VectorBase vecVal2)
Parameters
vecVal1 VectorBase
value.
vecVal2 VectorBase
The another value.
Returns
LinkRequestDestroying(object, LinkEventArgs)
Links the request destroying.
protected override void LinkRequestDestroying(object objNotifier, LinkEventArgs arg)
Parameters
objNotifier object
The object notifier.
arg LinkEventArgs
The
LinkRequestUpdate(object, LinkEventArgs)
Request for update the linked object.
protected override void LinkRequestUpdate(object objNotifier, LinkEventArgs arg)
Parameters
objNotifier object
The linked object.
arg LinkEventArgs
The
OnDeserialization(object)
Called when [deserialization].
protected override void OnDeserialization(object sender)
Parameters
sender object
The sender.
RemoveMeasurePoint(PointEntityOnShaftSet)
Removes the Measure point.
public void RemoveMeasurePoint(PointEntityOnShaftSet ip)
Parameters
The ip.
RemovePowerLoad(PointEntityOnShaftSet)
Removes the power load.
public void RemovePowerLoad(PointEntityOnShaftSet pl)
Parameters
The pl.
RemoveRackSectionInfo(GearGeometryInfo)
Removes the rack section information.
public void RemoveRackSectionInfo(GearGeometryInfo gInfo)
Parameters
gInfo GearGeometryInfo
The g information.
RemoveSectionInfo(SectionInfo)
Removes the section information.
public SectionInfo RemoveSectionInfo(SectionInfo info)
Parameters
info SectionInfo
The information.
Returns
SetColor(string)
Set color.
public void SetColor(string color)
Parameters
color string
The color.