Re: [vmtk-users] saving surface mesh segments
Brought to you by:
davidsteinman,
lucantiga
From: Luca A. <luc...@or...> - 2012-04-18 08:04:59
|
Hi Peter, indeed vmtksurfacecapper outputs different ids for the portions you are referring to. These ids are also used by vmtkmeshgenerator to generate the entity ids. In order to export portions of the surface based on these ids (which is what you are looking for, if I didn't get it wrong), you need help from Paraview. 1. Run vmtksurfacecapper on a surface and save it as a vtp file. 2. Open the surface with Paraview. 3. Use the Threshold filter with CellEntityIds as the thresholding array 4. Select a threshold range including one or more ids (2.5 - 3.5 for the id 3) 5. Apply the Extract Surface filter to the output of Threshold 6. Save the surface as STL (if you need it) Hope this helps Luca On Apr 17, 2012, at 12:43 PM, Peter Maday wrote: > Dear VMTK users, > > I would need to use VMTK to output a labeled STL file based on a > surface mesh of the vessels where the labels correspond to the > follwing segments: inlet cap, outlet caps, walls. > > I was wondering if it is possible to use the existing VMTK filters to > accomplish this. vmtksurfacecapper outputs different IDs for the > segments I am looking for however I am not sure if this array of IDs > can be used somehow to export different portions of the mesh > independently, or to save into a labeled surface mesh file directly. > > Thanks a lot, > Peter Maday > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > vmtk-users mailing list > vmt...@li... > https://lists.sourceforge.net/lists/listinfo/vmtk-users |