extrudeFace¶
- pyslm.support.extrudeFace(extrudeMesh, height=None, heightArray=None)¶
Extrudes a set of connected triangle faces into a prism. This is based on a constant height - or an optional height array for corresponding to extrusions to be added to each triangular facet.
- Parameters:
extrudeMesh (
Trimesh) – A mesh consisting of n triangular faces for extrusionheight (
Optional[float]) – A constant height to use for the prism extrusionheightArray (
Optional[ndarray]) – Optional array consisting of n heights to extrude each triangular facet
- Return type:
Trimesh- Returns:
The extruded prism mesh