CAM API
  • CAM API
v20.0.1
Search Results for

    Show / Hide Table of Contents

    Interface ICadApiSketchFace

    A planar face inside a sketch — a closed region bounded by one outer contour and zero or more inner contours (holes). The unit that can be fed into AddExtrude / AddRevolve / AddSweep. Mirrors GeCAD ISketchFace.

    Namespace: CADAPI.Model
    Assembly: CADAPI.Model.dll
    Syntax
    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    [Guid("1BDCCEFD-394A-4AF4-9752-3F410695A9B5")]
    public interface ICadApiSketchFace

    Properties

    Area

    Signed planar area of the face in the sketch coordinate system.

    Declaration
    double Area { get; }
    Property Value
    Type Description
    double

    BaseZ

    Z coordinate of the face within the sketch's local coordinate system. For a face that sits flat on the sketch plane this is 0; the sketch plane's world-space offset is held separately in the owning sketch's local-coordinate matrix.

    Declaration
    double BaseZ { get; }
    Property Value
    Type Description
    double

    SegmentCount

    Total number of segments across all loops (outer + holes).

    Declaration
    int SegmentCount { get; }
    Property Value
    Type Description
    int

    Methods

    Segment(int, out TResultStatus)

    Declaration
    ICadApiSegment Segment(int Index, out TResultStatus ret)
    Parameters
    Type Name Description
    int Index
    TResultStatus ret
    Returns
    Type Description
    ICadApiSegment
    In this article