Interface ICamIpcPolygonalPrismModelItem
Polygonal prism workpiece primitive item. XML type: TSimplePolygonalPrism. A prism with a regular polygon cross-section (e.g. hexagonal bar stock).
Namespace: CAMIPC.ModelFormerTypes
Assembly: CAMIPC.ModelFormerTypes.dll
Syntax
[Guid("6D3FC820-14A7-4C9E-B1F6-3A8D0E62B5C7")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface ICamIpcPolygonalPrismModelItem
Properties
Angle
Rotation angle of the prism around its axis, in radians (read-only).
Declaration
double Angle { get; }
Property Value
| Type | Description |
|---|---|
| double |
Axis
Axis the prism is extruded along
Declaration
TCylinderAxisType Axis { get; set; }
Property Value
| Type | Description |
|---|---|
| TCylinderAxisType |
Center
Center point of the prism
Declaration
TST3DPoint Center { get; set; }
Property Value
| Type | Description |
|---|---|
| TST3DPoint |
HMax
Upper bound of the prism along its axis
Declaration
double HMax { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
HMin
Lower bound of the prism along its axis
Declaration
double HMin { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
InscribedR
Radius of the circle inscribed into the polygon cross-section
Declaration
double InscribedR { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
SideFacetCount
Number of side facets (min 3). Default 6 for hexagonal bar.
Declaration
int SideFacetCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Stock
Uniform stock offset added to the prism
Declaration
double Stock { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Methods
GetInstanceId()
Get unique identifier of current instance (used in IPC messages)
Declaration
string GetInstanceId()
Returns
| Type | Description |
|---|---|
| string |