@kokoz wrote:
Hi there guys,
here is a Grasshopper newbie. I've been involved in Grasshopper for a while now, but I can't really code by myself, I rather copy codes from other people and try to get them to work in my case.
Here's the thing. There is this subject at my university where we are assigned a famous building and we need to recreate it in Rhino. We're given bonus points if we manage to code some interesting part of it in Grasshopper. So far so good, I'm doing pretty well with Rhino and by far I am happy with the results I've achieved with modelling the given building.
Harbin Opera House by MAD is the building I'm trying to model. There is one particular surface:
I've built this surface in Rhino and now I'm trying to map pyramids on it. Not only have the pyramids to be different in height, but their height has to be dependent on the curvature of the surface.
I'm getting some results but it seems to be exactly the opposite of what I need. I want to have higher/spikier pyramids where my curvature analysis shows red/blue and lower/slopier pyramids where the analysis shows green colour.At the moment I'm not really sure how the code I have works, but it seems that the height of the pyramids is dependent on a distance from a point in space to the projection of the cap-point of a pyramid.
Here're my Rhino and Grasshopper files:
surface1.gh (17.3 KB)
surface1.3dm (953.8 KB)I'd be grateful if someone of you guys could handle my problem. I've got one more issue with this surface, but once I get a solution to the first 1 will let know what the second one is.
Thanks in advance and keep well!
Posts: 3
Participants: 2