ITOOSOFT Forum

Author Topic: Railclone 7 Left and Right Padding issue  (Read 629 times)

TonyN

  • Newbie
  • *
  • Posts: 4
Railclone 7 Left and Right Padding issue
« on: July 31, 2025, 06:16:15 am »
I am not sure why the padding is not working on these wires any suggestions?
Also, with the ground surface if you scale it down the wires get crazy trying to follow the surface.

Paul Roberts

  • ITOOSOFT
  • Hero Member
  • *****
  • Posts: 3071
Re: Railclone 7 Left and Right Padding issue
« Reply #1 on: July 31, 2025, 10:44:43 am »
Hi,

Please find attached a RailClone style that creates a telegraph pole system with sagging cables, with everything conforming nicely to the terrain. Here are a few notes about how it works, partcular how I've edited the path in RC using the new Spline nodes

- You'll notice I don't use the evenly input, instead I use a Spline Node to divide the spline evenly by adding new vertices. This node always add vertices of the type Bezier-Corner.

- This node is wired to Replace Vertex operator. This is to remove any verts that were used when drawing the shape of the spline. We only want to be left with the ones generated by the previous operator, otherwise posts may be added where they are not wanted. Here we remove all but the Bezier-Corner and Corner knots. Bezier-Corner knots are converted to corners.

- We then use a Conform node to project the spline onto the surface. This will generate additional bezier-corner knots so that the spline can follow the terrain smoothly.

- We actually don't want this, we want the spline straight between the poles. So we can remove those bezier-corner knots using another Replace Vertex operator. Everything is set to Remove except the Corner type.

- Finally, we feed this to a Catenary node to add cable droop. You'll see in the graph I've exported this value as well as the Evenly distance so it's easy to edit.

- The poles are wired to the corner input to place them on our new corners.

- The pivot for the pole is set to the position of the cables. The whole generator if move using the Z Offset parameter to compensate and put the bottom of the poles back at ground level.

I hope that helps, if you have any questions about how the graph works or something needs clarifying, please let me know.

Paul
Paul Roberts
iToo Software

Dragan

  • Hero Member
  • *****
  • Posts: 1485
Re: Railclone 7 Left and Right Padding issue
« Reply #2 on: July 31, 2025, 12:08:24 pm »
Hey Tony, sorry for queuing, but just to resolve a quick issue with Paul ;)

Since Catenary Randomness produces strange results at high values, I tried to randomize Height/Absolute, but it seems it doesn't work. Even breaking the Spline doesn't help.
Just to confirm, is this intentional or a bug (or am I expecting too much  :D )?
« Last Edit: July 31, 2025, 12:12:54 pm by Dragan »

Paul Roberts

  • ITOOSOFT
  • Hero Member
  • *****
  • Posts: 3071
Re: Railclone 7 Left and Right Padding issue
« Reply #3 on: July 31, 2025, 02:30:17 pm »
Hi Dragan,

It's unlikley to work due to the order in which the nodes are evaluated and how often. On the other hand I wasn't aware of the catenary bug at high values - I'll look into it!

Cheers,
Paul
Paul Roberts
iToo Software