1
Paths with constant distance
3
The example shows how to create paths with constant distance. This is achieved
4
with the aid of `deformer.parallel`, which has already been used in the above
7
The first part of the example code is only for creating the middle line of the
8
knot. In order to obtain a nicely curved rope, we smooth the such defined curve
11
The individual parts of the knot must be stroked in a very specific way in
12
order to achieve the correct overlapping of the knot. To this end, we split the
13
base curve into five pieces.
15
The key element of the example is the use of `deformer.parallel` which creates
16
the curves with constant distance from the base curve. We apply the deformer
17
four times, thus creating the outline path of two individual ropes, which
18
parallel follow the shape of the knot.