GDL
About building parametric objects with GDL.

I am trying to make a bent insulation in 2d script.

LeeJaeYoung
Virtuoso

LeeJaeYoung_0-1678935908553.png

1. I am trying to make a bent insulation in 2d script.

I couldn't find it in CavityClosure. Where can I look in which gsm to understand?

2. I think that insulation materials use poly2_-type functions, but is this correct?

3. Is there a reason to use wallline2?

AC27 on window 11
6 REPLIES 6
Joachim Suehlo
Advisor

WALLLINE2 and WALLBLOCK2 are shown as parts of the wall while LINE2 and POLY2 are shown as parts of the window.
Before you draw the CavityClosure you have to use WALLHOLE2 to cut out the corresponding parts of the wall.

Joachim Suehlo . AC12-27 . MAC OSX 13.5 . WIN11
GDL object creation: b-prisma.de

The cavityclosure does not have wallblock2{2}.
In the case of insulation, I think it should be drawn with wallblock2{2}. Am I wrong? Or is there another gsm other than cavityclosure? I would be grateful if you could tell me what gsm it is.^^

 

 

Contour lines in WALLBLOCK2 - Graphisoft Community

How do you draw the outlines of wallline2 and wallline2{2}?

 

 

 

 

 

AC27 on window 11
Joachim Suehlo
Advisor

In my CavityCkosure Macro I find the following:

						wallblock2 4, 2 + 24 * bLocalFill + 32,
							WALL_SKINS_PARAMS[idx][SKIN_FILL_PEN],
							WALL_SKINS_PARAMS[idx][SKIN_FILL_BACK_PEN],
							0,0,0,
							x1, y1, 0,
							x1, y2, 0,
							x2, y2, 0,
							x2, y1, 0

I am using own windows with

				WALLBLOCK2 6, 7, poly_fill_pen, poly_bg_pen,
				0, 0, 0,
				0, 		0, 1,
				poly_x, 0, 1,
				poly_x, poly_y + poly_x, 0,
				poly_x, poly_y, 1,
				0,   	poly_y, 1,
				0, 		0, -1	

I think you can use WALLBLOCK2. WALLBLOCK{2} gives you more options for fill orientation, if you need it.

Joachim Suehlo . AC12-27 . MAC OSX 13.5 . WIN11
GDL object creation: b-prisma.de
Joachim Suehlo
Advisor

The contours for the Wallblock2 I draw with wallline2:
Example:

WALLLINE2   A/2, K_ - C_ + putz_dicke + wand_thck[3],   A/2, K_ - C_ + putz_dicke
Joachim Suehlo . AC12-27 . MAC OSX 13.5 . WIN11
GDL object creation: b-prisma.de

thank you
1. I thought that only wallblock2{2} is possible because the insulation must be fit to skin. So wallblock2{2} was not found because there was only wallblock2 in the cavityclosure.

Is it possible to express insulation with wallblock2?

 

2. Where should fill_control be based?
I thought based on the fill_control in wallhole2 above, should I look at something else?

 

WALLBLOCK2 n, fill_control, fill_pen, fill_background_pen,

fillOrigoX, fillOrigoY, fillAngle,

x1, y1, s1,

...

xn, yn, sn

fill_control:

fill_control = 2*j2 + 8*j4 + 16*j5 + 32*j6 + 64*j7, where each j can be 0 or 1.

j2: draw cover fill on the polygon,

j4: local fill orientation,

j5: local fill should align with the wall direction (fill origin is at the wall origin and directions are matching),

j6: fill is cut fill (default is drafting fill),

j7: fill is cover fill (only if j6 = 0, default is drafting fill).

 

I'm asking because you used a fill_control value of 7.

 

 

 

I am a beginner making windows for the first time.

 

AC27 on window 11
Joachim Suehlo
Advisor

1. I think you are right with the insulation. I didn't try WALLBLOCK2{2}, but with WALLBLOCK2 the insulation does not look correctly (see image).
2. Please refer with the fill control to the GDL Manual, my value 7 was used without control by the manual and may be wrong.insulation.png

Joachim Suehlo . AC12-27 . MAC OSX 13.5 . WIN11
GDL object creation: b-prisma.de

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!