Itoo Software Forum

Author Topic: Colored Kerb?  (Read 4219 times)

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2991
Re: Colored Kerb?
« Reply #15 on: April 10, 2015, 01:35:57 PM »
Hi John,

Unfortunately the gaps are a limitation of using the generator's Limit by Material IDs option that is still present in RailClone 2.4. I've attached a file with a possible workaround.



In this example I've used the selector operator as you suggested. For the drop curbs I've combined the two ends and the lower curb using a Compose operator. The low curb is scaled using an expression to fill the distance of the the spline section minus the two end sections. 

It uses this expressions : XSectionLength-(Input1*2) where input 1 is the X length of the ramp segment.

Regarding the smoothing issue. This is caused by edges overlapping as they deform around the corner. In some cases this may be resolved by increasing the Curve Steps value from the Style roll-out, but if the depth of the pavement is larger than the radius of the curve then edge crossover is unavoidable as the little animation below illustrates:



Corners may suffer from a similar problem but you may find you can improve that by changing the vertex type to Bezier-Corner and tweaking the handles a little.

I hope that helps, please take a look at the attached file and please let me know if you have any further questions.

Thanks,

Paul
Paul Roberts
iToo Software