VMTKMESHCLIPPER(1)
π VMTKMESHCLIPPER π
okay so bestie, welcome to vmtkmeshclipper β it's a vmtk script and it lives in the User Commands section, and honestly? it's giving "cut a mesh with a box, but make it interactive." π
β¨ NAME β¨
vmtkmeshclipper β literally a vmtk script called vmtkmeshclipper, no notes. π
πΈ DESCRIPTION πΈ
Automatic piping. vmtkmeshclipper parses all your options, and likeβ¦ that's the whole gig. β¨
vmtkmeshclipper : interactively clip a mesh with a box π₯
π§ Input arguments π§
-id Id (str,1); default=0β the script id. that's it, that's the vibe.-handle Self (self,1)β a handle to self. yes queen, know thyself π-disabled Disabled (bool,1); default=0β turns off execution and piping at the same time. one switch, two consequences, iconic.-i Mesh (vtkUnstructuredGrid,1)β the input mesh. the main character of this whole operation, fr.-ifile MeshInputFileName (str,1)β filename for the default Mesh reader, so it knows where to read from.-insideout InsideOut (bool,1); default=0β toggles switching the output and clipped surfaces. swap 'em around, why not π¦-interactive Interactive (bool,1); default=1β toggles clipping with a widget vs. clipping with a pre-defined scalar field. two paths, one flag.-array ClipArrayName (str,1); default=Noneβ the name of the array to clip with when you're doing non-interactive clipping.-value ClipValue (float,1); default=0.0β the scalar value where the clipping happens, in the non-interactive case.-renderer vmtkRenderer (vmtkRenderer,1)β an external renderer, for when you've got your own.-ofile MeshOutputFileName (str,1)β filename for the default Mesh writer.-osurfacefile SurfaceOutputFileName (str,1)β filename for the default Surface writer.-oclippedfile ClippedMeshOutputFileName (str,1)β filename for the default ClippedMesh writer.
π«Ά Output arguments π«Ά
-id Id (str,1); default=0β the script id again. yes, it shows up in both lists. let it live π-handle Self (self,1)β handle to self again. same energy.-o Mesh (vtkUnstructuredGrid,1)β the output mesh π-osurface Surface (vtkPolyData,1)β the output surface corresponding to the cut βοΈ-oclipped ClippedMesh (vtkUnstructuredGrid,1)β the clipped mesh π
ngl bestie, three outputs means three files if you want 'em β-ofile,-osurfacefileand-oclippedfileare right there. no cap.
and that's the whole page, short and slay π
this lil cutie is vmtkmeshclipper version 1.5, dated April 2026, and it rolled in as part of the User Commands crew. love that for us πβοΈπ
π¦ 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