Class CadApiRevolveFeatureHelper
Inheritance
CadApiRevolveFeatureHelper
Assembly: CADIPC.DotnetHelper.dll
Syntax
public static class CadApiRevolveFeatureHelper
Methods
BodyId(ComWrapper<ICadIpcRevolveFeature>)
id of the body targeted by the boolean operation; empty for bo_New.
Declaration
public static string BodyId(this ComWrapper<ICadIpcRevolveFeature> revCom)
Parameters
Returns
GetAngle(ComWrapper<ICadIpcRevolveFeature>)
Revolution angle in degrees.
Declaration
public static double GetAngle(this ComWrapper<ICadIpcRevolveFeature> revCom)
Parameters
Returns
GetAxisDirection(ComWrapper<ICadIpcRevolveFeature>)
Direction vector of the rotation axis (not necessarily normalised).
Declaration
public static TST3DPoint GetAxisDirection(this ComWrapper<ICadIpcRevolveFeature> revCom)
Parameters
Returns
GetAxisPoint(ComWrapper<ICadIpcRevolveFeature>)
A point lying on the rotation axis, in model coordinates.
Declaration
public static TST3DPoint GetAxisPoint(this ComWrapper<ICadIpcRevolveFeature> revCom)
Parameters
Returns
Operation(ComWrapper<ICadIpcRevolveFeature>)
Boolean operation applied against existing bodies on Save.
Declaration
public static TCadIpcBooleanOperation Operation(this ComWrapper<ICadIpcRevolveFeature> revCom)
Parameters
Returns
SetAngle(ComWrapper<ICadIpcRevolveFeature>, double)
Set the revolution angle in degrees.
Declaration
public static void SetAngle(this ComWrapper<ICadIpcRevolveFeature> revCom, double angle)
Parameters
SetAxisDirection(ComWrapper<ICadIpcRevolveFeature>, double, double, double)
Set the direction vector of the rotation axis. Must not be a zero vector.
Call Save on the owning model to materialise the body change.
Declaration
public static void SetAxisDirection(this ComWrapper<ICadIpcRevolveFeature> revCom, double x, double y, double z)
Parameters
SetAxisPoint(ComWrapper<ICadIpcRevolveFeature>, double, double, double)
Move the rotation axis so that it passes through the given point.
Call Save on the owning model to materialise the body change.
Declaration
public static void SetAxisPoint(this ComWrapper<ICadIpcRevolveFeature> revCom, double x, double y, double z)
Parameters
SetBodyId(ComWrapper<ICadIpcRevolveFeature>, string)
Set the body targeted by the boolean operation.
Declaration
public static void SetBodyId(this ComWrapper<ICadIpcRevolveFeature> revCom, string value)
Parameters
SetOperation(ComWrapper<ICadIpcRevolveFeature>, TCadIpcBooleanOperation)
Set boolean operation. Call Save on the owning model to materialise the body.
Declaration
public static void SetOperation(this ComWrapper<ICadIpcRevolveFeature> revCom, TCadIpcBooleanOperation value)
Parameters