Version: 
Back to list

Algo :: tessellate

Synopsis

   Create a tessellated representation from a CAD representation for each given part

GUI Icon

   

GUI Dialog

   

Script function

   algo.tessellate(scenePaths, maxSag, maxLength, maxAngle[, createNormals[, uvMode[, uvChannel[, uvPadding[, createTangents[, createBinormals[, createFreeEdges]]]]]]])

Parameters

   scenePaths (ScenePathList) : ScenePath 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
   createBinormals (Boolean[optional] : If true, binormals will be generated
   createFreeEdges (Boolean[optional] : If true, free edges will be created for each patch borders

Documentation

The tessellation step is the entry point to the polygonal representation which permits to display the model when coming from a CAD file.

This step is very important for the final quality of the model.


Here are some examples and advices on the use of tessellation parameters:





In the above example, the « max Angle » parameter has improved fillets precision by adding a row of elements without increasing polygons number of the yellow piece contour.