Mesh face selector
Compiles lists of triangles based on filter criteria for further use. Output is always an array of indices of all triangles and a numerical Boolean (0 or 1) associated to each triangle, representing whether the condition applied or didn't apply.
Properties
None.
Methods
Name | Syntax | Description |
---|---|---|
selectnegativeshells | meshfaceselector:selectnegativeshells (mesh:LuaMesh; array: TLuaArray) | Selects the faces belonging to a shell with negative volume |
selecttrianglesperarea | meshfaceselector:selecttrianglesperarea (mesh:LuaMesh; array: TLuaArray; Min:Number; Max: Number) | Selects the faces with a area between min and max (given in mm²) |
selectshellspervolume | meshfaceselector:selectshellspervolume (mesh:LuaMesh; array: TLuaArray; Min:Number; Max: Number) | Selects the faces belonging to a shell with a volume between min and max (given in mm³) |
Example
The example script *