[vtkusers] create stl file with labeled parts

Ali Habib ali.mahmoud.habib at gmail.com
Sun Dec 5 15:01:33 EST 2010


Dear David

I use vtkboxwidget for selection and the vtkClipPolyData to get
the selected points

I will save the whole surface but I want to distinguish the parts
using labels for further analysis in FE programs like ansys

is their a way to near that

Best regards

On Sun, Dec 5, 2010 at 9:50 PM, David Doria <daviddoria at gmail.com> wrote:

> On Sun, Dec 5, 2010 at 2:31 PM, Ali Habib <ali.mahmoud.habib at gmail.com>
> wrote:
> > Dear All,
> > I have an ISO surface that I generated using marching cube and I want to
> > save it as STL file after I divide it to 3 labelled surfaces
> > for example I need to select the mandible to be part1, maxilla part2 neck
> > part 3
> >
> > any suggestion to do that please
> > best regards
>
> You could label the three parts by adding an array to the point or
> cell data, something like this:
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/MiscCellData
>
> I don't know how you intend to determine the three regions though.
>
> David
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101205/1ed8155f/attachment.htm>


More information about the vtkusers mailing list