Grasshopper

algorithmic modeling for Rhino

I tried searching for a way to chamfer the geometry corners and couldn't find much. So here's a definition to help you all.
(all you need to do is define the geometry in rhino)

And of course, do let me know if there's a simpler way to do it and/or there's a plugin for it

Views: 2998

Attachments:

Replies to This Discussion

Nicely done - but if I give it a rectangle the DArc function fails because Explode outputs both curves and lines. This doesn't seem to bother the end results though. 

I wonder how difficult it would be to adapt this for a 3D shape (like a box.)

Hi Nishant,
I began attacking this via the Curve.GetFilletPoints method, but stumbled a bit over the error checking (overlapping fillets/chamfers) and then ran out of time, so instead I came up with an alternative more in the spirit of your definition: replace (certain) fillets with chamfers, thus relying on the fillet components' error checking. Turns out that I'm not alone at stumbling though;) Best keep the fillets radii small compared to the curve segments.
Personally I think it's a bit silly to do it this way, but anyhew, I attached four similar approaches.

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