VMTKPYTHONSCRIPT(1)
β¨ NAME β¨
vmtkpythonscript β the vmtk script called vmtkpythonscript π
okay so listen bestie, this is the manual page for vmtkpythonscript, a User Command from the vmtk family. yes it's giving "another vmtk script", but it's literally the one that runs your Python script, so it's kind of the main character. π
π¦ DESCRIPTION π¦
Automatic piping vmtkpythonscript β¨ Parsing options vmtkpythonscript β¨
that's the whole vibe: this thing autopipes itself around and parses its own options like it's no big deal. no cap.
vmtkpythonscript : execute a python script contained in a file π
like. you hand it a file with Python in it, and it runs it. that's the whole plot. periodt.
πΈ Input arguments πΈ
these are the things you feed it, bestie. one by one, no skipping. π
-id,Id(str,1); default=0β the script id π·οΈ-handle,Self(self,1) β handle to self π«Ά-disabled,Disabled(bool,1); default=0β disable execution and piping π (yeah, turn it on to turn it off, iykyk)-image,Image(vtkImageData,1) β the input image πΌοΈ-imagefile,ImageInputFileName(str,1) β filename for the default Image reader π-image2,Image2(vtkImageData,1) β the second input image πΌοΈβ¨-image2file,Image2InputFileName(str,1) β filename for the default Image2 reader π-surface,Surface(vtkPolyData,1) β the input surface π-surfacefile,SurfaceInputFileName(str,1) β filename for the default Surface reader π-surface2,Surface2(vtkPolyData,1) β the second input surface πβ¨-surface2file,Surface2InputFileName(str,1) β filename for the default Surface2 reader π-mesh,Mesh(vtkUnstructuredGrid,1) β the input mesh πΈοΈ-meshfile,MeshInputFileName(str,1) β filename for the default Mesh reader π-mesh2,Mesh2(vtkUnstructuredGrid,1) β the second input mesh πΈοΈβ¨-mesh2file,Mesh2InputFileName(str,1) β filename for the default Mesh2 reader π-scriptfile,PythonScriptFileName(str,1) β the name of the file were the Python script resides π (yes, "were". the original said "were". we are not fixing it. that's canon. π)-oimagefile,ImageOutputFileName(str,1) β filename for the default Image writer πΎ-osurfacefile,SurfaceOutputFileName(str,1) β filename for the default Surface writer πΎ-omeshfile,MeshOutputFileName(str,1) β filename for the default Mesh writer πΎ
π Output arguments π
and these are the things it hands back to you, slay. π
-id,Id(str,1); default=0β the script id π·οΈ-handle,Self(self,1) β handle to self π«Ά-oimage,Image(vtkImageData,1) β the output image πΌοΈπ-osurface,Surface(vtkPolyData,1) β the output surface ππ-omesh,Mesh(vtkUnstructuredGrid,1) β the output mesh πΈοΈπ
bestie reminder:-idand-handleshow up twice, once in the input list and once in the output list, with the exact same descriptions. that's not a glitch, that's just how the pipe do. π₯
k that's the whole page π every last flag, default, type and filename is right there, no details ghosted, fr fr. this was vmtkpythonscript version 1.5, dated April 2026 β written up as a User Command entry, and ngl she ate. π
β¨π¦π
π¦ 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