VMTKNUMPYTOCENTERLINES(1)

πŸ“¦ version 1.5.0, in ubuntu stonking

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

  • -id Id (str,1); default=0 β€” the script id, it's giving ✨identity✨
  • -handle Self (self,1) β€” a handle to self, main character energy fr fr
  • -disabled Disabled (bool,1); default=0 β€” disables execution and piping. like, it's on do-not-disturb mode πŸ’€
  • -i ArrayDict (dict,1) β€” the input array dictionary, the whole point tbh πŸ’…
  • -ifile ArrayDictInputFileName (str,1) β€” the filename for the default ArrayDict reader πŸ“–
  • -ofile CenterlinesOutputFileName (str,1) β€” the filename for the default Centerlines writer ✍️

πŸ’œ Output arguments πŸ’œ

  • -id Id (str,1); default=0 β€” yep, the script id again. bestie said "you get an id, and you get an id" πŸŽ€
  • -handle Self (self,1) β€” and again, a handle to self. consistent queen πŸ‘‘
  • -o Centerlines (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 -id and -handle genuinely 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