#
add_nprism
Draw a Nprism in 3D.
#
Parameters
- center : array
- Center point: center = [x0,y0,z0]
- radius : float
- Radius.
- height : float
- Height of prism normal to the active coordinate system.
- N : int
- Number of linearly spaced faces.
#
See also
#
Notes
This function is designed for use in 3D, refer to add_circle in 2D.
#
Examples
model3d.add_nprism([0,0,0], radius=2.2, height=4.3, N=50)