Grasshopper

algorithmic modeling for Rhino

Hey all,

i'm working on a script for a surface that is divided by bricks. As you can see here:

At the moment i'm trying some possibilities. One is to compare the bricks with the two selfmade one. The goal ist to use a component to tell the brick, you either be the same as the 1. selfmade brick or the 2.

to compare those I drew lines from the center point of each surface to their cornerpoints:

Then I took the overall length of all these lines together. and divided the area by this length:

The endpart of the script looks like this:

i'm trying to figure it out with galapagos, it somehow works but it can either make the 1. Equals-component to be true (so every item is true) or the 2. component but i'd like to have a list that for example says: True, True, True, False, True, False, False,...

Thanks for help

Views: 131

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service