mmSolver.tools.meshfrompoints#
Mesh From Points tool.
Tools#
Mesh From Points main.
- mmSolver.tools.meshfrompoints.tool.create_full_mesh()#
- mmSolver.tools.meshfrompoints.tool.create_border_mesh()#
- mmSolver.tools.meshfrompoints.tool.main()#
Open the ‘Mesh From Points’ window.
Library#
- class mmSolver.tools.meshfrompoints.lib.MeshData(world_positions, full_mesh_indices, border_mesh_indices)#
- property border_mesh_indices#
Alias for field number 2
- property full_mesh_indices#
Alias for field number 1
- property world_positions#
Alias for field number 0
- mmSolver.tools.meshfrompoints.lib.create_mesh_from_transform_nodes(mesh_type, transform_nodes, offset_value=None, mesh_name=None)#
Creates mesh from transform nodes.
- Parameters:
mesh_type (mmSolver.tools.meshfrompoints.constant.MESH_TYPE_*_VALUE.) – The type of mesh to create.
transform_nodes ([str, ..]) – List of transform nodes to get 3D positions from.
offset_value (float) – An offset value for MESH_TYPE_BORDER_EDGE_STRIP_MESH_VALUE.
mesh_name (str) – The name of the mesh node created.
- Returns:
The name of the created mesh node.
- Return type:
str
Delaunator#
- class mmSolver.tools.meshfrompoints.delaunator.Delaunator(points)#
- constructor(coords)#
- update(coords)#
- mmSolver.tools.meshfrompoints.delaunator.pseudoAngle(dx, dy)#
- mmSolver.tools.meshfrompoints.delaunator.dist(ax, ay, bx, by)#
- mmSolver.tools.meshfrompoints.delaunator.orientIfSure(px, py, rx, ry, qx, qy)#
- mmSolver.tools.meshfrompoints.delaunator.orient(rx, ry, qx, qy, px, py)#
- mmSolver.tools.meshfrompoints.delaunator.inCircle(ax, ay, bx, by, cx, cy, px, py)#
- mmSolver.tools.meshfrompoints.delaunator.circumradius(ax, ay, bx, by, cx, cy)#
- mmSolver.tools.meshfrompoints.delaunator.circumcenter(ax, ay, bx, by, cx, cy)#
- mmSolver.tools.meshfrompoints.delaunator.quicksort(ids, dists, left, right)#
- mmSolver.tools.meshfrompoints.delaunator.swap(arr, i, j)#