get_normal_of_path_on_xy_plane

compas_slicer.utilities.get_normal_of_path_on_xy_plane(k, point, path, mesh)[source]

Finds the normal of the curve that lies on the xy plane at the point with index k

Parameters:
  • k (int, index of the point)

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

  • path (:class: ‘compas_slicer.geometry.Path’)

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

Returns:

class: ‘compas.geometry.Vector’