FW: [vtkusers] vtkAppendPolyData

Goodwin Lawlor goodwin.lawlor at ucd.ie
Tue Jun 17 11:09:19 EDT 2003


Could also be that vtkSTLReader is creating a copy of the vertex data for
each cell... use vtkCleanPolyData before the vtkSTLWriter.

HTH

Goodwin
----- Original Message -----
From: "Mathieu Malaterre" <Mathieu.Malaterre at creatis.insa-lyon.fr>
To: "R K Shyamprakash" <ramakrishna.prakash at quest-global.com>
Cc: "Vtkusers (E-mail)" <vtkusers at public.kitware.com>
Sent: Tuesday, June 17, 2003 2:27 PM
Subject: Re: FW: [vtkusers] vtkAppendPolyData


> Just a bet:
>
> vtkSTLWriter :: SetFileTypeToBinary ()
>
> HTH
> mathieu
>
> R K Shyamprakash wrote:
> > Further to my previous mail, the problem is not with vtkAppendPolyData
but
> > with vtkSTLWriter itself. I tried reading a .stl file and rewriting it
with
> > vtkSTLWriter(and doing nothing else). the original file size was 9MB.
but
> > the size of the file written with vtkSTLWriter is 36 MB. what could be
the
> > problem?
> >
> >
> >
> >
> > Hello,
> >           In my application I use vtkAppendPolyData to join two
polydata.
> > but I see that this increases the file size by great extent when I write
the
> > joined data into a file. The size of the original .STL file is 10 MB. I
cut
> > the model into smaller parts and again join them by vtkAppendpolyData,
then
> > write the data back into .stl file, the file size is nearly 100MB. How
to
> > solve this problem. Please help.
> >
> > Thanks
> > Shyam
> >
> > _______________________________________________
> > This is the private VTK discussion list.
> > Please keep messages on-topic. Check the FAQ at:
> > <http://public.kitware.com/cgi-bin/vtkfaq>
> > Follow this link to subscribe/unsubscribe:
> > http://public.kitware.com/mailman/listinfo/vtkusers
> >
> > _______________________________________________
> > This is the private VTK discussion list.
> > Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
> > Follow this link to subscribe/unsubscribe:
> > http://public.kitware.com/mailman/listinfo/vtkusers
> >
>
>
> --
> Mathieu Malaterre
> CREATIS
> 28 Avenue du Doyen LEPINE
> B.P. Lyon-Montchat
> 69394 Lyon Cedex 03
> http://www.creatis.insa-lyon.fr/~malaterre/
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers




More information about the vtkusers mailing list