Class DrillingHolePrimitive
Represents a Hole Drilling Primitive.
Inherited Members
Namespace: TopSolid.Cad.Design.Automating
Assembly: TopSolid.Cad.Design.Automating.dll
Syntax
[DataContract]
[AvailableSinceVersion(7, 14, 0, 0)]
public class DrillingHolePrimitive : DrillingPrimitive
Remarks
This class is available since v7.14.
Warning: This class has been modified for 7.15, please recompile your solution to use it.
Constructors
DrillingHolePrimitive(SmartReal)
Initializes a new instance of a through DrillingHolePrimitive class.
Declaration
public DrillingHolePrimitive(SmartReal inDiameter)
Parameters
| Type | Name | Description |
|---|---|---|
| SmartReal | inDiameter |
DrillingHolePrimitive(SmartReal, SmartReal, DrillingHolePrimitiveBottomType)
Initializes a new instance of a blind DrillingHolePrimitive class.
Declaration
public DrillingHolePrimitive(SmartReal inDiameter, SmartReal inDepth, DrillingHolePrimitiveBottomType inBottomType)
Parameters
| Type | Name | Description |
|---|---|---|
| SmartReal | inDiameter | |
| SmartReal | inDepth | |
| DrillingHolePrimitiveBottomType | inBottomType |
Fields
BottomAngle
Primitive Bottom Angle.
Declaration
[DataMember]
public SmartReal BottomAngle
Field Value
| Type | Description |
|---|---|
| SmartReal |
BottomType
Primitive Bottom Type.
Declaration
[DataMember]
public DrillingHolePrimitiveBottomType BottomType
Field Value
| Type | Description |
|---|---|
| DrillingHolePrimitiveBottomType |
Depth
Primitive Depth.
Declaration
[DataMember]
public SmartReal Depth
Field Value
| Type | Description |
|---|---|
| SmartReal |
Diameter
Primitive Diameter.
Declaration
[DataMember]
public SmartReal Diameter
Field Value
| Type | Description |
|---|---|
| SmartReal |
IsTapered
Primitive Bottom Angle.
Declaration
[DataMember]
public SmartBoolean IsTapered
Field Value
| Type | Description |
|---|---|
| SmartBoolean |
TaperAngle
Primitive Taper Angle.
Declaration
[DataMember]
public SmartReal TaperAngle
Field Value
| Type | Description |
|---|---|
| SmartReal |
Properties
PrimitiveType
Primitive Type.
Declaration
public override DrillingPrimitiveType PrimitiveType { get; }
Property Value
| Type | Description |
|---|---|
| DrillingPrimitiveType |