Itoo Software Forum

Author Topic: Compose Operator : resize one segment  (Read 455 times)

Remco

  • Newbie
  • *
  • Posts: 27
Compose Operator : resize one segment
« on: October 28, 2020, 02:14:52 PM »
Hello,

i am trying to create an element where i can resize the middle part.
i am using the compose Operator and want to resize the middle segment and the the other object move to the right positon.

Rokas

  • Hero Member
  • *****
  • Posts: 3324
Re: Compose Operator : resize one segment
« Reply #1 on: October 28, 2020, 02:21:36 PM »
You might want to use nested generator instead.
Rokas

Remco

  • Newbie
  • *
  • Posts: 27
Re: Compose Operator : resize one segment
« Reply #2 on: October 28, 2020, 03:12:56 PM »
Hi,

i'm lost, everithing i do i end up with the same problem. (even with the nested generator)
a new pointer how to fix this would be appreciated

Rokas

  • Hero Member
  • *****
  • Posts: 3324
Re: Compose Operator : resize one segment
« Reply #3 on: October 28, 2020, 03:27:19 PM »
Would You attach max so i can take a look ?
Rokas

Remco

  • Newbie
  • *
  • Posts: 27
Re: Compose Operator : resize one segment
« Reply #4 on: October 28, 2020, 03:38:07 PM »
Hi,

Here is the file

Dragan

  • Hero Member
  • *****
  • Posts: 1419
Re: Compose Operator : resize one segment
« Reply #5 on: October 28, 2020, 08:31:51 PM »
Hi
I can`t open File due to Max version (I`m still using Max2018) but here is the file that can help you.
I have exposed some parameters so you can set Size by the Mid_Segment or by the total size of `Composed` Segments. You can also set X Fixed Size if you are plan to use those on some curved spline.
Please, do not hesitate to ask for more  ;)
Best Regards.
Dragan

« Last Edit: October 28, 2020, 08:37:05 PM by Dragan »

Rokas

  • Hero Member
  • *****
  • Posts: 3324
Re: Compose Operator : resize one segment
« Reply #6 on: October 29, 2020, 07:40:12 AM »
Hi

I have modified Your style to include both composed segments (red) and nested generators (green) methods.


Hope You can analyze it and learn from attached example.
Feel free to ask any questions You have.
Rokas

Remco

  • Newbie
  • *
  • Posts: 27
Re: Compose Operator : resize one segment
« Reply #7 on: October 29, 2020, 08:37:29 AM »
Thanks ,

i've managed to figure out what i was doing wrong.
@ Dragan, ive got you blinds macro and works like a charm!

Dragan

  • Hero Member
  • *****
  • Posts: 1419
Re: Compose Operator : resize one segment
« Reply #8 on: October 29, 2020, 08:44:41 AM »
 ;)
Thank you for your support.
Glad to help.

Remco

  • Newbie
  • *
  • Posts: 27
Re: Compose Operator : resize one segment
« Reply #9 on: October 29, 2020, 09:33:48 AM »
1 more question?

is it also possible that when I fill in a dimension it gets bigger to 1 side? I've been working on my railclone skills all week and haven't gotten around to the arithmetic node yet

Dragan

  • Hero Member
  • *****
  • Posts: 1419
Re: Compose Operator : resize one segment
« Reply #10 on: October 29, 2020, 09:57:12 AM »
One possible solution is to add 3 Transform operators with different Y alignment and connect them to a Selector Operator (1-3).
« Last Edit: October 29, 2020, 10:05:03 AM by Dragan »

Remco

  • Newbie
  • *
  • Posts: 27
Re: Compose Operator : resize one segment
« Reply #11 on: October 29, 2020, 10:10:15 AM »
you are my new favorite person  ;D

works like a charm

Dragan

  • Hero Member
  • *****
  • Posts: 1419
Re: Compose Operator : resize one segment
« Reply #12 on: October 29, 2020, 10:13:24 AM »
As Rokas said, feel free to ask any questions You have.  ;)

Remco

  • Newbie
  • *
  • Posts: 27
Re: Compose Operator : resize one segment
« Reply #13 on: October 29, 2020, 10:18:13 AM »
now it works, i've got some moddeling to do  :D