algorithmic modeling for Rhino
I am a new user and this is the first thing i try to make on my own in GH from scratch (i attached the file). So i tried to recreate Al Bahar Towers pattern but in 2D (so simplified).
After some struggling i managed to get the effect i wanted but i have three problems:
1) i can't really scale these, hexagons were moved in the easiest way, so i have no control over the pattern
2) i feel that i made it pretty messy with all the dispatches, rotations etc - does it make the definition run slow? how could i simplify my definition?
3) most important i have no idea how to transfer it to hexagonal grid (so i can use jpg as attractor) for a bigger pattern. i tried starting from the hexagonal grid but couldn't get it and eventually got lost, but maybe thats the right way?
Pardon my english, hope i will get some help from you, have a good day :)
If you get used to working with data trees you can really simplify your definitions.
You could start from a triangular grid and create the lines you need inside every cell (triangle) of the grid simultaneously.
Here is my approach:
Next step is to add a point attractor which will determine how open each cell is but I'll leave this for you to search and apply to your definition.
feel free to ask any questions about the definition,
forgot the file:
Thank you very much!
That is very helpful! I briefly looked through your definition and i think i get your approach :). Understanding data trees will be painful (but as far as i know there are good tutorials by digitaltoolbox i need to get into). As i understand reparametrize, graft, flatten and simplify remain tricky for me. I will come back to your definition tomorrow and try to understand as much as i can :). If I had any questions I'll ask them here.
Once again thank you for your time and help!
Have a nice weekend,
thanks for your reply, your results looks really cool, and it's 3d ;). Looking forward to checking out your definition.
Once again, thanks a lot,
Have a good day :)
I believe something like this should work.
The problem with your definition was about data matching. If you search about this you will find a lot of info about how gh components work when they get more than one inputs.
Hope this helps a bit...
I am afraid you would need a definition of different logic in order to have these panels on a 3d surface. Have you checked Pieter's definition (above)? I didn't get a chance to look at it but it seems to be closer to what you are after...
Sorry for the delay (time difference...)
Although the logical steps you are describing seem... ...logical, this is not the way grasshopper works.
You can't (always) take a definition that is coded for one object and apply it to many objects, or take a definition that is designed for 2d and apply it to 3d.
I put together a simplified version of Pieter's definition for applying these triangular panels on a surface.(you need to install lunchbox plugin)
Please compare this to the previous definition I posted to locate the differences (from 2d to 3d).
Note all these "graft", "simplify" and "flatten" operations on some components inputs. These are crucial in order to achieve proper data matching between components and avoid these mixed lines connections you are referring to.
I am afraid you can't really advance in GH without a good understanding of data matching (items, lists of items, lists of lists of items...) and it cannot possibly be explained in a single post (there are many tutorials about this, just make sure you don't read a really old one, since many things have changed in GH).
Hopes this helps to get you started,
how very nice of you to inform me, thanks. Happy to hear that.
Who at Aedas Architects actually designed it then? Please give him/her my regards.