[Plugin] Follow Me Helix (Updated 06-Jan-2012)
-
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.
-
Hi,
I downloaded this and added it but can't seem to find it in any toolsets. Where does it reside in the menus?
-
@shingabiss said:
Hi,
I downloaded this and added it but can't seem to find it in any toolsets. Where does it reside in the menus?
If you installed it correctly it would be in the Plugins menu.
-
I can confirm that this tool [like many others] is already compatible with all current versions of SketchUp - including the newest ones].
When properly installed t will appear in the Plugins menu as 'Follow Me Helix'.
If it does not then you have not installed it properlyThere are many threads about fixing security-permissions for installing files manually - if you have v2014 these permissions are auto-resolved for you [although the folder is harder to find!], but on especially PCs with earlier SketchUp versions you need to do a one-off fix for the Plugins folder's permissions... see this consolidation tutorial http://sketchucation.com/resources/tutorials/36-intermediate/811-setting-security-permissions-in-sketchup
It is much easier to AutoInstall Plugins using the SketchUcation PluginStore dialog in SketchUp, or download the RBZ version from the SCF PluginStore page and then use the Preferences > Extensions > Install... button... -
Any documentation or guidance on how to use this plugin? (It installed just fine under SK8 on my Mac.)
If nothing it selected I get a dialog "Select the entities that will be the size and shape of the helix you want to create." If a line is selected I get the parameters dialog but don't understand their semantics - some values produce interesting results but I don't know how to control it. If a more complicated 2D entity is selected then I get more complicated results - or no result.
-
There's some information in this thread. For the rest, a little bit of experimentation should answer your questions.
-
Steve,
The centerline for the helix should be selected before running the plugin. The radius is of course the distance from the centerline to the points of the helix curve. The linear increment is the distance along the centerline between generated helix points. The angular increment is the angular change between helix points around the centerline. The angles between the segments of the centerline are checked to see if any exceed 30 degrees. This is done because trying to wrap the helix around such corners is problematic. You are given the option of smoothing the centerline curve by doing a spline fit using the end points of the centerline segments as nodes of the spline.
Advertisement