Grasshopper

algorithmic modeling for Rhino

Hello everyone,

I'm trying to figure out this definition, and have a lot of problems.

The idea is to create twisted louvers system on a planar (at least for now) surface.

The input is a srf. It is divided with U and V into line segments (i'd prefer to use that method instead of rectangular grid). These segments in U direction would then be rotated around V lines segments with min value of 0 and max value of 90 degrees, according to attractor (i'd like it to be image sampler in the end but for now im trying with point/multiple points). These lines would then be lofted

I post the definition below

Here are my problems (i marked them in definition):

1)i managed to get U direction line in every second row, i dont know how to get the lines between the rest (i tried shifting list, but didnt manage to get the right result).

2)Harder part - id like to measure distance between attractor point and a bottom point of lines. Than i would like to transfer it to rotation this way (distances used just as example): distance 0-20 - angle of rotation 0degrees; distance 20-30 - angle of rotation 1-90 degrees. I have no idea how to transfer it into definition. I also have problems remapping numbers to 0-90 value.

3)I'd like to do that later but i'd also like to use black-white image sampler as white - 0 angle of rotation, black - 90 degrees. I never experimented with image sampler and would be grateful for some advice how transfer colors into degree values.

I politely ask you to help me (especially with first two points i mentioned). I'm not asking for a ready definition - I would like to understand where my mistakes are.

Below i post a picture of something simmilar (although im trying to rotate it by edge, not by center line)

Pardon my english, thank you for your time and help.

Enjoy your weekend.

Views: 4420

Attachments:

Replies to This Discussion

Hello,

Anyone willing to help on this please? I'm looking for something similar :)

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