Version: 
Back to list

Algo :: mapUvOnMBB

Synopsis

   Generate texture coordinates using the projection on object Minimum Bounding Box

GUI Dialog

   

Script function

   algo.mapUvOnMBB(occurrences, useLocalOBB, uv3dSize[, channel[, overideExistingUvs]])

Parameters

   occurrences (OccurrenceList) : Occurrences of part to process
   useLocalOBB (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