algorithmic modeling for Rhino
Previously, I had a problem with generating intersections between the two directions of the beams, but a colleague helped me by extending beams, so there was no problem with lines of intersection. But this solution has generated curl (5) at the highest vertex geometry, which I ignored in order to repair it before printing, perhaps this mean my problem with my beam spread properly. Only when the beams is 19, does not jump no problem, but I still can not distribute them properly.
I tried to show as simply as possible by removing or signing my code in GHX file.
I would like to thank you for your help.
I still have trouble with holes for joining. I'll sleep a little and I will try to solve it, as I get up.
I am adding actual file if someone would like to help.
I went a little crazy with this... Decided that better control over the beam angles was needed - in fact, bisecting the two acute angles seemed like a good choice.
One thing led to another... I noticed that the beam ends and offset roof (+ or -) were at odd angles. I tried making the beams from intersections with the offset roof. I replaced 'Offset' with 'Move', keeping the top and bottom surfaces the same. (This looks good!?)
I replaced 'Ruled Surface (RuleSrf)' with 'Edge Surface (EdgeSrf)'. Have much better direct control of "span", the distance between the beams. Moved the main controls, including roof offset, to the top left of the canvas. Rebuilt the surrounding edge surface using the edges of the two roofs.
Will you have a hole in the middle to drain the water that collects?
Here is one more version that is significantly better in two respects:
Splitting the angle between the tangents wasn't quite what I wanted so I made two knob adjustments for those angles. Then I noticed when I was "roughly happy" with the angles, I could very carefully adjust each one so that a beam would be centered in opposite corners of the roof - all four corners.
Keeping the beams centered while adding thickness meant moving the surface halfway first, then extruding it the opposite way. They are depicted as 2X10s (1.5 X 9.5). Laying the beams out flat (nesting) required 'DeBrep' to get planar faces for 'Orient' and 'Rotate'.
It's nice to see all the details so clearly before building something, eh?
I spent a little more time on this to get four vertical lines at each of the beam intersections - in yellow:
Then spent a LOT of time trying and failing to translate those lines to the flat, "nested" layout, along with each beam. At minimum, these would be useful for cutting notches by hand. Or they could be the basis for a pair of interlocking parametric notches, cut into the beams before they are nested...
Any idea how you're going to build this thing?
I like roofs designed to collect water but having a small lake pool up due to a clogged drain could be very bad!
Maybe more effective, and stronger, if inverted so the beams are in compression instead of tension.
I do not know how to thank you enough for so much work, I had the previous two days a lot of work on another task, so today I can calmly analyze about what you did.
My pleasure, I learned a lot in the process. And got some key help along the way.
Attached code adds the vertical intersection lines to the flat "nested" layout; they are intended as guides for cutting interlocking slots on the beams - though I don't know if that's the best way to build something like this? The slots facing down, on the bottom of the beams, will tend to open due to tension and need to be strapped somehow. I would think some kind of composite layout process might work better than slots, perhaps interleaving alternate layers of the "beams". Have fun!