<div dir="ltr">Cory,<div><br></div><div>Thanks for your response. The data I am trying to visualize is from a 2D time dependent simulation so there is a good amount of data. I am using finite elements but the specific method in which I am using doesn't have a 2D mesh in the traditional sense - so typical visualization methods for finite elements are kind of moot. </div><div><br></div><div>I was hoping that I would be able to directly output the data into some form of vtk object that I could then use to visualize in a surface plot in Paraview/Visit. That way I could adjust camera angles, color schemes, etc and make everything into a movie to show the time dependent behavior. The reason I was hoping to avoid to have to process raw data (e.g. through csv files) is that the simulation simply outputs a lot of data (on the order of 10s of gigabytes) and post processing it directly in Paraview could be expensive. </div><div><br></div><div>What do you think? </div><div><br></div><div>-- Tony</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 12, 2017 at 7:18 AM, Cory Quammen <span dir="ltr"><<a href="mailto:cory.quammen@kitware.com" target="_blank">cory.quammen@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Anthony,<br>
<br>
To my knowledge, exporting plots is not supported, especially<br>
exporting to an OBJ file, which is a geometry format.<br>
<br>
What do you hope to achieve by importing into ParaView/VisIt? Could<br>
you do your visualization in those tools to begin with?<br>
<br>
- Cory<br>
<div><div class="h5"><br>
On Mon, Sep 11, 2017 at 1:59 PM, Alberti, Anthony Lewis<br>
<<a href="mailto:albertia@oregonstate.edu">albertia@oregonstate.edu</a>> wrote:<br>
> Hello all,<br>
><br>
> I'm using VTK 8.0.1 and python 3.5 and am brand new to VTK. I am trying to<br>
> export a surface plot using vtkPlotSurface.<br>
><br>
> By referencing VTK-8.0.1/Charts/Core/Testing/<wbr>Cxx/TestSurfacePlot.cxx I have<br>
> successfully created a surface plot and have been able to render it in<br>
> python (even though it doesn't really look like a surface plot) - see<br>
> attached script.<br>
><br>
> In order to better visualize what I've made, I wanted to try and export it<br>
> and then visualize using Paraview/Visit. However, I'm struggling to find any<br>
> concrete examples where this type of vtk object is exported...<br>
><br>
> I have tried running the following:<br>
> out = vtk.vtkOBJExporter()<br>
> out.SetFilePrefix("test")<br>
> out.SetInput(chart)<br>
> out.Write()<br>
><br>
> But end up with the following type error:<br>
> TypeError: SetInput argument 1: method requires a vtkRenderWindow, a<br>
> vtkContextView was provided.<br>
><br>
> Can anyone provide assistance? Thanks in advance.<br>
> -- Tony<br>
><br>
><br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the VTK FAQ at:<br>
> <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
><br>
> Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Cory Quammen<br>
Staff R&D Engineer<br>
Kitware, Inc.<br>
</font></span></blockquote></div><br></div>