Mesh Reduction
Endpoint: https://studiobitonti.appspot.com/meshReduction
The mesh reduction function merges faces in order to reduce the number of faces, vertices and edges. This in turn makes output a clean mesh, significantly lighter than the input.
Input:
Target: Name of input .obj/.stl file uploaded to storage
Filename: Target output file name
Portion: Is a float value input from 0 to 1, defining the portion of triangles to reduce.
T: [YOUR SECRET TOKEN]
Output:
A list of result files in storage.
Example:
genysis.upload('target.obj') reductionPercentage = 10 genysis.meshReduce('target.obj', 'output.obj', reductionPercentage, token)