sketch.segment.gridpos

Syntax

v := sketch.segment.gridpos(sgp,i)

Get the position of a grid point. The function returns a position (2D vector). Grid point indices range from 0 to sketch.segment.grid.size.

Returns:

v - 3D vector-position of a grid point on the segment

Arguments:

sgp - segment pointer

i - grid point index