upxo.meshing.gbconformant.d3v2p0.surface_export module
PyVista views of surface complexes and tetrahedral meshes.
One place builds the PolyData / UnstructuredGrid objects that plots and
file writers need, so every consumer carries the same cell arrays.
- upxo.meshing.gbconformant.d3v2p0.surface_export.surface_polydata(surface, *, exterior=None, rve_face=None)[source]
Triangles of an interface or closed-RVE object as
PolyData.Cell arrays:
grain_aandgrain_b(fromgrain_pairs),is_rve_cap(fromexterior) andrve_facewhen available. An object that already is aPolyDatais returned unchanged.
- upxo.meshing.gbconformant.d3v2p0.surface_export.save_surface(path, surface, **kwargs)[source]
Write
surface_polydata()ofsurfacetopath(.vtp).