GDL
About building parametric objects with GDL.

I want to make something like this with a command like Tube that goes to Path instead of prism.

LeeJaeYoung
Virtuoso

I want to make something like this with a command like Tube that goes to Path instead of prism. Which commands should I study?

LeeJaeYoung_0-1687930328039.png

LeeJaeYoung_0-1687930554657.png

 

 

AC27 on window 11
5 REPLIES 5
AllanP
Expert

the tube command

AllanP_3-1687934842164.png

 

TUBE    number_of_profile_nodes,   Number_of_path_nodes,   Mask,

             (Coordinates_of_profile  x,y,status)

             (Coordinates_of_path    x,y,z,angle)

 

 

https://gdl.graphisoft.com/reference-guide/shapes-generated-from-polylines#TUBE_gdlcommand

AllanP_0-1687934740860.png

Remember

for the path the 1st Coordinate is invisible, the shape starts on the second,

and

the last Coordinates of the path is invisible, the shape ends on the second to last,

so

you require at least 4 path points for a shape.

 

or sweep

AllanP_1-1687934762877.png

or tube a with scaling

AllanP_2-1687934813720.png

 

 

 

I have been using ArchiCAD continually since ArchiCAD 4.5, 4.5.5, 5, 5.1, 6, 6.5, 7, 8, 8.1, 9, 10, 11, 12, 13, 15, 18, 21, 22, 25, now testing 27
Member of Architalk since 2003, but missed the migration to Graphisoft.
(where have all my original posts gone?)

I saw this too.

1. The rest of Sweep and Tube A seem to be a bit misunderstood.
I'll try to study more.
But is this a one time thing?
Or does this also mean connecting with multiple commands?

AC27 on window 11

1. Tube is known to be one path.
Are you saying to make it using multiple duves?

 

 

Is it possible to change the upper part of the tube as it goes?
I am asking except for Prisms drawn from the side.

AC27 on window 11

I would like to know why this part is like this.

 

TUBEA 2, 4, 1 + 2 + 16 + 32,
0, 1.5, 0,
-1, 1.5, 0,

......

LeeJaeYoung_0-1687950522004.png

LeeJaeYoung_1-1687950565900.png

TUBEA 3, 4, 1 + 2 + 16 + 32,
0, 0, 0,
0, 1.5, 0,
-1, 1.5, 0,

....

 

 

LeeJaeYoung_2-1687950687331.png

TUBEA 2, 4, 1 + 2 + 16 + 32,
0, 0, 0,
-1, 1.5, 0,

.......

 

LeeJaeYoung_3-1687950771324.png

TUBEA 3, 4, 1 + 2 + 16 + 32,
0, 0, 0,
1, 0, 0,
1, 1.5, 0,

.....

LeeJaeYoung_4-1687950885248.png

 

TUBEA 2, 4, 1 + 2 + 16 + 32,
0, 1.5, 0,
1, 1.5, 0,

....

 

Is the y value of uv non-negative?
This is very different from what I have known.

So I couldn't help but change the height of the upper part of the story with TubeA, and the lower part of the story had to be treated as a tube and processed with addgroup.
tubeA was used for a wall whose height changes, and tube had to be used for a stem base hidden in the story.

 

 

AC27 on window 11
Peter Baksa
Graphisoft
Graphisoft

Hi,

 

yes, w (y) of the cross-section has to be > 0.

GDL shapes use local coordinates, you can transform the base of tubea to a different height.

Péter Baksa
Software Engineer, Library
Graphisoft SE, Budapest