SketchUcation Premium Membership

 

 

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

Re: [Plugin] Follow Me Helix (Update 20-Sep-2011)

Postby jdadesignstudio » Wed Sep 21, 2011 8:01 pm

Hmm...still having issues. Take a look at the images below-the line and arc both had the same parameters plugged into the helix plugin. I also tried changing the number of segments in the arc (to change the length of the segments) anywhere from 2 segments up to 92 segments. It seems where 2 line segments intersect, it creates a crooked piece...Let me know what you think.
Thanks,
Jon
Please, register (free) to access all the attachments on the forums.
jdadesignstudio
 
Posts: 44
Joined: Thu Apr 29, 2010 6:02 pm
Location: Fort Collins, CO
Name: jon altschuld

Re: [Plugin] Follow Me Helix (Update 20-Sep-2011)

Postby sdmitch » Wed Sep 21, 2011 9:19 pm

jdadesignstudio wrote:Hmm...still having issues. Take a look at the images below-the line and arc both had the same parameters plugged into the helix plugin. I also tried changing the number of segments in the arc (to change the length of the segments) anywhere from 2 segments up to 92 segments. It seems where 2 line segments intersect, it creates a crooked piece...Let me know what you think.
Thanks,
Jon


Yes that happens because the linear increment starts on one segment and ends on the next one.
Again, the linear increment you are using is to long for the curve you are trying to follow. Sometimes the curve and what you want just doesn't work.
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
SketchUp use: hobby
Level of SketchUp: Beginner

Re: [Plugin] Follow Me Helix (Update 21-Sep-2011)

Postby sdmitch » Thu Sep 22, 2011 1:03 am

Jon, After further testing, it looks like my last "improvement" wasn't an improvement at all so I have re-posted the privious version. I haven't been able to eliminate the "kinks" yet but it is still something that I am thinking about and have a few more ideas to try.
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
SketchUp use: hobby
Level of SketchUp: Beginner

Re: [Plugin] Follow Me Helix (Update 21-Sep-2011)

Postby jdadesignstudio » Thu Sep 22, 2011 7:09 pm

sdmitch wrote:Jon, After further testing, it looks like my last "improvement" wasn't an improvement at all so I have re-posted the privious version. I haven't been able to eliminate the "kinks" yet but it is still something that I am thinking about and have a few more ideas to try.


Sounds good, thanks Sam! Its a really cool plugin, in the past I have used the draw curves plugin for helixes, but this plugin gives you some more control over the helix, in addition to the follow me feature.
jdadesignstudio
 
Posts: 44
Joined: Thu Apr 29, 2010 6:02 pm
Location: Fort Collins, CO
Name: jon altschuld

Re: [Plugin] Follow Me Helix (Update 21-Sep-2011)

Postby mattarth » Mon Oct 03, 2011 3:22 pm

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

Re: [Plugin] Follow Me Helix (Update 21-Sep-2011)

Postby crazac » Mon Oct 03, 2011 7:54 pm

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?
crazac
 
Posts: 3
Joined: Mon Oct 03, 2011 5:41 pm
Name: Craig

Re: [Plugin] Follow Me Helix (Update 21-Sep-2011)

Postby sdmitch » Tue Oct 04, 2011 12:34 am

No there is currently no way to make it go the other way. I will take a look and see what I can do.
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
SketchUp use: hobby
Level of SketchUp: Beginner

Re: [Plugin] Follow Me Helix (Update 21-Sep-2011)

Postby mitcorb » Tue Oct 04, 2011 12:49 am

In the meantime you could use Flip Along or Mirror.rb?
I take the slow, deliberate approach in my aimless wandering.
User avatar
mitcorb
Top SketchUcator
 
Posts: 3399
Joined: Sat Mar 22, 2008 2:32 pm
Location: USA
Name: Tim
Operating system: Windows
SketchUp version: 8
License type: Free
SketchUp use: architecture
Level of SketchUp: Intermediate

Re: [Plugin] Follow Me Helix (Update 21-Sep-2011)

Postby solo » Tue Oct 04, 2011 12:53 am

I don't see the point to reversing this, it's follow the line right?
My site

Quod gratis asseritur, gratis negatur.
User avatar
solo
Global Moderator
 
Posts: 10750
Joined: Mon Nov 12, 2007 1:46 pm
Location: Dallas, Texas
Name: Pete Stoppel
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: other
Level of SketchUp: Intermediate

Re: [Plugin] Follow Me Helix (Update 21-Sep-2011)

Postby Dave R » Tue Oct 04, 2011 6:24 pm

mattarth wrote:I would like to draw a barrel spring.

Thanks in advance,
Matt


Matt, 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.
Inspecting mirrors is a job I could easily see myself doing.
User avatar
Dave R
Global Moderator
 
Posts: 8980
Joined: Tue Nov 13, 2007 11:52 pm
Location: SE Minnesota
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: woodworking
Level of SketchUp: Advanced

Re: [Plugin] Follow Me Helix (Update 21-Sep-2011)

Postby crazac » Tue Oct 04, 2011 7:01 pm

sdmitch wrote: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. :thumb:


mitcorb wrote: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...
crazac
 
Posts: 3
Joined: Mon Oct 03, 2011 5:41 pm
Name: Craig

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

Postby sdmitch » Tue Oct 04, 2011 7:50 pm

In case you missed it, I posted an updated version yesterday that, if negative angular increment is entered, reverses the direction of 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
SketchUp use: hobby
Level of SketchUp: Beginner

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

Postby crazac » Thu Oct 06, 2011 12:00 am

sdmitch wrote: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...
crazac
 
Posts: 3
Joined: Mon Oct 03, 2011 5:41 pm
Name: Craig

Re: [Plugin] Follow Me Helix (Update 21-Sep-2011)

Postby mattarth » Thu Oct 06, 2011 3:11 pm

Dave R wrote:
mattarth wrote:I would like to draw a barrel spring.

Thanks in advance,
Matt


Matt, 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).
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 » Thu Oct 06, 2011 4:38 pm

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.
Inspecting mirrors is a job I could easily see myself doing.
User avatar
Dave R
Global Moderator
 
Posts: 8980
Joined: Tue Nov 13, 2007 11:52 pm
Location: SE Minnesota
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: woodworking
Level of SketchUp: Advanced

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: 8980
Joined: Tue Nov 13, 2007 11:52 pm
Location: SE Minnesota
Operating system: Windows
SketchUp version: 8
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
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: 13944
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 8
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: 1150
Joined: Wed Apr 08, 2009 12:03 pm
Location: Frankfurt a.M., Germany
Name: Karlheinz Hauser
Operating system: Windows
SketchUp version: 7
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
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

Next

Return to Plugins

Who is online

Users browsing this forum: anteolic, bakti, Bing [Bot], CadFather, cgeorg77, gera007, gregpettigrew, lcb163, UanYang and 12 guests