Dynamically draw grid (From Lee Mac)

Dynamically draw grid (From Lee Mac)

Anonymous
Not applicable
5,563 Views
25 Replies
Message 1 of 26

Dynamically draw grid (From Lee Mac)

Anonymous
Not applicable

Hi guys, I have found a useful lisp file from Lee Mac which draws x and y grids in a given space by enter no. of columns and rows. And you can visualize this with "dgridd" command as you draw which is really helpful for me.

 

I am drafting waffle footing slabs for houses so I was looking to modify the routine with following requirements.

 

1. I don't want to divide a space in equal parts with given no. of columns and rows. Instead I would like to set the distance of each increment = 1200mm

 

2. Instead of single lines, I would like to see fixed 1090mm x 1090mm box being drawn visually at 1200mm x and y spacing so in the end it should look like following: (I am not concerned about the total space, so as to say, I do not have a fixed boundary in which to fit this all).

 

Refer below the yellow lines. Each box is 1090x1090 mm and is spaced every 120mm so you get 100mm rib in between.

 

 

wasemrana8_0-1608341036334.png

 

0 Likes
Accepted solutions (2)
5,564 Views
25 Replies
Replies (25)
Message 21 of 26

elliot_
Observer
Observer

Thanks Sea-Haven, that seems like you're getting pretty close. I can't speak for the OP but I'm working with metric. The gap between pods is usually 110mm and minimum edge (perimeter) beam width is usually 300mm. The code doesn't seem like it considers the selected starting point of the polyline, as it generates the same waffle layout each time. I'm also not sure why you need to set osmode to 1 then 0, but after the code it remains off, and manually reselecting the osmode settings each time is a little painful. Have you gotten any further with it?

0 Likes
Message 22 of 26

Sea-Haven
Mentor
Mentor

Ok will look at edge of 300 and 110 Gap been years since I did Waffle slabs. The control point I usually pick a left side will look at random points all round a shape as control.

0 Likes
Message 23 of 26

mflynnNDZJP
Observer
Observer

This works well except the pod spacing is 300mm not the 110mm required by AS2780. I'm not sure how to rewrite the routine so the edge beam is 300mm wide relative to the start point and the pod gap is 110 on the stem. I can change the routine to get the 110 stem spacing bit i lose the 300mm gap from the start point. A great improvement would be to cut the pod 300mm inside the pline and insert a zigazg line where the pod was cut, but that is well beyond my LISP programming skills 🙂 Anyone else ?

0 Likes
Message 24 of 26

Sea-Haven
Mentor
Mentor

I will have another look at it have a better way to draw the pods, need some sample shapes ie dwg show control point the 1st pod palced. Metric or imperial ? 

 

Need edge size, pod gap and pod size.

0 Likes
Message 25 of 26

mflynnNDZJP
Observer
Observer

Hi Sea-Haven, thanks for the reply. Pod Layout 1.pngPod Layout 2.png

Typically sizes for waffle pods, beams, stems:

Pod size: 1090x1090, thickness varies

Edge Beam: 300mm nominally

Stem Size: 110

As per start point, i usually start in a bottom left corner of the biggest area to maximise the amount of full pods. I set out the outer edge with a polyline and also the setdowns for wet areas, garages and patios, then work my way through the structure.  For wet area stepdowns a thinner pod can be used keeping the stems the same. For garage and patio stepdowns, I'd terminate the pods and start again in the corner of the setdown area.

 

Ideally the routine would stop at a poly line edge for sub area, setdows, trim the pod to create a 300mm edge beam and shown the cut edge as a zigzag line. Same for the sub areas.

 

Cheers

0 Likes
Message 26 of 26

Sea-Haven
Mentor
Mentor

The way I did it previously is that you have closed plines, select a pline and control point and waffles are drawn it did curves as well.

 

Will see what I can find.

 

0 Likes