<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
The STL file format requires that the cone's cap be composed strictly
of a triangular mesh -- not an n-gon approximating a circle.
<a class="moz-txt-link-freetext" href="http://www.ennex.com/~fabbers/StL.asp">http://www.ennex.com/~fabbers/StL.asp</a> You need an algorithm to
generate a triangular mesh which fills-in the circular base of the
cone. <a
href="http://www.vtk.org/doc/nightly/html/classvtkTriangleFilter.html">vtkTriangleFilte</a>r()?<br>
<br>
Here's a pipeline I use to successfully generate STL files from the
vtkContourFilter():<br>
<a class="moz-txt-link-freetext" href="http://www.isl.uiuc.edu/~sdickson/Julia/Zoetrope3.html">http://www.isl.uiuc.edu/~sdickson/Julia/Zoetrope3.html</a><br>
<font size="-1"><font size="+1"><font size="-1"><font size="+1"><a
href="http://www.vtk.org/doc/nightly/html/classvtkImageReader.html">vtkImageReader</a>
[raw UnsignedChar; DataSpacing 0.00585938 -- Data size: 52,428,800
BYTES] ->
<a href="http://www.vtk.org/doc/nightly/html/classvtkContourFilter.html">
vtkContourFilter</a> [Value 0 16; ComputeScalarsOn] ->
<a href="http://www.vtk.org/doc/nightly/html/classvtkCleanPolyData.html">vtkCleanPolyData</a>
->
<a
href="http://www.vtk.org/doc/nightly/html/classvtkTriangleFilter.html">vtkTriangleFilter</a>
->
<a href="http://www.vtk.org/doc/nightly/html/classvtkSTLWriter.html">vtkSTLWriter</a>
[FileType 2/Binary]</font></font></font></font><br>
<br>
-Stewart <a class="moz-txt-link-freetext" href="http://us.imdb.com/Name?Stewart+Dickson">http://us.imdb.com/Name?Stewart+Dickson</a><br>
<a class="moz-txt-link-freetext" href="http://emsh.calarts.edu/~mathart/R_Proto_ref.html">http://emsh.calarts.edu/~mathart/R_Proto_ref.html</a><br>
<a class="moz-txt-link-freetext" href="http://www.isl.uiuc.edu/~sdickson">http://www.isl.uiuc.edu/~sdickson</a><br>
<a class="moz-txt-link-freetext" href="http://emsh.calarts.edu/~mathart/MathArt_siteMap.html">http://emsh.calarts.edu/~mathart/MathArt_siteMap.html</a><br>
<br>
Lior A wrote:
<blockquote cite="mid:215359.17989.qm@web51908.mail.re2.yahoo.com"
type="cite">
<pre wrap="">Hello!
I used the "cone" example that comes with the VTK source code.
I added code that exports the cone to STL format.
But no matter if my cone had capping or not, In the STL I got it without capping (I got a surface instead of a solid)
Has anyone had this problem before?
How can I solve it?
Thanks,
Lior.
____________________________________________________________________________________
Get easy, one-click access to your favorites.
Make Yahoo! your homepage.
<a class="moz-txt-link-freetext" href="http://www.yahoo.com/r/hs">http://www.yahoo.com/r/hs</a>
_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at: <a class="moz-txt-link-freetext" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a>
Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a>
</pre>
</blockquote>
<br>
</body>
</html>