Mesh quality and count through SpaceClaim API scripting

TheRifai
TheRifai Member Posts: 1 **

Hello,

I would like to know the quality of my mesh after I generate it. So let's say if I find any cell OR large number of cells with very high skewness, I can remesh my face.

The only command which I found and hoped would perhaps be useful was ValidateMesh.

I tried the command as quality = ValidateMesh.Execute(bodySelection,0.3). And then print the value of it for my geometry which returns ALWAYS as True(refer screenshot), no matter what double value I put for the criteria.

Can anyone help me as to understand what exactly is this command doing? Also, how do I get number of skewed cells, aspect ratio above/below some criteria?

Thanks!

Answers