CAM API
  • CAM API
v20.0.1
Search Results for

    Show / Hide Table of Contents

    Interface ICamApiFace

    Namespace: CAMAPI.SurfaceTypes
    Assembly: CAMAPI.SurfaceTypes.dll
    Syntax
    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    [Guid("ED076677-5067-48D6-BEAC-5334B366564E")]
    public interface ICamApiFace

    Properties

    Orientation

    Declaration
    bool Orientation { get; }
    Property Value
    Type Description
    bool

    Surface

    Declaration
    ICamApiSurface Surface { get; }
    Property Value
    Type Description
    ICamApiSurface

    SurfaceKind

    Classified analytic kind of the underlying surface (planar, cylindrical, conical, spherical, toroidal or other)

    Declaration
    TCamApiSurfaceKind SurfaceKind { get; }
    Property Value
    Type Description
    TCamApiSurfaceKind

    Methods

    GetCone(out TST3DPoint, out TST3DPoint, out double, out double)

    Declaration
    bool GetCone(out TST3DPoint Center, out TST3DPoint Axis, out double Radius, out double HalfAngle)
    Parameters
    Type Name Description
    TST3DPoint Center
    TST3DPoint Axis
    double Radius
    double HalfAngle
    Returns
    Type Description
    bool

    GetCylinder(out TST3DPoint, out TST3DPoint, out double)

    Declaration
    bool GetCylinder(out TST3DPoint Center, out TST3DPoint Axis, out double Radius)
    Parameters
    Type Name Description
    TST3DPoint Center
    TST3DPoint Axis
    double Radius
    Returns
    Type Description
    bool

    GetFirstLoop()

    Get first loop of the face. Next loops can be obtained via GetNext method of created ICamApiLoop object

    Declaration
    ICamApiLoop GetFirstLoop()
    Returns
    Type Description
    ICamApiLoop

    GetMaxCurvatureRadius(double)

    Declaration
    double GetMaxCurvatureRadius(double Tol)
    Parameters
    Type Name Description
    double Tol
    Returns
    Type Description
    double

    GetMesh(double)

    Declaration
    ICamApiMesh GetMesh(double Tol)
    Parameters
    Type Name Description
    double Tol
    Returns
    Type Description
    ICamApiMesh

    GetMinCurvatureRadius(double)

    Declaration
    double GetMinCurvatureRadius(double Tol)
    Parameters
    Type Name Description
    double Tol
    Returns
    Type Description
    double

    GetNurbsForm()

    Declaration
    ICamApiFace GetNurbsForm()
    Returns
    Type Description
    ICamApiFace

    GetPlane(out TST3DPoint, out TST3DPoint)

    Declaration
    bool GetPlane(out TST3DPoint Origin, out TST3DPoint Normal)
    Parameters
    Type Name Description
    TST3DPoint Origin
    TST3DPoint Normal
    Returns
    Type Description
    bool

    IsCylindricalHole(double, out TST3DPoint, out TST3DPoint, out double, out double, out double)

    Declaration
    bool IsCylindricalHole(double Tol, out TST3DPoint Center, out TST3DPoint Axis, out double Radius, out double ZMin, out double ZMax)
    Parameters
    Type Name Description
    double Tol
    TST3DPoint Center
    TST3DPoint Axis
    double Radius
    double ZMin
    double ZMax
    Returns
    Type Description
    bool
    In this article