VMTKMESHWRITER2(1)
β¨ VMTKMESHWRITER2 β¨
okay so bestie, welcome to vmtkmeshwriter2, a User Command and a vmtk script, and honestly? she's here to take your mesh and put it on disk. that's the whole job. slay π
it's the automatic-piping, option-parsing sibling of vmtkmeshwriter, and we're gonna go through it together, no cap.
π¦ DESCRIPTION π¦
so like, this is the auto-piping, option-parsing wrapper around vmtkmeshwriter. and what does vmtkmeshwriter do? write a mesh to disk. iconic. that's it. that's the vibe. π
everything below is split into the stuff you feed in and the stuff it hands back to you. she's very organized, we love her for it. π
πΈ Input arguments
-id Idβ str, 1; default=0. this is the script id, aka her little name tag so you know which script instance is talking. π·οΈ-handle Selfβ self, 1. a handle to self. yes she's holding her own hand. boundaries? never heard of her. π«Ά-disabled Disabledβ bool, 1; default=0. turn this on and she justβ¦ doesn't run, and doesn't pipe either. like when you mute the group chat but stay in it. π-i Meshβ vtkUnstructuredGrid, 1. THE input mesh. the main character. the reason we're all here. π-ifile MeshInputFileNameβ str, 1. the filename for the default Mesh reader. if you don't hand her a mesh object, she'll read one from here. π-f Formatβ str, 1, and she only accepts one of these:'vtkxml','vtk','xda','fdneut','tecplot','lifev','dolfin','fluent','pointdata'. that's your file format. quick translation key:xdais the libmesh ASCII format, andfdneutis the FIDAP neutral format. iykyk π-guessformat GuessFormatβ bool, 1; default=1. she looks at your file extension and goes "oh i know what this is" β¨ detective behavior, obsessed.-compressed Compressedβ bool, 1; default=1. spits out a gz compressed file.dolfinonly, bestie, don't try it anywhere else. ποΈ-ofile OutputFileNameβ str, 1. the output file name. where the mesh goes to live her new life. π‘-o Meshβ vtkUnstructuredGrid, 1. the output mesh! the glow-up version, all written out and ready. π-entityidsarray CellEntityIdsArrayNameβ str, 1; default=CellEntityIds. the name of the array where the entity ids are stored. she's specific about her array names, respect it. π-entityidsoffset CellEntityIdsOffsetβ int, 1; default=0. adds this number to the entity ids on output.dolfinonly, so again, format check before you come for her. β-ascii Asciiβ boolean, 1. write the data as ascii. old school, lowkey charming, we support it. β¨οΈ
π Output arguments
-id Idβ str, 1; default=0. the script id again, handed back to you. same name tag, now on the way out. π·οΈ-handle Selfβ self, 1. a handle to self. she returns it. she always returns it. π«Ά
heads up babe:-compressedand-entityidsoffsetare both markeddolfinonly in the docs, so if you're using another format and wondering why they're doing nothing β that's why. π
and that's the whole page!! π vmtkmeshwriter2, version 1.5, dated April 2026 β thank you for coming to my ted talk, go write a mesh, eat something, hydrate, and remember: correct output format is a love language. πβ¨π¦π
π¦ where this page comes from
- ubuntu stonking: vmtk 1.5.0+dfsg1-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms