We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

GDL
About building parametric objects with GDL.

After the wallhole, the frame is odd in section.

LeeJaeYoung
Virtuoso

LeeJaeYoung_0-1679309189399.pngLeeJaeYoung_1-1679309207454.png

It's the same cross section.
However, it is expressed differently. (It feels blocked by something.)
And this happens even if status is set to 1.
What's the matter?

However, if you cut only the frame, it is normal as shown below.

 

LeeJaeYoung_2-1679309655530.png

 

material "air"

LeeJaeYoung_0-1679315080055.png

 

 

AC27 on window 11
5 REPLIES 5

Wall skins parameters change sides/direction/ numbering in gdl when the wall is flipped or mirrored

LeeJaeYoung_0-1679322415502.png

this is plan view

The difference between the two walls is wall flip.

What should I do?

AC27 on window 11
Jochen Suehlo
Moderator

In my window I use the following code in the MAster Script:

 

! ---------------------------------------------------------------------- !
! S C H I C H T E N
! ---------------------------------------------------------------------- !
	ski_no  =  WALL_SKINS_NUMBER
	IF ski_no  =  0 THEN ski_no  =  3

	DIM wand_fill[], wand_fill_pen[], wand_back_pen[], wand_kontur_pen[], wand_thck[], wand_cont_pen_unten[], wand_mat[]
	DIM wand_linetype_unten[], wand_material[], wand_bm[], wand_struktur[]	

!	ac_wall_direction_type 	integer
!	wall direction type;
!	the construction method of the wall, which means the adjustment of the wall body and the reference line:
!	0 – Right, 1 – Left, 2 – Center (Right), 3 – Center (Left).
!	Center values mean that the wall is set to ‘Center’ in the user interface, but the side notation shows how the wall acts internally

	IF (ac_wall_direction_type = 1 OR ac_wall_direction_type = 3 ) THEN !OR \
			!( ac_wall_direction_type = 3 AND (W~ = 180)) THEN
		FOR i = 1 TO ski_no
			wand_fill[i] 			=  WALL_SKINS_PARAMS[i][1]
			wand_fill_pen[i]		 	=  WALL_SKINS_PARAMS[i][4]
			wand_back_pen[i]			=  WALL_SKINS_PARAMS[i][5]
			wand_struktur[i]			=  WALL_SKINS_PARAMS[i][6]
			wand_kontur_pen[i]		=  WALL_SKINS_PARAMS[i][9]
			wand_linetype_unten[i]	=  WALL_SKINS_PARAMS[i][8]
			wand_cont_pen_unten[i]	=  WALL_SKINS_PARAMS[i][7]
			wand_thck[i]				=  WALL_SKINS_PARAMS[i][2]
			wand_mat[i]				=  WALL_SKINS_BMAT_NAMES[i][1]
			wand_material[i]			=  WALL_SKINS_PARAMS[i][13]
			wand_bm[i]				=  WALL_SKINS_PARAMS[i][18]
		NEXT i
	ENDIF
	IF (ac_wall_direction_type = 0 OR ac_wall_direction_type = 2) THEN	!OR \
			!( ac_wall_direction_type = 1 AND (W~ = 0)) OR \
			!( ac_wall_direction_type = 0 AND (W~ = 180)) OR \
			!( ac_wall_direction_type = 2 AND (W~ = 180)) THEN
		FOR i = 1 TO ski_no
			wand_fill[i] 			=  WALL_SKINS_PARAMS[ski_no + 1 - i][1]
			wand_fill_pen[i]		 	=  WALL_SKINS_PARAMS[ski_no + 1 - i][4]
			wand_back_pen[i]			=  WALL_SKINS_PARAMS[ski_no + 1 - i][5]
			wand_struktur[i]			=  WALL_SKINS_PARAMS[ski_no + 1 - i][6]
			wand_kontur_pen[i]		=  WALL_SKINS_PARAMS[ski_no + 1 - i][9]
			wand_linetype_unten[i]	=  WALL_SKINS_PARAMS[ski_no + 1 - i][8]
			wand_cont_pen_unten[i]	=  WALL_SKINS_PARAMS[ski_no + 1 - i][7]
			wand_thck[i]				=  WALL_SKINS_PARAMS[ski_no + 1 - i][2]
			wand_mat[i]				=  WALL_SKINS_BMAT_NAMES[ski_no + 1 - i][1]
			wand_material[i]			=  WALL_SKINS_PARAMS[ski_no + 1 - i][13]
			wand_bm[i]				=  WALL_SKINS_PARAMS[ski_no + 1 - i][18]
		NEXT i
	ENDIF
Jochen Suehlo . AC12-27 . MAC OSX 14.4 . WIN11
GDL object creation: b-prisma.de

ah! thank you
You use this in your master script.
I thought I had to use wall_skins_param for 2d and 3d scripts respectively.
Was it like that in practice?

But what I want to ask is that the door is installed on the same wall, but only on the other wall, toward the structure. This is a question about how to solve the phenomenon that half of the frame line is covered by the wall fill.
If you look closely, after using the wallhole, the phenomenon that half of the frame made with prism_ is covered by the wallhole fill only occurs on the left side.
I was asking how to solve this.
The source code is studying the door dimension example ac19.gsm file.

AC27 on window 11

I don't know what went wrong either.
The solution is to delete the section and create a new section.
The phenomenon that the door frame on the right side overlaps the fill of the wallhole has disappeared.

I think the cross section is a bug in my judgment.

 

thank you so much

AC27 on window 11