Skip to main content

Motion Standalone Preprocessor C# library 2026 R1

Class GearShapeCustomBase

Last update: 09.03.2026

Namespace: VM.Managed.DAFUL.GearTrain
Assembly: VMDGearTrain.dll

The gear shape base for custom

public abstract class GearShapeCustomBase : GearShapeBase, IObservableObject, IDisposableObject, ILinkable, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, ILinkContainerEvent, IVerifiable

Inheritance

object ← ObservableObject ← LinkableBase ← LinkContainer ← GearShapeBase ← GearShapeCustomBase

Derived

GearShapeCustomHelical, GearShapeCustomSpur, GearShapeCycloidPin

Implements

IObservableObject, IDisposableObject, ILinkable, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, ILinkContainerEvent, IVerifiable

Inherited Members

GearShapeBase.GetLengthAndHeight(ref double, ref double), GearShapeBase.SetResultSpec(XmlNode), GearShapeBase.SetResultSpec(KissSoftInterface.GearData, uint, uint, uint, double, double, double), GearShapeBase.SetResultSummary(XmlNode), GearShapeBase.SetResultSummary(KissSoftInterface.GearData, double, double, double), GearShapeBase.SetInvolutePoints(List<XmlNode[]>, bool), GearShapeBase.SetInvolutePoints(Vector[], Vector[], uint, uint), GearShapeBase.SetNodesetPoints(List<XmlNode>), GearShapeBase.Show2D(Canvas), GearShapeBase.Show2DCore(Canvas, OMatrix), GearShapeBase.GetInvolutePointFor2D(), GearShapeBase.OnDeserialization(object), GearShapeBase.GetPropertyOfGearSet(), GearShapeBase.GetFactorForLength(), GearShapeBase.FillSpline(IEnumerable<Vector>, List<Vector>, double, double), GearShapeBase.IsHidePCD, GearShapeBase.IsHideBCD, GearShapeBase.IsHideRCD, GearShapeBase.IsHideTCD, GearShapeBase.InvolutePointList, GearShapeBase.GraphicInvolutePointList, GearShapeBase.NodesetPointList, GearShapeBase.ResultSpecification, GearShapeBase.ToleranceList, GearShapeBase.SummaryOfResult, GearShapeBase.MBCDList, GearShapeBase.ModificationGraphSplineValues, GearShapeBase.GearDepth, GearShapeBase.ExtraRotateAngle, GearShapeBase.AddToShaft, GearShapeBase.AddToProperty, LinkContainer.SetModified(), LinkContainer.raise_OnUpdating(object, LinkEventArgs), LinkContainer.raise_OnUpdate(object, LinkEventArgs), LinkContainer.raise_OnDestroying(object, LinkEventArgs), LinkContainer.raise_OnDestroy(object, LinkEventArgs), LinkContainer.raise_OnAdded(object, AddToDocEventArgs), LinkContainer.raise_OnRemoved(object, RemoveFromDocEventArgs), LinkContainer.GetTargetListForUpdate(), LinkContainer.SkipUpdateObjectImpl(), LinkContainer.Initialize(Unit.ConvertFactor), LinkContainer.SetFlagWhenXMLFile(string, bool), LinkContainer.IsSerializableEvent(Delegate), LinkContainer.CustomGetObjectData(SerializationInfo, StreamingContext), LinkContainer.GetSerializedData(SerializationInfo, StreamingContext), LinkContainer.LinkRequestUpdating(object, LinkEventArgs), LinkContainer.LinkRequestUpdate(object, LinkEventArgs), LinkContainer.LinkRequestDestroying(object, LinkEventArgs), LinkContainer.LinkRequestDestroy(object, LinkEventArgs), LinkContainer.LinkAddedToDocument(object, AddToDocEventArgs), LinkContainer.LinkRemovedFromDocument(object, RemoveFromDocEventArgs), LinkContainer.OnLinkReserved(ILink, object, EventArgs), LinkContainer.CanBeDestroy(object), LinkContainer.DisposeManagedResources(), LinkContainer.SetContainer(IOwned, bool), LinkContainer.OnChildUpdated(object, LinkEventArgs), LinkContainer.OnContainerDestroy(object, LinkEventArgs), LinkContainer.OnDeserialization(object), LinkContainer.Verify(VerifiedResult), LinkContainer.GetCopy(object), LinkContainer.Dispose(bool), LinkContainer.ClearChildInfoBeforeDeserialize, LinkContainer.Container, LinkContainer.Owner, LinkContainer.Document, LinkContainer.ID, LinkContainer.IsChildExternable, LinkContainer.IsExternable, LinkContainer.OnRemoved, LinkContainer.OnAdded, LinkContainer.OnDestroy, LinkContainer.OnDestroying, LinkContainer.OnUpdate, LinkContainer.OnUpdating, LinkableBase.OnDeserialization(object), ObservableObject.Dispose(), ObservableObject.RaisePropertyChanged(string), ObservableObject.RaisePropertyChanged(string, object, object), ObservableObject.Dispose(bool), ObservableObject.DisposeManagedResources(), ObservableObject.DisposeUnmanagedResources(), ObservableObject.IsDisposed, ObservableObject.TryDisposing, ObservableObject.Disposed, ObservableObject.Disposing, ObservableObject.PropertyChanged

