Grasshopper

algorithmic modeling for Rhino

does anyone know why my 2nd offset line is behaving weird? it is extending beyond, resulting in a tail when it should just be a triangle.

Views: 865

Attachments:

Replies to This Discussion

Hi Puay, if you set the Radius in your definition a bit smaller, the inner offset curve won't self intersect. Btw you can use the offset curve on surface component directly on the 4pointsurface.

Hi Pieter,

yes i know that works but because i am putting the definition through the Galapagos solver, i need the offset to work for every possible radius.

thanks for the tip on connecting the 4pointsurface directly!

Hi Puay, maybe you can get it to work with this. Hope this helps.
Attachments:

Hi Puay Khoon,

 

Your offset curve on srf component is controlled by a series and when the series component generates a number which is above the maximum offset allowed, you will get a self-intersection as Pieter said.

 

What I would recommend is to either work with a larger geometry or constrain your "radius" slider to a number which is always below the offset limit. In your current geometry this limit is 8.52 (distance between centroid and closest point to centroid).

 

Maybe you could try to identify this limit in GH by finding the closest point to centroid and measuring its length. With this limit you can use a Minimum  component (returns the lesser of two items) which will always make sure the offset value never goes beyond that?

 

Hope that helps 

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