VMTKMESHWRITER(1)

πŸ“¦ version 1.5.0, in ubuntu stonking

πŸ’… 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:

  • -id Id (str,1); default=0 β€” the script id. it's giving "who am I" but make it numeric πŸͺͺ
  • -handle Self (self,1) β€” handle to self. yes bestie, it's a self-reference, we love a recursive queen πŸ‘‘
  • -disabled Disabled (bool,1); default=0 β€” set this and execution + piping get disabled. like, she's off duty πŸ’€
  • -i Mesh (vtkUnstructuredGrid,1) β€” the input mesh. the raw material. the clay before the sculpt πŸ—Ώ
  • -ifile MeshInputFileName (str,1) β€” filename for the default Mesh reader. plug in a path, let the reader do its thing πŸ“‚
  • -f Format (str,1) in ['vtkxml', 'vtk', 'xda', 'fdneut', 'tecplot', 'lifev', 'dolfin', 'fluent', 'tetgen', 'pointdata'] β€” the file format. quick translation for the girlies: xda is libmesh ASCII format, and fdneut is FIDAP neutral format πŸ”₯
  • -guessformat GuessFormat (bool,1); default=1 β€” guess the file format from the extension. detective mode on by default πŸ”
  • -compressed Compressed (bool,1); default=1 β€” output a gz compressed file. dolfin only, so don't go looking for this energy anywhere else πŸ—œοΈ
  • -ofile OutputFileName (str,1) β€” the output file name. you name it, she writes it ✍️
  • -o Mesh (vtkUnstructuredGrid,1) β€” the output mesh. the glow-up version πŸ¦‹
  • -mode Mode (str,1) in ['ascii', 'binary']; default=binary β€” write files in ASCII or binary mode. vtk and vtu only 🧬
  • -entityidsarray CellEntityIdsArrayName (str,1); default=CellEntityIds β€” the name of the array where entity ids are stored 🏷️
  • -entityidsoffset CellEntityIdsOffset (int,1); default=-1 β€” add this number to the entity ids in the output. dolfin only βž•
  • -writeregionmarkers WriteRegionMarkers (bool,1); default=0 β€” write entity ids for volume regions to file. dolfin only πŸ“

🫢 Output arguments:

  • -id Id (str,1); default=0 β€” script id, yes again, she contains multitudes πŸ™ˆ
  • -handle Self (self,1) β€” handle to self, also again. iconic of her honestly πŸ’…
heads up bestie: -id, -handle, -mode, -entityidsarray and the rest show up with exact types like str,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