algorithmic modeling for Rhino
I am trying to contour a blob similar to... http://fancywires.com/?p=151 for laser cutting however I would like to create it myself and make adjustments in the offsetting etc.
I would like to contour a brep and make each contour a surface (only to make the next part work)
Then project each contour onto the plane either above OR bellow depending on whether it intersects with the adjacent surfaces.
Then offset the projected curve by specific distance.
Ideally it would be great to then incorporate LMNts contour definition (http://lmnts.lmnarchitects.com/featured/updated-contour-tool/) in order to reduce the amount of material used in the laser cutting.
Any help would be greatly appreciated.
Tags:
Hi Patrick,
Will you please explain a bit better what you are trying to achieve?
Why do you want to project the contours?
What is the rule for projecting above or bellow? (what does "intersect with adjacent surfaces" mean?)
Finally why do you want to offset them?
My only comment at this point is that GH has a built-in contour component, so you don't need to draw a line, divide, create planes and find plane-brep intersections.
ok, this proved to be way more complicated than I expected and that's mainly because some contours create 2 curves instead of one.
What I did: I found the largest contour and split the rest in two groups (those above it and those below it) with both groups containing the largest section as well (the largest section should be cut twice, one for the top part and another for the bottom).
I rotated the bottom group so that the largest contour is first.
then layed all the curves on a grid, and for each curve I also got the one above it and offseted inwards.
This definition seems to work with the solid you provided but is not suitable for any solid (yours is kind of symetric and has the largest section in the middle...)
hope this works for you
ps. If offset is giving you some strange results you can try the offset component from clipper plugin.
Thanks Nikos this works very well! And it seems to works well with asymmetrical shapes. I'll have a play around with it and post photos when I end up cutting.
PS
Hi, does anyone of you have this great definition from LMNS architects?
It was awesome script, but Ive lost it.
So, if we are able to reconstruct it, or find it, I would be happy.
Thanks. KP
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by