VMTKSURFACEREMESHING(1)
π NAME π
vmtksurfaceremeshing β okay bestie, this is the vmtk script that takes your surface and remeshes it into quality triangles β¨ it is literally called vmtksurfaceremeshing, no cap.
β¨ DESCRIPTION β¨
So the way this works: it's an automatic piping vmtk script, and yes it does its own option parsing π the vibe is vmtksurfaceremeshing, and what it actually does is:
vmtksurfaceremeshing : remesh a surface using quality triangles π₯
That's the whole serve. You feed it a surface, you tell it how big/quality you want your triangles, and it hands you back a fresh, slay-worthy mesh. Let's do the options, because there are so many and honestly each one eats.
π Input arguments π
-idId (str,1); default=0β the script id. It's just here to identify the script, iconic behavior honestly.-handleSelf (self,1) β a handle to self. Self-care is a handle, keep it.-disabledDisabled (bool,1); default=0β turns off execution and piping. Set it and the whole thing justβ¦ doesn't. π-iSurface (vtkPolyData,1) β the input surface. Your main character.-ifileSurfaceInputFileName (str,1) β filename for the default Surface reader, in case you'd rather hand it a file than an object π-elementsizemodeElementSizeMode (str,1) in['area', 'edgelength', 'areaarray', 'edgelengtharray']; default=areaβ picks how this thing decides your element size. Area, edge length, or the array versions of either. Choose your fighter π-areaTargetArea (float,1)>= 0.0; default=1.0β your target area. Bigger number = bigger triangles.-areaarrayTargetAreaArrayName (str,1); default=TargetAreaβ the name of the array it reads target areas from, when you're going the array route.-edgelengthTargetEdgeLength (float,1)>= 0.0; default=1.0β the target edge length, for when you're sizing by edge instead of area π¦-edgelengtharrayTargetEdgeLengthArrayName (str,1) β same energy as-areaarray, but for edge lengths.-areafactorTargetAreaFactor (float,1)>= 0.0; default=1.0β multiplies your target area. A lil glow-up factor β¨-edgelengthfactorTargetEdgeLengthFactor (float,1)>= 0.0; default=1.0β the multiplier for target edge length.-trianglesplitfactorTriangleSplitFactor (float,1)>= 0.0; default=5.0β controls triangle splitting. Default is a whole5.0, we love a dramatic default.-maxareaMaxArea (float,1)>= 0.0; default=1e+16β the biggest area allowed. That default is essentially "the sky is the limit," fr fr.-minareaMinArea (float,1)>= 0.0; default=0.0β the smallest area allowed. Floor's at zero, bestie.-iterationsNumberOfIterations (int,1)>= 0; default=10β how many iterations of the remeshing. Ten queen.-connectivityiterationsNumberOfConnectivityOptimizationIterations (int,1)>= 0; default=20β extra rounds purely for connectivity optimization. Twenty. It's thorough and we respect it.-entityidsarrayCellEntityIdsArrayName (str,1); default=Noneβ the name of the cell entity ids array. Defaults toNone, as in nothing, as in no array, as in she's free π-aspectratioAspectRatioThreshold (float,1)>= 0.0; default=1.2β the aspect ratio threshold for the quality vibe check.-minareafactorMinAreaFactor (float,1)>= 0.0; default=0.5β the min area factor.-internalangletoleranceInternalAngleTolerance (float,1)>= 0.0; default=0.0β how much internal angle weirdness you'll tolerate. Default tolerance is literally zero, she has boundaries π-normalangletoleranceNormalAngleTolerance (float,1)>= 0.0; default=0.2β tolerance for normal angle differences.-collapseangleCollapseAngleThreshold (float,1)>= 0.0; default=0.2β the threshold angle at which edges get collapsed.-relaxationRelaxation (float,1)>= 0.5; default=0.5β the relaxation value. Note the minimum is0.5, so you can't relax any harder than that. Slow down, breathe, hydrate π§-excludeExcludeEntityIds (int,-1); default=[]β the entity ids to exclude. Default is an empty list, meaning exclude nobody, everyone's invited to the party π-preserveboundaryPreserveBoundaryEdges (bool,1); default=0β keep those boundary edges exactly where they are. Off by default, so if you want your borders preserved you have to say so out loud.-ofileSurfaceOutputFileName (str,1) β filename for the default Surface writer. Where your gorgeous new mesh goes π«Ά
π¦ Output arguments π¦
-idId (str,1); default=0β script id again. Yes, it appears in both sections. She contains multitudes.-handleSelf (self,1) β handle to self, output edition.-oSurface (vtkPolyData,1) β π₯ the output surface π₯ the remeshed, quality-triangle, main-character result. This is the one you've been waiting for, periodt.
heads up bestie: piping is baked in, so these scripts pass surfaces around between each other like it's a group chat β¨
k byeee, that was vmtksurfaceremeshing from the vmtk crew π β this page is version 1.5, dated April 2026, and it's filed under VMTKSURFACEREMESHING(1) in the User Commands section. go remesh something gorgeous, ily, you got this ππβ
π¦ 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