Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

GDL - Cylind & Elbow Contour Lines

Anonymous
Not applicable
Is it possible to get rid of the contour lines between the Cylinders and Elbow? or can you only control visible lines with PRISM_ ect.?
Is there a better way to do this?

Cylinder Contour Lines.JPG
11 REPLIES 11
Frank Beister
Moderator
Cylind and elbow do not have parameters for that. Try this one. I think it can do: Knee
bim author since 1994 | bim manager since 2018 | author of selfGDL.de | openGDL | skewed archicad user hall of fame | author of bim-all-doors.gsm
Barry Kelly
Moderator
Wardy wrote:
Is it possible to get rid of the contour lines between the Cylinders and Elbow? or can you only control visible lines with PRISM_ ect.?
Is there a better way to do this?
I think if you use Grouping to add them together you can.
Otherwise use Prism for the straight parts and Revolves for the curved parts.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Barry Kelly
Moderator
Yes Grouping does it.
Try this.

GROUP "one"
CYLIND 0.05, 0.025
ENDGROUP

GROUP "two"
ADDz 0.05
CYLIND 0.05, 0.025
ENDGROUP

result = ADDGROUP ("one", "two")
PLACEGROUP result

Barry
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Anonymous
Not applicable
Perfect!

Thanks Barry.
Anonymous
Not applicable
Actually doesn't seem to work if you group a cylinder and an elbow. works with two cylinders though.
Dwight
Newcomer
There's always Trussmaker.
Dwight Atkinson
Frank Beister
Moderator
a=1 : b=0.2
k=0
s=0
n=36
winkel=30
rsl=24

hotspot 0,0,htspt
for i=0 to n
  put b*cos(360/n*i)
  put a+b*sin(360/n*i)
  put 1
  next i

if rsl>3 then resol rsl

revolve n+1, winkel, 1*0+2+4+8+16*s+32*s+64*k,
   get(nsp)
bim author since 1994 | bim manager since 2018 | author of selfGDL.de | openGDL | skewed archicad user hall of fame | author of bim-all-doors.gsm
Barry Kelly
Moderator
Wardy wrote:
Actually doesn't seem to work if you group a cylinder and an elbow. works with two cylinders though.
Are you sure?

a=1 : b=0.2
k=0
s=0
n=36
winkel=60
rsl=24

GROUP "one"
CYLIND 0.2, 0.2
ENDGROUP

GROUP "two"
ADD 0,-a,0.2
hotspot 0,0,htspt
for i=0 to n
put b*cos(360/n*i)
put a+b*sin(360/n*i)
put 1
next i

if rsl>3 then resol rsl

revolve n+1, winkel, 1*0+2+4+8+16*s+32*1+64*k,
get(nsp)
ENDGROUP


result = ADDGROUP ( "one", "two")
PLACEGROUP result


You can control the lines at the ends of the revolve with the masking values (ie 16 & 32) as Frank was demonstrating.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Anonymous
Not applicable
Yeah definately didn't work with Cylind & Elbow unless there is something im missing.

Will try with revolve. Thanks