#
add_prism
Draw a prism in 3D.
#
Parameters
- points : array
- List of points: points = [[x0,y0,z0],[x1,y1,z1],...,[xN,yN,zN]]
- height : float
- Height of prism normal to the active coordinate system.
#
See also
- [add_ncone] missing
- add_nprism
- create_csys_2d
- create_csys_3d
- set_active_csys
#
Notes
To create a solid prism all points must be on the same plane.
#
Examples
model3d.add_prism([[0,0,0],[1,0,0],[0,1,0]], height = 4)
model3d.add_prism([[4,-2,0],[2,2,0],[0,2,0],[3,-2,0]], height = 1)