Other than actually storing the entity scale for later use ..
You could use your own function to do this. Will obviously be slower but if you iterate through the vertices in the original mesh, create a new mesh. The good news is that tformpoint will take into consideration the entity scale.
Assume mesh is the original mesh, entity is the scaled version of this mesh and newmesh is the new scaled version of mesh
Get the new vertices like so ( not tested as at work )....
newmesh = copymesh( mesh )
s=getsurface( mesh , 1 )
ns = getsurface( newmesh )
for v = 0 to countvertices( mesh ) - 1
tformpoint vertexx( s, v ), vertexy( s, v ), vertexz( s, v ), Entity , 0
vertexcoords ns , v, tformedx(), tformedy(), tformedz()
next
Hope this helps .. at least it'd point you in the right direction.
|