AdaCAD Library Documentation - v1.1.4
    Preparing search index...

    Interface Cell

    A Cell represents a location at which a single warp end and weft pick cross. In AdaCAD, each location in the drawdown can have 3 possible settings, captured by the parameters below

    a boolean to describe if there is a weft at this location. True means that a weft crosses this warp. False mean that no weft crosses the warp. This is useful when specifying partial wefts, such as inlay regions

    a boolean used to describe if the heddle holding the warp at this location is lifted (true) or left lowered (false)

    // A 'heddle up' / 'black' draft cell is stored as
    const heddle_up:Cell = {is_set: true, is_up:true};

    // A 'heddle down' / 'white' draft cell is stored as
    const heddle_down:Cell = {is_set: true, is_up:false};

    // * An unset cell (a location with no weft) should be represented as:
    const unset_correct:Cell = {is_set: false, is_up:false};

    // this will also be treated as unset, we try to avoid any cases of this configuration
    const unset_incorrect:Cell = {is_set: false, is_up:true};
    interface Cell {
        is_set: boolean;
        is_up: boolean;
    }
    Index

    Properties

    Properties

    is_set: boolean
    is_up: boolean