mymesh.mesh.mesh.Clip#

mesh.Clip(pt=None, normal=[1, 0, 0])[source]#

Clip the mesh along a plane. Clipping with this method will not cut through elements, but rather will only keep elements on one side of the specified 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]

Returns:

clipped – Clipped mesh

Return type:

mymesh.mesh