Skip to content

Commit

Permalink
Added better explanations of what are the points lists
Browse files Browse the repository at this point in the history
Jojain authored Nov 3, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 312b50c commit 495a349
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/build123d/topology.py
Original file line number Diff line number Diff line change
@@ -6093,9 +6093,12 @@ def make_surface_from_array_of_points(
"""make_surface_from_array_of_points
Approximate a spline surface through the provided 2d array of points.
The first list correspond to points on the vertical direction in the parameter space of the face.
The second list correspond to points on the horizontal direction in the parameter space of the face.
The 2 lists are UV points of the parameter space of the face.
Args:
points (list[list[VectorLike]]): a 2D list of points
points (list[list[VectorLike]]): a 2D list of points, first list is V parameters second is U parameters.
tol (float, optional): tolerance of the algorithm. Defaults to 1e-2.
smoothing (Tuple[float, float, float], optional): optional tuple of
3 weights use for variational smoothing. Defaults to None.

0 comments on commit 495a349

Please sign in to comment.