Itoo Software Forum
RailClone => RailClone Pro (*) => Topic started by: Steeryl on May 15, 2018, 10:39:56 AM
-
Hey guys,
I'm wondering, how to do a differently scaled transformation like in the image attached. Can you help?
I dont know where to start...
Thank you so much!
Paddy
-
Hi,
Welcome to the forums. For segment size manipulation we need to use some expressions. Guide how to learn then can be found here. (https://docs.itoosoft.com/railclone/next-steps-with-railclone/3-parameters-and-attributes)
(https://i.imgur.com/KPWmDCI.jpg)
I created a sample scene for You to check it.
-
Thank you! I will check it! :)
-
Okay! Almost got it. Now I want to take another spline for controlling the curvature. - > You used return XSplinePosition*Input1;
How would I use another splines Z positions to control the cirvature. I dont really know, how I change input1 to another input-Spline...
-
What do You mean controlling the curvature. We have a red spline to control the curvature.
-
I mean, I want to use another spline to define, where on the first spline my objects get thicker in the Y and thinner in the y... Like here:
(https://imgur.com/N8nFHuW)
-
(https://i.imgur.com/N8nFHuW.png)
-
What do You want that second spline to do? You can definitely use that for the pattern.
(https://i.imgur.com/UBxpOcQ.jpg)
-
I want the second spline to give me values, that I can take to tranform the obejcts in the Y. So that it doesnt just get bigger. I should get bigger and smaller, controllable.
So The second spline just gives values and acts like a control curve for scaling the objects on the first spline.
-
We can use same spline to drive distribution X and Y positioning, and Z position as segment Y scale (unfortunately while it followed z altitude as well). I then flattened this pattern with FFD modifier:
(https://i.imgur.com/h1t6Zus.gif)
-
Okay! Thank you so much for your help! Awesome! :)
-
Edit. I got a hint, how to remove the need for FFD- to introduce segment -z translation.
I attach a modified file without modifiers.