VMTKSURFACEBOOLEANOPERATION(1)
π NAME π
vmtksurfacebooleanoperation β bestie, it's a vmtk script, and yes the script is literally just called vmtksurfacebooleanoperation, we're keeping it π
β¨ DESCRIPTION β¨
okay so listen. vmtksurfacebooleanoperation does automatic piping, and it does it so well. Not to be that girl but the vibes here are: the script parses your options, sets up the piping, and handles all the vmtksurfacebooleanoperation business for you. no cap. π«Ά
here's the whole deal, in one breath:
vmtksurfacebooleanoperation : perform a boolean operation between two
- surfaces
fr fr, that's the entire assignment. two surfaces walk in, one surface walks out. main character energy π
π§ Input arguments:
-idId (str,1); default=0β the script id, iykyk β¨-handleSelf (self,1) β handle to self, it's giving very self-aware of it tbh πͺ-disabledDisabled (bool,1); default=0β flip this and you disable execution and piping. like, it just stops doing the thing. lowkey useful, highkey chaotic π-iSurface (vtkPolyData,1) β the input surface. this is surface number one, the moment π-ifileSurfaceInputFileName (str,1) β filename for the default Surface reader π-i2Surface2 (vtkPolyData,1) β the second input surface. yes bestie, you need two, it's a two surface kind of operation π¦-i2fileSurface2InputFileName (str,1) β filename for the default Surface2 reader π-toleranceTolerance (float,1) >=0.0; default=1e-06β the tolerance for considering two points coincident. so like, how close do two points gotta be before we're like "okay same point, periodt"? that's this number. and it's gotta be >=0.0, no negatives, we don't do that here β-operationOperation (str,1) in['union', 'intersection', 'difference']; default=unionβ the boolean operation to be performed. union, intersection, or difference, pick your fighter π-methodMethod (str,1) in['default', 'loop']; default=defaultβ the method used for the boolean operation π₯-ofileSurfaceOutputFileName (str,1) β filename for the default Surface writer βοΈ
π Output arguments:
-idId (str,1); default=0β the script id (yes again, she contains multitudes)-handleSelf (self,1) β handle to self (also again, obsessed with the consistency)-oSurface (vtkPolyData,1) β the output surface. THE moment. the glow-up. the one that gets written out πβ¨
ngl bestie, if you're piping these scripts together, remember-id,-handleand-disabledshow up in both the input and output lists, and that's not a typo, that's just how the piping works. π«Ά
that's the whole page, and you ate it π
sign-off time: this was vmtksurfacebooleanoperation, version 1.5, dated April 2026, and the manual page header/footer situation was literally just the title and the version doing a little mirror thing on either end. slay. π
π¦ 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