mymesh.mesh.mesh.Clip#
- mesh.Clip(pt=None, normal=[1, 0, 0], exact=False)[source]#
Clip the mesh along a plane.
- Parameters:
pt (array_like or NoneType, optional) – Coordinates for a point on the clipping plane, by default None. If None, the center of the bounding box of the mesh will be used.
normal (list, optional) – Normal vector of the clipping plane, by default [1,0,0]
exact (bool, optional) – If True, the mesh will be clipped exactly along the plane, cutting through elements. Otherwise, elements on one side of the plane will be removed, but no elements will be cut. By default, False.
- Returns:
clipped – Clipped mesh
- Return type: