fedoo.mesh.thicken
- thicken(mesh, thickness, n_nodes=2, normal=None, name='')
Create a solid by thickening a surface mesh along nodal normals.
- Parameters:
mesh (fedoo.Mesh) – Two-dimensional surface mesh to thicken.
tri3andquad4elements are supported.thickness (float or tuple[float, float]) – With a positive scalar, the original surface is the midsurface and the offsets are
(-thickness/2, thickness/2). A two-value tuple gives the lower and upper offsets explicitly.n_nodes (int, default=2) – Number of nodes through the thickness.
normal (array_like, optional) – One 3D normal vector, or one vector per surface node. Without this argument, area-weighted nodal normals are computed from the adjacent surface elements.
name (str, optional) – Name of the generated solid mesh.
- Returns:
Solid mesh made of
wed6orhex8elements.- Return type:
Notes
The input surface must have consistently oriented elements. Large thicknesses or highly curved surfaces may produce intersecting or inverted solid elements; no geometric collision correction is performed.