Version: 
Back to list

Algo :: mapUvOnCubicAABB

Synopsis

   Generate texture coordinates using the projection on object AABB, with same scale on each axis

GUI Dialog

   

Script function

   algo.mapUvOnCubicAABB(occurrences, uv3dSize[, channel[, overideExistingUvs]])

Parameters

   occurrences (OccurrenceList) : Occurrences of part to process
   uv3dSize (Distance) : 3D size of the UV space [0-1]
   channel (Int[optional] : The UV channel which will contains the texture coordinates
   overideExistingUvs (Boolean[optional] : If True, overide existing UVs on channel