Grasshopper

algorithmic modeling for Rhino

Hey everybody, 

I try to get an offset from a closed polyline. But everytime I use the offset component the lines partly overlap and intersect. 

Now I try to explode the geometry, evaluate each curve and move it individually to the center point. 

The next step should be to cut the overlapping rest of each curve. 

In the end I should get a clear offset, no overlapping parts, but also the same number of points. 

I hope I was able to make clear what I wanted to say. 

Please help me... 

Views: 648

Attachments:

Replies to This Discussion

Its hard to tell without a .gh file - could you attach the file that is shown in the image. But looking at that it all looks like correct behaviour to me. Because you offset by such a large distance, the shape can end up being different. Otherwise you just have to scale it down if you want to retain the shape.

What are you trying to achieve? Can you draw the end result you are looking for? Offset curve is a bit tricky sometimes - there is a offset polyline plugin that works really well - I forgot the name now.

First of all thanks for your reply. 

The result I try to achieve is attached. 

I hope you remember :)

Attachments:

I cant check the GH file right now, but remembered the plugin. Its called Clipper and you can find it here: http://www.food4rhino.com/project/clipper?etx&ufh (you need to sign up to download). Lots of other cool plugins there. Clipper will probably do what you want.

Thanks a lot. But I only can use the first grasshopper release of this version. Otherwise it says that my rhino installer engine might not be compatible with the clipper installation file. 

But even the grasshopper version doesn't show me the expected result... 

Maybe you have another idea? 

Thanks for your great help. 

Ok, so I had a look at the file. Its a difficult one, because you are looking for the "negative offset" if I can call it that. The question is how parametric you want your solution to be, ie. should this work also with other shapes, where a "negative offset" is theoretically possible. Because that dictates, wether you want a solution that works with just your case or with all cases.

If it should just work with this specific case I would say to just get the intersection points of the 3 curves and draw a shape from that. If it should be more flexible then it will be more difficult I guess.

I'm sorry for the late replay. But thanks again for your help. 

And yes it should work unfortunately for all shapes (closed planar polylines). 

Thank you very much.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service