Grasshopper

algorithmic modeling for Rhino

Hi all

I was wondering if anyone could help me finding a way to split these circles (made with a circle packing component) at their points of tangency (intersections)

It should be pretty easy with Shatter component but I dont seem to succeed...

Any help would be appreciated

Thanks

Besides, I've started to work in a much more simple definition to see how Shatter component works, but the result is quite annoying: neither a curve nor an arc, as you can see in the following picture. How is this possible? They´re just two arcs, but seem to be recognised by GH as strings...which I dont understand

Views: 4466

Attachments:

Replies to This Discussion

I believe this can be solved by constructing a tree with branches and items from the multiple intersect component but to be honest I don't know how to actually do that.  What I'm showing above is a start to a verbose way of solving this...not efficient at all but maybe it illustrates the principle.

I see...stupid mistake that one

Thank you so much for your help Chris, thanks to your idea I could finally start making progress again with the definition. I only wanted to ask you about an error Im getting in terms of accuracy: some circles are split well, but some others fail to split correctly at points of tangency.

You can see what I mean in the image below

Here's attached the new definition if you want to take a look

Thanks in advance

Attachments:

I think that some circles are splitting at their start/end points.  I'm not sure of a solution at this time.  I'll take another look at it tonight.

I still need to check this solution with your definition's input.

Attachments:

File below is with your original input...it seems to work ok.  Let me know if you find any glitches.

Attachments:

Here is how I do it:

Adjusting tolerance in Rhino can help if it seems bugged.

Attachments:

This def can't be opened

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