Struct ModelBoltHole
- Namespace
- TdbIO
- Assembly
- TdbIO.dll
A single hole in a connected part penetrated by a bolt group.
public readonly record struct ModelBoltHole : IEquatable<ModelBoltHole>Implements
Inherited Members
Constructors
ModelBoltHole(int, int, ModelPart?, double, double, int, int, double)
A single hole in a connected part penetrated by a bolt group.
public ModelBoltHole(int No, int PartId, ModelPart? Part, double PointZ, double Length, int LongHoleDir, int LongHoleType, double ShorteningLength)Parameters
Noint-
The hole index in the group.
PartIdint-
The identifier of the penetrated part.
PartModelPart?-
The resolved penetrated part, or
nullif not found. PointZdouble-
The Z offset along the bolt axis.
Lengthdouble-
The grip length in this part.
LongHoleDirint-
Slotted hole direction.
LongHoleTypeint-
Slotted hole type.
ShorteningLengthdouble-
Hole shortening length.
Properties
Length
The grip length in this part.
public double Length { get; init; }Property Value
LongHoleDir
Slotted hole direction.
public int LongHoleDir { get; init; }Property Value
LongHoleType
Slotted hole type.
public int LongHoleType { get; init; }Property Value
No
The hole index in the group.
public int No { get; init; }Property Value
Part
The resolved penetrated part, or null if not found.
public ModelPart? Part { get; init; }Property Value
PartId
The identifier of the penetrated part.
public int PartId { get; init; }Property Value
PointZ
The Z offset along the bolt axis.
public double PointZ { get; init; }Property Value
ShorteningLength
Hole shortening length.
public double ShorteningLength { get; init; }Property Value
Methods
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()Returns
- string
-
The fully qualified type name.