Itoo Software Forum

Author Topic: Style and arithmetic - inside or outside spline curve?  (Read 1275 times)

MN4869

  • Jr. Member
  • **
  • Posts: 70
Style and arithmetic - inside or outside spline curve?
« 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?

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 3148
    • iToo Software
Re: Style and arithmetic - inside or outside spline curve?
« Reply #1 on: November 24, 2013, 11:36:06 AM »
The 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).
Carlos Quintero
iToo Software

MN4869

  • Jr. Member
  • **
  • Posts: 70
Re: Style and arithmetic - inside or outside spline curve?
« Reply #2 on: November 25, 2013, 11:43:46 AM »
Ok I'll check it out, thanks.