Here it the RhinoScript that I am using:
'Option Explicit
'Rem Script written by Giulio
'Rem Script version lunes, 10 de noviembre de 2008 21:00:00
'Rem This script is licenced to you under the conditions shown at
'Rem http://www.giuliopiacentino.com/this/
Call Main()
Sub Main()'starts command
Dim arrLfStart(),arrRxStart(), arrLfEnd(), arrRxEnd(), arrLinks(), i 'sets intergers
Dim links: links = 36 'number of cylinders (links)
ReDim arrLfStart(links), arrRxStart(links), arrLfEnd(links), arrRxEnd(links), arrLinks(links) 'combines integer with number
Dim angleDist:angleDist = Rhino.PI / 10
For i=0 To links 'sets integer
'The following sets the path
arrLfStart(i) = Array(Cos(i-angleDist)*3 + Cos(i*12)*12, Sin(i-angleDist)*3 + Sin(i*12)*12, i*5)
arrRxStart(i) = Array(Cos(i+angleDist)*3 + Cos(i*12)*12, Sin(i+angleDist)*3 + Sin(i*12)*12, i*5)
arrLfEnd(i) = Array(-Cos(i-angleDist)*3 + Cos(i*12)*12, -Sin(i-angleDist)*3 + Sin(i*12)*12, i*5)
arrRxEnd(i) = Array(-Cos(i+angleDist)*3 + Cos(i*12)*12, -Sin(i+angleDist)*3 + Sin(i*12)*12, i*5)
'The following adds cylindars according to specified points
Call Rhino.AddCylinder(IntraPts(arrLfStart(i), arrRxStart(i), 0.5), IntraPts(arrLfEnd(i), arrRxEnd(i), 0.5), 0.5)
Next
'The following adds surfaces to the path
Call Rhino.AddLoftSrf(Array(Rhino.AddInterpCurve(arrLfStart), Rhino.AddInterpCurve(arrRxStart)))
Call Rhino.AddLoftSrf(Array(Rhino.AddInterpCurve(arrLfEnd), Rhino.AddInterpCurve(arrRxEnd)))
End Sub
Function IntraPts(byRef p1, byRef p2,byRef n)
'Rem This function gives the first point out if you use n=0,
'Rem with n=1 it gives the second point.
IntraPts = Array( p1(0)*(1.0-n)+p2(0)*n, p1(1)*(1.0-n)+p2(1)*n, p1(2)*(1.0-n)+p2(2)*n )
End Function
I know that the script works in RhinoScript. If anyone could help me out I would appreciate it.…
Added by Adam Smith at 1:57pm on September 9, 2010
une 7 at Madison Square Garden. Promoted by Miguel Cotto Promotions, Top Rank®, DiBella Entertainment and Sampson Boxing, in association with Maravilla Box, Tecate and Madison Square Garden.Fight Tickets and PPV InfoCotto vs Martinez tickets are now available for purchase online at Ticketnetwork. To charge by phone with a major credit card, call Buy Tickets Center at (855) 859-4045. The fight will be produced and distributed live by HBO Pay-Per-View®, beginning at 9:00 p.m. ET/6:00 p.m. PT.Hall of Fame trainer Freddie Roach is devising a cunning and effective strategy to, badger, outfox, and hound WBC middleweight champion Sergio “Maravilla” Martinez (51-2-2, 28KOs) into a brush with defeat, on June 7th at Madison Square Garden. Roach is training former three division world champion Miguel Cotto (38-4, 31KOs) for the match.“We have seen Martinez fights. I observed him closely when I was in Julio Cesar Chavez Jr’s corner, and he’s very fast. But…like all opponents he can be outboxed. If Miguel focuses on his body, Martinez will loose his speed and that’s when we will knock him out,” Roach mused.Cotto (38-4, 31 KO) and Martinez (51-2-2, 28 KO) will meet for Martinez’s WBC middleweight title and The Ring Magazine championship at Madison Square Garden, promoted by Top Rank, DiBella Entertainment, and Miguel Cotto Promotions.“Face Off” will premiere on Saturday, May 24 at Midnight EDT (so technically, the first minutes of Sunday, May 25, technically), after the May 24 HBO Boxing After Dark card, featuring Bryant Jennings vs Mike Perez, Daniel Geale vs Matthew Macklin, and Edwin Rodriguez vs Marcus Johnson.Other air times:HBO air times include: May 24 (12:00 a.m.), 25 (10:00 a.m.), 27 (3:15 p.m. & 2:30 a.m.), 28 (12:30 a.m.), 29 (5:30 p.m.), 30 (10:30 a.m.), 31 (7:00 p.m.) and June 3 (12:30 p.m. & 3:30 a.m.), 5 (1:15 a.m.), 6 (6:45 p.m.) and 7 (10:45 a.m.).HBO2 air times include: May 25 (5:30 p.m.), 26 (10:45 a.m. & 3:30 a.m.) 30 (4:00 p.m.) and 31 (11:30 p.m.).…
une 7 at Madison Square Garden. Promoted by Miguel Cotto Promotions, Top Rank®, DiBella Entertainment and Sampson Boxing, in association with Maravilla Box, Tecate and Madison Square Garden.Fight Tickets and PPV InfoCotto vs Martinez tickets are now available for purchase online at Ticketnetwork. To charge by phone with a major credit card, call Buy Tickets Center at (855) 859-4045. The fight will be produced and distributed live by HBO Pay-Per-View®, beginning at 9:00 p.m. ET/6:00 p.m. PT.Hall of Fame trainer Freddie Roach is devising a cunning and effective strategy to, badger, outfox, and hound WBC middleweight champion Sergio “Maravilla” Martinez (51-2-2, 28KOs) into a brush with defeat, on June 7th at Madison Square Garden. Roach is training former three division world champion Miguel Cotto (38-4, 31KOs) for the match.“We have seen Martinez fights. I observed him closely when I was in Julio Cesar Chavez Jr’s corner, and he’s very fast. But…like all opponents he can be outboxed. If Miguel focuses on his body, Martinez will loose his speed and that’s when we will knock him out,” Roach mused.Cotto (38-4, 31 KO) and Martinez (51-2-2, 28 KO) will meet for Martinez’s WBC middleweight title and The Ring Magazine championship at Madison Square Garden, promoted by Top Rank, DiBella Entertainment, and Miguel Cotto Promotions.“Face Off” will premiere on Saturday, May 24 at Midnight EDT (so technically, the first minutes of Sunday, May 25, technically), after the May 24 HBO Boxing After Dark card, featuring Bryant Jennings vs Mike Perez, Daniel Geale vs Matthew Macklin, and Edwin Rodriguez vs Marcus Johnson.Other air times:HBO air times include: May 24 (12:00 a.m.), 25 (10:00 a.m.), 27 (3:15 p.m. & 2:30 a.m.), 28 (12:30 a.m.), 29 (5:30 p.m.), 30 (10:30 a.m.), 31 (7:00 p.m.) and June 3 (12:30 p.m. & 3:30 a.m.), 5 (1:15 a.m.), 6 (6:45 p.m.) and 7 (10:45 a.m.).HBO2 air times include: May 25 (5:30 p.m.), 26 (10:45 a.m. & 3:30 a.m.) 30 (4:00 p.m.) and 31 (11:30 p.m.).…
une 7 at Madison Square Garden. Promoted by Miguel Cotto Promotions, Top Rank®, DiBella Entertainment and Sampson Boxing, in association with Maravilla Box, Tecate and Madison Square Garden.Fight Tickets and PPV InfoCotto vs Martinez tickets are now available for purchase online at Ticketnetwork. To charge by phone with a major credit card, call Buy Tickets Center at (855) 859-4045. The fight will be produced and distributed live by HBO Pay-Per-View®, beginning at 9:00 p.m. ET/6:00 p.m. PT.Hall of Fame trainer Freddie Roach is devising a cunning and effective strategy to, badger, outfox, and hound WBC middleweight champion Sergio “Maravilla” Martinez (51-2-2, 28KOs) into a brush with defeat, on June 7th at Madison Square Garden. Roach is training former three division world champion Miguel Cotto (38-4, 31KOs) for the match.“We have seen Martinez fights. I observed him closely when I was in Julio Cesar Chavez Jr’s corner, and he’s very fast. But…like all opponents he can be outboxed. If Miguel focuses on his body, Martinez will loose his speed and that’s when we will knock him out,” Roach mused.Cotto (38-4, 31 KO) and Martinez (51-2-2, 28 KO) will meet for Martinez’s WBC middleweight title and The Ring Magazine championship at Madison Square Garden, promoted by Top Rank, DiBella Entertainment, and Miguel Cotto Promotions.“Face Off” will premiere on Saturday, May 24 at Midnight EDT (so technically, the first minutes of Sunday, May 25, technically), after the May 24 HBO Boxing After Dark card, featuring Bryant Jennings vs Mike Perez, Daniel Geale vs Matthew Macklin, and Edwin Rodriguez vs Marcus Johnson.Other air times:HBO air times include: May 24 (12:00 a.m.), 25 (10:00 a.m.), 27 (3:15 p.m. & 2:30 a.m.), 28 (12:30 a.m.), 29 (5:30 p.m.), 30 (10:30 a.m.), 31 (7:00 p.m.) and June 3 (12:30 p.m. & 3:30 a.m.), 5 (1:15 a.m.), 6 (6:45 p.m.) and 7 (10:45 a.m.).HBO2 air times include: May 25 (5:30 p.m.), 26 (10:45 a.m. & 3:30 a.m.) 30 (4:00 p.m.) and 31 (11:30 p.m.).…
1+2+3+4+5+6 = 21
1+2+3+4+5+6+7 = 28
1+2+3+4+5+6+7+8 = 36
1+2+3+4+5+6+7+8+9 = 45
Is there a tool, that can do me that job?
How do I get this List {1,3,6,10,15,21,28,36,45}?…
Added by Ahmed Hossam at 2:19pm on September 22, 2013