VMTKCENTERLINEMESHSECTIONS(1)
π 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 normal0,0,1and upNormal0,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,-vectorsarrayand-upnormalsarraydon'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
- 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