extrude.block.next.index

Syntax

ir = extrude.block.next.index(p,i)

Get local index ir of an edge within the next block attached to this edge (note: the same edge has local index i within the source block p). This can be used to iterate through all blocks connected to an edge using the extrude.block.next.block function.

Returns:

ir - edge index

Arguments:

p - source block pointer

i - edge index