VMTKSURFACEDECIMATION(1)

πŸ“¦ version 1.5.0, in ubuntu stonking

πŸ¦‹ NAME πŸ¦‹

vmtksurfacedecimation β€” the vmtk script named vmtksurfacedecimation. That's her, that's the girl πŸ’…


✨ DESCRIPTION ✨

okay so first things first: this is a vmtk script, and it's got the whole automatic piping thing going on β€” plus it's out here parsing options like it's nothing. The name appearing over and over is not a glitch, bestie, that's just how vmtk do.

vmtksurfacedecimation : reduce the number of triangles in a surface. literally that's the whole gig β€” fewer triangles, same vibe πŸ¦‹

heads up: arguments come in two flavours down there β€” the ones you feed in and the ones she hands back to you. Read the labels, they matter fr fr.

🌸 Input arguments 🌸

  • -id Id (str,1); default=0 β€” the script id. every vmtk script's got one, it's giving social security number tbh.
  • -handle Self (self,1) β€” a handle to self. yeah she's got a handle to herself, we love a self-aware icon ✨
  • -disabled Disabled (bool,1); default=0 β€” set this and she just… doesn't run. disables execution and piping, so she'll sit the whole thing out. lowkey iconic of her.
  • -i Surface (vtkPolyData,1) β€” THE input surface. the main character. the surface you want decimated πŸŽ€
  • -ifile SurfaceInputFileName (str,1) β€” a filename, for the default Surface reader. so you can hand her a file instead of a live object, no cap.
  • -reduction TargetReduction (float,1) >= 0.0 and <= 1.0; default=0.5 β€” the desired number of triangles relative to the input number of triangles. so 0.5 means half the triangles. and yes, she said it: it has to be >= 0.0 and <= 1.0, don't try to be cute with that range 😭
  • -boundarydeletion BoundaryVertexDeletion (bool,1); default=0 β€” toggles whether boundary point deletion is allowed. off by default, bestie.
  • -ofile SurfaceOutputFileName (str,1) β€” a filename, for the default Surface writer. that's where the glow-up gets saved πŸ’–

πŸ’œ Output arguments πŸ’œ

  • -id Id (str,1); default=0 β€” the script id again. yeah she shows up on both lists, she contains multitudes 🫢
  • -handle Self (self,1) β€” handle to self, again. icon behaviour only.
  • -o Surface (vtkPolyData,1) β€” the output surface!! the reduced-triangle serve 🌈 that's your girl right there.

reminder: those input args are what you ~give~ her, the output args are what she ~gives back~. keeping them straight is the whole game, iykyk.

and that's the page, periodt πŸ’œ this whole thing is from vmtksurfacedecimation 1.5, dated April 2026 β€” genuine vintage, honestly, obsessed πŸŽ€βœ¨

πŸ“¦ where this page comes from