VMTKMESHWRITER(1)
π VMTKMESHWRITER(1) β User Commands, bestie edition
okay so welcome to the vmtkmeshwriter page, part of the User Commands manual. it's a vmtk script. it writes meshes. that's the whole main character arc. let's go π¦
β¨ NAME β¨
vmtkmeshwriter β it's a vmtk script, babes. literally that's it. vmtkmeshwriter π
πΈ DESCRIPTION πΈ
so the vibe here is automatic piping for vmtkmeshwriter, plus option parsing for vmtkmeshwriter. the script does one iconic thing:
vmtkmeshwriter : write a mesh to disk πΎβ¨
that's the job. no notes. periodt.
π Input arguments:
-idId (str,1); default=0β the script id. it's giving "who am I" but make it numeric πͺͺ-handleSelf (self,1) β handle to self. yes bestie, it's a self-reference, we love a recursive queen π-disabledDisabled (bool,1); default=0β set this and execution + piping get disabled. like, she's off duty π-iMesh (vtkUnstructuredGrid,1) β the input mesh. the raw material. the clay before the sculpt πΏ-ifileMeshInputFileName (str,1) β filename for the default Mesh reader. plug in a path, let the reader do its thing π-fFormat (str,1) in['vtkxml', 'vtk', 'xda', 'fdneut', 'tecplot', 'lifev', 'dolfin', 'fluent', 'tetgen', 'pointdata']β the file format. quick translation for the girlies:xdais libmesh ASCII format, andfdneutis FIDAP neutral format π₯-guessformatGuessFormat (bool,1); default=1β guess the file format from the extension. detective mode on by default π-compressedCompressed (bool,1); default=1β output a gz compressed file. dolfin only, so don't go looking for this energy anywhere else ποΈ-ofileOutputFileName (str,1) β the output file name. you name it, she writes it βοΈ-oMesh (vtkUnstructuredGrid,1) β the output mesh. the glow-up version π¦-modeMode (str,1) in['ascii', 'binary']; default=binaryβ write files in ASCII or binary mode. vtk and vtu only π§¬-entityidsarrayCellEntityIdsArrayName (str,1); default=CellEntityIdsβ the name of the array where entity ids are stored π·οΈ-entityidsoffsetCellEntityIdsOffset (int,1); default=-1β add this number to the entity ids in the output. dolfin only β-writeregionmarkersWriteRegionMarkers (bool,1); default=0β write entity ids for volume regions to file. dolfin only π
π«Ά Output arguments:
-idId (str,1); default=0β script id, yes again, she contains multitudes π-handleSelf (self,1) β handle to self, also again. iconic of her honestly π
heads up bestie:-id,-handle,-mode,-entityidsarrayand the rest show up with exact types likestr,1,bool,1,vtkUnstructuredGrid,1β don't freestyle those, they're load-bearing π
that's the whole page fr fr. no cap, every flag stayed. now go write a mesh and slay π
π vmtkmeshwriter 1.5, dated April 2026 β that's the source and version signing off. mwah, bye bestie π β
π¦ 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