Grasshopper

algorithmic modeling for Rhino

I am having trouble extruding warped curves perpendicularly. I am new to GH and it would be great to get some help. 

V.  

Views: 7061

Attachments:

Replies to This Discussion

you can use 'Evaluate Surface' to get the normal vector (the vector perpendicular to a point on a surface) of a certain uv point on a surface. You can then use this normal vector to extrude something perpendicular to the surface.

You'll need to get the uv coordinates of all the points where you want to extrude from. In the case shown in the picture, you'll probably want to get the uv coordinate and normal at every corner point of every hexagon cell. Otherwise the edges won't match up.

BG,

How can I get the uv coordinates of all the points? 

v.

You can use Closest Point on Surface/BRep if you projected the curves. But depending on how you made your hex-cell geometry, there might be easier ways to get the UV information.

Hi Benjamin

I am trying to do something similar

I want to extrude closed curves that have been pulled onto a surface

i want to extrude them along the normals of the surface which i have done but i just dont know how to set the length of the extrusion.

usually when i extrude along a vector i input a slider into the unit x/y/z but in this case my vector is the frame output of evalsrf

so how can i set that length?

also in order to do the job (which would actually be boolean difference the first surface and the extruded surfaces) the extrusion has to go from a negative to a positive value so it goes out the main surface..

thanks in advance.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service