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

<vizshape>.addCone

Adds a cone

<vizshape>.addCone(  
radius = 0.5  
height = 1.0  
)  
radius = 0.5
Radius of the cone base
height = 1.0
Cone height

Remarks

This command adds a cone by calling the vizshape.addCylinder function with a topRadius of 0.

Return Value

<node3D> object

Example

import vizshape

cone = vizshape.addCone()