move_mesh_to_point

compas_slicer.pre_processing.move_mesh_to_point(mesh, target_point)[source]

Moves (translates) a mesh to a target point.

Parameters
  • mesh (compas.datastructures.Mesh) – A compas mesh.

  • target_point (compas.geometry.Point) – The point to move the mesh to.