Class PropertyGearSetBase
Last update: 16.07.2025Namespace: VM.Managed.DAFUL.GearTrain
Assembly: VMDGearTrain.dll
Property of GearSetBase
public abstract class PropertyGearSetBase : Property, IObservableObject, IDisposableObject, ILinkable, IObjectBase, IObject, IEventProvider, IHasKeyObject, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, IContainer, ILinkContainer, IOwned, IHasID, IPostDeserialized
Inheritance
object ←
ObservableObject ←
LinkableBase ←
ObjectBase ←
Object
Derived
PropertyGearSet, PropertyGearSetCrossHelical, PropertyGearSetCustom, PropertyGearSetCycloidPin, PropertyGearSetInternal, PropertyGearSetPlanetary, PropertyGearSetPlanetaryDP, PropertyGearSetRackAndPinion, PropertyGearSetWormAndWormWheel
Implements
IObservableObject, IDisposableObject, ILinkable, IObjectBase, IObject, IEventProvider, IHasKeyObject, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, IContainer, ILinkContainer, IOwned, IHasID, IPostDeserialized
Inherited Members
Property.Initialize(Unit.ConvertFactor),
Property.PropertyRequestUpdate(object, LinkEventArgs),
Property.OnUpdatePropertyImpl(Property, LinkEventArgs),
Property.GetUnnamedObjectName(object),
Property.FindLocal(string),
Property.Draw(Canvas, TMatrix, TMatrix, bool),
ContainerObject
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkedObjects
Constructors
PropertyGearSetBase()
Initializes a new instance of the
public PropertyGearSetBase()
Properties
AdvancedGearGeometry
Gets the advanced gear geometry state.
public bool AdvancedGearGeometry { get; }
Property Value
BasicInvoluteProperty
Gets or sets the basic involute property.
public BasicInvolute BasicInvoluteProperty { get; set; }
Property Value
Color
Gets or sets the color. Use SetColor() when this instance sets for undo/redo
public string Color { get; set; }
Property Value
ContactAnalysisProperty
Gets or sets the contact analysis property.
public ContactAnalysis ContactAnalysisProperty { get; set; }
Property Value
CreationMethod
Gets or sets the type of the creation method.
public PropertyGearSetBase.CreationMethodType CreationMethod { get; set; }
Property Value
PropertyGearSetBase.CreationMethodType
DrawingColor
Gets the color of the drawing.
public Color DrawingColor { get; }
Property Value
GearPairs
Gets or sets the gear pairs.
public GearPair[] GearPairs { get; set; }
Property Value
GearPair[]
Exceptions
GearPair list is null. or GearPair list is null. or GearPair is null.
GeometryInfos
Gets or sets the geometry infos.
public GearGeometryInfo[] GeometryInfos { get; set; }
Property Value
Exceptions
GeometryInfo list is null. or GeometryInfo list is null. or GeometryInfo is null.
KissSoftInterfaceFilePath
Gets or sets the kiss soft interface file path
public string KissSoftInterfaceFilePath { get; set; }
Property Value
MaterialProperty
Gets or sets the material property.
public Material MaterialProperty { get; set; }
Property Value
ModificationProperty
Gets or sets the modification property.
public Modification ModificationProperty { get; set; }
Property Value
ModifiedParam
Gets or sets the whether this instance's parameter is modified or not.
public bool ModifiedParam { get; set; }
Property Value
SimulationType
Gets or sets the type of the simulation. Use SetSimulationType() when this instance sets for undo/redo
public PropertyGearSetBase.CreateDATType SimulationType { get; set; }
Property Value
PropertyGearSetBase.CreateDATType
ToleranceProperty
Gets or sets the tolerance property.
public Tolerance ToleranceProperty { get; set; }
Property Value
ToolProperty
Gets or sets the tool property.
public Tool ToolProperty { get; set; }
Property Value
ToothStiffnessProperty
Gets or sets the tooth stiffness property.
public ToothStiffness ToothStiffnessProperty { get; set; }
Property Value
UseKissSoftInterface
Gets or sets the kiss soft interface use flag
public bool UseKissSoftInterface { get; set; }
Property Value
WebProperty
Gets or sets the web property.
public Web WebProperty { get; set; }
Property Value
Methods
AddAttributes()
Add attributes
protected void AddAttributes()
AddUnitAttribute(Document)
Add unit attribute
public void AddUnitAttribute(Document doc)
Parameters
doc Document
BuildGear()
Builds the gear.
public bool BuildGear()
Returns
BuildGear(bool)
Builds the gear.
public virtual bool BuildGear(bool bCreate)
Parameters
bCreate bool
Returns
BuildGearCore(bool, string, string, string[])
Build gear core.
protected void BuildGearCore(bool bCreate, string strInputPath, string strResultPath, string[] arDatPath)
Parameters
bCreate bool
create state.
strInputPath string
input path.
strResultPath string
result path.
arDatPath string[]
dat file path array.
BuildGearWithKissSoftInterface(bool, OutputData)
Builds the gear with kiss soft interface.
public bool BuildGearWithKissSoftInterface(bool bCreate, KissSoftInterface.OutputData outputData)
Parameters
bCreate bool
outputData KissSoftInterface.OutputData
Returns
BuildGearWithKissSoftInterface(string)
Builds the gear with kiss soft interface.
public bool BuildGearWithKissSoftInterface(string strFilePath)
Parameters
strFilePath string
Returns
BuildGearWithKissSoftInterface()
Builds the gear with kiss soft interface.
public bool BuildGearWithKissSoftInterface()
Returns
FindLocal(string)
Finds the local.
public override IObjectBase FindLocal(string strName)
Parameters
strName string
Name of the string.
Returns
IObjectBase
FindWebBuilder(IGearBuilder)
Finds the web builder.
public AddedWebBuilder FindWebBuilder(IGearBuilder geombuilder)
Parameters
geombuilder IGearBuilder
The geombuilder.
Returns
FindWebValue(GearGeometryInfo)
Finds the web value.
public WebPropertyValue FindWebValue(GearGeometryInfo info)
Parameters
info GearGeometryInfo
The information.
Returns
GetIndexForGeomInfo(GearGeometryInfo)
Get index for gear geometry information
public int GetIndexForGeomInfo(GearGeometryInfo gFindInfo)
Parameters
gFindInfo GearGeometryInfo
The finding information.
Returns
GetSelectedGearInfo(string, GearGeometryInfo[])
Gets the selected gear Information
public virtual GearGeometryInfo GetSelectedGearInfo(string strText, GearGeometryInfo[] arGeomInfo)
Parameters
strText string
The text
arGeomInfo GearGeometryInfo[]
The geometry information
Returns
InitChild(int, string[], ConvertFactor)
Initializes the child.
public virtual void InitChild(int nNum, string[] arName, Unit.ConvertFactor factor)
Parameters
nNum int
The n number.
arName string[]
Name of the ar.
factor Unit.ConvertFactor
The factor.
Initialize(ConvertFactor)
Initializes member through unit convert factor.
public override void Initialize(Unit.ConvertFactor factor)
Parameters
factor Unit.ConvertFactor
The unit convert factor.
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.
OnPostDeserializedImpl(StreamingContext)
OnPostDeserialized
protected virtual void OnPostDeserializedImpl(StreamingContext context)
Parameters
context StreamingContext
PostBuildGear()
post builder gear.
protected virtual void PostBuildGear()
ReadResultCore(XmlDocument)
Reads the result core.
protected virtual void ReadResultCore(XmlDocument xmlDoc)
Parameters
xmlDoc XmlDocument
The XML document.
ReadResultForDatFile(string[], int)
Read result for dat file.
protected virtual void ReadResultForDatFile(string[] arDatPath, int nIdx)
Parameters
arDatPath string[]
The dat path array.
nIdx int
The index.
ReadResultWithKissSoftInterface(uint, uint, uint, double, double, double[], double, GearData[])
Read result with KissSoft interface
protected virtual void ReadResultWithKissSoftInterface(uint nNumInvolute, uint nNumTrochoid, uint nNumSlice, double dNormalModule, double dNormalPressureAngle, double[] ardCenterDistance, double dAxialCrossingAngle, KissSoftInterface.GearData[] arGearData)
Parameters
nNumInvolute uint
The number of Involute
nNumTrochoid uint
The number of trochoid
nNumSlice uint
The number of slice
dNormalModule double
The normal module
dNormalPressureAngle double
The normal pressure angle
ardCenterDistance double[]
The center distancte
dAxialCrossingAngle double
The axial crossing angle
arGearData KissSoftInterface.GearData[]
The gear data array
SetColor(string)
Set color.
public void SetColor(string color)
Parameters
color string
The color.
SetModified()
Sets modified flag.
protected override void SetModified()
SetSimulationType(CreateDATType)
Set reference point.
public void SetSimulationType(PropertyGearSetBase.CreateDATType type)
Parameters
type PropertyGearSetBase.CreateDATType
The reference point.