Command Line Interface
automesh is used primarily as a command line interface (CLI): a single
automesh binary with one subcommand per operation — convert,
defeature, diff, extract,
mesh, metrics, remesh,
segment, and smooth. Each subcommand
reads one or more input files and writes an output file.
automesh --help
@@@@@@@@@@@@@@@@
@@@@ @@@@@@@@@@
@@@@ @@@@@@@@@@@ automesh: Automatic mesh generation
@@@@ @@@@@@@@@@@@
@@ @@ @@ v0.4.3 linux x86_64
@@ @@ @@ build 338a6cd 2026-07-29T18:52:35+0000
@@@@@@@@@@@@ @@@ Chad B. Hovey <chovey@sandia.gov>
@@@@@@@@@@@ @@@@ Michael R. Buche <mrbuche@sandia.gov>
@@@@@@@@@@ @@@@@ @
@@@@@@@@@@@@@@@@
Usage: automesh [OPTIONS] [COMMAND]
Commands:
convert Converts between mesh or segmentation file types
defeature Defeatures and creates a new segmentation
diff Show the difference between two segmentations
extract Extracts a specified range of voxels from a segmentation
mesh Creates a finite element mesh from a segmentation
metrics Quality metrics for an existing finite element mesh
remesh Applies isotropic remeshing to an existing mesh [default mode: uniform]
segment Creates a segmentation or voxelized mesh from an existing mesh
smooth Applies smoothing to an existing mesh
help Print this message or the help of the given subcommand(s)
Options:
--log <FILE> Mirror terminal output to a log file
-q, --quiet Pass to quiet the terminal output
-h, --help Print help
-V, --version Print version
Global Options
Two options apply to every subcommand: --quiet and --log.
-
--quiet(-q) suppresses the terminal output — the banner, and each command'sReading/Meshing/Writing/Done/Totalprogress lines — while the command still runs normally. -
--log <FILE>mirrors that same terminal output into a file, with the color escape codes stripped so the file is plain text.automeshinserts a local date-time stamp before the file extension, so rerunning a command with the same--logpath never overwrites an earlier log:automesh --log run.log mesh hex -i octahedron.npy -o octahedron.inp -r 0Logging to run_2026-07-17T09-30-58-0600.logThe stamp is
YYYY-MM-DD(year-month-day),Tmarking the start of the time-of-day, thenHH-MM-SS(hour-minute-second, local time), followed by the local UTC offset-0600(six hours behind UTC — Mountain Daylight Time, in this example). Hyphens separate the hour, minute, and second instead of the more common:because:is not a legal filename character on Windows.
--quiet and --log are independent, so --quiet --log run.log runs silently
on the terminal while still writing the full log file — useful for scripted or
batch invocations where only a record of the run is wanted.