Skip to main content

Function: calcWeftVertexZ()

calcWeftVertexZ(pos, face, layer, layer_spacing, warp_diameter, weft_diameter): Vec3

Defined in: simulation/simulation.ts:1879

z points sit at the edges of the warp so the face doesn't affect the position, instead, they use control points to control the shape.

Parameters​

pos​

Vec3

face​

boolean | null

layer​

number

layer_spacing​

number

warp_diameter​

number

weft_diameter​

number

Returns​

Vec3