Grasshopper

algorithmic modeling for Rhino

hi all, i've got a problem: i want to divide a surface and then pick out the four cornerpoints of each subsurface and move them along their normal (2 up, 2 down).
has anyone an idea how this could work? see the image and the definition / rhino file i attached, it's pretty self-explanatory...

Views: 768

Attachments:

Replies to This Discussion

that's what it looks like in the end...

looks good!
ok, i found my grey now, i've to admit, it's not that easy to define a colour which is as nice as your green....;-)

i have a question, the vb-component you made has an input 'amplitude' which now is fed by a 'static' slider. do you think, it's possible, to give it an input, which is dependant on the distance between the basepoints (P0 ... P1) which it offsets then? Now it's a double and it's not as easy as i thought, to change it into a string (list of points measured from the surface divide, which gives the input_pt) and then feed this list to 'amplitude'.

i'm sure you know how to do that, but can you give me just a hint, that i can try it by myself first? that would be great!
hi philipp,


you can manage it with a point-attractor -> distance between attractor and the point you want to move...
you can use grasshopper componets and feed it into the script,
or you change the script (only 1 line)

good luck!
ok... i tried... but i don't understand the script enough to change (cause it's kinda 'nice & slim') and all i do while making it up with components is a list, but the amplitude-input just accepts a single value (dbl) so these lists don't work...
so...can you give me another hint? that would be great, thank you already, p
hi Phillip,

1. right mouse klick on the amplitude input on the vb-component -> "LIST"
2. then change the amplitude variable in the script -> indices
too easy to come across this by my own..;-) thank you for making me think straight and NOT around the corner...

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service