Sorry for the long title, but I had to elaborate somehow, because the question is now a bit broader.
Basically, it's about instantiating objects of a collection along a line.
This question has also been asked a few times, and (at least partially) answered:
- How to position random instances one after another with Instance on Points based on the dimensions of the previous Instance WITHOUT OVERLAP? (Fence)
- Position instances of different dimensions side by side
However, there is only talk of threading one after the other without the instances overlapping.
For this, of course, it is necessary to determine the size of the instances somehow.
But the task becomes even more complicated if you want to rotate and scale these instances differently at the same time!
Thereby the space requirement changes with each instantiated object.
The questions therefore is:
How to string objects from a collection one after the other along a given axis, while respecting the following premises?
- The direction in which the instances are threaded should be variable.
- The instances should not overlap
- The distance between the instances should be adjustable
- The single objects should be scaled and rotated randomly
- The objects should remain as instances at the end if possible