Version: 
Back to list

Algo :: mapUvOnBox

Synopsis

   Generate texture coordinates using the projection on a box

GUI Dialog

   

Script function

   algo.mapUvOnBox(occurrences, box[, channel[, overrideExistingUVs]])

Parameters

   occurrences (OccurrenceList) : Occurrences of part to process
   box (Box) : Box definition
   channel (Int[optional] : The UV channel which will contains the texture coordinates
   overrideExistingUVs (Boolean[optional] : If True, overide existing UVs on channel