Vizard 8 » Command Index » Vizard modules » vizshape » <vizshape>.addCube
8.1

<vizshape>.addCube

Adds a box with equal sides.

<vizshape>.addCube(  
size = 1  
)  
size = 1
Length of sides

Remarks

Creates a cube by calling the vizshape.addBox command with equal values for each side.

Return Value

<node3D> object

Example

import vizshape

cube = vizshape.addCube()