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

a strange chimney

Anonymous
Not applicable
I am currently trying to modify a complex(for my level of gdl) object.It represents a chimney made by Antoni Gaudi.I am also going to try to make it parametric as much as possible,and use subroutines as i go as much as possible.The thing that i am stack with at the moment is that little REVERSE STAIR object, which i can't seem to position correctly.It must be put at the bottom nodes of the OCTAGON_PYRAMID.I am trying to use 2 nested FOR NEXT loops,i don't even know if this is the correct way,apparently not since my REVERSE STAIR doesn't go anywere..

Here is my 3d script



PEN pyr_pen
MATERIAL bot_pyr_mat


!!!BASE CONE
ADDZ pyr_h
CUTPLANE 0
DEL 1
ROTZ 22
FPRISM_ bot_pyr_mat, bot_pyr_mat, bot_pyr_mat, bot_pyr_mat,
9,5*pyr_h, 83,4.95*pyr_h,

-0.8, -0.8, 15,

-0.8, 0.8, 15,

0.8, 0.8, 15,

0.8, -0.8, 15,

-0.8, -0.8, 15,

-0.8, 0.8, 15,

0.8, 0.8, 15,

0.8, -0.8, 15,

-0.8, -0.8, 15
DEL 1
CUTEND




!!!MID_PRISM
R=b_r
ADDZ 0.7
PRISM_ 16, pyr_h,
!! X !! Y
COS(90+45)*R, SIN(90+45)*R, 15,

COS(90+2*45)*R, SIN(90+2*45)*R, 15,

COS(90+3*45)*R, SIN(90+3*45)*R, 15,

COS(90+4*45)*R, SIN(90+4*45)*R, 15,

COS(90+5*45)*R, SIN(90+5*45)*R, 15,

COS(90+6*45)*R, SIN(90+6*45)*R, 15,

COS(90+7*45)*R, SIN(90+7*45)*R, 15,

COS(90+8*45)*R, SIN(90+8*45)*R, 15,

COS(90+9*45)*R, SIN(90+9*45)*R, 15,

COS(90+10*45)*R, SIN(90+10*45)*R, 15,

COS(90+11*45)*R, SIN(90+11*45)*R,15,

COS(90+12*45)*R, SIN(90+12*45)*R, 15,

COS(90+13*45)*R, SIN(90+13*45)*R, 15,

COS(90+14*45)*R, SIN(90+14*45)*R, 15,

COS(90+15*45)*R, SIN(90+15*45)*R, 15,

COS(90+45)*R, SIN(90+45)*R, 15




!!!OCTAGON_PYRAMID
R=c_r
ADDZ 4.8
CUTPLANE
DEL 1
ADDz 2
PYRAMID 8,4,1 + 4*3 + 16*16,
!!! X !!! Y
COS(90+45)*R, SIN(90+45)*R, 0,

COS(90+2*45)*R, SIN(90+2*45)*R, 0,

COS(90+3*45)*R, SIN(90+3*45)*R, 0,

COS(90+4*45)*R, SIN(90+4*45)*R, 0,

COS(90+5*45)*R, SIN(90+5*45)*R, 0,

COS(90+6*45)*R, SIN(90+6*45)*R, 0,

COS(90+7*45)*R, SIN(90+7*45)*R, 0,

COS(90+45)*R, SIN(90+45)*R, 0
CUTEND
DEL 1



ang=22
MATERIAL st_mat
ADDZ 6
FOR K=0 TO K=360 STEP ang
FOR J=1 TO J=8
ROTZ ang
ADDX COS(90+J*45)*1.5
ADDY SIN(90+J*45)*1.8
GOSUB 500:!REVERSE STAIR
DEL 3
NEXT J
NEXT K



500:!REVERSE STAIR
ROTY 90
ADDZ 0.2
BLOCK 0.3, 0.12, 0.05
ADDZ -0.05
BLOCK 0.25, 0.12, 0.05
ADDZ -0.05
BLOCK 0.2, 0.12, 0.05
ADDZ -0.05
BLOCK 0.15, 0.12, 0.05
DEL 5

img132.jpg
9 REPLIES 9
Anonymous
Not applicable
I would use some form of the Prism to get the stair stepping and use transformations to put it in place. Using stacked Blocks seems a bit clumsy and will leave edges where they meet in 3D (unless the coplanar faces are now cleaned up - I haven't checked recently since I never stack Blocks).

If you really want to make this parametric you will probably want to use variable parameters rather than constants for your node and size values associated to the Prism and Block statements.

If you only need limited parametrics you could build this rather easily with profiled walls and beams and save as a library part. It seems like ne of the few things Gaudi designed for which this can be said.
Anonymous
Not applicable
Nice study case.

Attached an attempt of chimney.
Parametric, within reasonable limits.

About Gaudi, take a look at this thread.
It was done in AC7, with ArchiForma.
Amazing.
Anonymous
Not applicable
Olivier wrote:
About Gaudi, take a look at this thread.
It was done in AC7, with ArchiForma.
Amazing.
Hello Olivier

I agree totaly.
I din't Know this thread.
Thanks a lot.
Anonymous
Not applicable
Sorry for double post…
Anonymous
Not applicable
Thank you so much Olivier.I have to admit it will take me some time to fully understand your script, you must be very familiar with Gdl..This object is one among various objects designed by Gaudi I am trying to create in Gdl, for my final university project.What I am intending to do is to compare and contrast simple 3d modelling to parametric modelling, to prove the importance and usefulness of parametric modelling tools.It's quite difficult, since i am a newbie in scripting and i have to study lots of things at the same time.
Anyway thanks again.
Anonymous
Not applicable
deinan, glad this can help.

To complete, I have added graphical hotspots, thus you can change parameters in 2D/3D.
Good luck for your next objects.

@Fmr : Frédéric, about Casa Battlo, nice example of freeform modeling, isn't it?
A bit of publicity for Fabrizio doesn't hurt. 😉
Anonymous
Not applicable
A tiny correction for inclined wall thickness.
The tedious part is not to script but to do some testing after. 😉
That's all, folks.
vistasp
Advisor
deinan wrote:
This object is one among various objects designed by Gaudi I am trying to create in Gdl, for my final university project.
All the very best with your university project deinan. If you end up making a catenary archway, do post it to this forum.
= v i s t a s p =
bT Square Peg
https://archicadstuff.blogspot.com
https://www.btsquarepeg.com
| AC 9-27 INT | Win11 | Ryzen 5700 | 32 GB | RTX 3050 |
Anonymous
Not applicable
Thank you vistasp. Thanx everyone. I 'll post every successfull object i manage to create..