Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: MN4869 on November 24, 2013, 03:21:00 AM

Title: Style and arithmetic - inside or outside spline curve?
Post by: MN4869 on November 24, 2013, 03:21:00 AM
I have a railway track, there are two of them offset either side of my spline.

I've used a constant node to specify the offset and a x-1 arithmetic multiplier to do the opposite but equal offset.

I have exported the corner radius and want to factor this in but I need a way for RC to determine (perhaps a conditional) whether a component is on the inside of outside of a curve.

Is this possible?
Title: Re: Style and arithmetic - inside or outside spline curve?
Post by: iToo on November 24, 2013, 11:36:06 AM
The Conditional (http://www.itoosoft.com/railclone/reference/refoperators.php#Conditional) operator allows to check the angle at a specified vertex, but it can be used only with "Corner" segments. I'm not sure if that may help.

On the other hand, the Linear generator lets you to build a mirrored object automatically (see "Geometry->Mirror" and "Flip" properties).
Title: Re: Style and arithmetic - inside or outside spline curve?
Post by: MN4869 on November 25, 2013, 11:43:46 AM
Ok I'll check it out, thanks.