SketchUcation Premium Membership

 

 

[Plugin] Follow Me Helix (Updated 06-Jan-2012)

Re: [Plugin] Follow Me Helix (Updated 03-Oct-2011)

Postby mattarth » Fri Oct 07, 2011 10:08 am

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 :)
mattarth
 
Posts: 3
Joined: Mon Oct 03, 2011 2:54 pm
Name: Matt

Re: [Plugin] Follow Me Helix (Updated 03-Oct-2011)

Postby Dave R » Fri Oct 07, 2011 1:48 pm

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.

Inspecting mirrors is a job I could easily see myself doing.
User avatar
Dave R
Global Moderator
 
Posts: 9238
Joined: Tue Nov 13, 2007 11:52 pm
Location: SE Minnesota
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: woodworking
Level of SketchUp: Advanced

Re: [Plugin] Follow Me Helix (Updated 03-Oct-2011)

Postby 8068 » Thu Nov 17, 2011 4:38 am

Thank You!
Really
8068
 
Posts: 1
Joined: Wed Nov 02, 2011 5:43 pm

Re: [Plugin] Follow Me Helix (Updated 03-Oct-2011)

Postby buddyholly27 » Thu Jan 05, 2012 2:42 pm

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!
buddyholly27
 
Posts: 4
Joined: Fri Jul 09, 2010 12:01 pm
Location: Liverpool, UK
Name: buddyholly27

Re: [Plugin] Follow Me Helix (Updated 03-Oct-2011)

Postby sdmitch » Fri Jan 06, 2012 3:09 am

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.
Nothing is worthless, it can always be used as a bad example.

http://sdmitch.blogspot.com/
User avatar
sdmitch
 
Posts: 617
Joined: Wed Mar 02, 2011 9:21 pm
Name: Sam
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Beginner

Re: [Plugin] Follow Me Helix (Updated 03-Oct-2011)

Postby buddyholly27 » Fri Jan 06, 2012 10:05 am

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
buddyholly27
 
Posts: 4
Joined: Fri Jul 09, 2010 12:01 pm
Location: Liverpool, UK
Name: buddyholly27

Re: [Plugin] Follow Me Helix (Updated 03-Oct-2011)

Postby TIG » Fri Jan 06, 2012 12:10 pm

sdmitch wrote: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 like 30 ] :roll:
And also never change the @ang_inc into an integer with .to_i later on.
TIG
User avatar
TIG
Global Moderator
 
Posts: 14308
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Follow Me Helix (Updated 03-Oct-2011)

Postby charly2008 » Fri Jan 06, 2012 3:54 pm

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
Please, register (free) to access all the attachments on the forums.
More dangerous than ignorance is the illusion of knowledge

He who makes no mistakes, makes nothing
User avatar
charly2008
 
Posts: 1177
Joined: Wed Apr 08, 2009 12:03 pm
Location: Frankfurt a.M., Germany
Name: Karlheinz Hauser
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: historical reconstruction
Level of SketchUp: Advanced

Re: [Plugin] Follow Me Helix (Updated 03-Oct-2011)

Postby sdmitch » Fri Jan 06, 2012 4:22 pm

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.
Nothing is worthless, it can always be used as a bad example.

http://sdmitch.blogspot.com/
User avatar
sdmitch
 
Posts: 617
Joined: Wed Mar 02, 2011 9:21 pm
Name: Sam
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Beginner

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Keyframe Animation plugin - animate your SketchUp model by adding movement to any object.

Premium Members get 20% discount!

Ad Machine
Robot
 
Posts: 2012

Previous

Return to Plugins

cron

Who is online

Users browsing this forum: Bing [Bot], Google Feedfetcher, sahinahmet and 10 guests