gustaf.create.faces#

gustaf/create/faces.py Routines to create faces.

Functions

box([bounds, resolutions, simplex, backslash])

Create structured quadrangle or triangle block mesh.

edges_as_quad(edges, scaled_normals)

Expands edges to hexa with given scaled_normals.

to_quad(tri)

In case current mesh is triangle surface mesh, it splits triangle faces into three quad faces by inserting another vertices in the middle of each triangle face.

to_simplex(quad[, alternate])

Given quad faces, diagonalize them to turn them into triangles.

vertex_normals(faces[, area_weighting, ...])

Computes vertex normals and saves it in vertex_data.