BIM Coordinator Program (INT) April 22, 2024
Find the next step in your career as a Graphisoft Certified BIM Coordinator!
GDL
About building parametric objects with GDL.

Why is there a different finish in 3d after the wallhole?

LeeJaeYoung
Virtuoso

LeeJaeYoung_0-1679286341434.png

LeeJaeYoung_1-1679286616048.png

 

wallhole 5, 1,
-ac_wallhole_width/2, 0, 15,
ac_wallhole_width/2, 0, 15,
ac_wallhole_width/2, ac_wallhole_height, 15,
-ac_wallhole_width/2, ac_wallhole_height, 15,
-ac_wallhole_width/2, 0, -1

 

I only used the function above.
However, the same door has a different finish.

Is what I did wrong?
Or is it something that needs to be followed up?

AC27 on window 11
12 REPLIES 12
Barry Kelly
Moderator

You can set the material you want to use before the WALLHOLE command.

 

Be careful if you use WALL_MAT_A and WALL_MAT_B, as they depend on the material on the side of the wall you place the opening direction to (or the opposite side to the wall opening direction).

So if you have used WALL_MAT_A, but you have placed the opening direction on opposites sides of the wall as in your image, you will get the material from one side in one wall and from the other side in the other wall.

 

Barry.

One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
MATERIAL 133
wallhole 5, 1,
......
 
No change.
LeeJaeYoung_0-1679292229857.png

 

 
AC27 on window 11

Looking into it further, it seems the WALLHOLE command only uses the end surface of the wall.

Setting the material does not seem to make any difference (sorry).

Or maybe there is a way to set the material with a WALLHOLE that I am just not seeing at the moment.

 

I don't understand why your 2 openings are different though, as they both seem to have the same wall end materials.

But we are also not seeing the entire script of your object.

So maybe something is happening elsewhere.

 

 

You may have more choice with the WALLNICHE command.

This you can set different materials, even for each edge of the opening.

And you can have 2 WALLNICHE openings that go from the door/window reference  -one going inside and one going outside.

 

This post I made a while ago may help with that.

 

https://community.graphisoft.com/t5/Design-forum/How-to-make-two-different-finishes-from-the-complex...

 

This was about splitting the height of the opening to control the finish for different heights.

So there is one full height WALLNICHE on one side and 2 'split' height WALLNICHES on the other.

 

Barry.

One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

LeeJaeYoung_0-1679302626041.png

I didn't use WALL HOLE.
Even so, the hole is drilled and the material on the opposite side of the door is unified.

AC27 on window 11

WALLHOLE

status:

1: use the attributes of the body for the generated polygons and edges,
2: generated cut polygons will be treated as normal polygons.

 


Q1) What does the attributes of the body mentioned in number 1 mean?
Q2) What does number 2 explain?

        In case 2, the value of material can be used.
        And you have to change it to number 2 and reset it to take effect.

 

Please explain in detail so that beginners can understand.

AC27 on window 11

If at least one WALLHOLE command is interpreted in a door/window 3D script, no rectangular opening will be generated for that door/window.

 

 

I understood from this sentence that if there is no wallhole, a rectangular opening is automatically created.

 

AC27 on window 11

@LeeJaeYoung wrote:

I didn't use WALL HOLE.


I assumed you did because in your first post you added the script for a WALLHOLE..

 

Barry.

One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

@LeeJaeYoung wrote:

I understood from this sentence that if there is no wallhole, a rectangular opening is automatically created.


Correct.

If you do not specify a WALLHOLE in the script, then one will automatically be created using the A & B sizes for the opening.

If you do specify one or more WALLHOLEs, then only they will be used.

 

Barry.

One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

1. The surfaces of the wall will be used in the WALLHOLE.

As mentioned before the edges of the WALLHOLE will use the end surface of the wall.

 

2. I have no idea what that actually means.

 

Barry.

One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Learn and get certified!