Circular Array Script
Please find attached to this post a basic Circular Array Script
I do apologise for the delay after the Linear Array Script, but this has taken longer to get right than I expected.
The first thing you need to decide is how many objects there will be in the array. It defaults to 10. Then you need to decide if it's a full circle or a few degrees. Note: positive rotation is ANTI-CLOCKWISE about the centre of rotation when looking from above.
Then entre the centre of rotation in world X and Z positions. Finally, decide if the instances stay at the same angle to the centre or all face the same direction.
The seed object can be used in more than one circular array. The image above consists of one prop, one character and four arrays. Only one object at a time can be arrayed.
So, I hope it's useful on a few occasions.
Regards,
Richard.
Comments
Thank you
awesome! very useful and appreciated! i have enough random scatterers, i use the align panel a lot too - but a circular script, very simple/basic, that wa sorely missong! thanks a huge bunch ^^
This looks nifty! I'm going to try it out. Thanks.
Hi, Could this script be used for a horse and rider going around in a circle for example in a circus ring? Cheers
I hope it's as easy to use as I intend.
I initially made the instance group a child node of the seed object, but found that if it wasn't right & I deleted the group and all instances, they remained visible in the Iray render and preview, even though not visible in texture preview. I suspect it's an iRay implementation issue, but I may be wrong. I'm using 4.15.
I do agree, it is one of the simpler instancing scripts, but it does fill a niche that I think is not covered by any other script I've seen. It won't be frequently used, but there will be times where it'll be a pain if you don't have it!
If the rider (or horse) is parented to the other, then it should be possible to do it as one array rather than doing them individually. The thing to remember is that the instances will all have the same pose. If you change the pose of the seed, the pose of all will change (eventually) to match if your machine doesn't crash.
Regards,
Richard
It worked great! Thanks!!! (baby ducks circle around mama)
I actually did a couple other things between downloading the script and creating this.
That's lovely :-)
~ thanx ~
~ And Then
which version of D-Studio ??
Fanastic! Thanks Richard!
To the best of my knowledge it works in DS 4.anything, though it may be limited to DS4.5+. None of the help files give any limitations on the version relating to the methods used. If you are concerned, try it & see. You'll get all your money back if it doesn't work.
Regards,
Richard.
i can certify that it works perfectly fine on my 4.11 version
very cool!
Just trying and works awesome with several building like dystopia block !! Here the cool idea you can try. Load several building , line up / align them into paralel line or whatever configuration you like . Then parented all into one buidling so the script will think you have only one object. FIre the script and set higher number in X or Z option . TIck rotate object and boom its work just like Circular array in Blender with Collection
I must admit I was pleased and surprised when both the circular & linear arrays worked on objects parented to one another.
Would be interested to see what you do with it. It's the sort of thing that could be done to create a model of something like the Royal Crescent at Bath (https://www.google.com/search?q=royal+crescent+bath&source=lnms&tbm=isch&sa=X&ved=2ahUKEwiXo9H69fr3AhVioVwKHfmCAnUQ_AUoAnoECAEQBA&biw=1302&bih=513&dpr=1) You'd only need one segment of the terrace & duplicate it round.
Regards,
Richard
Ooh very nice thank you!
very useful and fun
The script has a relatively small usage, but where used it can create interesting effects.
Regards,
Richard
I found it really helpful for my StickyChain concoction. The lower chains draped between the torus and sphere are one chain with a StickyChain and 9 instances arranged with your script.