VMTKMESHDATAREADER(1)
π VMTKMESHDATAREADER π
okay bestie, this is section 1 of the manuals (User Commands, no cap), and the command itself is literally called vmtkmeshdatareader. Yes that's a mouthful. Yes it's iconic. Let's get into it π«Ά
β¨ NAME β¨
vmtkmeshdatareader β it's a vmtk script, and the script is named vmtkmeshdatareader. That's the whole name section. She said "my name is my name" π
πΈ DESCRIPTION πΈ
So the vibe here is: automatic piping. There's automatic piping happening (vmtkmeshdatareader), and also option parsing (vmtkmeshdatareader). It's giving plumbing but make it β¨scientificβ¨.
What does it actually do tho? Here's the tea:
vmtkmeshdatareader : read data associated with a mesh
That's the mission statement. Read data. Attached to a mesh. Slay π₯
π Input arguments π
the stuff you feed in, the ingredients, the little guys:
-idId (str,1); default=0β the script id. It's the id. Of the script. Default0, as one does.-handleSelf (self,1) β handle to self π«Ά yes, self-love is a valid input argument, we love to see it.-disabledDisabled (bool,1); default=0β disable execution and piping. So if you set this, it just... doesn't. Very "not me showing up today" energy.-iMesh (vtkUnstructuredGrid,1) β the input mesh. THE mesh. the main character mesh π-ifileMeshInputFileName (str,1) β filename for the default Mesh reader.-directoryDataFileDirectory (str,1); default=.β directory where the data files reside. Default is just.(yep, right here, in your current folder, bestie).-prefixDataFilePrefix (str,1) β data file name prefix β likefoo_for example.-datafileDataFileName (str,1) β data file name (likefoo.datfor example), excluding directory. Careful: this one overridesprefix. She's powerful. She said "I go first" π-filetypeDataFileType (str,1); default=tetr.velβ data file name type. Your choices are:tetr.out,tetr.vel,tetr.wss,tetr.pres,tetr.ini,pointdata. Pick your fighter π-arrayprefixArrayNamePrefix (str,1) β prefix to prepend to array names in output. A little name tag. So cute π-tetrinfileTetrInFileName (str,1) β name of thetetr.infile.-compressedCompressed (bool,1); default=1β toggle reading gzip compressed file. Default is on, so compressed is the moment unless you say otherwise.-unnormalizeUnNormalize (bool,1); default=1β unnormalize quantities. Note:tetr.*only. Don't try it on anything else, that's not her jurisdiction.-minvaridMinVariableId (int,1)>= 0; default=-1β read variables starting from the nth column.pointdataonly, iykyk.-maxvaridMaxVariableId (int,1)>= 0; default=-1β read variables up to the nth column. Alsopointdataonly, obviously, keeping it symmetrical, we love a matching set π¦-ofileMeshOutputFileName (str,1) β filename for the default Mesh writer.
π Output arguments π
what she gives you back, the results, the payoff:
-idId (str,1); default=0β script id. (Yes it's here too. She contains multitudes. Both an input and an output. Literally all of us fr fr.)-handleSelf (self,1) β handle to self. (Also both. Self is eternal like that.)-oMesh (vtkUnstructuredGrid,1) β the output mesh!! The glow-up mesh. The before and after π
okay a lil heads up bestie:-datafilefully overrides-prefix, and the-minvarid/-maxvarid/-unnormalizeoptions only work for their specific file types (pointdataandtetr.*respectively). Read the one-liners. They're telling you something π
and that's the page!! vmtkmeshdatareader 1.5, from April 2026. the version and the date, immortalized. periodt πβ¨π¦ππ
π¦ 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