get_closest_mesh_normal_to_pt

compas_slicer.utilities.get_closest_mesh_normal_to_pt(mesh, pt)[source]

Finds the closest vertex normal to the point.

Parameters:
  • mesh (:class: ‘compas.datastructures.Mesh’)

  • pt (:class: ‘compas.geometry.Point’)

Returns:

class: ‘compas.geometry.Vector’ – The closest normal of the mesh.