<vizshape>.addPlane

Adds a 2D plane

 

<vizshape>.addPlane(
    size = [50.0,50.0]    
    axis = vizshape.AXIS_Y    
    cullFace = True    

)

 

size = [50.0,50.0]

Dimensions of plane


axis = vizshape.AXIS_Y

Can be a positive or negative value of one of the following:

value

description

vizshape.AXIS_X

Shape will point toward the X axis when added

vizshape.AXIS_Y

Shape will point toward the Y axis when added

vizshape.AXIS_Z

Shape will point toward the Z axis when added


cullFace = True

Determines quad visibility when viewing from backside. When the argument is set to True the plane is not visible.


Remarks

This command will add a plane.

Return Value

<node3D> object

Example

import vizshape

plane = vizshape.addPlane()