TowSplineToMesh

Hi,

I'm working on Maxscript for create strip of plygons with tow splineShape constain
But i've a matter.
My script use spline interpolation for create mesh but when my spline turn the subdivision
is bad.
C'an give me the good way for fix this.
Thanks.
the fist file is script and second is screen shoot.

Thanks.

AttachmentSize
towsplinetomesh.ms1.36 KB
screenshot_187.jpg72.59 KB