hi guys
i have an algorithm that scales a geometry to random sizes and arranges them side by side without any intersections.
i am wondering if there is any easier and shorter way to getting this result, i think it should be a way using of galapagos or hoopsnake, but i dont have any idea how its gonna be,
cheers.
This is my try using bounding box, works quite well on the x axis and for this geometry. (in the picture it misses a flatten after the last merge, updated the file)
Hi Ivelin
thanks for your try!
i got x length of the geometry from deq brep, select outside vertice and then distance,
but @danielbent used deq boundingbox and deqbox that works better!
your definition looks interesting but does not consider X domain that looks to achieve (500 unit) with 10 geometry.
or i dont understand it well!
thanks joseph for your reply
i saw your replys before and i know you as a pro in this field.
but i think you dont get exactly my purpose,
i dont get yours!
I don’t think galapagos is useful in this case. You use galapagos when you don’t know your input parameters, while in your case you know it’s random scale and moved so they align. But hey, no harm trying to use it if you have the time.