Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: Berke on January 15, 2017, 06:35:39 PM

Title: a railclone question for the experts out there
Post by: Berke on January 15, 2017, 06:35:39 PM
Hi,

I'd like to know how i can do whats shown in the image. I got 2 splines, one of them is a straight line and the other is curvy.The top and the bottom part of the segment remains the same size but the elevation of the bottom part changes according to the curvy spline. The middle part of the segment should scale to adapt. Anyone have an idea? or is it just possible?
Title: Re: a railclone question for the experts out there
Post by: Michal Karmazín on January 16, 2017, 05:20:20 PM
Hi,

I would suggest you to use a similar work-flow as commented in this "Auto scale bridge pillars to an uneven ground plane. (http://forum.itoosoft.com/index.php?topic=2669.msg10129#msg10129)" post. You can use corresponding Z coordinates of the spline by the "XSplineCoords.z" Expression in the Arithmetic Operator to drive with this value the Scale (Transform - Z Fixed Scale). Because of the deformation of the "middle Segment", applying the Style - Vertex Weld should be helpful in this case. Attaching sample scene. Hope you'll find it useful.

Best regards,
Title: Re: a railclone question for the experts out there
Post by: Berke on January 16, 2017, 09:37:51 PM
Hi,

I had watched the tutorial several times before and i will check again. But in this case its not about scaling the middle segment. I marked two distances with orange color in the image, they remain constant along the spline. In fact the Z position of the 4 vertices (marked with yellow) are changing with the spline. Is it possible to transform the object this way?
Title: Re: a railclone question for the experts out there
Post by: Michal Karmazín on January 17, 2017, 04:20:55 PM
Hi,

As the Vertex Weld feature required for the work-flow shown above will modify these vertices (of the "top" or "bottom" Segment depending on the order how the style is build), an option to avoid any deformations would be to just place these parts by the style and apply a Edit Poly modifier over this RC object to perform a Bridge operation on these borders.

Best regadrs,