Grasshopper

algorithmic modeling for Rhino

As an idea from several recent discussions, I'm developing a routine to automatically place a label in the same relative location of many planar trimmed surfaces.

I have a procedure that works, but I'm seeing unexpected behavior from the trim inclusion component which I'm hoping someone can shed some light on...

The routine selects a column of subdivisions from the untrimmed surface and then identifies the subdivisions that are within the trimmed (and shrunk) surface by testing the 4 corner points for inclusion. One corner of the lowest subdivision is then selected as the text tag location.

However, when the subdivisions are close to the trim boundary, the trim inclusion test doesn't always seem to get it right. In the image, subdivisions 2 thru 8 are shown (7 total) with 8 being the bottommost subdivision.

I would expect that the branch for subdivision 8 should contain one "False" output (Just as subdivision 9 should contain only one "True" output) from the trim inclusion component.

Thoughts, theory, or suggestions?

-taz

Views: 674

Replies to This Discussion

I'll post a screenshot. Although it seems you've already figured it out.

nevermind. now i've got it.

it was a stupid mistake after all...

aw well. TGIF.

and thanks.
It still Thursday here in Spain :(
EDIT: You're from NY right? I'm really sorry to disappoint you, but it's Thursday there too...
For some reason I just decided that Friday begins when I leave the office on Thursday...

I think we should make it an international law. I'll convene the UN.

-t

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