cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Developer forum

Object with nested opening for slabs

jc4d
Advocate

Hello,

I have to create a chimney in gdl, the tricky part is that in the section drawings the hole has to be shown in the slabs. Therefore, I was thinking on using the opening tool to cut the slabs, but I would like to avoid placing 2 separate objects (chimney and opening).

 

Is there a way to achieve it with a gdl object?

 

Juan

6 REPLIES 6

Barry Kelly
Moderator

I don't think you can call an opening into an object.

 

But it is possible to script a PRISM_ where you want the hole to be cut in the floor.

Obviously the chimney is hollow inside so a Solid Element Operation with subtraction from the slab will only remove the solid walls of the chimney.

 

You then contain the PRISM_ for the hole in a command that only activates when you perform an SEO.

Something like this that I use all the time for my vanity basins ....

 

!GLOB_CONTEXT = 44
!! use prism to cut bowls when used in Solid Element Operation
if GLOB_CONTEXT > 40 and GLOB_CONTEXT < 50 then
	ADDz 0
	
	for i=1 to 32
	PUT cos(i*11.25)*0.220,sin(i*11.25)*0.220,15-2
	next i
	
	PRISM_ 32, 0.200,
			GET(NSP)
	DEL 1
endif

 

This will cut an oval shaped hole but you can substitute a rectangular PRISM_.

Just uncomment the first line to see the prism in the object preview as you script.

 

Make the prism the same size and height as the void in the chimney and you won't have to worry about figuring out floor heights.

 

Basically what you will be doing is creating a solid centre to the chimney that will only activate when an SEO is performed.

Just a simple 'Subtraction' with the slabs as the targets and the chimney object as the operator.

 

Barry.

 


One of the forum moderators.
Versions 6.5 to 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

jc4d
Advocate

Thank you, so I have to rely on SEO operations then?

That is the only way I can think to semi-automate it.

 

Otherwise it is use a separate un-associated opening as you had thought of before.

 

Barry.


One of the forum moderators.
Versions 6.5 to 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

jc4d
Advocate

Ouch, this workarounds could be avoided is skylights could be used on slabs as well.

I will have to ask the archictects what workflow they would prefer.

 

The idea behind this question is that when designing a building with more than 10k m2 and having n amount to chimneys, keeping track of SEO operations it would become a real nightmare. But yeah, your tip worked as expected 🙂

 

I did try by selecting a simple generated block and use the opening tool with the magic wand, to get size from the block and place a opening with those dimensions, but didn't work. 🤔

 

You wrote this (sorry quoting selected text desn't work):
"I don't think you can call an opening into an object"

 

So, what about calling an object into an opening?

 

Juan.

DGSketcher
Champion

@jc4d Depending on the detail of your chimney, have you considered using a Complex Profile with a Column to create the chimney rather than GDL? If the column uses stronger materials it should automatically intersect and form the required opening in the slab.

 

 

Apple iMac macOS Monterey / AC26UKI (most recent builds)

Great tip, thank you.

The details are kind of high. If I could call a wall, column or a beam (thank you for the link to the chart), would be great since the hole is a basic rectangular shape but not the object itself.

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!