[Plugin] Follow Me Helix (Updated 06-Jan-2012)
-
This is great for making a helix, thank you.
Does anyone know of a way to make a helix with a radius that is a function of the distance along the original curve? I would like to draw a barrel spring (http://www.google.co.uk/search?q=barrel+spring&hl=en) but I don't know how to make it in sketchup. The radius would be something like r=x*(1-x)+1 where x is distance along the curve. Alternatively I could calculate a list of coordinates myself and input them; is there a way to do that in sketchup?
Thanks in advance,
Matt -
Yea, thanks for this, it's an awesome plug.
I do have a question tho, I can only seem to make it revolve in one direction. Putting negative numbers in the fields produces the beach ball of death and a force quit. I've also tried adjusting the path direction to no avail. Is there a way to make the helix revolve in the opposite direction?
-
No there is currently no way to make it go the other way. I will take a look and see what I can do.
-
In the meantime you could use Flip Along or Mirror.rb?
-
I don't see the point to reversing this, it's follow the line right?
-
@mattarth said:
I would like to draw a barrel spring.
Thanks in advance,
MattMatt, how accurate does your barrel spring need to be? Would this one play for you?
This was easy enough with Draw Helix and Follow Me. I didn't bother with the ends but they would be trivial, too.
-
@sdmitch said:
No there is currently no way to make it go the other way. I will take a look and see what I can do.
Thanks sdmitch, that would be great!. I really appreciate this plugin. I didn't have much hope when i started this project until i found it.
@mitcorb said:
In the meantime you could use Flip Along or Mirror.rb?
mitcorb, thanks for the heads up. The Mirror is handy, but isn't producing the result i'm after. The helix needs to be inverted...
-
In case you missed it, I posted an updated version yesterday that, if negative angular increment is entered, reverses the direction of the helix.
-
@sdmitch said:
In case you missed it, I posted an updated version yesterday that, if negative angular increment is entered, reverses the direction of the helix.
AWESOME!, I did miss it, it works great! Thanks a lot, I really appreciate it...
-
@dave r said:
@mattarth said:
I would like to draw a barrel spring.
Thanks in advance,
MattMatt, how accurate does your barrel spring need to be? Would this one play for you?
This was easy enough with Draw Helix and Follow Me. I didn't bother with the ends but they would be trivial, too.
This is great, DrawHelix is exactly what I needed to know, thank you.
I've since tried to make it using a spiral road intersected with a barrel shape:
but it wouldn't follow the whole curve, only the upper or lower half (I was getting the "this does not appear to be a valid path" error when I tried to follow the curve as a whole).
-
Matt, I used Draw helix to draw three different helices. All three have the same pitch. The first was the bottom, straight helix for 5 turns (because that was the default number when the plugin launched) and it got copied up for the top straight section. The second helix tapers from the first helix's radius out to the larger radius. I copied and flipped the copy to make the top taper as well. That one also has 5 turns. Then there's a three-turn straight helix for the center part of the spring.
All these helices are created as groups which I exploded. Then I welded them together to make them easier to select as a path for Follow Me. It's an instant spring but it doesn't take that long to do. I definitely make a component of the spring so I could easily reuse it.
-
Thanks Dave, I think I'll use your method from now on. It's the neatest way to make barrel springs.
Although the intersection method would allow someone to make more interesting profiles if they needed to, if they could tolerate the time it takes for SketchUp to calculate the new path and then follow it
-
You're welcome. I think it is useful to know both methods. Sometimes one will be more useful than the other. For example I used that method for drawing these ironwork baskets. I couldn't get the proper helix using the Draw Helix plugin. Tools on Surface is ideal for drawing the helix on the extruded shape.
-
Thank You!
Really -
First off, thank you for such a useful plugin - I've been making handrails for spiral staircases so it's been invaluable.
I've had a couple of problems with fractions on making higher resolution helix. My working figures have been for 194mm riser at radius 1150mm with risers at 30 degree increments but when I subdivide my figures to create a smoother helix a bug seems to appear (disclaimer, my maths isn't so hot but I've checked as far as I can). so, doubling resolution to 97 and 15 works as expected but doubling again to 48.5mm and 7.5degrees causes the dialogue to disappear with no geometry result. Has anyone else encountered this, or can maybe suggest a way I can create a smoother helix curve?
ps though I've been a daily reader for quite a while this is my first post to SketchUcation so apologies for the clunkiness of this mail!
-
The problem is with the plugin. It only accepts interger angles in its present form so the 7.5 causes an error. If you divide linear and angular increments by 5 and use 38.8 and 6 that will work. The smaller the angular increment the smoother the helix.
-
Thanks sdmitch! That'll do the trick and might save others a little time too. Great plugin. Not only did it save me time, but I couldn't see another way of resolving my modeling challenge. Cheers BuddyH
-
@sdmitch said:
The problem is with the plugin. It only accepts interger angles in its present form so the 7.5 causes an error. If you divide linear and angular increments by 5 and use 38.8 and 6 that will work. The smaller the angular increment the smoother the helix.
Why not fix it ?
@radius=1.feet if !@radius;@dist_inc=1.inch if !@dist_inc;@ang_inc=30****.0**** if !@ang_inc prompts=["Radius of helix:","linear Increment:","Angle Increment:"] ans=UI.inputbox(prompts,[@radius,@dist_inc,@ang_inc],"Helix Generator") if !ans then;return;end @radius=ans[0].to_l;@dist_inc = ans[1].to_l; @ang_inc=ans[2].to_****f****
If a dialog has a value set as an integer it can thereafter only accept an integer as its input.
So just make the initialized@ang_inc
a float by using a float value.
[30.0
and NOT an integer like30
]
And also never change the@ang_inc
into an integer with.to_i
later on. -
Hi Jon,
The technique for a curved spiral is "Follow Me Helix" and "Shape bender". The better is the combination "DrawHelix" and "Shape bender". there is a better control about the helix.
Charly
-
TIG, fixing it is as simple as you suggest in making the angle increment a float. My original obviously flawed assumption was that there would never be a need for an increment less than a degree.
Advertisement