Skip to main content

Type Alias: LoomUtil

LoomUtil = object

Defined in: loom/types.ts:43

Store each loom type as a different unit that computes functions based on its particular settings

Param​

an identifer relating to the currently supported types

Param​

the name to show with this loom type

Param​

the description for this type of loom

Param​

a function to execute when a single cell is modified within the Threading

Param​

a function to execute when a single cell is modified within the Treadling

Param​

a function to execute when a single cell is modified within the Tieup

Param​

a function to execute when a single cell is modified within the Threading

Param​

a function to execute when a single cell is modified within the Treadling

Param​

a function to execute when a single cell is modified within the Tieup

Properties​

computeDrawdownFromLoom()?​

optional computeDrawdownFromLoom: (l) => Promise<Drawdown>

Defined in: loom/types.ts:48

Parameters​

l​

Loom

Returns​

Promise<Drawdown>


computeLoomFromDrawdown()?​

optional computeLoomFromDrawdown: (d, loom_settings) => Promise<Loom>

Defined in: loom/types.ts:47

Parameters​

d​

Drawdown

loom_settings​

LoomSettings

Returns​

Promise<Loom>


deleteFromThreading()?​

optional deleteFromThreading: (l, j) => Loom

Defined in: loom/types.ts:55

Parameters​

l​

Loom

j​

number

Returns​

Loom


deleteFromTreadling()?​

optional deleteFromTreadling: (l, i) => Loom

Defined in: loom/types.ts:56

Parameters​

l​

Loom

i​

number

Returns​

Loom


displayname​

displayname: string

Defined in: loom/types.ts:45


dx​

dx: string

Defined in: loom/types.ts:46


getDressingInfo()​

getDressingInfo: (dd, l, ls) => object[]

Defined in: loom/types.ts:60

Parameters​

dd​

Drawdown

l​

Loom

ls​

LoomSettings

Returns​

object[]


insertIntoThreading()?​

optional insertIntoThreading: (l, j, val) => Loom

Defined in: loom/types.ts:53

Parameters​

l​

Loom

j​

number

val​

number

Returns​

Loom


insertIntoTreadling()?​

optional insertIntoTreadling: (l, i, val) => Loom

Defined in: loom/types.ts:54

Parameters​

l​

Loom

i​

number

val​

number[]

Returns​

Loom


pasteThreading()?​

optional pasteThreading: (l, drawdown, ndx, width, height) => Loom

Defined in: loom/types.ts:57

Parameters​

l​

Loom

drawdown​

Drawdown

ndx​

InterlacementVal

width​

number

height​

number

Returns​

Loom


pasteTieup()?​

optional pasteTieup: (l, drawdown, ndx, width, height) => Loom

Defined in: loom/types.ts:59

Parameters​

l​

Loom

drawdown​

Drawdown

ndx​

InterlacementVal

width​

number

height​

number

Returns​

Loom


pasteTreadling()?​

optional pasteTreadling: (l, drawdown, ndx, width, height) => Loom

Defined in: loom/types.ts:58

Parameters​

l​

Loom

drawdown​

Drawdown

ndx​

InterlacementVal

width​

number

height​

number

Returns​

Loom


recomputeLoomFromThreadingAndDrawdown()?​

optional recomputeLoomFromThreadingAndDrawdown: (l, loom_settings, d) => Promise<Loom>

Defined in: loom/types.ts:49

Parameters​

l​

Loom

loom_settings​

LoomSettings

d​

Drawdown

Returns​

Promise<Loom>


type​

type: "jacquard" | "frame" | "direct"

Defined in: loom/types.ts:44


updateThreading()?​

optional updateThreading: (l, ndx) => Loom

Defined in: loom/types.ts:50

Parameters​

l​

Loom

ndx​

InterlacementVal

Returns​

Loom


updateTieup()?​

optional updateTieup: (l, ndx) => Loom

Defined in: loom/types.ts:52

Parameters​

l​

Loom

ndx​

InterlacementVal

Returns​

Loom


updateTreadling()?​

optional updateTreadling: (l, ndx) => Loom

Defined in: loom/types.ts:51

Parameters​

l​

Loom

ndx​

InterlacementVal

Returns​

Loom