Created by: portnov
This node does the following:
- Takes a Surface and a Curve, which is supposed to be in UV space of the surface;
- Draws a curve which is a result of mapping the provided curve into 3D space by the surface (similar to "Curve on Surface" node works);
- Then offsets that curve by specified amount, while remaining within the surface.
In some simple cases, it is possible to perform similar offset operation by offsetting the original curve in surface's UV space, and then mapping the result into 3D space. But as surface may stretch or compress it's UV space in different proportions in different places, in any non-trivial case the result would be very imprecise. This node, on the other hand, guarantees that the distance between the original curve and it's offset will be equal to specified amount with good precision.
Preflight checklist
Put an x letter in each brackets when you're done this item:
-
Code changes complete. -
Code documentation complete. -
Documentation for users complete (or not required, if user never sees these changes). -
Manual testing done. -
Unit-tests implemented. -
Ready for merge.