CAM API
  • CAM API
v20.0.1
Search Results for

    Show / Hide Table of Contents

    Interface ICadApiRevolveFeature

    Revolve feature — builds a 3D body by rotating a sketch face around an axis. Mirrors GeCAD IRevolveFeature. Obtained from ICadApiModel.AddRevolve.

    Namespace: CADAPI.Feature
    Assembly: CADAPI.Feature.dll
    Syntax
    [Guid("0C449992-93B4-4F2A-968B-D00BA141E97E")]
    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    public interface ICadApiRevolveFeature : ICadApiFeature

    Properties

    Angle

    Revolve angle in degrees (default 360 for a full revolution).

    Declaration
    double Angle { get; set; }
    Property Value
    Type Description
    double

    BodyId

    id of the body the boolean operation is applied against. Empty string for bo_New (creates a fresh body).

    Declaration
    string BodyId { get; set; }
    Property Value
    Type Description
    string

    Caption

    Declaration
    string Caption { get; }
    Property Value
    Type Description
    string

    Id

    Declaration
    string Id { get; }
    Property Value
    Type Description
    string

    Operation

    Boolean operation against existing bodies, applied on Save. bo_New = new body, bo_Add = union, bo_Sub = cut, bo_Int = intersection, bo_Auto = engine decides.

    Declaration
    TCadApiBooleanOperation Operation { get; set; }
    Property Value
    Type Description
    TCadApiBooleanOperation

    TypeId

    Declaration
    string TypeId { get; }
    Property Value
    Type Description
    string

    Methods

    GetAxisDirection(out double, out double, out double, out TResultStatus)

    Declaration
    void GetAxisDirection(out double X, out double Y, out double Z, out TResultStatus ret)
    Parameters
    Type Name Description
    double X
    double Y
    double Z
    TResultStatus ret

    GetAxisPoint(out double, out double, out double, out TResultStatus)

    Declaration
    void GetAxisPoint(out double X, out double Y, out double Z, out TResultStatus ret)
    Parameters
    Type Name Description
    double X
    double Y
    double Z
    TResultStatus ret

    SetAxisDirection(double, double, double, out TResultStatus)

    Declaration
    void SetAxisDirection(double X, double Y, double Z, out TResultStatus ret)
    Parameters
    Type Name Description
    double X
    double Y
    double Z
    TResultStatus ret

    SetAxisPoint(double, double, double, out TResultStatus)

    Declaration
    void SetAxisPoint(double X, double Y, double Z, out TResultStatus ret)
    Parameters
    Type Name Description
    double X
    double Y
    double Z
    TResultStatus ret
    In this article