Grasshopper

algorithmic modeling for Rhino

rookie here, need help with selecting even and odd! and so on

Hallo Everybody,

I'm new here and got no real expierience jet with GH. Just started the tutorial and got bored by repeting so I started my own project for a project we're doing at work! (MAPT Denmark)

So I tried to develop a swinging brickwall. The imgs show how far I got!
I was having several problems!

1. Intersecting the Loft with the 4Point Surface is not good, cos sometimes this surface is twisted! ???
2. I want to make every second row with a shifting of half of the one before! Therefore I "think" I'll need the even and odd points seperated! How is this possible?
3. If onhe line is higher in the Z coordinate then the other there is an error! How can I make a kind of "what if" scripting scenario?

thanks

Views: 1736

Attachments:

Replies to This Discussion

2. i dont really understand your definition, but you can use a dispatch component with a true-false component to separate a list.
Also you can use a list item component, with a series component with 2 in the step size input.

3. you can use the min or max component with the difference between the two lines... or if you use the function component, you can write something like "x<=y", and the result will be true or false, so you can use that for a cull pattern, dispatch, etc..


Maybe you can try to start with a surface from curves.. divide srf to get points... dispatch points so yo can get even and odd.. then cull the points for every row (or learn to use the tree components).
Then you make a brick with a base point and copy-move the brick to the grid point ( width and height will control the divide srf component too)
hej,

thanks for your quick response.
I tryed it with the dispatch comp. but that didn't work, I also tryed it with the item list in combi. with the series, but this didn't help me either!

I think that the imput of either the curves or all points are quite important, cos it normaly matters what kind of imput you have!?

maybe you have another idea!
(for understanding there are some more screen shots!)

thanks a lot!
Attachments:
For the list components it doesnt matter what kind of input you have.

Try with a flatten tree component after the divide curve component, then the dispatch component... if that doesnt work, maybe you'll need to change your deapth value (the divide points of the curves).

I tried myself with the dispatch component and i get it work (i didnt need the flatten tree component but i put it so you can see it).
Then I rotated the bricks using a evaluate distance component from the bricks points to a list of points on a curve...
Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service