Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: Keith678 on April 24, 2023, 11:17:12 am

Title: Blending between two Material ID's on spline
Post by: Keith678 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.
Title: Re: Blending between two Material ID's on spline
Post by: Michal Karmazín 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 (https://forum.itoosoft.com/railclone-pro-(*)/drop-curb-problem-on-curved-line/).  I hope that helps.

Best regards,
Title: Re: Blending between two Material ID's on spline
Post by: Keith678 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?
Title: Re: Blending between two Material ID's on spline
Post by: Michal Karmazín 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,
Title: Re: Blending between two Material ID's on spline
Post by: Keith678 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.
Title: Re: Blending between two Material ID's on spline
Post by: Michal Karmazín 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,
Title: Re: Blending between two Material ID's on spline
Post by: Keith678 on April 26, 2023, 10:44:14 am
Hi I've attached the scene. I'm struggling here.
Title: Re: Blending between two Material ID's on spline
Post by: Arslan on April 26, 2023, 01:12:32 pm
with the laziest approach :)

1.generator > limits > material ID 1
2.generator > limits > material ID 2
Title: Re: Blending between two Material ID's on spline
Post by: Keith678 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.
Title: Re: Blending between two Material ID's on spline
Post by: Keith678 on April 26, 2023, 01:39:40 pm
Also an issue where you change some heights
Title: Re: Blending between two Material ID's on spline
Post by: Arslan 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.
Title: Re: Blending between two Material ID's on spline
Post by: Keith678 on April 26, 2023, 02:42:20 pm
Arslan you're a genius!

Thanks for this simple solution.