Version: 
Back to list

Algo :: mapUvOnFittingCylinder

Synopsis

   Generate texture coordinates using the projection on a fitting cylinder

GUI Dialog

   

Script function

   algo.mapUvOnFittingCylinder(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)