Version: 
Back to list

Algo :: mapUvOnAABB

Synopsis

   Generate texture coordinates using the projection on object Axis Aligned Bounding Box

GUI Dialog

   

Script function

   algo.mapUvOnAABB(occurrences, useLocalAABB, uv3dSize[, channel[, overideExistingUvs]])

Parameters

   occurrences (OccurrenceList) : Occurrences of part to process
   useLocalAABB (Bool) : If enabled, uses part own bounding box, else use global one
   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