Version: 
Back to list

Algo :: mapUvOnCustomAABB

Synopsis

   Generate texture coordinates using the projection on custom AABB

GUI Dialog

   

Script function

   algo.mapUvOnCustomAABB(occurrences, aabb, uv3dSize[, channel[, overideExistingUVs]])

Parameters

   occurrences (OccurrenceList) : Occurrences of part to process
   aabb (AABB) : Axis aligned bounding box to project on
   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