Interface: check_ends(fm), build(fm). build adds surfaces with roles
'domain', 'terminal', 'periodic_master', 'periodic_slave' to fm and fills
fm.periodic_pairs [(slave, master)] and fm.vertex_nodes.
| pancake.fem.Domain._merge_faces |
( |
| fm, |
|
|
| faces, |
|
|
| hole_outline, |
|
|
| hole_outline_uv, |
|
|
| hole_tol ) |
|
staticprotected |
faces: list of (role, meta, points (n,3), tris (m,3) local indices, uv (n,2) or None).
Nodes of a face with uv are matched against the hole outline in the face's
parameter plane and take the ids of the stack nodes; all other nodes are
deduplicated across faces by their 3D position. Returns per-face id arrays.