Itoo Software Forum

Author Topic: Scale in XYZ axis along spline  (Read 207 times)

IC7069

  • Newbie
  • *
  • Posts: 8
Scale in XYZ axis along spline
« on: November 08, 2018, 09:30:51 PM »
Hello everybody,

Is there a way to scale an object along path, but in all three axis X,Y,Z. I Found that in 1d arrays generator there is a option:

 "Scale - In this mode, the default segments are scaled along the X axis to fit the distance between the initial and final positions of the path section. A section is defined by the start and end points of the spline unless a X-Evenly or corner segment is used to subdivide the path. When scale mode is active the bevel settings are greyed out."

This is what I'm looking for, but this only scales along x. I wouldn't like to deform my object by any axis.

Best Regards,
Wojciech

Rokas

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1407
    • iToo
Re: Scale in XYZ axis along spline
« Reply #1 on: November 08, 2018, 09:36:38 PM »
Can You please illustrate it with example?
Starting max file would help too.
Rokas
iToo Software

IC7069

  • Newbie
  • *
  • Posts: 8
Re: Scale in XYZ axis along spline
« Reply #2 on: November 08, 2018, 09:51:00 PM »
Hello,

I uploaded simple scene. I would like to have thin plane asign to spline to be like plane next to it, the wide one.

Spline is extending my plane by one axis. Is it possible to scale it evenly?
« Last Edit: November 08, 2018, 09:57:51 PM by IC7069 »

Rokas

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1407
    • iToo
Re: Scale in XYZ axis along spline
« Reply #3 on: November 08, 2018, 09:59:40 PM »
Unfortunately RailClone does not do that. Or at least I don't know how to do it.
Rokas
iToo Software

IC7069

  • Newbie
  • *
  • Posts: 8
Re: Scale in XYZ axis along spline
« Reply #4 on: November 08, 2018, 10:06:02 PM »
I can change it by global scale for one spline, but if there will be more splines it would be difficult to match the scale.

Anyway, thanks for quick answer.

IC7069

  • Newbie
  • *
  • Posts: 8
Re: Scale in XYZ axis along spline
« Reply #5 on: November 08, 2018, 10:48:14 PM »
If it extends the object by X axis so it's possible. Couldn't it also be done for YZ?
Can you please look if it is possible once again?

For me it's extremely important feature. I'm going to use it very often to create foliage.

Best Regards,
Wojciech

Rokas

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1407
    • iToo
Re: Scale in XYZ axis along spline
« Reply #6 on: November 09, 2018, 09:01:05 AM »
Hi, You can scale object on Y:
Is it this what You need:

Rokas
iToo Software

IC7069

  • Newbie
  • *
  • Posts: 8
Re: Scale in XYZ axis along spline
« Reply #7 on: November 09, 2018, 09:37:12 AM »
Okay, but it's done by hand. If my spline will be longer it will extends my plane in X axis and I would have to do it manually.
I'm looking for automation. Let's say I would have 100 splines and my object should deform by each spline, but not change its main shape.

Rokas

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1407
    • iToo
Re: Scale in XYZ axis along spline
« Reply #8 on: November 09, 2018, 10:46:31 AM »
Sure, You can do that:

Rokas
iToo Software

IC7069

  • Newbie
  • *
  • Posts: 8
Re: Scale in XYZ axis along spline
« Reply #9 on: November 09, 2018, 10:57:26 AM »
Wow. This is awesome! This is what I want to do.

Thank you so much!!

Best regards,
Wojciech

IC7069

  • Newbie
  • *
  • Posts: 8
Re: Scale in XYZ axis along spline
« Reply #10 on: November 09, 2018, 11:06:23 AM »
If you be so kind I got one more question.

Let's say I got 5 differeant leaves-planes and I want to randomize them along my splines. How should I connect it with Arithmetic parameter in graph you showed?

Rokas

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1407
    • iToo
Re: Scale in XYZ axis along spline
« Reply #11 on: November 09, 2018, 11:25:23 AM »
There is Randomize node for that.

Rokas
iToo Software

IC7069

  • Newbie
  • *
  • Posts: 8
Re: Scale in XYZ axis along spline
« Reply #12 on: November 09, 2018, 11:40:29 AM »
Thanks once again.