I have many blocks from DXF. Every island is a block. I want to nest it on a rectangle. To do that I would like to get red lines from every block instance join them separately into block representation (closed curve) and feed it to Open Nest to pack it. After moving the island representation I would like to move the block with the same transfer data.
For now, I have a problem with how to get red curves/lines/splines inside every block and join them.
I`ve tried also to do some bounding boxes but bounding boxes are square and I would like to have better fitting.
This is packing which I did (I would like to get nesting/packing without any rotation only moving). I want to pack it inside a green boundary but nesting doesn`t work. Why?
Hello
I think what you ask is very classical and must have surely been dealt with in numerous opennest examples. But whatever it is very simple.
Take the block and explode it. What I understand is you want the exterior curve, I took the longest but it could be better to take the bigger bounding box (inside curve could be longer !!!).
Then feed that to OpenNest (version 1 here) second_try.gh (8.1 KB)
Yes indeed. Now you need to you nest_geo component.
Previously you could provide geometry directly for nesting. But it changed because there were just too many options: a) rhino geometry, b) grasshopper geometry, c) proper polygon with hole handling, d) simplification, e) copies of elements. I think it made inputs a bit more modulor. Which I made it on purpose specially when I had to rewrite certain things for rhino8. Hope it is not too much of a hassle…