<div dir="ltr">Hi Gobbi, I finally got it working:<div><br></div><div><div> vtkSTLWriter exportador = vtkSTLWriter.New();</div><div>            exportador.SetFileName("test.stl");</div><div>            exportador.SetInputConnection(skinnormals.GetOutputPort());</div><div>            exportador.Update();</div><div>            exportador.Write();</div></div><div><br></div><div>skinnormals is a vtkPolyDataNormals object that holds the data I wanted to export.</div><div><br></div><div>Thanks!</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">El lun., 9 de may. de 2016 a la(s) 14:51, David Gobbi <<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>> escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Matias,<div><br></div><div>You can find a summary of VTK scene exporters here:</div><div><a href="http://www.vtk.org/doc/nightly/html/classvtkExporter.html" target="_blank">http://www.vtk.org/doc/nightly/html/classvtkExporter.html</a></div><div><br></div><div>That said, I don't quite understand your post.  You say "3D image",</div><div>but generally, a 3D image is not something that would be held by a</div><div>vtkPolyDataMapper, nor is it something that SolidWorks could use.</div><div>What, exactly, is the data that you want to export?</div></div><div dir="ltr"><div><br></div><div> - David</div></div><div dir="ltr"><div><br></div><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 9, 2016 at 11:10 AM, Matias Montroull <span dir="ltr"><<a href="mailto:matimontg@gmail.com" target="_blank">matimontg@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I'm currently using VTK to display a 3D image in a RenderWindow. </div><div><br></div><div>I also save in memory the 3D Image as Is there an easy way to export the image to a format that SolidWorks can read? (or any other format for other tools that can then export into SolidWorks).</div><div>I currently have a  vtkPolyDataMapper that hold the image and I use an actor to display.</div><div><br></div><div>Thanks,</div><div><br></div><div>Matias.</div></div><span><font color="#888888"><div dir="ltr">-- <br></div><div dir="ltr">Matias</div>
</font></span></blockquote></div><br></div></div></div></blockquote></div><div dir="ltr">-- <br></div><div dir="ltr">Matias</div>