project_points_onto_spline#

QuadToSpline.project_points_onto_spline(part_id, points)#

Project a set of 3D points onto the unstructured spline surface.

Parameters:
  • part_id (int) – Part id.

  • points (Iterable[float]) – Input 3D points to project.

Return type:

SplineParametricProjectionResult

Returns:

SplineParametricProjectionResult containing element ids, parametric UV coordinates, and 3D coordinates of projected points.

Notes

This is a beta API. The behavior and implementation may change in future.

Examples

>>> result = quadToSpline.project_points_onto_spline(part_id, points)