Extension Methods

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

Constructors

GearShapeCustomBase()

Initializes a new instance of the class.

public GearShapeCustomBase()

Properties

BaseProfile

The base profile

public GearShapeCustomBase.Profile BaseProfile { get; set; }

Property Value

GearShapeCustomBase.Profile

ExtraProfileList

The extra profile list

public List<GearShapeCustomBase.Profile> ExtraProfileList { get; set; }

Property Value

List<GearShapeCustomBase.Profile>

ProfileCount

The number of profile

public int ProfileCount { get; }

Property Value

int

SliceCount

The number of slice count

public ExpressionValueVariable SliceCount { get; set; }

Property Value

ExpressionValueVariable

UseExtraProfile

The flag of using extra profile

public bool UseExtraProfile { get; set; }

Property Value

bool

Methods

GetOrientation()

Gets orientation

protected virtual OMatrix GetOrientation()

Returns

OMatrix

ImportProfileFromFile(string)

Import profile from file

public static List<GearShapeCustomBase.Point2D> ImportProfileFromFile(string strFileName)

Parameters

strFileName string

The file name

Returns

List<GearShapeCustomBase.Point2D>

IsNumeric(string[])

Is numeric

public static bool IsNumeric(string[] numStr)

Parameters

numStr string[]

The string array

Returns

bool

IsNumeric(string)

Is numeric

public static bool IsNumeric(string numStr)

Parameters

numStr string

The string

Returns

bool

LoadProfileData(string, string)

Load profile data

public static List<string[]> LoadProfileData(string loadStr, string extStr)

Parameters

loadStr string

The file path

extStr string

The extension

Returns

List<string[]>

SetBaseProfile(Profile)

Set base profile.

public void SetBaseProfile(GearShapeCustomBase.Profile profile)

Parameters

profile GearShapeCustomBase.Profile

The profile.

SetExtraProfileList(List<Profile>)

Set the extra profiles.

public void SetExtraProfileList(List<GearShapeCustomBase.Profile> profiles)

Parameters

profiles List<GearShapeCustomBase.Profile>

The profiles.

SetUseExtraProfile(bool)

Set the flag of use extra profile.

public void SetUseExtraProfile(bool bUseExtaProfile)

Parameters

bUseExtaProfile bool

The flag of use extra profile.

Show2D(Canvas)

Show2D.

public override void Show2D(Canvas canvas)

Parameters

canvas Canvas

The canvas.

UpdateResultSpecification()

Update the result specification

public void UpdateResultSpecification()

Connect with Ansys