Re:Parallel Curves of Cubic Béziers
by upwardbound on Friday September 09, 2022 @05:14PM
(#32785002)
Yep. A way that helps me visualize it is that a parallel curve is what you need to make a set of railroad tracks. The tracks have to always be a constant distance apart when measured along the direction locally perpendicular to the tracks - i.e. the direction of the train's axle.
[ Parent
| on HN ]
Re:Parallel Curves of Cubic Béziers
by aaronblohowiak on Friday September 09, 2022 @08:02PM
(#32786335)
if you have a curve you need to make a parallel to, like for making a two part form for bent lamination, a common trick is to use a washer. you run the washer along the reference curve and your pencil in the hole in the washer. this gives you the parallel curve offset by the width of the solid part of the washer.
This sounds even better. I was imagining a similar idea where for every point in the Bezier you have a normal that can extend both directions by a specified amount. The smoothness still requires some interpolation which shouldn’t be too further from normal Bezier interpolation.