Itoo Software Forum

Author Topic: Blending between two Material ID's on spline  (Read 698 times)

Keith678

  • Jr. Member
  • **
  • Posts: 65
Blending between two Material ID's on spline
« on: April 24, 2023, 11:17:12 AM »
Hi,

Can anyone tell me how to create a blend between these two linear 1S arrays. At the moment it creates a gap between the two.

Is it more to do with the spline itself or the arrays?

Thanks.
« Last Edit: April 24, 2023, 11:24:58 AM by Keith678 »

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2486
Re: Blending between two Material ID's on spline
« Reply #1 on: April 25, 2023, 12:12:26 PM »
Hi,

Using the Conditional Operator to choose the corresponding Segment based on the Material ID instead of two Generators will do the trick. Please feel free to check this related thread.  I hope that helps.

Best regards,
« Last Edit: April 25, 2023, 12:15:24 PM by Michal Karmazín »

Keith678

  • Jr. Member
  • **
  • Posts: 65
Re: Blending between two Material ID's on spline
« Reply #2 on: April 25, 2023, 02:06:32 PM »
Hi,

Excellent, works very well.

Now I only need to fix it so the end piece ends at material ID 1 rather than 2.

Any ideas?

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2486
Re: Blending between two Material ID's on spline
« Reply #3 on: April 26, 2023, 09:38:17 AM »
Hi,

I’m glad to hear, that it helped. You can use a very similar approach – adding another Conditional Operator – in this one checking the Position on Section.

Best regards,

Keith678

  • Jr. Member
  • **
  • Posts: 65
Re: Blending between two Material ID's on spline
« Reply #4 on: April 26, 2023, 10:09:39 AM »
Thanks for all this.

I still can't make it work. I'm sure I'm just dong something silly.

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2486
Re: Blending between two Material ID's on spline
« Reply #5 on: April 26, 2023, 10:18:30 AM »
Hi,

This Conditional Operator should be wired also to the Default Input – it should be “chained” to the other one. Using the Position on Section - Greater 90% value should work.

Best regards,

Keith678

  • Jr. Member
  • **
  • Posts: 65
Re: Blending between two Material ID's on spline
« Reply #6 on: April 26, 2023, 10:44:14 AM »
Hi I've attached the scene. I'm struggling here.

Arslan

  • Newbie
  • *
  • Posts: 20
Re: Blending between two Material ID's on spline
« Reply #7 on: April 26, 2023, 01:12:32 PM »
with the laziest approach :)

1.generator > limits > material ID 1
2.generator > limits > material ID 2

Keith678

  • Jr. Member
  • **
  • Posts: 65
Re: Blending between two Material ID's on spline
« Reply #8 on: April 26, 2023, 01:34:02 PM »
Hi Arslan,

Thanks for that. That's what I had in my first post. But this doesn't work on blending the two.

see attached image.

It seems the major issue is when i set the vertex to corner so I guess if I keep it as smooth it will work.

Maybe I'll just keep with what I have so.

Keith678

  • Jr. Member
  • **
  • Posts: 65
Re: Blending between two Material ID's on spline
« Reply #9 on: April 26, 2023, 01:39:40 PM »
Also an issue where you change some heights

Arslan

  • Newbie
  • *
  • Posts: 20
Re: Blending between two Material ID's on spline
« Reply #10 on: April 26, 2023, 02:05:19 PM »
Hi,
Seems like a banking issue. Adding 'transform operator' and enabling 'override banking' option should solve the problem.

Keith678

  • Jr. Member
  • **
  • Posts: 65
Re: Blending between two Material ID's on spline
« Reply #11 on: April 26, 2023, 02:42:20 PM »
Arslan you're a genius!

Thanks for this simple solution.