Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hi how can I draw these spiral using Relations and Pattern features?
Solved! Go to Solution.
One way is to do a dimension-based pattern a sketch which contains 2 tangent arcs:
Rd75 = 10
Rd74 = 20
Both radii in the sketch are incremented in the pattern definition; so the next instance's smaller arc has the radius as the previous instance's larger arc...
I just sketched this example quickly and it worked out; but I don't know off the top of my head the formula for the increments that achieves the continuous spiral.
thank you but how can I draw it using arc and pattern ?
One way is to do a dimension-based pattern a sketch which contains 2 tangent arcs:
Rd75 = 10
Rd74 = 20
Both radii in the sketch are incremented in the pattern definition; so the next instance's smaller arc has the radius as the previous instance's larger arc...
I just sketched this example quickly and it worked out; but I don't know off the top of my head the formula for the increments that achieves the continuous spiral.
thank you
There is a small problem
Part of the problem is a spiral is not defined simply as two circular patterned and incremented as you have done they are specified by equations as Steve shows. You might get close with what you are doing but it's not a true spiral.
Creating a datum curve by cylindrical equation will create the most accurate spiral.
In the 1st sketch, the centers and ends of the 2 connected arcs have to all be co-linear. This means that the arcs are tangent to one another and the tangent line and the two free ends are pointing in the same direction (which is perpendicular to the co-linear line).
Also, to get a continuous "spiral", I think the increment amount in the pattern has to be equal for both radii and its value is 2*(difference in sizes of the radii in the 1st sketch).
To make a spiral that behaves according to the original post's attached picture, I would create a datum curve by equation with cylindrical coordinates.
Input IR (Inner radius), N (Number of Turns), PITCH (Pitch)
Setup the equation like this:
/* r =IR + t * (N * PITCH) , IR = Starting Radius, N = Number of Turns, t [0-1], (N*PITCH) = OR - IR, OR = Outer Radius
r = IR + t * (N * PITCH)
/* theta = t * N * 360 , theta = angle, t [0-1], N = Number of Turns, 360 = full circle
theta = t * N * 360
/* z = height , 0 = flat, t * cos(r) = helical spiral thingy
z = 0
Another alternative is by projecting the swept surface edges to a plane:
Like several other posts have said it wont be a true spiral using relations and pattern features. Why did you want to use these features?
The easiest way to do it is by a cylindrical coordinate equation, as posted earlier. Is there a reason you can't or don't want to use that?