CAM API
  • CAM API
v20.0.1
Search Results for

    Show / Hide Table of Contents

    Interface ICamApiModelFormerWithHoles

    Namespace: CAMAPI.ModelFormerTypes
    Assembly: CAMAPI.ModelFormerTypes.dll
    Syntax
    [Guid("EBD95D9F-12D6-41C7-9EDC-E349588531AF")]
    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    public interface ICamApiModelFormerWithHoles

    Methods

    AddHoleFromFeature(ICamApiFeature)

    Adds hole(s) to the former from a recognized feature (ICamApiHoleFeature or ICamApiComplexHoleFeature). For a simple hole feature, creates a single hole item. For a complex hole feature, creates one item per step. Preserves the base cylindrical/conical face from recognition.

    Declaration
    ICamApiListModelItem AddHoleFromFeature(ICamApiFeature Feature)
    Parameters
    Type Name Description
    ICamApiFeature Feature
    Returns
    Type Description
    ICamApiListModelItem

    AddHolesBatch(ICamApiHoleSpecList)

    Batch-creates holes from the supplied specification list. For each spec builds a TXMLHoleItem at LCS transformed by the spec's (X,Y,0), sets Diameter and common Top/Bottom levels. Returns the list of created model items.

    Declaration
    ICamApiListModelItem AddHolesBatch(ICamApiHoleSpecList Specs)
    Parameters
    Type Name Description
    ICamApiHoleSpecList Specs
    Returns
    Type Description
    ICamApiListModelItem

    AddHolesSelected()

    Declaration
    ICamApiListModelItem AddHolesSelected()
    Returns
    Type Description
    ICamApiListModelItem

    CreateHoleSpecList()

    Creates a new empty ICamApiHoleSpecList. Fill it via Add* methods then pass to AddHolesBatch.

    Declaration
    ICamApiHoleSpecList CreateHoleSpecList()
    Returns
    Type Description
    ICamApiHoleSpecList

    CreateNewHole(TST3DMatrix, double)

    Declaration
    ICamApiHoleModelItem CreateNewHole(TST3DMatrix HoleLCS, double Diameter)
    Parameters
    Type Name Description
    TST3DMatrix HoleLCS
    double Diameter
    Returns
    Type Description
    ICamApiHoleModelItem
    In this article