CAM API
  • CAM API
v20.0.1
Search Results for

    Show / Hide Table of Contents

    Interface ICamIpcBaseSurface

    IPC: Base surface configuration for engraving / curve-on-surface operations. Mirrors ICamApiBaseSurface. Singleton owned by the model former — every call to ICamIpcModelFormerWithBaseSurface.BaseSurface returns the same underlying editor. Setting a property mutates the former state immediately.

    Namespace: CAMIPC.ModelFormerTypes
    Assembly: CAMIPC.ModelFormerTypes.dll
    Syntax
    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    [Guid("84A262B7-A2DF-47D4-B2FC-25267BDAF5F1")]
    public interface ICamIpcBaseSurface

    Properties

    CurvesProjectMethod

    Method used to project curves onto the base surface

    Declaration
    TModelFormerBaseSurfaceProjectMethod CurvesProjectMethod { get; set; }
    Property Value
    Type Description
    TModelFormerBaseSurfaceProjectMethod

    CylRadius

    Radius of cylinder primitive (only meaningful when PrimitiveType = Cylinder)

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

    Enabled

    Whether the base surface is active

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

    NormalOrientation

    Flip the surface normal orientation (inverse of UI "Alternate normal")

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

    PreserveRatio

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

    PrimitiveAxis

    Primitive axis (convenience; equals PrimitiveMatrix.vZ)

    Declaration
    TST3DPoint PrimitiveAxis { get; set; }
    Property Value
    Type Description
    TST3DPoint

    PrimitiveMatrix

    Full primitive placement matrix

    Declaration
    TST3DMatrix PrimitiveMatrix { get; set; }
    Property Value
    Type Description
    TST3DMatrix

    PrimitiveOrigin

    Primitive origin (convenience; equals PrimitiveMatrix.vT)

    Declaration
    TST3DPoint PrimitiveOrigin { get; set; }
    Property Value
    Type Description
    TST3DPoint

    PrimitiveType

    Primitive type (Plane/Cylinder/Revolution)

    Declaration
    TModelFormerBaseSurfacePrimitiveType PrimitiveType { get; set; }
    Property Value
    Type Description
    TModelFormerBaseSurfacePrimitiveType

    RotAngle

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

    UseRotAngle

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

    UseXMax

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

    UseXMin

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

    UseYMax

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

    UseYMin

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

    XMax

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

    XMin

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

    YMax

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

    YMin

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

    Methods

    GetInstanceId()

    Get unique identifier of current instance (used in IPC messages)

    Declaration
    string GetInstanceId()
    Returns
    Type Description
    string
    In this article