Version: 
Back to list

Algo :: mapUvOnFittingSphere

Synopsis

   Generate texture coordinates using the projection on a fitting sphere

GUI Dialog

   

Script function

   algo.mapUvOnFittingSphere(occurrences[, channel[, overideExistingUvs[, useAABB]]])

Parameters

   occurrences (OccurrenceList) : Occurrences of part to process
   channel (Int[optional] : The UV channel which will contains the texture coordinates
   overideExistingUvs (Boolean[optional] : If True, overide existing UVs on channel
   useAABB (Boolean[optional] : If true use for the fitting the global Axis Aligned Bounding Box (AABB), else use an Oriented Bounding Box (OBB only based on transformed AABB of occurrences)