Itoo Software Forum

Author Topic: a railclone question for the experts out there  (Read 1339 times)

Berke

  • Newbie
  • *
  • Posts: 8
    • Espas Architects
a railclone question for the experts out there
« 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?
« Last Edit: January 15, 2017, 06:37:34 PM by LS3507 »

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2447
Re: a railclone question for the experts out there
« Reply #1 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." 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,

Berke

  • Newbie
  • *
  • Posts: 8
    • Espas Architects
Re: a railclone question for the experts out there
« Reply #2 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?

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2447
Re: a railclone question for the experts out there
« Reply #3 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,