extrude.block.block

Syntax

bpnext = extrude.block.block(bp,i)

Get a block neighbor. The neighbor is the block attached to the source block at the edge with index i. Edge indices on a block start at 1.

Returns:

bpnext - neighbor block pointer

Arguments:

bp - source block pointer

i - edge index