I am not good at English, so I'm sorry if it was a funny translation.
I want to create a shape like the attached figure, but I do not know how to create a sweep using a rectangular path.
Could you tell me how to create such a shape, as it is good in other ways?
Solved! Go to Solution.
The picture you show shows a "closed" spring, if not "closed and ground". As such, Mahesh's solution is close...but no cigar, since it's a linear twist. Also, the section should have the line from the senterline and be normal to it. For rotation you need something else to drive it non-linearly. Any guesses as to what could do that?
There's an easier way still, not a projected curve, but...
Ohayoo gozaimasu! (Thank God for internet translators...)
Actually, I was able to see the video. I did a toroidal version of this WAAAY back in 2000, with ends made parallel to the toroid axis (normal to the flat surface). It was actually pretty easy with only a couple of features. I did it back then for fun to see how it could be done because a friend was struggling with it, then many years later in 2013 I actually had to use this technique. Note the ends on the bare copper wire where they wrap around the bent leads. Both ends of the helical wrap are normal to the lead centerline.
As I mentioned, there are 2 ways to do this. The toroidal version I did used the method I mentioned first, similar to Mahesh's. For a toroid, you cannot wrap a curve. You CAN wrap a curve around an extruded rectangle with rounded edges. To get the start and stop points right you can use what used to be an "Evaluate" feature. This is now buried in the "Measure" command and to create the feature, under the "Save" icon, you use the "Make Feature" option. By creating selected curves and creating curve length features to determine where you want the ends to stop (which flat surface, and WHERE on the surface), and how many "wraps", you can get the curve exactly how you want it with your sketch length and height. Best of all, if you change the rectangular tube's dimensions, it will automatically update and always give you the right number of "wraps" IF you've gotten your relations right.
Best of luck!