algorithmic modeling for Rhino
Hey guys, here's an interesting one (see image and attachments): I am trying to get these buildings to be trimmed (basically meaning to be deleted) whenever they touch the boundary of the plot (their height determines the setback, slider included). I've tried region trim and brep trim but nothing seems to do the job. Now they just keep pushing themselves outside of the plot. Any ideas?
Another question I'm struggling with is that I'd like these buildings to self-place themselves in positions within the plot based on an algorithm and not arbitrary sliders (which is how I have it set up now). I would think it would be some relationship between the plot center point and its distance to the XY edges of the plot, but I can't think of how to build it in Grasshopper.
Any help with both/either of these problems would be greatly appreciated. Thanks!
Tags:
 Typologies Test File-2.gh, 22 KB
 Typologies Test File-2.gh, 22 KB                             Typology Test File-2.3dm, 542 KB
 Typology Test File-2.3dm, 542 KB                            OK, let's reload Matrix on this:
Your problem is to create a grid of buildings and then a collection of rectangles and include/exclude buildings from these?
If so see this > if I got it correctly (?) > the next step is to "cull" things based on some kind of logic
 breps_VS_rectangles_V1.gh, 21 KB
 breps_VS_rectangles_V1.gh, 21 KB                             breps_VS_rectangles_V2.gh, 38 KB
 breps_VS_rectangles_V2.gh, 38 KB                            And the trad update (far neater solution with a little taste from the Dark Side , he he)
 breps_VS_rectangles_V3.gh, 311 KB
 breps_VS_rectangles_V3.gh, 311 KB                            Hi Peter, thank you very much for making such a careful treatment of this puzzle. It's certainly provided me with a lot to think about. Great touch with the image too :P I may have some follow up questions when I get back to the office but for now please accept my thanks.
Here's the trad update of the update (of the update). The big (unused) C# is for doing this in any given surface List: say "terrains" (code not ready - yet).
A variety of issues is addressed especially what happens if the "culling" rectangles are overlapping each other.
 breps_VS_rectangles_V4.gh, 645 KB
 breps_VS_rectangles_V4.gh, 645 KB                            Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
    © 2025               Created by Scott Davidson.             
    Powered by
    