Skip to main content

Motion Standalone Preprocessor C# library 2025 R1

Class GearShapeBase

Last update: 16.07.2025

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

The gear shapeBase

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

Inheritance

object ← ObservableObject ← LinkableBase ← LinkContainer ← GearShapeBase

Derived

GearShapeCrossHelical, GearShapeCustomBase, GearShapeHelical, GearShapePin, GearShapeRackBase, GearShapeSpur

Implements

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

Inherited Members

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(object, LinkPropertyType)

Constructors

GearShapeBase()

Initializes a new instance of the class.

public GearShapeBase()

Properties

AddToProperty

Gets the flag whether this instance add to property or not.

public virtual bool AddToProperty { get; }

Property Value

bool

AddToShaft

Gets the flag whether this instance add to shaft or not.

public virtual bool AddToShaft { get; }

Property Value

bool

ExtraRotateAngle

Gets the extra rotate angle.

public virtual double ExtraRotateAngle { get; }

Property Value

double

GearDepth

Gets the gear depth.

public double GearDepth { get; }

Property Value

double

GraphicInvolutePointList

Gets or sets the graphic involute points.

public List<gearshapebase> GraphicInvolutePointList { get; set; }

Property Value

ListGearShapeBase.InvolutePoint&gt;

InvolutePointList

Gets or sets the involute points.

public List<gearshapebase> InvolutePointList { get; set; }

Property Value

ListGearShapeBase.InvolutePoint&gt;

IsHideBCD

Gets or sets a value indicating whether [hide BCD].

public bool IsHideBCD { get; set; }

Property Value

bool

IsHidePCD

Gets or sets a value indicating whether [hide PCD].

public bool IsHidePCD { get; set; }

Property Value

bool

IsHideRCD

Gets or sets a value indicating whether [hide RCD].

public bool IsHideRCD { get; set; }

Property Value

bool

IsHideTCD

Gets or sets a value indicating whether [hide TCD].

public bool IsHideTCD { get; set; }

Property Value

bool

MBCDList

Gets or sets the MBCD.

public List<vector> MBCDList { get; set; }

Property Value

List

ModificationGraphSplineValues

Gets or sets the modification graph spline values.

public SplineValue[] ModificationGraphSplineValues { get; set; }

Property Value

SplineValue[]

Exceptions

Exception

SplineValue list is null. or SplineValue list is null. or SplineValue is null.

NodesetPointList

Gets or sets the nodeset points.

public List<vector> NodesetPointList { get; set; }

Property Value

List

ResultSpecification

Gets or sets the result spec.

public GearShapeBase.Spec ResultSpecification { get; set; }

Property Value

GearShapeBase.Spec

SummaryOfResult

Gets or sets the result summary.

public GearShapeBase.Summary SummaryOfResult { get; set; }

Property Value

GearShapeBase.Summary

ToleranceList

Gets or sets the tolerances.

public List<gearshapebase> ToleranceList { get; set; }

Property Value

ListGearShapeBase.Tolerance&gt;

Methods

FillSpline(IEnumerable, List, double, double)

protected void FillSpline(IEnumerable<vector> source, List<vector> target, double factorLength, double offset)

Parameters

source IEnumerable

target List

factorLength double

offset double

GetFactorForLength()

Gets the length of the factor for.

protected double GetFactorForLength()

Returns

double

GetInvolutePointFor2D()

Gets the involute point for2 d.

public GearShapeBase.InvolutePoint GetInvolutePointFor2D()

Returns

GearShapeBase.InvolutePoint

GetLengthAndHeight(ref double, ref double)

Gets the height of the length and.

public virtual void GetLengthAndHeight(ref double dLength, ref double dHeight)

Parameters

dLength double

Length of the d.

dHeight double

Height of the d.

GetPropertyOfGearSet()

Gets the property of gear set.

protected PropertyGearSetBase GetPropertyOfGearSet()

Returns

PropertyGearSetBase

OnDeserialization(object)

Called when [deserialization].

protected override void OnDeserialization(object sender)

Parameters

sender object

The sender.

SetInvolutePoints(List, bool)

Sets the involute points.

public virtual void SetInvolutePoints(List<xmlnode> lstPoint, bool bGraphic = false)

Parameters

lstPoint ListXmlNode[]&gt;

The LST point.

bGraphic bool

The Graphic flag.

SetInvolutePoints(Vector[], Vector[], uint, uint)

Sets the involute points.

public virtual void SetInvolutePoints(Vector[] vecLeft, Vector[] vecRight, uint nTooth, uint nSlice)

Parameters

vecLeft Vector[]

The left point.

vecRight Vector[]

The right point.

nTooth uint

The No. tooth.

nSlice uint

The No. slice.

SetNodesetPoints(List)

Sets the nodeset points.

public virtual void SetNodesetPoints(List<xmlnode> lstPoint)

Parameters

lstPoint ListXmlNode&gt;

The LST point.

SetResultSpec(XmlNode)

Sets the result spec.

public virtual void SetResultSpec(XmlNode node)

Parameters

node XmlNode

The node.

SetResultSpec(GearData, uint, uint, uint, double, double, double)

Sets the result spec.

public void SetResultSpec(KissSoftInterface.GearData gearData, uint nNumInvolute, uint nNumTrochoid, uint nNumSlice, double dHelixAngle, double dCenterDistance, double dDensity)

Parameters

gearData KissSoftInterface.GearData

The gear data.

nNumInvolute uint

The No. Involute.

nNumTrochoid uint

The No. Trochoid.

nNumSlice uint

The No. Slice.

dHelixAngle double

The helix angle.

dCenterDistance double

The center distance.

dDensity double

The density.

SetResultSummary(XmlNode)

Sets the result summary.

public void SetResultSummary(XmlNode node)

Parameters

node XmlNode

The node.

SetResultSummary(GearData, double, double, double)

Sets the result summary.

public void SetResultSummary(KissSoftInterface.GearData gearData, double dNormalModule, double dNormalPressureAngle, double dHelixAngle)

Parameters

gearData KissSoftInterface.GearData

The gear data.

dNormalModule double

The normal module.

dNormalPressureAngle double

The normal pressure angle.

dHelixAngle double

The helix angle.

Show2D(Canvas)

Show2D.

public virtual void Show2D(Canvas canvas)

Parameters

canvas Canvas

The canvas.

Show2DCore(Canvas, OMatrix)

Show2D.

protected void Show2DCore(Canvas canvas, OMatrix oMatrix)

Parameters

canvas Canvas

The canvas.

oMatrix OMatrix

The normal matrix.

Connect with Ansys