cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

twisted ribbon/object

Anonymous
Not applicable
Hello-
Please show me how this (attached) is done using GDL, I have posted this in 'Working in AC' section. I got a suggestion to bring it here. I have tried the mesh tool before, but didnt work. I would also like to know if I can manipulate/play with the surface of this object after creating it.
Please disregard materials.

Twist2.jpg
15 REPLIES 15
Aussie John
Newcomer
coons is a mystery to me
Cheers John
John Hyland : ARINA : www.arina.biz
User ver 4 to 12 - Jumped to v22 - so many options and settings!!!
OSX 10.15.6 [Catalina] : Archicad 22 : 15" MacBook Pro 2019
[/size]
Anonymous
Not applicable
You can try the internationally famous 'Efes Pilsen' brand !

I've started a new thread over at Coons 101. Please make contributions to the usual PayPal account.

- Stuart 'just pleased for an excuse to get his post no.s up' James
Anonymous
Not applicable
shukran all,

Stuart I'm trying to model a complex sculpture in which the twisted shape is only a part of it. When I finish it sometime I will post it.

thanks again
Karl wrote:
Or tell us which beer!
It is definitely not the beer. Stuart's profile portrait leaves no doubt as to the fact that he was born for these helical stuff things.
Dwight
Newcomer
Let me add my admiration.
This is ballet.
Dwight Atkinson
Anonymous
Not applicable
StuartJames wrote:
Geometric shapes are very easy in GDL. It is architecture that is difficult The GDL is actually quite simple - but a geometric background does help.

HTH !
Stuart 'prefers long variable names' James


!*** master variables ***

oRevolutions = 2
oSegmentAngle = 5 !=== in degrees
oCoilRadius = 5
oCoilLength = 50
oBandWidth = 5
oBandHeight = 2

!*** dependent variables ***

oAngle = 360 * oRevolutions
oStep = oAngle / (360/oSegmentAngle)
oXmultiplier = oCoilLength / oAngle

!*** put path ***

for i = 0 - oStep to oAngle + oStep step oStep

oX = i * oXmultiplier
oY = sin (i) * oCoilRadius
oZ = cos (i) * oCoilRadius
put oX, oY, oZ, i
next i

!*** draw path ***

tube 4, oAngle/oStep +2, 32+16+2+1,
-oBandWidth*0.5, -oBandHeight*0.5, 0,
oBandWidth*0.5, -oBandHeight*0.5, 0,
oBandWidth*0.5, oBandHeight*0.5, 0,
-oBandWidth*0.5, oBandHeight*0.5, 0,
get ((oAngle/oStep+2)*4)

end
hello, i'm newbie
a question:

and if the path of the ribbon is not straight but it's a circumference and the diameter of the imaginary "tube" (the diameter's size of the ribbon) is not constant but it decrease gradually (the ribbon grow and grow), how should I modify the code?

tnx