VMTKCENTERLINEMESHSECTIONS(1)

πŸ“¦ version 1.5.0, in ubuntu stonking

πŸ’– VMTKCENTERLINEMESHSECTIONS(1) πŸ’–

okay bestie, welcome to vmtkcenterlinemeshsections β€” it's a User Command, it's a vmtk script, and it's literally about to slice your mesh into the cutest little sections along your centerlines. no cap. ✨


🌸 NAME 🌸

vmtkcenterlinemeshsections β€” it's the vmtk script called vmtkcenterlinemeshsections, periodt.


πŸ¦‹ DESCRIPTION πŸ¦‹

Automatic piping vmtkcenterlinemeshsections Parsing options vmtkcenterlinemeshsections.

vmtkcenterlinemeshsections : extract mesh sections along centerlines.

The script takes in input the mesh and the relative centerlines.


πŸŽ€ Input arguments πŸŽ€

  • -id Id (str,1); default=0 β€” the script id, it's giving identifier energy πŸ’…
  • -handle Self (self,1) β€” a handle to self, self-care fr fr 🫢
  • -disabled Disabled (bool,1); default=0 β€” disable execution and piping
  • -i Mesh (vtkUnstructuredGrid,1) β€” the input mesh, the main character of this whole operation πŸ‘‘
  • -ifile MeshInputFileName (str,1) β€” filename for the default Mesh reader
  • -centerlines Centerlines (vtkPolyData,1) β€” the input centerlines, we love a supportive side character 🌈
  • -centerlinesfile CenterlinesInputFileName (str,1) β€” filename for the default Centerlines reader
  • -source SectionSource (vtkPolyData,1) β€” the input section source with which to probe the mesh (optional, no pressure babe πŸ™ˆ)
  • -sourcefile SectionSourceInputFileName (str,1) β€” filename for the default SectionSource reader
  • -usesource UseSectionSource (bool,1); default=False β€” if off, slice mesh with plane to generate sections; if on, use the SectionSource to probe the mesh
  • -sourcescaling SourceScaling (bool,1); default=False β€” toggle scaling the source with the local radius, tiny source for tiny radius, it's proportional bestie ✨
  • -transformsections TransformSections (bool,1); default=False β€” transform sections so that they are at the origin, with normal 0,0,1 and upNormal 0,1,0
  • -sectionidsarray SectionIdsArrayName (str,1); default=SectionIds β€” the name of the array where the ids identifying sections are stored
  • -normalsarray SectionNormalsArrayName (str,1); default=SectionNormals β€” the name of the array where normals determining the section planes are stored
  • -upnormalsarray SectionUpNormalsArrayName (str,1) β€” the name of the array where normals determining the "up" orientation of sections are stored, which way is up?? we gotta know ⬆️
  • -additionalnormalsarray AdditionalNormalsArrayName (str,1); default=None β€” the name of the array that contains normals that will be transformed and assigned to additional data points
  • -additionalscalarsarray AdditionalScalarsArrayName (str,1); default=None β€” the name of the array that contains scalars that will be assigned to additional data points
  • -vectorsarray VectorsArrayName (str,1) β€” the name of the array where vectors, e.g. velocity vectors, are stored, zoom zoom πŸ”₯
  • -originoffset OriginOffset (float,3); default=[0.0, 0.0, 0.0] β€” offset of subsequent sections after transformation
  • -ofile CenterlineSectionsOutputFileName (str,1) β€” filename for the default CenterlineSections writer
  • -sectionpointsfile SectionPointsPolyDataOutputFileName (str,1) β€” filename for the default SectionPointsPolyData writer

πŸ’œ Output arguments πŸ’œ

  • -id Id (str,1); default=0 β€” script id, she's back and she's still just an id 😭
  • -handle Self (self,1) β€” handle to self
  • -o CenterlineSections (vtkPolyData,1) β€” the output sections, the whole point of this, slay πŸ’…
  • -sectionpoints SectionPointsPolyData (vtkPolyData,1) β€” the additional output poly data storing information about the location and orientation of sections

okay so real talk: -source, -sourcefile, -additionalnormalsarray, -additionalscalarsarray, -vectorsarray and -upnormalsarray don't have a default listed, so don't come for me if you leave them off and things get weird. input the mesh and the relative centerlines, that's the vibe check. 🫢

and that's the tea, bestie β€” this is vmtkcenterlinemeshsections version 1.5, dated April 2026, brought to you by the fine folks in User Commands. go forth and section your meshes, you absolute icon πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…

πŸ“¦ where this page comes from