Grasshopper

algorithmic modeling for Rhino

Hi all!

I'm working with a planar polyline built up of a bunch of different curves which I want to fillet. Up until now, it's all easy peassy.

The problem is that, since the polyline has concavities, I want to use different fillet radiuses per each corner (sharp corner, i assume). This, it becomes important to be able to measure both concurrent curves to a corner. That's my actual problem.

Is there a manner to sepparate the pairs of curves that concurr to a particullar point into a list?

The task list, as I can figure it out, is as follows:

1. Identificate the discontinuities of the polyline

2. Identificate the pair of curves that goes across each discontinuity and put those into lists of pairs

3. Calculate the average lenght per pair

4. Associate the lengt to a factor and fillet each discontinuity according to its concurring lenghts

If anyone has any idea, I'll be very thankfull.

Cheers!

Views: 341

Replies to This Discussion

Awesome!

Just did it and here's the deffinition to it, in case someone finds it useful.

Cheers!

Attachments:

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