algorithmic modeling for Rhino
When I "bake" curves generated with different kinds of grids, sometimes depending on grid density or structure, result of baking causes lines to overlap.
Is there possible to remove or unify overlapping lines with grasshopper?
This needs to be done for laser cutting, so laser wont cut same area several times etc.
Tags:
One option would be to use the RemoveDuplicateLines component in Kangaroo2:
It takes as input a list of lines (note that duplicates in separate branches will not be removed, so flatten them first) and a tolerance value. If the ends of a pair of lines are closer than this(with the lines oriented in either direction) it considers them duplicates and removes one.
I'm not experienced with complex instructions or kangaroo. Can you send screenshot containing names with command boxes because I'm not familiar with graphic only interface. Or script itself if possible?
Yes thanks a lot :)
I will study and build that model myself from your example to learn how this is done.
The tool path will be near optimal if each line is cut from start to end, in sequence. To be more explicit, and even better about that, I added an Anemone loop to identify 25 contiguous segment tool paths for the 93 line segments in my example - all counter-clockwise around each hexagon:
(re-posted; more explicit with three colors instead of two)
This demands time to investigate and memorize how to build. Is it possible to define "curve" group direction in hexagonal grid, for example "from top to bottom or left to right" and color code them as layer or RGB for laser cutting?
memorize how to build
I gave you the code, no need to memorize.
As to sorting and layering, many things are possible. You need to understand data trees and paths, though. For example, you can reverse the output of the 'HexGrid' component and/or the 'tool_paths' list ('Shift' output). The original grid rows and columns are lost, unfortunately, by flattening the 'Item L' input.
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