mymesh.primitives#
Mesh generation for pre-defined shapes
Shapes#
|
Generate a mesh of a straight line between two points |
|
Generate a surface mesh of a rectangular box. |
|
Generate a 3D rectangular grid mesh. |
|
Generate a rectangular grid mesh. |
|
Generate a 2D grid oriented on a plane |
|
Construct a circle from a center and radius. |
|
Construct a circle from a center and point. |
|
Generate an axis-aligned cylindrical mesh |
|
Generate a sphere (or ellipsoid) The total number of points will be phi_resolution*(theta_resolution-2) + 2 |
|
Generate a torus The total number of points will be phi_resolution*(theta_resolution-2) + 2 |