Grasshopper

algorithmic modeling for Rhino

Hi David,

I know the containment component has been around for some time now and any changes will have a huge effect on existing methodologies but I find myself always having to do the same reshuffle to get the output into my desired cull pattern of 0s and 1s.

At Present:

0 = Coincident, 1 = Inside, 2 = Outside

But its the coincident number that I am always trying to alter to be either inside or outside depending on each situation. I have to make Coincident Inside by Dividing by 2 and Flooring and to make it Outside I have to subtract 1 and find the Absolute.

Therefore if the output was changed to being

0 = Outside, 0.5 = Coincident, 1 = Inside

...................<------¦------->.................

Then Coincident could be floored or ceiling-ed to fit in with my culling pattern, but still remain unique enough to distinguish it from the others.

With Inside being 1, I wouldn't even need to Invert the pattern for the Cull Component for the majority of cases.

Views: 228

Replies to This Discussion

Hey David,

I would love this, too.

I do have always to replace the 2 with 1 or 0 for further working.

BestRegards

DeDackel

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