<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>
<div>
<div>I also added a bug to add a facet reader to ParaView. &nbsp;Per Robert's comments, it should be easy to add.</div>
<div><br>
</div>
<div>http://paraview.org/Bug/view.php?id=12658</div>
<div><br>
</div>
<div>-Ken</div>
<div>
<div><br>
</div>
</div>
</div>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>pat marion &lt;<a href="mailto:pat.marion@kitware.com">pat.marion@kitware.com</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Fri, 14 Oct 2011 18:54:07 -0400<br>
<span style="font-weight:bold">To: </span>Robert Maynard &lt;<a href="mailto:robert.maynard@kitware.com">robert.maynard@kitware.com</a>&gt;<br>
<span style="font-weight:bold">Cc: </span>Micah North &lt;<a href="mailto:micah.north@matrixresearch.com">micah.north@matrixresearch.com</a>&gt;, ParaView &lt;<a href="mailto:paraview@paraview.org">paraview@paraview.org</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>Re: [Paraview] FW: Dayton<br>
</div>
<div><br>
</div>
You can use the python console instead of a plugin, if you want.&nbsp; Open the python console under the Tools menu and execute:<br>
<br>
filename = &quot;foo.facet&quot;<br>
<br>
import vtkIOPython<br>
r = vtkIOPython.vtkUGFacetReader()<br>
r.SetFileName(filename)<br>
r.Update()<br>
t = TrivialProducer()<br>
t.GetClientSideObject().SetOutput(r.GetOutput())<br>
t.UpdatePipeline()<br>
Show()<br>
<br>
<br>
Note, this works for paraview in the standard client only mode.&nbsp; This will not work when paraview is connected to a remote server.<br>
<br>
Pat<br>
<br>
<div class="gmail_quote">On Fri, Oct 14, 2011 at 3:42 PM, Robert Maynard <span dir="ltr">
&lt;<a href="mailto:robert.maynard@kitware.com">robert.maynard@kitware.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<br>
Currently in ParaView you can't expose a new reader with a pure XML<br>
based plugin. I have added the feature to mantis so you can track the<br>
feature ( <a href="http://paraview.org/Bug/view.php?id=12657" target="_blank">http://paraview.org/Bug/view.php?id=12657</a>)<br>
<br>
In the meantime you will have build your own plugin which will require<br>
you too build your own version of ParaView or to use the developer<br>
release. &nbsp;I have included the necessary files to make the reader once<br>
you have the correct ParaView version.<br>
<br>
I would recommend reading the<br>
<a href="http://www.vtk.org/Wiki/ParaView/Plugin_HowTo" target="_blank">http://www.vtk.org/Wiki/ParaView/Plugin_HowTo</a> page to understand how<br>
to build your own plugin.<br>
<br>
On Fri, Oct 14, 2011 at 10:06 AM, Robert Maynard<br>
<div>
<div></div>
<div class="h5">&lt;<a href="mailto:robert.maynard@kitware.com">robert.maynard@kitware.com</a>&gt; wrote:<br>
&gt; Sure give me a couple of minutes.<br>
&gt;<br>
&gt; On Fri, Oct 14, 2011 at 9:45 AM, Micah North<br>
&gt; &lt;<a href="mailto:micah.north@matrixresearch.com">micah.north@matrixresearch.com</a>&gt; wrote:<br>
&gt;&gt; Robert,<br>
&gt;&gt; Do you have an example file that I could use to build off of. &nbsp;I have<br>
&gt;&gt; almost no programming experience. &nbsp;I would really appreciate it.<br>
&gt;&gt; Micah<br>
&gt;&gt;<br>
&gt;&gt; On 10/14/11 9:40 AM, &quot;Robert Maynard&quot; &lt;<a href="mailto:robert.maynard@kitware.com">robert.maynard@kitware.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt;You can create an xml plugin that exposes the reader in ParaView. You<br>
&gt;&gt;&gt;should read the wiki page on this at:<br>
&gt;&gt;&gt;<a href="http://www.vtk.org/Wiki/ParaView/Plugin_HowTo#XML_Only" target="_blank">http://www.vtk.org/Wiki/ParaView/Plugin_HowTo#XML_Only</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;On Fri, Oct 14, 2011 at 9:33 AM, Micah North<br>
&gt;&gt;&gt;&lt;<a href="mailto:micah.north@matrixresearch.com">micah.north@matrixresearch.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt; Robert,<br>
&gt;&gt;&gt;&gt; Is there a way that I can expose it. &nbsp;I really appreciate your help.<br>
&gt;&gt;&gt;&gt; Thanks<br>
&gt;&gt;&gt;&gt; Micah<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On 10/14/11 9:31 AM, &quot;Robert Maynard&quot; &lt;<a href="mailto:robert.maynard@kitware.com">robert.maynard@kitware.com</a>&gt;<br>
&gt;&gt;&gt;&gt;wrote:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;Hi,<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;VTK supports facet files with the vtkUGFacetReader which has not been<br>
&gt;&gt;&gt;&gt;&gt;exposed in ParaView. I don't have any experience with the reader but I<br>
&gt;&gt;&gt;&gt;&gt;don't see why we can't expose it.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;On Thu, Oct 13, 2011 at 9:04 PM, Moreland, Kenneth &lt;<a href="mailto:kmorel@sandia.gov">kmorel@sandia.gov</a>&gt;<br>
&gt;&gt;&gt;&gt;&gt;wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt; Does ParaView support .facet files? &nbsp;There appears to be one in VTK,<br>
&gt;&gt;&gt;&gt;&gt;&gt;some<br>
&gt;&gt;&gt;&gt;&gt;&gt; documentation suggests it should be there<br>
&gt;&gt;&gt;&gt;&gt;&gt; (<a href="http://www.vtk.org/Wiki/ParaView:FAQ" target="_blank">http://www.vtk.org/Wiki/ParaView:FAQ</a>), but ParaView does not seem to<br>
&gt;&gt;&gt;&gt;&gt;&gt;load<br>
&gt;&gt;&gt;&gt;&gt;&gt; them.<br>
&gt;&gt;&gt;&gt;&gt;&gt; -Ken<br>
&gt;&gt;&gt;&gt;&gt;&gt; From: Micah North &lt;<a href="mailto:micah.north@matrixresearch.com">micah.north@matrixresearch.com</a>&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Date: Thu, 13 Oct 2011 18:12:50 -0400<br>
&gt;&gt;&gt;&gt;&gt;&gt; To: Kenneth Moreland &lt;<a href="mailto:kmorel@sandia.gov">kmorel@sandia.gov</a>&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Subject: Dayton<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Dr. Moreland,<br>
&gt;&gt;&gt;&gt;&gt;&gt; I am engineer working at Matrix Research in Dayton, OH. &nbsp;I am trying<br>
&gt;&gt;&gt;&gt;&gt;&gt;to<br>
&gt;&gt;&gt;&gt;&gt;&gt;use<br>
&gt;&gt;&gt;&gt;&gt;&gt; Paraview, but am having difficulty opening a .facet file.<br>
&gt;&gt;&gt;&gt;&gt;&gt;Specificially,<br>
&gt;&gt;&gt;&gt;&gt;&gt; when I click on the file open button and locate the directory where<br>
&gt;&gt;&gt;&gt;&gt;&gt;the<br>
&gt;&gt;&gt;&gt;&gt;&gt;file<br>
&gt;&gt;&gt;&gt;&gt;&gt; is located, I can not see it. &nbsp;I then scroll down to show all files.<br>
&gt;&gt;&gt;&gt;&gt;&gt;When I<br>
&gt;&gt;&gt;&gt;&gt;&gt; click on the .facet file it asks for me to select a reader. &nbsp; So far,<br>
&gt;&gt;&gt;&gt;&gt;&gt;I<br>
&gt;&gt;&gt;&gt;&gt;&gt;have<br>
&gt;&gt;&gt;&gt;&gt;&gt; been unable to make the right selection. &nbsp;I am running ParaView 3.12<br>
&gt;&gt;&gt;&gt;&gt;&gt;on<br>
&gt;&gt;&gt;&gt;&gt;&gt;a<br>
&gt;&gt;&gt;&gt;&gt;&gt; Mac (using Lion).<br>
&gt;&gt;&gt;&gt;&gt;&gt; I really hate to bother you, but would really appreciate any help you<br>
&gt;&gt;&gt;&gt;&gt;&gt;could<br>
&gt;&gt;&gt;&gt;&gt;&gt; offer. &nbsp;Thank you very much for your time.<br>
&gt;&gt;&gt;&gt;&gt;&gt; Sincerely<br>
&gt;&gt;&gt;&gt;&gt;&gt; Micah North<br>
&gt;&gt;&gt;&gt;&gt;&gt; J. Micah North, PhD<br>
&gt;&gt;&gt;&gt;&gt;&gt; Matrix Research &amp; Engineering<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; 1300 Research Park Dr<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Dayton, OH 45432<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="mailto:Micah.North@matrixresearch.com">Micah.North@matrixresearch.com</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="tel:937.427.8433%20ext%20145" value="&#43;19374278433">937.427.8433 ext 145</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="tel:937.470.3591" value="&#43;19374703591">937.470.3591</a> (cell)<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="http://www.matrixresearch.com" target="_blank">www.matrixresearch.com</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt;&gt;&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Visit other Kitware open-source projects at<br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">
http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Please keep messages on-topic and check the ParaView Wiki at:<br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">
http://www.paraview.org/mailman/listinfo/paraview</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;--<br>
&gt;&gt;&gt;&gt;&gt;Robert Maynard<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;--<br>
&gt;&gt;&gt;Robert Maynard<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Robert Maynard<br>
&gt;<br>
<br>
<br>
<br>
</div>
</div>
<font color="#888888">--<br>
Robert Maynard<br>
</font><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">
http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">
http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br>
</blockquote>
</div>
<br>
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at
<a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a> Please keep messages on-topic and check the ParaView Wiki at:
<a href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a> Follow this link to subscribe/unsubscribe:
<a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a>
</span>
</body>
</html>