VMTKSURFACEDECIMATION(1)
π¦ 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 πΈ
-idId(str,1); default=0β the script id. every vmtk script's got one, it's giving social security number tbh.-handleSelf(self,1)β a handle to self. yeah she's got a handle to herself, we love a self-aware icon β¨-disabledDisabled(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.-iSurface(vtkPolyData,1)β THE input surface. the main character. the surface you want decimated π-ifileSurfaceInputFileName(str,1)β a filename, for the default Surface reader. so you can hand her a file instead of a live object, no cap.-reductionTargetReduction(float,1) >= 0.0 and <= 1.0; default=0.5β the desired number of triangles relative to the input number of triangles. so0.5means half the triangles. and yes, she said it: it has to be>= 0.0and<= 1.0, don't try to be cute with that range π-boundarydeletionBoundaryVertexDeletion(bool,1); default=0β toggles whether boundary point deletion is allowed. off by default, bestie.-ofileSurfaceOutputFileName(str,1)β a filename, for the default Surface writer. that's where the glow-up gets saved π
π Output arguments π
-idId(str,1); default=0β the script id again. yeah she shows up on both lists, she contains multitudes π«Ά-handleSelf(self,1)β handle to self, again. icon behaviour only.-oSurface(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
- 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