VMTKNUMPYTOCENTERLINES(1)
π NAME π
vmtknumpytocenterlines β bestie, it's a vmtk script. Like, the script is literally called vmtknumpytocenterlines. That's the whole name, no notes. π
β¨ DESCRIPTION β¨
Okay so picture this: it does Automatic piping for vmtkNumpyToCenterlines, and it's also out here Parsing options for vmtkNumpyToCenterlines. Two jobs, one icon. π
π¦ vmtkNumpyToCenterlines π¦
So here's the vibe: it takes a nested python dictionary that's holding numpy arrays which specify
- vertex points π«Ά
- associated scalar data β¨
- and cell data that specifies line connectivity π₯
β¦and then it hands you back a VTK centerlines vtkPolyData file. That's it, that's the glow-up. π
πΈ Input arguments πΈ
-idId (str,1); default=0β the script id, it's giving β¨identityβ¨-handleSelf (self,1) β a handle to self, main character energy fr fr-disabledDisabled (bool,1); default=0β disables execution and piping. like, it's on do-not-disturb mode π-iArrayDict (dict,1) β the input array dictionary, the whole point tbh π-ifileArrayDictInputFileName (str,1) β the filename for the defaultArrayDictreader π-ofileCenterlinesOutputFileName (str,1) β the filename for the defaultCenterlineswriter βοΈ
π Output arguments π
-idId (str,1); default=0β yep, the script id again. bestie said "you get an id, and you get an id" π-handleSelf (self,1) β and again, a handle to self. consistent queen π-oCenterlines (vtkPolyData,1) β the output surface, your prize at the end of the rainbow β
no cap: every single one of those options is real, and yes-idand-handlegenuinely show up in both the input list and the output list. that's not a typo, that's just how she lives. π
vmtk crew, that's the whole page. mwah. π
This lil legend is from vmtknumpytocenterlines 1.5, dated April 2026 β thanks for coming to my TED talk, ily, bye π«Άβ¨
π¦ 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