Grasshopper

algorithmic modeling for Rhino

I am trying to contour a brep geometry that will eventually be made into a two-way ribbing structure. When I go to offset the curves however, some curves offset inwards and some outwards.

Is this a "flatten" issue or a component that I am not implementing correctly? Any advice would be greatly appreciated. 

Views: 470

Attachments:

Replies to This Discussion

Curve offset direction depends on the direction of the curve. Just bake then contours and check with Rhino's dir command. There really is no consistent way to define a direction for contours as you can end up with lots of independent curves on each level.

You could offset in both directions and cull the shorter line. This will probably give you the exterior curve, but there's no guarantee for that.

Thanks Hannes, 

I'll try both methods to see what works best!.

I would offset both directions then sample an end point from each and test for Brep inclusion.  Then only dispatch the curve(s) that are either inside or out.  I can send a def if you'd like.

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