RailClone > RailClone Pro (*)

Trying to put empty spaces into a railclone

(1/1)

SI3457:
Hi, this is a screenshot of a railclone of shutters in which id like to put randomly empty spaces in. When a group of shutters is in open position, i need an empty space right after for example.  How can i add an empty segment ?

thanks

Paul Roberts:
Hi,

To add an empty space after a shutter segment you could enter a value in the Right Padding property. This will add a gap every time this segment is used.

If you need the space to be a randomly sized you can do that too, just follow these steps:

* Wire the Shutter segment to a new Transform node.
* Right click on the Transform node and export Padding > Right Padding
* Create a new Random Number node and connect it to the exported Right Padding input


* Select the Random Number node and set it to generate a new number for every Segment. Also enter your Minimum and Maximum values


* Finally, select the Transform operator and ensure that Padding is turned On
Another approach to add empty spaces randomly anywhere in the array is to add a Segment node but don't add any geometry, instead just increase the Padding or X Size value to create a gap. You can then add this to a Randomise operator to add spaces to the array. You can also use the procedure described above with empty segments if you'd like the gap size to be randomised too.

I hope that helps, please let me know if you have further questions.

Many thanks,

Paul

SI3457:
haha great.
Thanks

I didnt know the "empty segment" trick. Works perfectly.

Tho the transform padding after the compose cannot work cause it pads at each segment, not after the complete compose....

But the empty segment trick is perfect.

BBye and thanks

Paul Roberts:
Great, glad we could help out. You're right that a transform node added to a compose operator affects all the segments. Instead you could add the Transform operator to the last segment before adding it to the Compose operator to get the desired effect. Anyway and empty segment works just as well :)

Many thanks!

Paul

SI3457:
ha ok nice.

Ill try to add transform in last segment of the compose .

Thank you man

Navigation

[0] Message Index

Go to full version