fedoo.mesh.extrude

extrude(mesh, extrude_path, n_nodes=11, use_local_frame=False, name='')

Build a volume or surface mesh from the extrusion of a surface or wire mesh.

Parameters:
  • mesh (fedoo.Mesh) – The mesh to extrude

  • extrude_path (float, tuple[float] or fedoo.Mesh) – The path along which the mesh will be extruded. extrude_path can either be: - a float: extrude_path is the extrusion thickness. - a tuple: extrude_path is the min and max coordinates values along the thickness. - a fedoo.Mesh with line elements: define the path along which the mesh is extruded.

  • n_nodes (int) – number of nodes in the extrusion direction. n_nodes is ignored if extrude_path is a Mesh.

  • use_local_frame (bool) – If True, the extrusion use the nodal local_frame of the extrude_path Mesh (if available). The default is False.

  • name (str, optional) – The name of the final Mesh.

Return type:

Mesh object