#1 By: Alejandro Ispani, August 27th, 2013 16:49
I'm trying to make a spiral walking path inside a sphere, like the one in the Reichstag in Berlin:
I tried making a grid on the sphere using Paneling Tools, and then connecting the dots with an interpolated curve, but trying to follow the grid in 3D is driving my crazy.
Does anyone can think of a better solution?
thanks a lot and excuse my broken English!
#2 By: Al Worth, August 27th, 2013 17:03
Did you consider creating the spiral ramp first, using sweep1 along a spiral rail whose outside diameter is larger than the sphere you will use? Sweep a line segment that extends inward further than the smallest inside diameter that the ramp will reach. Then create the outer sphere and an inner sphere that will define the width of the ramp. Then trim the ramp with the spheres.
Or did I misunderstand what you are trying to do?
This is just a suggestion; I have not tried it.
#3 By: John Brock, August 27th, 2013 17:38
Draw a sphere.
Use the Twist command with the axis on the ends of the seam.
Set the Infinite option to Yes.
Twist the sphere as many revolutions as you need.
Turn off the deformed sphere's isocurves.
Duplicate the twisted seam to harvest the spiral curve.
Perhaps replace the twisted sphere with an untwisted one.
I use 5 revolutions
#4 By: Al Worth, August 28th, 2013 08:21
Pretty clever, John. Never would have occurred to me to use the seam and twist command this way.
Sounds like a good candidate for the Rhino "Tips and Tricks" Wiki page. Or discourse topic.
#5 By: Mitch Heynick, August 28th, 2013 09:21
What's fun is there are actually so many ways to do this - JB's idea is also new to me, what I usually do is make a helix slightly larger in diameter than the sphere, make a line that goes from pole to pole and Loft the line and the helix. That gives you a spiral surface that you can intersect with the sphere to create the spiral curve.
#6 By: vittorio, August 28th, 2013 09:52
Try command _InterpcrvOnSrf like the Youtube Video a : http://youtu.be/anp0fJACD4g
#7 By: jeff hammond, August 28th, 2013 10:05
that's neat @John_Brock
draw a tube with a helix around it then FlowAlongSrf using the tube as base surface and a sphere as the target surface..
#8 By: Alejandro Ispani, August 28th, 2013 15:21
So many great answers, thanks everyone!
I'll try them all and let you know which one worked best for me.
#9 By: Jonah Barnett, August 28th, 2013 18:46
The problem with those solutions is - The pitch of the ramp will increase as the distance of each revolution becomes shorter near top of the dome. You could simply make an array of lines, then use ApplyCrv (or flowAlongSrf) to get them onto the sphere. This may not maintain an exact pitch on the ramp, but it will reduce the height of each revolution in a consistent manner...
(actually just read Jeff_Hammond's method which is essentially the same thing)
#10 By: vittorio, August 29th, 2013 04:28
My method , with InterpCrvOnSrf, is very accurate, seeing is believing.
#11 By: Jonah Barnett, August 29th, 2013 10:06
I didn't watch your YouTube video until just now. But my feeling is there must be some amount of deviation in the pitch, both with the ApplyCrv/Flow method and with your InterpCrvOnSrf method. Have you actually measured to see if pitch is constant along the entire length of curve?
BTW, that is a nice misuse of the InterpCrvOnSrf command. Most times i hate using it because it is so unpredictable and (as shown in your video) begins "winding" around the surface when i don't want it to. I imagine it is a bug or at least a weakness in the command, that the method is relying internally on some type of "Flow" technique or its based on the surface's UV directions. I imagine it gets easily confused and sometimes defaults to the UV direction when this winding occurs. I might be wrong, though...
#12 By: Alejandro Ispani, August 29th, 2013 10:07
Thanks a lot jeff, your method was the one that best suited my needs, I had forgotten about my old friend FlowAlongSrf!
#13 By: jeff hammond, August 29th, 2013 21:52
#14 By: Mark Hastings, August 30th, 2013 09:20
Have you tried the RhinoLabs plug-in for CurveOnSurface?
I think you'll find it much more satisfying then InterpCrvOnSrf, I especially like the ability to point edit the curve while constraining it to the surface.
#15 By: j.w., September 13th, 2013 15:57
thanks for the link. I tried downloading the plug in and the weird things is that it downloads this file: "InterpCurveOnSurface.rhp". Isn't this the plug in that CurveOnSurface is trying to replace? I also tried typing in CurveOnSurface and CurveOnSurfacePtOn, but these were un recognized functions. Any ideas? thanks,
#16 By: Mark Hastings, September 13th, 2013 21:00
The naming is a little confusing, because both commands do the same thing, but in different ways. You need to drag the .rhp file onto a running copy of Rhino 5 and drop it there, and it will then load the plug-in. It will not replace the existing InterpCrvOnSrf command, you will still be able to run either that command or the new CurveOnSurface and CurveOnSurfacePtOn. If you like, you can create a toolbar button to launch the new commands, see the Rhino help file on how to do that.