Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: mike.kominek on July 01, 2019, 03:38:53 PM

Title: Scaling segments per spline segment
Post by: mike.kominek on July 01, 2019, 03:38:53 PM
Hi,

I dont know if I am asking something very basic but is there a way to have RC segments scale their X so that there is just one per spline segment? Meaning there would be a start to a new segment on every spline vertex and it would scale X all the way to the next vertex. Each segment has different length and I still need to keep the ability of "start" and "end" so just breaking all the vertices and using count 1 wont do.

Thanks
Title: Re: Scaling segments per spline segment
Post by: Rokas on July 01, 2019, 04:20:26 PM
Hi
Can You please tell me more, why breaking vertices and using count to 1 does not work?
Maybe attach a max file to illustrate the problem.
Title: Re: Scaling segments per spline segment
Post by: mike.kominek on July 02, 2019, 10:35:54 AM
Hi Rokas,

breaking vertices does not work because in such case the "Start" and "End" nodes are on each segment of the spline and not just where the spline begins and stops.

I dont know what max file to attach really. I dont know what example would I give as RC cannot do it as far as I am aware. Imagine a wall and you need to stretch your segments between each spline vertex but the wall also has Start and End caps
Title: Re: Scaling segments per spline segment
Post by: Rokas on July 02, 2019, 11:37:29 AM
Hi. I probably do not understand Your vision what You are doing. That is why I asked for reference file.

Quote
Meaning there would be a start to a new segment on every spline vertex and it would scale X all the way to the next vertex.
Where will You put Start And End segments then ? They might overlap on some splines.
(https://i.imgur.com/9MX1rbA.png)
Title: Re: Scaling segments per spline segment
Post by: mike.kominek on July 02, 2019, 01:38:41 PM
Sorry, i probably should've made a demonstration like yours to begin with, i just couldnt think of a max file like that

Title: Re: Scaling segments per spline segment
Post by: Rokas on July 02, 2019, 02:43:42 PM
OK i am not sure I got it but I attach You my max file and hope this is what You are after.
(https://i.imgur.com/vwPipX8.png)

This example uses Count=1 mode.
(https://i.imgur.com/wvBsSoy.png)
Title: Re: Scaling segments per spline segment
Post by: mike.kominek on July 02, 2019, 03:05:37 PM
Hi Rokas,

thanks for you max file. I examined it. Your way works fine but only when Bevel Model is set to Extend, I cannot use Bevel so I need to set it to NONE as it creates lot of messy .. bevels in the corners that I dont want.

Is there a way to achieve the same thing with No Bevel?

Thanks
Title: Re: Scaling segments per spline segment
Post by: Rokas on July 02, 2019, 03:10:59 PM
You can add empty segment in corner input:
(https://i.imgur.com/C5zPQII.png)
Title: Re: Scaling segments per spline segment
Post by: mike.kominek on July 02, 2019, 03:43:03 PM
That's what it was. Excellent idea. Thanks