Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: lukx on August 24, 2022, 09:06:27 PM

Title: necklace parts rotation and size
Post by: lukx on August 24, 2022, 09:06:27 PM
I'm trying to create this kind of necklace with Railcone,


I used stepped rotation but each cylinder isn't rotating correctly. Also would like to make them bigger till the middle like in photo.
Title: Re: necklace parts rotation and size
Post by: Dragan on August 24, 2022, 10:10:56 PM
Hi
I`m sure you will understand everything  ;). It is a simple 5-minute setup.
I have separated each step by new transforms instead of forcing everything into one or two.

Just pay attention to the SplinePosition parameter: It will take in count XSplineposition as it is from 0-1 but I calculated both sizes at the same time so input values should be less than 0.5
Please check BaseSpline Modifier also for some banking variations.
You could also use markers to separate different Scale Sizes, but I`m sure you could do that on your own. (just add markers and sed the IDs from 1-3 and for the Selector choose X Spline Marker ID)

With some math, you can automatize everything Scale+Paddings. Sorry I didn`t have time to play more.  :(
Regards




Title: Re: necklace parts rotation and size
Post by: Dragan on August 24, 2022, 10:47:05 PM
A had a few minutes extra so I`ve added the Markers position too.
I exported everything I used as Constant Parameters so you can change it as Numeric to expose them as General Parameters.

Regards

Title: Re: necklace parts rotation and size
Post by: lukx on August 25, 2022, 05:09:03 AM
wow thank you Dragan, it's more complicated than I though :) Big Thanks!
Title: Re: necklace parts rotation and size
Post by: Dragan on August 25, 2022, 05:53:28 AM
Ha,ha,ha, it is not complicated at all.
I can explain step by step if you have problem to understand it.
Title: Re: necklace parts rotation and size
Post by: Dragan on August 25, 2022, 09:02:23 AM
Ok, I have exposed parameters to General parameters rollout and automated some arithmetics for paddings.

I think images are self-explanatory.
I divide the spline position in half since the necklace is symmetrical so it was more logical to look in percentage just for the half of the Base spline.

If you check to use Markers then you can set any position at any Marker position.

The Bankings are working in both cases and they are very nice features to have an extra rotation between banking markers.

Please let me know if you need more options.

Regards



Title: Re: necklace parts rotation and size
Post by: Dragan on August 25, 2022, 09:53:09 AM
... and just for fun...
I added one more option for custom Scale on each marker. IDs are not used for this mode, only marker position and Scale parameter for UserData0.

Title: Re: necklace parts rotation and size
Post by: lukx on September 12, 2022, 04:55:58 PM
Thank you Dragan !
Title: Re: necklace parts rotation and size
Post by: Dragan on September 12, 2022, 05:11:01 PM
 :D :D :D glad to help!