Class FeatureSubtypesHelper
Inheritance
FeatureSubtypesHelper
Assembly: CAMAPI.DotnetHelper.dll
Syntax
public static class FeatureSubtypesHelper
Methods
BottomRadius(ComWrapper<ICamApiPocketFeature>)
Declaration
public static double BottomRadius(this ComWrapper<ICamApiPocketFeature> c)
Parameters
Returns
BtmRc(ComWrapper<ICamApiHoleFeature>)
Corner radius at the bottom of the hole.
Declaration
public static double BtmRc(this ComWrapper<ICamApiHoleFeature> c)
Parameters
Returns
ChamferAngle(ComWrapper<ICamApiHoleFeature>)
Chamfer angle at the hole entrance (degrees).
Declaration
public static double ChamferAngle(this ComWrapper<ICamApiHoleFeature> c)
Parameters
Returns
ChamferSize(ComWrapper<ICamApiHoleFeature>)
Chamfer size at the hole entrance.
Declaration
public static double ChamferSize(this ComWrapper<ICamApiHoleFeature> c)
Parameters
Returns
ChildGrooveCount(ComWrapper<ICamApiHoleGrooveFeature>)
Number of child grooves nested inside this groove.
Declaration
public static int ChildGrooveCount(this ComWrapper<ICamApiHoleGrooveFeature> c)
Parameters
Returns
CircumAngle(ComWrapper<ICamApiComplexHoleFeature>)
Arc coverage angle for partial complex holes (degrees, 360 for full).
Declaration
public static double CircumAngle(this ComWrapper<ICamApiComplexHoleFeature> c)
Parameters
Returns
CircumAngle(ComWrapper<ICamApiHoleFeature>)
Arc coverage angle for partial holes (degrees, 360 for full).
Declaration
public static double CircumAngle(this ComWrapper<ICamApiHoleFeature> c)
Parameters
Returns
Convexity(ComWrapper<ICamApiPocketFeature>)
Convexity of the pocket contour.
Declaration
public static int Convexity(this ComWrapper<ICamApiPocketFeature> c)
Parameters
Returns
Diameter(ComWrapper<ICamApiHoleFeature>)
Declaration
public static double Diameter(this ComWrapper<ICamApiHoleFeature> c)
Parameters
Returns
EdgeGeomType(ComWrapper<ICamApiTangentEdgeFeature>)
Geometry type of the edge (arc/line/circle/polygon).
Declaration
public static TCamApiEdgeGeomType EdgeGeomType(this ComWrapper<ICamApiTangentEdgeFeature> c)
Parameters
Returns
GetGroove(ComWrapper<ICamApiComplexHoleFeature>, int)
Declaration
public static ComWrapper<ICamApiFeature> GetGroove(this ComWrapper<ICamApiComplexHoleFeature> c, int index)
Parameters
Returns
GrooveCount(ComWrapper<ICamApiComplexHoleFeature>)
Number of grooves in the complex hole.
Declaration
public static int GrooveCount(this ComWrapper<ICamApiComplexHoleFeature> c)
Parameters
Returns
Height(ComWrapper<ICamApiHoleFeature>)
Declaration
public static double Height(this ComWrapper<ICamApiHoleFeature> c)
Parameters
Returns
Height(ComWrapper<ICamApiPocketFeature>)
Declaration
public static double Height(this ComWrapper<ICamApiPocketFeature> c)
Parameters
Returns
Index(ComWrapper<ICamApiHoleGrooveFeature>)
Sequential index of the groove inside the complex hole.
Declaration
public static int Index(this ComWrapper<ICamApiHoleGrooveFeature> c)
Parameters
Returns
IsBlind(ComWrapper<ICamApiHoleFeature>)
True if the hole does not go through the part.
Declaration
public static bool IsBlind(this ComWrapper<ICamApiHoleFeature> c)
Parameters
Returns
IsClosed(ComWrapper<ICamApiPocketFeature>)
True if the pocket contour is fully enclosed.
Declaration
public static bool IsClosed(this ComWrapper<ICamApiPocketFeature> c)
Parameters
Returns
IsConicalHole(ComWrapper<ICamApiComplexHoleFeature>)
True if the complex hole has a conical shape.
Declaration
public static bool IsConicalHole(this ComWrapper<ICamApiComplexHoleFeature> c)
Parameters
Returns
IsConvex(ComWrapper<ICamApiTangentEdgeFeature>)
True if the tangent edge is convex.
Declaration
public static bool IsConvex(this ComWrapper<ICamApiTangentEdgeFeature> c)
Parameters
Returns
IsCrossHole(ComWrapper<ICamApiHoleFeature>)
True if another hole intersects this one.
Declaration
public static bool IsCrossHole(this ComWrapper<ICamApiHoleFeature> c)
Parameters
Returns
IsSmooth(ComWrapper<ICamApiTangentEdgeFeature>)
True if the tangent edge is smooth (G1 continuity).
Declaration
public static bool IsSmooth(this ComWrapper<ICamApiTangentEdgeFeature> c)
Parameters
Returns
IsThroughFeature(ComWrapper<ICamApiPocketFeature>)
True if the pocket goes through the part.
Declaration
public static bool IsThroughFeature(this ComWrapper<ICamApiPocketFeature> c)
Parameters
Returns
MinCornerRadius(ComWrapper<ICamApiPocketFeature>)
Minimum corner radius of the pocket contour.
Declaration
public static double MinCornerRadius(this ComWrapper<ICamApiPocketFeature> c)
Parameters
Returns
PocketType(ComWrapper<ICamApiPocketFeature>)
Pocket classification (pocket/boss/side).
Declaration
public static TCamApiPocketType PocketType(this ComWrapper<ICamApiPocketFeature> c)
Parameters
Returns
ShapeBtmRc(ComWrapper<ICamApiHoleGrooveFeature>)
Bottom corner radius for square groove shape (0 for other shape types).
Declaration
public static double ShapeBtmRc(this ComWrapper<ICamApiHoleGrooveFeature> c)
Parameters
Returns
ShapeDepth(ComWrapper<ICamApiHoleGrooveFeature>)
Radial depth of the groove shape.
Declaration
public static double ShapeDepth(this ComWrapper<ICamApiHoleGrooveFeature> c)
Parameters
Returns
ShapeDiameter(ComWrapper<ICamApiHoleGrooveFeature>)
Nominal diameter of the groove shape.
Declaration
public static double ShapeDiameter(this ComWrapper<ICamApiHoleGrooveFeature> c)
Parameters
Returns
ShapeHeight(ComWrapper<ICamApiHoleGrooveFeature>)
Height of the groove shape.
Declaration
public static double ShapeHeight(this ComWrapper<ICamApiHoleGrooveFeature> c)
Parameters
Returns
ShapeIsBlind(ComWrapper<ICamApiHoleGrooveFeature>)
True if the groove does not go through.
Declaration
public static bool ShapeIsBlind(this ComWrapper<ICamApiHoleGrooveFeature> c)
Parameters
Returns
ShapeRadius(ComWrapper<ICamApiHoleGrooveFeature>)
Corner radius for round groove shape (0 for other shape types).
Declaration
public static double ShapeRadius(this ComWrapper<ICamApiHoleGrooveFeature> c)
Parameters
Returns
ShapeTopRc(ComWrapper<ICamApiHoleGrooveFeature>)
Top corner radius for square groove shape (0 for other shape types).
Declaration
public static double ShapeTopRc(this ComWrapper<ICamApiHoleGrooveFeature> c)
Parameters
Returns
ShapeType(ComWrapper<ICamApiHoleGrooveFeature>)
Shape type of the groove (general/square/trapezoid/round).
Declaration
public static TCamApiHoleGrooveShapeType ShapeType(this ComWrapper<ICamApiHoleGrooveFeature> c)
Parameters
Returns
SideLength(ComWrapper<ICamApiPocketFeature>)
Characteristic side length (for rectangular pockets).
Declaration
public static double SideLength(this ComWrapper<ICamApiPocketFeature> c)
Parameters
Returns
Size(ComWrapper<ICamApiChamferFeature>)
Declaration
public static double Size(this ComWrapper<ICamApiChamferFeature> c)
Parameters
Returns
Size(ComWrapper<ICamApiEdgeFeature>)
Characteristic size of the edge feature.
Declaration
public static double Size(this ComWrapper<ICamApiEdgeFeature> c)
Parameters
Returns
Size(ComWrapper<ICamApiFilletFeature>)
Declaration
public static double Size(this ComWrapper<ICamApiFilletFeature> c)
Parameters
Returns
Size(ComWrapper<ICamApiPlaneFeature>)
Characteristic size of the planar face.
Declaration
public static double Size(this ComWrapper<ICamApiPlaneFeature> c)
Parameters
Returns
Size(ComWrapper<ICamApiTangentEdgeFeature>)
Characteristic size of the tangent edge.
Declaration
public static double Size(this ComWrapper<ICamApiTangentEdgeFeature> c)
Parameters
Returns
TaperAngle(ComWrapper<ICamApiHoleFeature>)
Taper angle of the hole wall (degrees).
Declaration
public static double TaperAngle(this ComWrapper<ICamApiHoleFeature> c)
Parameters
Returns
ThreadHeight(ComWrapper<ICamApiHoleFeature>)
Declaration
public static double ThreadHeight(this ComWrapper<ICamApiHoleFeature> c)
Parameters
Returns
ThreadOD(ComWrapper<ICamApiHoleFeature>)
Thread outer diameter (0 if no thread).
Declaration
public static double ThreadOD(this ComWrapper<ICamApiHoleFeature> c)
Parameters
Returns
ThreadZMax(ComWrapper<ICamApiHoleFeature>)
Maximum Z of the thread in feature LCS.
Declaration
public static double ThreadZMax(this ComWrapper<ICamApiHoleFeature> c)
Parameters
Returns
ThreadZMin(ComWrapper<ICamApiHoleFeature>)
Minimum Z of the thread in feature LCS.
Declaration
public static double ThreadZMin(this ComWrapper<ICamApiHoleFeature> c)
Parameters
Returns
TipAngle(ComWrapper<ICamApiHoleFeature>)
Tip angle of the drill point (degrees), 0 for flat bottom.
Declaration
public static double TipAngle(this ComWrapper<ICamApiHoleFeature> c)
Parameters
Returns
TopRc(ComWrapper<ICamApiHoleFeature>)
Corner radius at the top of the hole.
Declaration
public static double TopRc(this ComWrapper<ICamApiHoleFeature> c)
Parameters
Returns