Deform by Surface. How to reset the objects scale?

General questions and troubleshooting SOFTIMAGE©
User avatar
probiner
Posts: 127
Joined: 17 Apr 2013, 09:52

Deform by Surface. How to reset the objects scale?

Post by probiner » 06 Oct 2013, 18:07

I'm doing some rolling roads and for UpVector control I'm using a Surface strip. When I do a Deform by Surface say on some concrete dividers or rails along the road, the operator automatically maps the X an Z, max and min to the Surface's U and V, 0 and 1. I don't want this scale distortion, just want them bending with the road path and roll.

Since the Surface is just a strip made out of a Lofting of some 2D Profiles along a surface made of a curve, I though I would just get a pseudo expression like:
X: Object.BoundingBox.X_lenght / Curve.Lenght
Z: Object.BoundingBox.Z_lenght / Profile.Lenght

Now for the Curve and Profile lenghts I got this: http://forums.cgsociety.org/archive/ind ... 26199.html
But for a Polymesh's Bounding Box parameter, that I can use on an expression, I have no idea.

Any default SI parameters or Scripts?

Cheers