Itoo Software Forum
RailClone => RailClone Pro (*) => Topic started by: EB4448 on May 06, 2015, 08:41:23 PM
-
http://imgur.com/LJYfsix
hello everyone,
i'm trying to place a 'single segment' on a Linear generator, with another segment in the default that populates behind and in front of the 'single segment'. this will be a bridge support when finished and it will have a bridge that runs over the top of the road.
in order to create the shot seen in the image above, i had to put a single vertex on the spline and i set the bridge support segment as a corner just to illustrate what i'm trying to achieve.
i'll be doing this for many roads and i really didn't want to add additional vertices to the splines. i was hoping there might be a way to create a parameter (maybe with an arithmetic or conditional operator?) where i can adjust the distance in scene units to say where i want the single segment to be positioned on the spline. it would be ideal to plug the single segment into the evenly slot with a count of 1 and then an offset ability (since it will start centered) but that doesn't seem possible. any ideas? i'm not against using multiple generators in some creative way within a single railclone object. and again, i just wanted to have a parameter in hand to adjust the position (in scene units) and not have to deal with plotting extra vertices on the spline. any help would be appreciated!
-
Hi,
Thanks for your question. This may be possible using a conditional operator to limit the Evenly segments so that it only appears once per spline. The other evenly division would still exist but a null segment is used instead of the actual geometry.
(http://i.imgur.com/fy4zueP.gif)
To do this, wire a Conditional operator between the Evenly segment and the generator and set the its properties to X Counter Equals 1. Wire a new segment with no geometry to the false input.
(http://content.screencast.com/users/Paul-Roberts/folders/Snagit/media/8d34af8b-ad91-45a3-9c09-cbecacb9dcb0/05.07.2015-08.44.png)
To control the spacing so that it measures exactly from the beginning of the spline, turn off Justify found in Generator > Properties > Rules > Evenly .
Please see the attached file for an example.
I hope that helps,please let me know if you have further questions.
Many thanks,
Paul
-
thank you for your response! this was a huge help, and covered everything i needed to know