#
add_vertex
Create a point in 2D or 3D.
#
Parameters
- p0 : array
- Point. p0 = [x0,y0] in 2D, p0 = [x0,y0,z0] in 3D
#
See also
#
Examples
model2d.add_vertex([0,0])
model3d.add_vertex([2,2,2])
model3d.add_vertex([1,0,1])
See also
add_arc
Draw an arc in 2D, using N line segments between two points and a midpoint.
add_line
Add a line defined by two points.
add_nprism
Draw a Nprism in 3D.
add_polygon
Add a polygon defined by a two-dimensional array of vertex points.
add_polygons
Add a list of polygons defined by an array of two-dimensional arrays of vertex points for each polygon.