VMTKSURFACECLIPPER(1)

πŸ“¦ version 1.5.0, in ubuntu stonking

πŸ’… NAME πŸ’…

okay so bestie, meet vmtksurfaceclipper β€” the vmtk script vmtksurfaceclipper. that's it, that's the name, we're starting strong 🫢


✨ DESCRIPTION ✨

Automatic piping vmtksurfaceclipper. Parsing options vmtksurfaceclipper. (yes, that's literally what it does under the hood, it's giving very "the code explains itself" energy 😭)

vmtksurfaceclipper β€” interactively clip a surface with a box. iconic behavior honestly πŸ’–

πŸ“₯ Input arguments πŸŽ€

  • -id Id (str,1); default=0 β€” script id, it's the little name tag your script wears ✨
  • -handle Self (self,1) β€” handle to self, aka a lil handshake back to the object itself 🫢
  • -disabled Disabled (bool,1); default=0 β€” disable execution and piping. flip it and the whole thing just… doesn't πŸ’€
  • -i Surface (vtkPolyData,1) β€” the input surface, the main character of this whole operation πŸ‘‘
  • -ifile SurfaceInputFileName (str,1) β€” filename for the default Surface reader, so it knows where to look πŸ‘€
  • -type WidgetType (str,1) in ['box', 'sphere']; default=box β€” type of widget used for clipping. box or sphere, pick your fighter πŸ₯Š
  • -transform Transform (vtkTransform,1) β€” the widget transform, useful in case of piping of multiple clipping scripts. lowkey the MVP when you're chaining stuff πŸ”₯
  • -cleanoutput CleanOutput (bool,1); default=1 β€” toggle cleaning the unused points. bye bye stray points, no crumbs left 🧹✨
  • -insideout InsideOut (bool,1); default=0 β€” toggle switching output and clipped surfaces, it flips the whole vibe upside down πŸ™ƒ
  • -interactive Interactive (bool,1); default=1 β€” toggle clipping with a widget or with a pre-defined scalar field. widget mode vs scalar mode, choose your destiny 🌈
  • -array ClipArrayName (str,1); default=None β€” name of the array with which to clip in case of non-interactive clipping πŸ“›
  • -value ClipValue (float,1); default=0.0 β€” scalar value at which to perform clipping in case of non-interactive clipping 🎯
  • -renderer vmtkRenderer (vmtkRenderer,1) β€” external renderer, for when you already have one and don't need a new one, we love a reuse moment ♻️
  • -ofile SurfaceOutputFileName (str,1) β€” filename for the default Surface writer πŸ’Ύ
  • -oclippedfile ClippedSurfaceOutputFileName (str,1) β€” filename for the default ClippedSurface writer βœ‚οΈ
  • -ocutlinesfile CutLinesOutputFileName (str,1) β€” filename for the default CutLines writer πŸ“
no cap, that's every single input flag. count them. all sixteen. i checked twice bestie 🫑

πŸ“€ Output arguments πŸ’œ

  • -id Id (str,1); default=0 β€” script id, same lil name tag energy ✨
  • -handle Self (self,1) β€” handle to self 🫢
  • -o Surface (vtkPolyData,1) β€” the output surface, freshly clipped and gorgeous 🌸
  • -oclipped ClippedSurface (vtkPolyData,1) β€” the clipped surface, the part that got yeeted off βœ‚οΈ
  • -ocutlines CutLines (vtkPolyData,1) β€” the cutlines, the lil scar where the cut happened πŸ’…
  • -otransform Transform (vtkTransform,1) β€” the output widget transform, so you can carry that placement onward πŸ”₯

fr fr that's the whole page, nothing skipped, nothing invented, facts fully intact 🧚

this was vmtksurfaceclipper version 1.5 from April 2026, floating around in the User Commands section of the manual. periodt. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from