Skip to content

Commit acf871f

Browse files
committed
Add: information about sweeping method in docstring
1 parent 9c1bd98 commit acf871f

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

splinepy/helpme/create.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,15 @@ def swept(
318318
The sweeping process has some limitations, since the cross-section
319319
cannot be preserved exactly along the whole trajectory.
320320
321-
The maths behind can be found in the NURBS Book, Piegl & Tiller,
322-
2nd edition, chapter 10.4 Swept Surfaces.
321+
This implementation follows the skinning-based swept surface
322+
construction described in The NURBS Book, Piegl & Tiller, 2nd
323+
edition, chapter 10.4, where cross-section instances are placed
324+
along the trajectory and skinned afterwards.
325+
326+
The cross-section orientation is determined using the projection
327+
normal method of Siltanen and Woodward, as described in chapter
328+
10.4, Eq. (10.27). For closed trajectories, the orientation is
329+
corrected as described on p. 483.
323330
324331
Parameters
325332
----------

0 commit comments

Comments
 (0)