Contents
On this page
Mesh generation tools.
triellipt.mesher.trigrid(xsize, ysize, slopes)
Creates a triangle grid.
Parameters
xsize : int
ysize : int
slopes : str
Returns
TriMesh
Notes
(i) Triangulation in terms of grid cell division:
| Key | Description |
|---|---|
| "west-slope" | By west diagonals |
| "east-slope" | By east diagonals |
| "cross-wise" | By both diagonals |
| "west-snake" | Snake-like, starting from the west slope |
| "east-snake" | Snake-like, starting from the east slope |
triellipt.mesher.trilattice(xsize, ysize, close=False)
Creates a lattice of equilateral triangles.
Parameters
xsize : int
ysize : int
close : bool = False
Returns
TriMesh
Copyright © 2023, Igor Semenov.