Version: 
Back to list

Algo :: retessellate

Synopsis

   Update the tessellated representation of each CAD part with new tessellation parameters

GUI Dialog

   

Script function

   algo.retessellate(occurrences, maxSag, maxLength, maxAngle[, createNormals[, uvMode[, uvChannel[, uvPadding[, createTangents[, createFreeEdges]]]]]])

Parameters

   occurrences (OccurrenceList) : Occurrences of components to tessellate
   maxSag (Distance) : Maximum distance between the geometry and the tessellation
   maxLength (Distance) : Maximum length of elements
   maxAngle (Angle) : Maximum angle between normals of two adjacent elements
   createNormals (Boolean[optional] : If true, normals will be generated
   uvMode (UVGenerationMode[optional] : Select the texture coordinates generation mode
   uvChannel (Int[optional] : The UV channel of the generated texture coordinates (if any)
   uvPadding (Double[optional] : The UV padding between UV island in UV coordinate space (between 0-1). This parameter is handled as an heuristic so it might not be respected
   createTangents (Boolean[optional] : If true, tangents will be generated
   createFreeEdges (Boolean[optional] : If true, free edges will be created for each patch borders