[Paraview] FW: Dayton
pat marion
pat.marion at kitware.com
Fri Oct 14 18:54:07 EDT 2011
You can use the python console instead of a plugin, if you want. Open the
python console under the Tools menu and execute:
filename = "foo.facet"
import vtkIOPython
r = vtkIOPython.vtkUGFacetReader()
r.SetFileName(filename)
r.Update()
t = TrivialProducer()
t.GetClientSideObject().SetOutput(r.GetOutput())
t.UpdatePipeline()
Show()
Note, this works for paraview in the standard client only mode. This will
not work when paraview is connected to a remote server.
Pat
On Fri, Oct 14, 2011 at 3:42 PM, Robert Maynard
<robert.maynard at kitware.com>wrote:
> Hi,
>
> Currently in ParaView you can't expose a new reader with a pure XML
> based plugin. I have added the feature to mantis so you can track the
> feature ( http://paraview.org/Bug/view.php?id=12657)
>
> In the meantime you will have build your own plugin which will require
> you too build your own version of ParaView or to use the developer
> release. I have included the necessary files to make the reader once
> you have the correct ParaView version.
>
> I would recommend reading the
> http://www.vtk.org/Wiki/ParaView/Plugin_HowTo page to understand how
> to build your own plugin.
>
> On Fri, Oct 14, 2011 at 10:06 AM, Robert Maynard
> <robert.maynard at kitware.com> wrote:
> > Sure give me a couple of minutes.
> >
> > On Fri, Oct 14, 2011 at 9:45 AM, Micah North
> > <micah.north at matrixresearch.com> wrote:
> >> Robert,
> >> Do you have an example file that I could use to build off of. I have
> >> almost no programming experience. I would really appreciate it.
> >> Micah
> >>
> >> On 10/14/11 9:40 AM, "Robert Maynard" <robert.maynard at kitware.com>
> wrote:
> >>
> >>>You can create an xml plugin that exposes the reader in ParaView. You
> >>>should read the wiki page on this at:
> >>>http://www.vtk.org/Wiki/ParaView/Plugin_HowTo#XML_Only
> >>>
> >>>
> >>>
> >>>On Fri, Oct 14, 2011 at 9:33 AM, Micah North
> >>><micah.north at matrixresearch.com> wrote:
> >>>> Robert,
> >>>> Is there a way that I can expose it. I really appreciate your help.
> >>>> Thanks
> >>>> Micah
> >>>>
> >>>> On 10/14/11 9:31 AM, "Robert Maynard" <robert.maynard at kitware.com>
> >>>>wrote:
> >>>>
> >>>>>Hi,
> >>>>>
> >>>>>VTK supports facet files with the vtkUGFacetReader which has not been
> >>>>>exposed in ParaView. I don't have any experience with the reader but I
> >>>>>don't see why we can't expose it.
> >>>>>
> >>>>>On Thu, Oct 13, 2011 at 9:04 PM, Moreland, Kenneth <kmorel at sandia.gov
> >
> >>>>>wrote:
> >>>>>> Does ParaView support .facet files? There appears to be one in VTK,
> >>>>>>some
> >>>>>> documentation suggests it should be there
> >>>>>> (http://www.vtk.org/Wiki/ParaView:FAQ), but ParaView does not seem
> to
> >>>>>>load
> >>>>>> them.
> >>>>>> -Ken
> >>>>>> From: Micah North <micah.north at matrixresearch.com>
> >>>>>> Date: Thu, 13 Oct 2011 18:12:50 -0400
> >>>>>> To: Kenneth Moreland <kmorel at sandia.gov>
> >>>>>> Subject: Dayton
> >>>>>>
> >>>>>> Dr. Moreland,
> >>>>>> I am engineer working at Matrix Research in Dayton, OH. I am trying
> >>>>>>to
> >>>>>>use
> >>>>>> Paraview, but am having difficulty opening a .facet file.
> >>>>>>Specificially,
> >>>>>> when I click on the file open button and locate the directory where
> >>>>>>the
> >>>>>>file
> >>>>>> is located, I can not see it. I then scroll down to show all files.
> >>>>>>When I
> >>>>>> click on the .facet file it asks for me to select a reader. So
> far,
> >>>>>>I
> >>>>>>have
> >>>>>> been unable to make the right selection. I am running ParaView 3.12
> >>>>>>on
> >>>>>>a
> >>>>>> Mac (using Lion).
> >>>>>> I really hate to bother you, but would really appreciate any help
> you
> >>>>>>could
> >>>>>> offer. Thank you very much for your time.
> >>>>>> Sincerely
> >>>>>> Micah North
> >>>>>> J. Micah North, PhD
> >>>>>> Matrix Research & Engineering
> >>>>>>
> >>>>>> 1300 Research Park Dr
> >>>>>>
> >>>>>> Dayton, OH 45432
> >>>>>>
> >>>>>> Micah.North at matrixresearch.com
> >>>>>>
> >>>>>> 937.427.8433 ext 145
> >>>>>>
> >>>>>> 937.470.3591 (cell)
> >>>>>>
> >>>>>> www.matrixresearch.com
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> _______________________________________________
> >>>>>> Powered by www.kitware.com
> >>>>>>
> >>>>>> Visit other Kitware open-source projects at
> >>>>>> http://www.kitware.com/opensource/opensource.html
> >>>>>>
> >>>>>> Please keep messages on-topic and check the ParaView Wiki at:
> >>>>>> http://paraview.org/Wiki/ParaView
> >>>>>>
> >>>>>> Follow this link to subscribe/unsubscribe:
> >>>>>> http://www.paraview.org/mailman/listinfo/paraview
> >>>>>>
> >>>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>--
> >>>>>Robert Maynard
> >>>>
> >>>>
> >>>
> >>>
> >>>
> >>>--
> >>>Robert Maynard
> >>
> >>
> >
> >
> >
> > --
> > Robert Maynard
> >
>
>
>
> --
> Robert Maynard
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20111014/38fe72aa/attachment.htm>
More information about the ParaView
mailing list