building_blocks.set.block.create

Syntax

bp = building_blocks.set.block.create(sp,s,v1,v2,v3,v4<,v5><,v6><,v7><,v8>)

Create a block. Returns null (0) on failure. Strings that may be supplied for s are “hexahedron”, “wedge” or “tetrahedron”. Supply eight (hexahedron), six (wedge), or four (tetrahedron) point coordinates (vn) as needed.

Returns:

bp - block created

Arguments:

sp - set pointer

s - type of block

v1 - 3D point coordinate that defines the block

v2 - 3D point coordinate that defines the block

v3 - 3D point coordinate that defines the block

v4 - 3D point coordinate that defines the block

v5 - 3D point coordinate that defines the block

v6 - 3D point coordinate that defines the block

v7 - 3D point coordinate that defines the block

v8 - 3D point coordinate that defines the block