Sketch curve transition between two other curves
Posted: Tue Aug 27, 2024 3:54 pm
Hi,
Sometimes in SW I need to get a parametric 2D sketch curve that is exactly in the middle between two other curves:
This bit is easy enough, I typically draw another sketch, convert the curves, close them off, make an extruded boss, and add draft to the side walls. The edge formed by the tip of the prism is the mid-curve I'm looking for, which can then be converted:
You probably know this trick, it is easy enough.
However, sometimes I need something different - a mid curve that doesn't stay in the middle, but transitions from the end of one curve to the end of the other curve. Something like this (drawn freehand, very approximately):
The idea is that this should be like a gradually varying offset that takes both curves into account. The goal is to have a very smooth and gradual transition, meaning that the "thickness" between one of the original curves and the new curve is linear, without any irregularities.
I can't think of a way to achieve this in an easy and parametric way, something like that mid-curve example. The only (bad) way I can think of is to draw tons of perpendicular lines, with points on them to guide the new curve, spaced equally through tons of equations, looking something like this...
...and then draw a spline on these points. But this is extremely time consuming to set up, and the final curve will not be accurate, just an approximation that highly depends on how many points I create.
Can anyone suggest an easier and accurate way to get this transitioning curve between two other curves? Attaching this sample file (saved in SW 2022).
Sometimes in SW I need to get a parametric 2D sketch curve that is exactly in the middle between two other curves:
This bit is easy enough, I typically draw another sketch, convert the curves, close them off, make an extruded boss, and add draft to the side walls. The edge formed by the tip of the prism is the mid-curve I'm looking for, which can then be converted:
You probably know this trick, it is easy enough.
However, sometimes I need something different - a mid curve that doesn't stay in the middle, but transitions from the end of one curve to the end of the other curve. Something like this (drawn freehand, very approximately):
The idea is that this should be like a gradually varying offset that takes both curves into account. The goal is to have a very smooth and gradual transition, meaning that the "thickness" between one of the original curves and the new curve is linear, without any irregularities.
I can't think of a way to achieve this in an easy and parametric way, something like that mid-curve example. The only (bad) way I can think of is to draw tons of perpendicular lines, with points on them to guide the new curve, spaced equally through tons of equations, looking something like this...
...and then draw a spline on these points. But this is extremely time consuming to set up, and the final curve will not be accurate, just an approximation that highly depends on how many points I create.
Can anyone suggest an easier and accurate way to get this transitioning curve between two other curves? Attaching this sample file (saved in SW 2022).