Grasshopper

algorithmic modeling for Rhino

Help with extruding according to distance between geometry and surface?

Hi everyone!


This is a dumb question. I have a tessellation going and all I want to do is to extrude each one up to the curved surface. I've tried deriving points from the tessellation and pulling them to the surface, getting the distance, chucking that back into extrude but the extrusion goes crazy. This is what I am trying to do (hope it's clear enough):



I would post my grasshopper definition but it's really laggy and probably not worth putting up.


Would be really great if someone could give me some hints of screenshot of their definition!


I've attached the rhino file below.


Thanks in advance!


Cheers,

Ra

Views: 3955

Attachments:

Replies to This Discussion

Hi Ra,

How's it going? Are you using just one point to represent each cell off your tessellation? If not, try using the centroid of the cell as your reference point. Also when "chucking [the distance] back in" you might find that the data structure has changed by adding a branch, you could look into using the pathmapper to collapse the branches up a level.

Without going into the tessellation side of things here's how I would get the distance between two surfaces at various points.

click to enlarge

PS what version are you guys using these days?

Hi,

I'm quite new to Grasshopper and this forum, so I don't even know if you'll get this, but I was wondering if you or anyone else could help me read the components you've used here? For instance, is that middle component Surface / Line, and what are the two after that? What's shown here is basically exactly what I'm wanting to do at the moment.

Thanks

another slightly different approach is something like this. similar to danny's approach, it gets the centroid of each cell to generate an "infinite ray" between the centroid and a "mesh approximation".
Then it creates a vector beween the centroid, and the intersection point, moves the original cells up to that point, then graft and loft between the curves.
(there is probably a better way but it was fun to try!)

of course, you could also just project the curves up to the surface then loft between them as well...., although the resulting projected curves would follow the surface, which is most likely not planar.....if that matters for this exercise.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service