Finishing

This page covers IGrind and IGrinds. These interfaces hold per-edge grind information attached to pieces.

Interfaces

IGrind

Single grind definition with title and thickness. TonCut currently ignores grind data.

Source: SDK/include/pascal/uIGrind.pas

Properties

  • Property name
    Id
    Type
    Int64
    Description

    Persistent numeric identifier used by TonCut to track the object.

    Declaration

    property Id: Int64 read GetId;

    Published SDK declaration languages: Pascal.

  • Property name
    Title
    Type
    WideString
    Description

    Human-readable title shown to users.

    Declaration

    property Title: WideString read GetTitle write SetTitle;

    Published SDK declaration languages: Pascal.

  • Property name
    Thickness
    Type
    Cardinal
    Description

    Thickness value stored on the object.

    Declaration

    property Thickness: Cardinal read GetThickness write SetThickness;

    Published SDK declaration languages: Pascal.

Methods

  • Method name
    Assign()
    Type
    procedure
    Description

    Copy values from another object of the same type.

    Declaration

    procedure Assign(const aOther: IGrind); safecall;

    Published SDK declaration languages: Pascal.

    Parameters
    aOtherconst
    Source object whose values should be copied.

IGrinds

Four-edge grind assignment helper attached to a format. TonCut currently ignores grind data.

Source: SDK/include/pascal/uIGrinds.pas

Properties

  • Property name
    North
    Type
    IGrind
    Description

    Signed value assigned to the north or top edge; a negative edge-distance value means inherited or unspecified.

    Declaration

    property North: IGrind read GetNorth write SetNorth;

    Published SDK declaration languages: Pascal.

  • Property name
    South
    Type
    IGrind
    Description

    Signed value assigned to the south or bottom edge; a negative edge-distance value means inherited or unspecified.

    Declaration

    property South: IGrind read GetSouth write SetSouth;

    Published SDK declaration languages: Pascal.

  • Property name
    West
    Type
    IGrind
    Description

    Signed value assigned to the west or left edge; a negative edge-distance value means inherited or unspecified.

    Declaration

    property West: IGrind read GetWest write SetWest;

    Published SDK declaration languages: Pascal.

  • Property name
    East
    Type
    IGrind
    Description

    Signed value assigned to the east or right edge; a negative edge-distance value means inherited or unspecified.

    Declaration

    property East: IGrind read GetEast write SetEast;

    Published SDK declaration languages: Pascal.

  • Property name
    Top
    Type
    IGrind
    Description

    Alias of North; a negative edge-distance value means inherited or unspecified.

    Declaration

    property Top: IGrind read GetNorth write SetNorth;

    Published SDK declaration languages: Pascal.

  • Property name
    Bottom
    Type
    IGrind
    Description

    Alias of South; a negative edge-distance value means inherited or unspecified.

    Declaration

    property Bottom: IGrind read GetSouth write SetSouth;

    Published SDK declaration languages: Pascal.

  • Property name
    Left
    Type
    IGrind
    Description

    Alias of West; a negative edge-distance value means inherited or unspecified.

    Declaration

    property Left: IGrind read GetWest write SetWest;

    Published SDK declaration languages: Pascal.

  • Property name
    Right
    Type
    IGrind
    Description

    Alias of East; a negative edge-distance value means inherited or unspecified.

    Declaration

    property Right: IGrind read GetEast write SetEast;

    Published SDK declaration languages: Pascal.

Was this page helpful?