CAM API
  • CAM API
v20.0.1
Search Results for

    Show / Hide Table of Contents

    Interface ICadApiExtrudeFeature

    Extrude feature — builds a 3D body by sweeping a sketch face along the sketch's normal. Mirrors GeCAD IExtrudeFeature. Obtained from ICadApiModel.AddExtrude.

    Namespace: CADAPI.Feature
    Assembly: CADAPI.Feature.dll
    Syntax
    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    [Guid("5E2A44B6-1D8C-4A3F-8F56-0E9B2C7D83A4")]
    public interface ICadApiExtrudeFeature : ICadApiFeature

    Properties

    BodyId

    id of the body the boolean operation is applied against. For bo_Add/bo_Sub/bo_Int this selects which existing body the swept volume is merged/cut/intersected with. 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

    Depth

    Signed height of the extrusion measured from the sketch plane along the sketch normal. Positive = up, negative = down.

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

    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

    Thickness

    Shell thickness in model length units (used when UseThickness is true).

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

    ThicknessDirection

    Direction of the shell offset from the sketch face (used when UseThickness is true).

    Declaration
    bool ThicknessDirection { get; set; }
    Property Value
    Type Description
    bool

    TypeId

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

    UseThickness

    When true the extrusion is limited to a shell of Thickness rather than a solid (open "thickness" extrusion).

    Declaration
    bool UseThickness { get; set; }
    Property Value
    Type Description
    bool
    In this article