{ "cells": [ { "cell_type": "markdown", "id": "vx-intro", "metadata": {}, "source": [ "# Voxel segmentation and meshing\n", "\n", "Segment a voxel or grid orientation field (EBSD or gridded NF) into grains via graph clustering (Leiden) or flood-fill, then build a conformal hex mesh with CUBIT/SCULPT, using `VoxelMeshBuilder`. Use this when you have a gridded Euler-angle CSV or an FF `reconstruction_reformatted.csv` and want a segmented mesh.\n", "\n", "**Needs:** CUBIT/SCULPT (via `sculpt_config`); graph segmentation uses networkit (Leiden). Wrap the driver in `if __name__ == \"__main__\": main()`.\n", "\n", "
Tier B: needs CUBIT/SCULPT
\n", "This notebook needs CUBIT's psculpt and epu, which is not available in CI or Google Colab, so it is not executed when these docs are built. It ships as an annotated code listing with no stored output \u2014 nothing on this page is a hand-written or fabricated result. Run it in a configured environment (see the installation guide) to produce the figures, and run it from the repository root so the mwe_data/ paths resolve.