From utkarsh.ayachit at kitware.com Tue Nov 1 08:45:08 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 1 Nov 2016 08:45:08 -0400 Subject: [Paraview] Compute line between coordinates In-Reply-To: References: Message-ID: Assuming both the coordinates are stored in separate CSV files, there what you can do: 1. Open both the files, one after another. 2. Select both in the Pipeline Browser, and then create "Python Calculator" with the following expression: `inputs[1].Points - inputs[0].Points` 3. Now apply the Glyph filter and set `Vectors` to result and change Scale Factor to 1 and `Scale Mode` to `vector`. Example state file attached. On Mon, Oct 31, 2016 at 10:09 PM, Dorian Pustina wrote: > Hello everyone, > > I am working on visualizing some brain imaging data. I have a bunch of > points in 3D space, which have two sets of coordinates: x1/y1/z1 and > x2/y2/z2. All I need is to show arrow glyphs starting from the first > coordinate and ending to the second coordinate. I currently import the data > as csv. I tried using the time series option, and I can loop through the two > time points, but can't find how to model a line or an arrow for each point > between the two times. I also tried to compute what is called "velocity > fields", that is a set of 3 scalar factors that if multiplied with the > original coordinates would yield the second coordinate (using Calculator): > iHat*X snapped+jHat*Y snapped+kHat*Z snapped > > Still, I don't get reasonable results. The problem looks trivial but I > couldn't find any solution online after hours of search. It is not even > clear to me what does the above formula do exactly. > > Can someone help if this is possible? > > Dorian > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- A non-text attachment was scrubbed... Name: arrows.pvsm Type: application/octet-stream Size: 221770 bytes Desc: not available URL: From kmorel at sandia.gov Tue Nov 1 10:20:10 2016 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Tue, 1 Nov 2016 14:20:10 +0000 Subject: [Paraview] Compute line between coordinates Message-ID: If you want to draw a line from point positions at two subsequent time steps, you can use the Temporal Particles To Pathlines filter, which traces a line behind particles as they move through space and time. When you use this filter for your purposes, set Mask Points to 1 and Max Track Length to 2. (You can increase Max Track Length to lengthen the line to connect more than 2 timesteps.) Note that you will not see any lines until you step time. The Temporal Particles to Pathlines filter actually has two outputs. The first, named Pathlines, contains the lines. The second, named Particles, is a point at the end position of the line. You can add a glyph to this output to create arrow-like filters. -Ken From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Dorian Pustina Sent: Monday, October 31, 2016 8:09 PM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Compute line between coordinates Hello everyone, I am working on visualizing some brain imaging data. I have a bunch of points in 3D space, which have two sets of coordinates: x1/y1/z1 and x2/y2/z2. All I need is to show arrow glyphs starting from the first coordinate and ending to the second coordinate. I currently import the data as csv. I tried using the time series option, and I can loop through the two time points, but can't find how to model a line or an arrow for each point between the two times. I also tried to compute what is called "velocity fields", that is a set of 3 scalar factors that if multiplied with the original coordinates would yield the second coordinate (using Calculator): iHat*X snapped+jHat*Y snapped+kHat*Z snapped Still, I don't get reasonable results. The problem looks trivial but I couldn't find any solution online after hours of search. It is not even clear to me what does the above formula do exactly. Can someone help if this is possible? Dorian -------------- next part -------------- An HTML attachment was scrubbed... URL: From albnet at gmail.com Tue Nov 1 11:34:27 2016 From: albnet at gmail.com (Dorian Pustina) Date: Tue, 1 Nov 2016 11:34:27 -0400 Subject: [Paraview] Compute line between coordinates In-Reply-To: References: Message-ID: Thank you both for the suggestions. I managed to have the arrows via python calculator, but couldn't make the Temporal Particles to Pathlines filter produce arrows. Can I bug you with another question? I want to apply a Slice filter to see the arrows that depart from that slice. But the filter in Paraview just cuts through the objects in that slice, it doesn't show the whole arrows. It also does not have any tolerance (i.e., to pick points 2mm before and after the slice). Is there another way to get a slice with full arrows, and have some tolerance to pick up more points before and after the slice? On Tue, Nov 1, 2016 at 10:20 AM, Moreland, Kenneth wrote: > If you want to draw a line from point positions at two subsequent time > steps, you can use the Temporal Particles To Pathlines filter, which traces > a line behind particles as they move through space and time. When you use > this filter for your purposes, set Mask Points to 1 and Max Track Length to > 2. (You can increase Max Track Length to lengthen the line to connect more > than 2 timesteps.) Note that you will not see any lines until you step time. > > > > The Temporal Particles to Pathlines filter actually has two outputs. The > first, named Pathlines, contains the lines. The second, named Particles, is > a point at the end position of the line. You can add a glyph to this output > to create arrow-like filters. > > > > -Ken > > > > *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Dorian > Pustina > *Sent:* Monday, October 31, 2016 8:09 PM > *To:* paraview at paraview.org > *Subject:* [EXTERNAL] [Paraview] Compute line between coordinates > > > > Hello everyone, > > > > I am working on visualizing some brain imaging data. I have a bunch of > points in 3D space, which have two sets of coordinates: x1/y1/z1 and > x2/y2/z2. All I need is to show arrow glyphs starting from the first > coordinate and ending to the second coordinate. I currently import the data > as csv. I tried using the time series option, and I can loop through the > two time points, but can't find how to model a line or an arrow for each > point between the two times. I also tried to compute what is called > "velocity fields", that is a set of 3 scalar factors that if multiplied > with the original coordinates would yield the second coordinate (using > Calculator): > > iHat*X snapped+jHat*Y snapped+kHat*Z snapped > > > > Still, I don't get reasonable results. The problem looks trivial but I > couldn't find any solution online after hours of search. It is not even > clear to me what does the above formula do exactly. > > > > Can someone help if this is possible? > > > > Dorian > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Tue Nov 1 11:42:52 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Tue, 1 Nov 2016 11:42:52 -0400 Subject: [Paraview] Superbuild WIKI page In-Reply-To: References: Message-ID: Hi Rick, It looks like you caught us in transition moving the build instructions from the wiki to the paraview-superbuild repository. We have just added build instructions from the README.md file located at: https://gitlab.kitware.com/paraview/paraview-superbuild/blob/master/README.md The previous version of the instructions on the wiki are available here: http://www.paraview.org/Wiki/index.php?title=ParaView/Superbuild&oldid=59804 Please let us know if you have any additional questions. Thanks, Cory On Fri, Oct 28, 2016 at 8:35 AM, Angelini, Richard C (Rick) CIV USARMY RDECOM ARL (US) wrote: > I went to the Paraview SuperBuild page and found this message: > > "Updated for ParaView Superbuild have moved to the source repository > starting with ParaView 5.2. For docs for earlier versions, please check out > the history tab for this page." > > > If I follow the link to the source repository page, there are no > instructions for how to build using Superbuild, no instructions how to > obtain the source or to checkout a specific release. Am I missing > something? > > ________________________________ > Rick Angelini > USArmy Research Laboratory > CISD/HPC Architectures Team > Phone: 410-278-6266 > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From richard.c.angelini.civ at mail.mil Tue Nov 1 11:56:03 2016 From: richard.c.angelini.civ at mail.mil (Angelini, Richard C (Rick) CIV USARMY RDECOM ARL (US)) Date: Tue, 1 Nov 2016 15:56:03 +0000 Subject: [Paraview] [Non-DoD Source] Re: Superbuild WIKI page In-Reply-To: References: Message-ID: Cory thanks for the update and the pointer. ________________________________ Rick Angelini USArmy Research Laboratory CISD/HPC Architectures Team Phone: 410-278-6266 -----Original Message----- From: Cory Quammen Date: Tuesday, November 1, 2016 at 11:42 AM To: Rick Angelini Cc: "paraview at paraview.org" Subject: [Non-DoD Source] Re: [Paraview] Superbuild WIKI page All active links contained in this email were disabled. Please verify the identity of the sender, and confirm the authenticity of all links contained within the message prior to copying and pasting the address to a Web browser. ---- Hi Rick, It looks like you caught us in transition moving the build instructions from the wiki to the paraview-superbuild repository. We have just added build instructions from the README.md file located at: Caution-https://gitlab.kitware.com/paraview/paraview-superbuild/blob/master /README.md The previous version of the instructions on the wiki are available here: Caution-http://www.paraview.org/Wiki/index.php?title=ParaView/Superbuild&ol did=59804 Please let us know if you have any additional questions. Thanks, Cory On Fri, Oct 28, 2016 at 8:35 AM, Angelini, Richard C (Rick) CIV USARMY RDECOM ARL (US) wrote: > I went to the Paraview SuperBuild page and found this message: > > "Updated for ParaView Superbuild have moved to the source repository > starting with ParaView 5.2. For docs for earlier versions, please check >out > the history tab for this page." > > > If I follow the link to the source repository page, there are no > instructions for how to build using Superbuild, no instructions how to > obtain the source or to checkout a specific release. Am I >missing > something? > > ________________________________ > Rick Angelini > USArmy Research Laboratory > CISD/HPC Architectures Team > Phone: 410-278-6266 > > _______________________________________________ > Powered by Caution-www.kitware.com > > Visit other Kitware open-source projects at > Caution-http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > Caution-http://paraview.org/Wiki/ParaView > > Search the list archives at: >Caution-http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > Caution-http://public.kitware.com/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5108 bytes Desc: not available URL: From samuelkey at bresnan.net Tue Nov 1 11:58:48 2016 From: samuelkey at bresnan.net (Samuel Key) Date: Tue, 1 Nov 2016 09:58:48 -0600 Subject: [Paraview] Compute line between coordinates In-Reply-To: References: Message-ID: An HTML attachment was scrubbed... URL: From samuelkey at bresnan.net Tue Nov 1 12:03:07 2016 From: samuelkey at bresnan.net (Samuel Key) Date: Tue, 1 Nov 2016 10:03:07 -0600 Subject: [Paraview] Compute line between coordinates In-Reply-To: References: Message-ID: <08b0e914-dd0f-64a1-0e0e-64d12df1fca7@bresnan.net> An HTML attachment was scrubbed... URL: From albnet at gmail.com Tue Nov 1 13:25:23 2016 From: albnet at gmail.com (Dorian Pustina) Date: Tue, 1 Nov 2016 13:25:23 -0400 Subject: [Paraview] Compute line between coordinates In-Reply-To: <08b0e914-dd0f-64a1-0e0e-64d12df1fca7@bresnan.net> References: <08b0e914-dd0f-64a1-0e0e-64d12df1fca7@bresnan.net> Message-ID: Thank you Samuel, The "Clip-> Box" filter is definitely better, but it still cuts out portions of arrows. I am ataching a picture for illustration. [image: Inline image 1] These issues seem to arise because the arrows are not seen as unitary objects, but as a tube and a pointer. Using cones instead of arrows is not useful, the cones do not respect the start and end points same as arrows. Dorian On Tue, Nov 1, 2016 at 12:03 PM, Samuel Key wrote: > Dorian, > > Try the CLIP filter with a box. > > Sam Key > > On 11/1/2016 9:34 AM, Dorian Pustina wrote: > > Thank you both for the suggestions. I managed to have the arrows via > python calculator, but couldn't make the Temporal Particles to Pathlines > filter produce arrows. > > Can I bug you with another question? > > I want to apply a Slice filter to see the arrows that depart from that > slice. But the filter in Paraview just cuts through the objects in that > slice, it doesn't show the whole arrows. It also does not have any > tolerance (i.e., to pick points 2mm before and after the slice). Is there > another way to get a slice with full arrows, and have some tolerance to > pick up more points before and after the slice? > > > > On Tue, Nov 1, 2016 at 10:20 AM, Moreland, Kenneth > wrote: > >> If you want to draw a line from point positions at two subsequent time >> steps, you can use the Temporal Particles To Pathlines filter, which traces >> a line behind particles as they move through space and time. When you use >> this filter for your purposes, set Mask Points to 1 and Max Track Length to >> 2. (You can increase Max Track Length to lengthen the line to connect more >> than 2 timesteps.) Note that you will not see any lines until you step time. >> >> >> >> The Temporal Particles to Pathlines filter actually has two outputs. The >> first, named Pathlines, contains the lines. The second, named Particles, is >> a point at the end position of the line. You can add a glyph to this output >> to create arrow-like filters. >> >> >> >> -Ken >> >> >> >> *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Dorian >> Pustina >> *Sent:* Monday, October 31, 2016 8:09 PM >> *To:* paraview at paraview.org >> *Subject:* [EXTERNAL] [Paraview] Compute line between coordinates >> >> >> >> Hello everyone, >> >> >> >> I am working on visualizing some brain imaging data. I have a bunch of >> points in 3D space, which have two sets of coordinates: x1/y1/z1 and >> x2/y2/z2. All I need is to show arrow glyphs starting from the first >> coordinate and ending to the second coordinate. I currently import the data >> as csv. I tried using the time series option, and I can loop through the >> two time points, but can't find how to model a line or an arrow for each >> point between the two times. I also tried to compute what is called >> "velocity fields", that is a set of 3 scalar factors that if multiplied >> with the original coordinates would yield the second coordinate (using >> Calculator): >> >> iHat*X snapped+jHat*Y snapped+kHat*Z snapped >> >> >> >> Still, I don't get reasonable results. The problem looks trivial but I >> couldn't find any solution online after hours of search. It is not even >> clear to me what does the above formula do exactly. >> >> >> >> Can someone help if this is possible? >> >> >> >> Dorian >> > > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe:http://public.kitware.com/mailman/listinfo/paraview > > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 40489 bytes Desc: not available URL: From shawn.waldon at kitware.com Tue Nov 1 13:30:03 2016 From: shawn.waldon at kitware.com (Shawn Waldon) Date: Tue, 1 Nov 2016 13:30:03 -0400 Subject: [Paraview] Compute line between coordinates In-Reply-To: References: <08b0e914-dd0f-64a1-0e0e-64d12df1fca7@bresnan.net> Message-ID: Hi Dorian, Try applying the clip to the original data before you apply the glyphs. That should do what you want. The data will be clipped and then the glyphs will be applied later and not restricted by the bounds of the clip. HTH, Shawn On Tue, Nov 1, 2016 at 1:25 PM, Dorian Pustina wrote: > Thank you Samuel, > > The "Clip-> Box" filter is definitely better, but it still cuts out > portions of arrows. I am ataching a picture for illustration. > > [image: Inline image 1] > > These issues seem to arise because the arrows are not seen as unitary > objects, but as a tube and a pointer. Using cones instead of arrows is not > useful, the cones do not respect the start and end points same as arrows. > > Dorian > > On Tue, Nov 1, 2016 at 12:03 PM, Samuel Key wrote: > >> Dorian, >> >> Try the CLIP filter with a box. >> >> Sam Key >> >> On 11/1/2016 9:34 AM, Dorian Pustina wrote: >> >> Thank you both for the suggestions. I managed to have the arrows via >> python calculator, but couldn't make the Temporal Particles to Pathlines >> filter produce arrows. >> >> Can I bug you with another question? >> >> I want to apply a Slice filter to see the arrows that depart from that >> slice. But the filter in Paraview just cuts through the objects in that >> slice, it doesn't show the whole arrows. It also does not have any >> tolerance (i.e., to pick points 2mm before and after the slice). Is there >> another way to get a slice with full arrows, and have some tolerance to >> pick up more points before and after the slice? >> >> >> >> On Tue, Nov 1, 2016 at 10:20 AM, Moreland, Kenneth >> wrote: >> >>> If you want to draw a line from point positions at two subsequent time >>> steps, you can use the Temporal Particles To Pathlines filter, which traces >>> a line behind particles as they move through space and time. When you use >>> this filter for your purposes, set Mask Points to 1 and Max Track Length to >>> 2. (You can increase Max Track Length to lengthen the line to connect more >>> than 2 timesteps.) Note that you will not see any lines until you step time. >>> >>> >>> >>> The Temporal Particles to Pathlines filter actually has two outputs. The >>> first, named Pathlines, contains the lines. The second, named Particles, is >>> a point at the end position of the line. You can add a glyph to this output >>> to create arrow-like filters. >>> >>> >>> >>> -Ken >>> >>> >>> >>> *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Dorian >>> Pustina >>> *Sent:* Monday, October 31, 2016 8:09 PM >>> *To:* paraview at paraview.org >>> *Subject:* [EXTERNAL] [Paraview] Compute line between coordinates >>> >>> >>> >>> Hello everyone, >>> >>> >>> >>> I am working on visualizing some brain imaging data. I have a bunch of >>> points in 3D space, which have two sets of coordinates: x1/y1/z1 and >>> x2/y2/z2. All I need is to show arrow glyphs starting from the first >>> coordinate and ending to the second coordinate. I currently import the data >>> as csv. I tried using the time series option, and I can loop through the >>> two time points, but can't find how to model a line or an arrow for each >>> point between the two times. I also tried to compute what is called >>> "velocity fields", that is a set of 3 scalar factors that if multiplied >>> with the original coordinates would yield the second coordinate (using >>> Calculator): >>> >>> iHat*X snapped+jHat*Y snapped+kHat*Z snapped >>> >>> >>> >>> Still, I don't get reasonable results. The problem looks trivial but I >>> couldn't find any solution online after hours of search. It is not even >>> clear to me what does the above formula do exactly. >>> >>> >>> >>> Can someone help if this is possible? >>> >>> >>> >>> Dorian >>> >> >> >> >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe:http://public.kitware.com/mailman/listinfo/paraview >> >> >> >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 40489 bytes Desc: not available URL: From albnet at gmail.com Tue Nov 1 14:06:26 2016 From: albnet at gmail.com (Dorian Pustina) Date: Tue, 1 Nov 2016 14:06:26 -0400 Subject: [Paraview] Compute line between coordinates In-Reply-To: References: <08b0e914-dd0f-64a1-0e0e-64d12df1fca7@bresnan.net> Message-ID: That definitely did it. You guys are great. On Tue, Nov 1, 2016 at 1:30 PM, Shawn Waldon wrote: > Hi Dorian, > > Try applying the clip to the original data before you apply the glyphs. > That should do what you want. The data will be clipped and then the glyphs > will be applied later and not restricted by the bounds of the clip. > > HTH, > Shawn > > On Tue, Nov 1, 2016 at 1:25 PM, Dorian Pustina wrote: > >> Thank you Samuel, >> >> The "Clip-> Box" filter is definitely better, but it still cuts out >> portions of arrows. I am ataching a picture for illustration. >> >> [image: Inline image 1] >> >> These issues seem to arise because the arrows are not seen as unitary >> objects, but as a tube and a pointer. Using cones instead of arrows is not >> useful, the cones do not respect the start and end points same as arrows. >> >> Dorian >> >> On Tue, Nov 1, 2016 at 12:03 PM, Samuel Key >> wrote: >> >>> Dorian, >>> >>> Try the CLIP filter with a box. >>> >>> Sam Key >>> >>> On 11/1/2016 9:34 AM, Dorian Pustina wrote: >>> >>> Thank you both for the suggestions. I managed to have the arrows via >>> python calculator, but couldn't make the Temporal Particles to Pathlines >>> filter produce arrows. >>> >>> Can I bug you with another question? >>> >>> I want to apply a Slice filter to see the arrows that depart from that >>> slice. But the filter in Paraview just cuts through the objects in that >>> slice, it doesn't show the whole arrows. It also does not have any >>> tolerance (i.e., to pick points 2mm before and after the slice). Is there >>> another way to get a slice with full arrows, and have some tolerance to >>> pick up more points before and after the slice? >>> >>> >>> >>> On Tue, Nov 1, 2016 at 10:20 AM, Moreland, Kenneth >>> wrote: >>> >>>> If you want to draw a line from point positions at two subsequent time >>>> steps, you can use the Temporal Particles To Pathlines filter, which traces >>>> a line behind particles as they move through space and time. When you use >>>> this filter for your purposes, set Mask Points to 1 and Max Track Length to >>>> 2. (You can increase Max Track Length to lengthen the line to connect more >>>> than 2 timesteps.) Note that you will not see any lines until you step time. >>>> >>>> >>>> >>>> The Temporal Particles to Pathlines filter actually has two outputs. >>>> The first, named Pathlines, contains the lines. The second, named >>>> Particles, is a point at the end position of the line. You can add a glyph >>>> to this output to create arrow-like filters. >>>> >>>> >>>> >>>> -Ken >>>> >>>> >>>> >>>> *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Dorian >>>> Pustina >>>> *Sent:* Monday, October 31, 2016 8:09 PM >>>> *To:* paraview at paraview.org >>>> *Subject:* [EXTERNAL] [Paraview] Compute line between coordinates >>>> >>>> >>>> >>>> Hello everyone, >>>> >>>> >>>> >>>> I am working on visualizing some brain imaging data. I have a bunch of >>>> points in 3D space, which have two sets of coordinates: x1/y1/z1 and >>>> x2/y2/z2. All I need is to show arrow glyphs starting from the first >>>> coordinate and ending to the second coordinate. I currently import the data >>>> as csv. I tried using the time series option, and I can loop through the >>>> two time points, but can't find how to model a line or an arrow for each >>>> point between the two times. I also tried to compute what is called >>>> "velocity fields", that is a set of 3 scalar factors that if multiplied >>>> with the original coordinates would yield the second coordinate (using >>>> Calculator): >>>> >>>> iHat*X snapped+jHat*Y snapped+kHat*Z snapped >>>> >>>> >>>> >>>> Still, I don't get reasonable results. The problem looks trivial but I >>>> couldn't find any solution online after hours of search. It is not even >>>> clear to me what does the above formula do exactly. >>>> >>>> >>>> >>>> Can someone help if this is possible? >>>> >>>> >>>> >>>> Dorian >>>> >>> >>> >>> >>> _______________________________________________ >>> 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 >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe:http://public.kitware.com/mailman/listinfo/paraview >>> >>> >>> >>> _______________________________________________ >>> 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 >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >>> >> >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 40489 bytes Desc: not available URL: From cory.quammen at kitware.com Tue Nov 1 14:43:48 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Tue, 1 Nov 2016 14:43:48 -0400 Subject: [Paraview] Calculate with global data In-Reply-To: References: Message-ID: Alan, Not possible with the Calculator as far as I know. With the Python Calculator, you can indeed *use* a global variable defined in the field data of the data set with the expression: inputs[0].FieldData['TMSTEP'][time_index] Here, time_index is the timestep index, not the time value. The Python Calculator does not let you store the result in a new global variable. The Programmable Filter is the most flexible filter that lets you read the global data and store a new result. At the moment, however, I cannot recall how to obtain the current timestep in the programmable filter. Maybe someone else can chime in, or I'll get back to you on how to do this with the Programmable Filter. It is definitely more involved than the using the Python Calculator. HTH, Cory On Fri, Oct 28, 2016 at 8:30 PM, Scott, W Alan wrote: > Is there a way to use global data in the calculator, Python Calculator or > Programmable Filter? > > > > For example, if I want to multiply a variable by the TMSTEP in can.exo, and > put this back into a new variable, how do I do it? > > > > Thanks, > > > > Alan > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From ben.boeckel at kitware.com Tue Nov 1 15:17:37 2016 From: ben.boeckel at kitware.com (Ben Boeckel) Date: Tue, 1 Nov 2016 15:17:37 -0400 Subject: [Paraview] [ANN] Dropping 32bit binaries for 5.3 and beyond In-Reply-To: Message-ID: <20161101191737.GA28502@megas.kitware.com> Hi, We're planning on dropping 32bit binaries (currently only provided on Windows) for post-5.2 development. Any objections? --Ben From u.utku.turuncoglu at be.itu.edu.tr Wed Nov 2 05:22:40 2016 From: u.utku.turuncoglu at be.itu.edu.tr (Ufuk Utku Turuncoglu (BE)) Date: Wed, 2 Nov 2016 11:22:40 +0200 Subject: [Paraview] GNOME is hanging with co-processing ... Message-ID: <64db4af1-48dd-940c-1d41-cf0d4ff40152@be.itu.edu.tr> Hi, I am trying to run a parallel code with co-processing support but when i run the code, it is hanging without opening x-window and writing the png files. In this case, i could not use or interact with any other app with GUI such as firefox, terminal etc. It seems that it affects the GNOME. On the other hand, if i connect to machine remotely via ssh and kill the MPI process than the machine back to the normal and i could interact with terminal and other apps with GUI nornally. The system has Centos (7.1) operating system along with ParaView 5.2.0RC3 (BTW, i compiled ParaView from source). In this case, i am just running the code with standard mpirun command as follows, mpirun -np 16 ./main.x to find the source of the problem, i included strace command to the mpirun like following mpirun -np 16 strace ./main.x and it runs without any problem and produces desired output. So, at this point i am little bit confused and i just wonder that is there anybody else had similar issue before. Strace somehow solves the problem but i don't know how. It seems that it is related with the system because same code runs without any problem under MacOS. I also compiled code with ParaView 5.1 and it also hangs. The standard allinputsgridwriter.py is working without any problem and writes the data to disk. So, somehow it is related with the system (probably GNOME) or the ParaView installation. Another question is that is there any way to prevent opening x-window and still getting advantage of having GPU in this case? The code only writes the result in png format. So, i need installation for headless server (without any screen attached) but i am not sure. I think that it requires special configuration options for the ParaView installation. So, please let me know also about those special options. Regards, --ufuk From jcmendez at aggies.ncat.edu Wed Nov 2 09:58:16 2016 From: jcmendez at aggies.ncat.edu (Julio Mendez) Date: Wed, 2 Nov 2016 09:58:16 -0400 Subject: [Paraview] Plotting different lines plot on one plot. Message-ID: Dear All; I know the questions sounds weird or misleading. But, the first step of any CFD simulation is a grid sensitivity analysis. Thus, I am doing Velocity vs height plots with three different meshes. Having each plot isolated does not help much, unless I can plot the three different solutions on the same plot. Is there any way to do that. I have loaded the three different data sets and I have three line plots but how can I plot one graph (line plot) on top the other one ? Thanks Julio -------------- next part -------------- An HTML attachment was scrubbed... URL: From claytonfcampbell at gmail.com Wed Nov 2 10:43:20 2016 From: claytonfcampbell at gmail.com (Clayton C) Date: Wed, 2 Nov 2016 08:43:20 -0600 Subject: [Paraview] Startup Bug Message-ID: Hello everyone, I have recently started to use pvtu files in Paraview and for some reason they seem to be causing program startup issues for me. I startup Paraview, load my pvtu files, and can apply filters as desired. Everything seems to work fine until I close Paraview and try to launch a new session. After this, Paraview will not launch and crashes on startup every time. Applying or not applying filters does not seem to matter, nor does saving or not saving the session. Simply loading a pvtu file and then closing the program does not allow me to open Paraview again. This persists even after a full system restart. The only way I can get Paraview to start again is to do a fresh install. I have had this happen with several fresh installs of 5.1.2 and 5.2.0 so far. I should note that I have not had any problems with non-partitioned vtu files before. I made the switch to using pvtu files after discovering I could perform Elmer simulations on multiple cores, speeding things up quite a bit. I am on Windows 10 64bit. I plan to try older versions of Paraview to see if I get the same result. Wondering if anybody has experienced this before or might be able to help me troubleshoot? Thanks, Clayton -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Wed Nov 2 11:23:04 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 2 Nov 2016 11:23:04 -0400 Subject: [Paraview] Startup Bug In-Reply-To: References: Message-ID: That's very odd. Can you remove the config file mentioned here (http://www.paraview.org/Wiki/ParaView_Settings_Files) and then try? Utkarsh On Wed, Nov 2, 2016 at 10:43 AM, Clayton C wrote: > Hello everyone, > > I have recently started to use pvtu files in Paraview and for some reason > they seem to be causing program startup issues for me. I startup Paraview, > load my pvtu files, and can apply filters as desired. Everything seems to > work fine until I close Paraview and try to launch a new session. After > this, Paraview will not launch and crashes on startup every time. Applying > or not applying filters does not seem to matter, nor does saving or not > saving the session. Simply loading a pvtu file and then closing the program > does not allow me to open Paraview again. This persists even after a full > system restart. > > The only way I can get Paraview to start again is to do a fresh install. I > have had this happen with several fresh installs of 5.1.2 and 5.2.0 so far. > I should note that I have not had any problems with non-partitioned vtu > files before. I made the switch to using pvtu files after discovering I > could perform Elmer simulations on multiple cores, speeding things up quite > a bit. I am on Windows 10 64bit. > > I plan to try older versions of Paraview to see if I get the same result. > Wondering if anybody has experienced this before or might be able to help me > troubleshoot? > > Thanks, > Clayton > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From utkarsh.ayachit at kitware.com Wed Nov 2 11:24:24 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 2 Nov 2016 11:24:24 -0400 Subject: [Paraview] Plotting different lines plot on one plot. In-Reply-To: References: Message-ID: You indeed can. Just turn on the visibility of multiple "Plot Over Line" filters in the same view by making the view active and then clicking on the eyeballs for the filters in the Pipeline Browser. On Wed, Nov 2, 2016 at 9:58 AM, Julio Mendez wrote: > Dear All; > I know the questions sounds weird or misleading. But, the first step of any > CFD simulation is a grid sensitivity analysis. Thus, I am doing Velocity vs > height plots with three different meshes. Having each plot isolated does not > help much, unless I can plot the three different solutions on the same plot. > Is there any way to do that. I have loaded the three different data sets and > I have three line plots but how can I plot one graph (line plot) on top the > other one ? > > Thanks > Julio > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From andy.bauer at kitware.com Wed Nov 2 11:49:14 2016 From: andy.bauer at kitware.com (Andy Bauer) Date: Wed, 2 Nov 2016 11:49:14 -0400 Subject: [Paraview] GNOME is hanging with co-processing ... In-Reply-To: <64db4af1-48dd-940c-1d41-cf0d4ff40152@be.itu.edu.tr> References: <64db4af1-48dd-940c-1d41-cf0d4ff40152@be.itu.edu.tr> Message-ID: Hi Ufuk, I haven't heard of any issues like this. Do you get similar behavior on the machine when running ParaView with a separate, connected pvserver? If you have an NVIDIA card you may be able to use their EGL libs for offscreen rendering (i.e. no x-windows needed). See the blog post at https://blog.kitware.com/off-screen-rendering-through-the-native-platform-interface-egl/. Best, Andy On Wed, Nov 2, 2016 at 5:22 AM, Ufuk Utku Turuncoglu (BE) < u.utku.turuncoglu at be.itu.edu.tr> wrote: > Hi, > > I am trying to run a parallel code with co-processing support but when i > run the code, it is hanging without opening x-window and writing the png > files. In this case, i could not use or interact with any other app with > GUI such as firefox, terminal etc. It seems that it affects the GNOME. On > the other hand, if i connect to machine remotely via ssh and kill the MPI > process than the machine back to the normal and i could interact with > terminal and other apps with GUI nornally. The system has Centos (7.1) > operating system along with ParaView 5.2.0RC3 (BTW, i compiled ParaView > from source). In this case, i am just running the code with standard mpirun > command as follows, > > mpirun -np 16 ./main.x > > to find the source of the problem, i included strace command to the mpirun > like following > > mpirun -np 16 strace ./main.x > > and it runs without any problem and produces desired output. So, at this > point i am little bit confused and i just wonder that is there anybody else > had similar issue before. Strace somehow solves the problem but i don't > know how. It seems that it is related with the system because same code > runs without any problem under MacOS. I also compiled code with ParaView > 5.1 and it also hangs. The standard allinputsgridwriter.py is working > without any problem and writes the data to disk. So, somehow it is related > with the system (probably GNOME) or the ParaView installation. > > Another question is that is there any way to prevent opening x-window and > still getting advantage of having GPU in this case? The code only writes > the result in png format. So, i need installation for headless server > (without any screen attached) but i am not sure. I think that it requires > special configuration options for the ParaView installation. So, please let > me know also about those special options. > > Regards, > > --ufuk > > > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensou > rce/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From u.utku.turuncoglu at be.itu.edu.tr Wed Nov 2 12:10:25 2016 From: u.utku.turuncoglu at be.itu.edu.tr (u.utku.turuncoglu at be.itu.edu.tr) Date: Wed, 2 Nov 2016 18:10:25 +0200 (EET) Subject: [Paraview] GNOME is hanging with co-processing ... In-Reply-To: <63A9DB72-B644-4AA3-A25C-D4E532701239@snumerics.com> References: <64db4af1-48dd-940c-1d41-cf0d4ff40152@be.itu.edu.tr> <63A9DB72-B644-4AA3-A25C-D4E532701239@snumerics.com> Message-ID: <55807.78.160.106.49.1478103025.squirrel@webmail.be.itu.edu.tr> Hi Chris and Andy, It is good to know that i am not alone. It is very strange issue. Are you also using GNOME in OpenSuse? It might narrow down the issue. As i told before, if i use strace, the problem is dissapeared. It might help to find the source of the problem but it requires deep knowledge about OS and also GNOME. For temporary solution, i'll try to setup offscreen rendering using Nvidia EGL libraries. Thanks, Regards, --ufuk > Hi Ufuk, > > I have experienced a similar issue when trying to instrument a code with > Catalyst. I was running OpenSuse 13.2. I start the parallel from a > terminal window, and the entire GUI just locks up completely. Sometimes it > seems to be permanently stuck and I have to do that you did i.e. ssh from > another computer and kill the process. It???s quite frustrating, and it is > the reason that I started looking into running with osMesa as a way to > completely stop the calls to Catalyst from opening up an x-window. > > I can???t really offer any solutions because I still haven???t figured out > what is going on, but I can tell you that you are not the only one having > that issue. > > Best regards, > Chris Neal > > On 11/2/16, 5:22 AM, "ParaView on behalf of Ufuk Utku Turuncoglu (BE)" > u.utku.turuncoglu at be.itu.edu.tr> wrote: > > Hi, > > I am trying to run a parallel code with co-processing support but when > i > run the code, it is hanging without opening x-window and writing the > png > files. In this case, i could not use or interact with any other app > with > GUI such as firefox, terminal etc. It seems that it affects the GNOME. > On the other hand, if i connect to machine remotely via ssh and kill > the > MPI process than the machine back to the normal and i could interact > with terminal and other apps with GUI nornally. The system has Centos > (7.1) operating system along with ParaView 5.2.0RC3 (BTW, i compiled > ParaView from source). In this case, i am just running the code with > standard mpirun command as follows, > > mpirun -np 16 ./main.x > > to find the source of the problem, i included strace command to the > mpirun like following > > mpirun -np 16 strace ./main.x > > and it runs without any problem and produces desired output. So, at > this > point i am little bit confused and i just wonder that is there anybody > else had similar issue before. Strace somehow solves the problem but i > don't know how. It seems that it is related with the system because > same > code runs without any problem under MacOS. I also compiled code with > ParaView 5.1 and it also hangs. The standard allinputsgridwriter.py is > working without any problem and writes the data to disk. So, somehow > it > is related with the system (probably GNOME) or the ParaView > installation. > > Another question is that is there any way to prevent opening x-window > and still getting advantage of having GPU in this case? The code only > writes the result in png format. So, i need installation for headless > server (without any screen attached) but i am not sure. I think that > it > requires special configuration options for the ParaView installation. > So, please let me know also about those special options. > > Regards, > > --ufuk > > > > > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > From chrisneal at snumerics.com Wed Nov 2 11:57:40 2016 From: chrisneal at snumerics.com (Christopher Neal) Date: Wed, 02 Nov 2016 11:57:40 -0400 Subject: [Paraview] GNOME is hanging with co-processing ... In-Reply-To: <64db4af1-48dd-940c-1d41-cf0d4ff40152@be.itu.edu.tr> References: <64db4af1-48dd-940c-1d41-cf0d4ff40152@be.itu.edu.tr> Message-ID: <63A9DB72-B644-4AA3-A25C-D4E532701239@snumerics.com> Hi Ufuk, I have experienced a similar issue when trying to instrument a code with Catalyst. I was running OpenSuse 13.2. I start the parallel from a terminal window, and the entire GUI just locks up completely. Sometimes it seems to be permanently stuck and I have to do that you did i.e. ssh from another computer and kill the process. It?s quite frustrating, and it is the reason that I started looking into running with osMesa as a way to completely stop the calls to Catalyst from opening up an x-window. I can?t really offer any solutions because I still haven?t figured out what is going on, but I can tell you that you are not the only one having that issue. Best regards, Chris Neal On 11/2/16, 5:22 AM, "ParaView on behalf of Ufuk Utku Turuncoglu (BE)" wrote: Hi, I am trying to run a parallel code with co-processing support but when i run the code, it is hanging without opening x-window and writing the png files. In this case, i could not use or interact with any other app with GUI such as firefox, terminal etc. It seems that it affects the GNOME. On the other hand, if i connect to machine remotely via ssh and kill the MPI process than the machine back to the normal and i could interact with terminal and other apps with GUI nornally. The system has Centos (7.1) operating system along with ParaView 5.2.0RC3 (BTW, i compiled ParaView from source). In this case, i am just running the code with standard mpirun command as follows, mpirun -np 16 ./main.x to find the source of the problem, i included strace command to the mpirun like following mpirun -np 16 strace ./main.x and it runs without any problem and produces desired output. So, at this point i am little bit confused and i just wonder that is there anybody else had similar issue before. Strace somehow solves the problem but i don't know how. It seems that it is related with the system because same code runs without any problem under MacOS. I also compiled code with ParaView 5.1 and it also hangs. The standard allinputsgridwriter.py is working without any problem and writes the data to disk. So, somehow it is related with the system (probably GNOME) or the ParaView installation. Another question is that is there any way to prevent opening x-window and still getting advantage of having GPU in this case? The code only writes the result in png format. So, i need installation for headless server (without any screen attached) but i am not sure. I think that it requires special configuration options for the ParaView installation. So, please let me know also about those special options. Regards, --ufuk _______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview From claytonfcampbell at gmail.com Wed Nov 2 12:38:50 2016 From: claytonfcampbell at gmail.com (Clayton C) Date: Wed, 2 Nov 2016 10:38:50 -0600 Subject: [Paraview] Startup Bug In-Reply-To: References: Message-ID: Thanks Utkarsh, Deleting the config file allows Paraview to launch again. The bug still persists after opening my pvtu files, but at least I do not have to reinstall the program and this works for my purposes (data manipulation and extraction). Let me know if you need me to do any testing to get to the root of the problem. Cheers, Clayton On Wed, Nov 2, 2016 at 9:23 AM, Utkarsh Ayachit wrote: > That's very odd. Can you remove the config file mentioned here > (http://www.paraview.org/Wiki/ParaView_Settings_Files) and then try? > > Utkarsh > > > > On Wed, Nov 2, 2016 at 10:43 AM, Clayton C > wrote: > > Hello everyone, > > > > I have recently started to use pvtu files in Paraview and for some reason > > they seem to be causing program startup issues for me. I startup > Paraview, > > load my pvtu files, and can apply filters as desired. Everything seems to > > work fine until I close Paraview and try to launch a new session. After > > this, Paraview will not launch and crashes on startup every time. > Applying > > or not applying filters does not seem to matter, nor does saving or not > > saving the session. Simply loading a pvtu file and then closing the > program > > does not allow me to open Paraview again. This persists even after a full > > system restart. > > > > The only way I can get Paraview to start again is to do a fresh install. > I > > have had this happen with several fresh installs of 5.1.2 and 5.2.0 so > far. > > I should note that I have not had any problems with non-partitioned vtu > > files before. I made the switch to using pvtu files after discovering I > > could perform Elmer simulations on multiple cores, speeding things up > quite > > a bit. I am on Windows 10 64bit. > > > > I plan to try older versions of Paraview to see if I get the same result. > > Wondering if anybody has experienced this before or might be able to > help me > > troubleshoot? > > > > Thanks, > > Clayton > > > > _______________________________________________ > > 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 > > > > Search the list archives at: http://markmail.org/search/?q=ParaView > > > > Follow this link to subscribe/unsubscribe: > > http://public.kitware.com/mailman/listinfo/paraview > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Wed Nov 2 12:56:36 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 2 Nov 2016 12:56:36 -0400 Subject: [Paraview] Plotting different lines plot on one plot. In-Reply-To: References: Message-ID: See attached state file. Hopefully, that makes it clear. On Wed, Nov 2, 2016 at 11:39 AM, Julio Mendez wrote: > Oh, thank you Mr. Ayachit. Does it mean that I need to load the three > different data sets, apply the "Plot Over > Line"to each dataset in the same view? The last step is where I got lost, > because each view corresponds to a specific dataset. > > On Wed, Nov 2, 2016 at 11:24 AM, Utkarsh Ayachit > wrote: >> >> You indeed can. Just turn on the visibility of multiple "Plot Over >> Line" filters in the same view by making the view active and then >> clicking on the eyeballs for the filters in the Pipeline Browser. >> >> On Wed, Nov 2, 2016 at 9:58 AM, Julio Mendez >> wrote: >> > Dear All; >> > I know the questions sounds weird or misleading. But, the first step of >> > any >> > CFD simulation is a grid sensitivity analysis. Thus, I am doing Velocity >> > vs >> > height plots with three different meshes. Having each plot isolated does >> > not >> > help much, unless I can plot the three different solutions on the same >> > plot. >> > Is there any way to do that. I have loaded the three different data sets >> > and >> > I have three line plots but how can I plot one graph (line plot) on top >> > the >> > other one ? >> > >> > Thanks >> > Julio >> > >> > _______________________________________________ >> > 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 >> > >> > Search the list archives at: http://markmail.org/search/?q=ParaView >> > >> > Follow this link to subscribe/unsubscribe: >> > http://public.kitware.com/mailman/listinfo/paraview >> > > > -------------- next part -------------- A non-text attachment was scrubbed... Name: example.pvsm Type: application/octet-stream Size: 84661 bytes Desc: not available URL: From jcmendez at aggies.ncat.edu Wed Nov 2 21:16:19 2016 From: jcmendez at aggies.ncat.edu (Julio Mendez) Date: Wed, 2 Nov 2016 21:16:19 -0400 Subject: [Paraview] Contour plots with lines Message-ID: <5C25B8A5-8F33-4FF2-9D9B-04743E6D55B5@aggies.ncat.edu> Dear community I was wondering if it is possible to do contour plots with lines. Instead of having the contour flooded by color. I would like to have 2D contour plots only with lines like other packages do. Thanks you all!! Julio From cgunases at gmail.com Thu Nov 3 01:53:07 2016 From: cgunases at gmail.com (Chathu Gunasekera) Date: Thu, 3 Nov 2016 11:23:07 +0530 Subject: [Paraview] How to obtain the surface from points Message-ID: Hi, Hope all is well. I obtained the boundary of the 3d model. Kindly can you assist me how to obtain the surface from points. image is attached. [image: Inline image 1] -- Warm regards, Chathuri Gunasekera. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 50319 bytes Desc: not available URL: From u.utku.turuncoglu at be.itu.edu.tr Thu Nov 3 05:52:06 2016 From: u.utku.turuncoglu at be.itu.edu.tr (Ufuk Utku Turuncoglu (BE)) Date: Thu, 3 Nov 2016 11:52:06 +0200 Subject: [Paraview] GNOME is hanging with co-processing ... In-Reply-To: References: <64db4af1-48dd-940c-1d41-cf0d4ff40152@be.itu.edu.tr> Message-ID: <5dac99da-66af-7331-8374-abf2260fbeca@be.itu.edu.tr> Hi Andy, I am trying to install ParaView with EGL under Centos 7.1 but ParaView configuration could not find following libraries, EGL_gldispatch_LIBRARY EGL_gldispatch_LIBRARY-NOTFOUND EGL_opengl_LIBRARY EGL_opengl_LIBRARY-NOTFOUND I checked the OS and Nvidia drivers and i confirmed that i don't have libGLdispatch library. BTW, i am using Nvidia driver version 352.79. It is little bit old and now it is 367.57. Do you think that my driver is not capable to install the ParaView with EGL? If this is the case, i will try to upgrade the Nvidia library but i just want to be sure. Thanks for your help, Regards, --ufuk On 02/11/16 17:49, Andy Bauer wrote: > Hi Ufuk, > > I haven't heard of any issues like this. Do you get similar behavior > on the machine when running ParaView with a separate, connected pvserver? > > If you have an NVIDIA card you may be able to use their EGL libs for > offscreen rendering (i.e. no x-windows needed). See the blog post at > https://blog.kitware.com/off-screen-rendering-through-the-native-platform-interface-egl/. > > > Best, > Andy > > On Wed, Nov 2, 2016 at 5:22 AM, Ufuk Utku Turuncoglu (BE) > > wrote: > > Hi, > > I am trying to run a parallel code with co-processing support but > when i run the code, it is hanging without opening x-window and > writing the png files. In this case, i could not use or interact > with any other app with GUI such as firefox, terminal etc. It > seems that it affects the GNOME. On the other hand, if i connect > to machine remotely via ssh and kill the MPI process than the > machine back to the normal and i could interact with terminal and > other apps with GUI nornally. The system has Centos (7.1) > operating system along with ParaView 5.2.0RC3 (BTW, i compiled > ParaView from source). In this case, i am just running the code > with standard mpirun command as follows, > > mpirun -np 16 ./main.x > > to find the source of the problem, i included strace command to > the mpirun like following > > mpirun -np 16 strace ./main.x > > and it runs without any problem and produces desired output. So, > at this point i am little bit confused and i just wonder that is > there anybody else had similar issue before. Strace somehow solves > the problem but i don't know how. It seems that it is related with > the system because same code runs without any problem under MacOS. > I also compiled code with ParaView 5.1 and it also hangs. The > standard allinputsgridwriter.py is working without any problem and > writes the data to disk. So, somehow it is related with the system > (probably GNOME) or the ParaView installation. > > Another question is that is there any way to prevent opening > x-window and still getting advantage of having GPU in this case? > The code only writes the result in png format. So, i need > installation for headless server (without any screen attached) but > i am not sure. I think that it requires special configuration > options for the ParaView installation. So, please let me know also > about those special options. > > Regards, > > --ufuk > > > > > > > _______________________________________________ > 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 > > Search the list archives at: > http://markmail.org/search/?q=ParaView > > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Thu Nov 3 06:42:54 2016 From: dave.demarle at kitware.com (David E DeMarle) Date: Thu, 3 Nov 2016 06:42:54 -0400 Subject: [Paraview] Contour plots with lines In-Reply-To: <5C25B8A5-8F33-4FF2-9D9B-04743E6D55B5@aggies.ncat.edu> References: <5C25B8A5-8F33-4FF2-9D9B-04743E6D55B5@aggies.ncat.edu> Message-ID: Please post an example image so we know better what you are looking to make? On Nov 2, 2016 9:16 PM, "Julio Mendez" wrote: > Dear community > I was wondering if it is possible to do contour plots with lines. Instead > of having the contour flooded by color. I would like to have 2D contour > plots only with lines like other packages do. > > Thanks you all!! > > Julio > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From M.Dietzel at IAB-Weimar.de Thu Nov 3 06:51:45 2016 From: M.Dietzel at IAB-Weimar.de (Dietzel Mathias) Date: Thu, 3 Nov 2016 10:51:45 +0000 Subject: [Paraview] Volume Render Plot - Unreasonable results with vector components or magnitude Message-ID: <9CFCBC636AF2B64FA55E32727F91D379430923A8@SVREXC01.intern.fitr.de> Hello everyone, I am using Paraview's Volume Render plot to visualize a velocity field inside some technical equipment. In case of plotting a component of the vector field or the magnitude of the vector (both from the drop-down menu) with volume render I get unreasonable results, e.g. minimum or maximum zones are not shown correctly or the flow direction seems wrong. However, if I calculate a scalar value from the vector that corresponds to the component or to the magnitude (e.g. using the calculator filter in Paraview) and then plot by volume render, the fluid field is represented correctly. The data itself seems OK since a surface or slice plot leads to the same (correct) results, no matter whether I use the vector component directly or the scalar value. I tested the behavior with several data sets. I am using Paraview 4.3.1 64-bit and Paraview 5.1.2 64-bit - both show the same behavior. I appreciate any comment. Best regards Mathias Dietzel -------------- next part -------------- An HTML attachment was scrubbed... URL: From antech777 at gmail.com Thu Nov 3 07:06:17 2016 From: antech777 at gmail.com (Andrew) Date: Thu, 3 Nov 2016 14:06:17 +0300 Subject: [Paraview] Volume Render Plot - Unreasonable results with vector components or magnitude In-Reply-To: <9CFCBC636AF2B64FA55E32727F91D379430923A8@SVREXC01.intern.fitr.de> References: <9CFCBC636AF2B64FA55E32727F91D379430923A8@SVREXC01.intern.fitr.de> Message-ID: Hello. I noticed the same behaviour in ParaView 4.3 on CentOS 6.7. Looks like bug. Worked around with calculating the velocity magnitude as scalar. There is also another bug or feature of volume rendering: I couldn't make it render for all domains, it only renders one domain (for example, when I load a CFD study results in EnSight Gold format). 2016-11-03 13:51 GMT+03:00 Dietzel Mathias : > Hello everyone, > > > > I am using Paraview?s Volume Render plot to visualize a velocity field > inside some technical equipment. In case of plotting a component of the > vector field or the magnitude of the vector (both from the drop-down menu) > with volume render I get unreasonable results, e.g. minimum or maximum > zones are not shown correctly or the flow direction seems wrong. However, > if I calculate a scalar value from the vector that corresponds to the > component or to the magnitude (e.g. using the calculator filter in > Paraview) and then plot by volume render, the fluid field is represented > correctly. > > > > The data itself seems OK since a surface or slice plot leads to the same > (correct) results, no matter whether I use the vector component directly > or the scalar value. I tested the behavior with several data sets. I am > using Paraview 4.3.1 64-bit and Paraview 5.1.2 64-bit ? both show the same > behavior. > > > > I appreciate any comment. > > > > Best regards > > Mathias Dietzel > > > > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Thu Nov 3 08:48:22 2016 From: andy.bauer at kitware.com (Andy Bauer) Date: Thu, 3 Nov 2016 08:48:22 -0400 Subject: [Paraview] Contour plots with lines In-Reply-To: <5C25B8A5-8F33-4FF2-9D9B-04743E6D55B5@aggies.ncat.edu> References: <5C25B8A5-8F33-4FF2-9D9B-04743E6D55B5@aggies.ncat.edu> Message-ID: Hi Julio, Yes, you can do that. In 2D the grid can be colored by a solid color (or pseudo-colored by a field variable). Then, use the Contour filter to create the lines. Again, you can color the lines by a field variable or have them a solid color. See the attached image and state file for PV 5.1.2 and how to do that. Let me know if this isn't what you're looking for. Also, if you have an image of what you're looking to do then please include that as well. Best, Andy On Wed, Nov 2, 2016 at 9:16 PM, Julio Mendez wrote: > Dear community > I was wondering if it is possible to do contour plots with lines. Instead > of having the contour flooded by color. I would like to have 2D contour > plots only with lines like other packages do. > > Thanks you all!! > > Julio > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: contourwithlines.png Type: image/png Size: 6932 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: contourwithlines.pvsm Type: application/octet-stream Size: 189081 bytes Desc: not available URL: From cory.quammen at kitware.com Thu Nov 3 09:17:13 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Thu, 3 Nov 2016 09:17:13 -0400 Subject: [Paraview] Volume Render Plot - Unreasonable results with vector components or magnitude In-Reply-To: References: <9CFCBC636AF2B64FA55E32727F91D379430923A8@SVREXC01.intern.fitr.de> Message-ID: Hi Mathias and Andrew, Volume rendering by vector component should be fixed in the ParaView 5.2 release, due out in the next two weeks. See https://gitlab.kitware.com/paraview/paraview/merge_requests/1105 Thanks, Cory On Thu, Nov 3, 2016 at 7:06 AM, Andrew wrote: > Hello. I noticed the same behaviour in ParaView 4.3 on CentOS 6.7. Looks > like bug. Worked around with calculating the velocity magnitude as scalar. > There is also another bug or feature of volume rendering: I couldn't make it > render for all domains, it only renders one domain (for example, when I load > a CFD study results in EnSight Gold format). > > 2016-11-03 13:51 GMT+03:00 Dietzel Mathias : >> >> Hello everyone, >> >> >> >> I am using Paraview?s Volume Render plot to visualize a velocity field >> inside some technical equipment. In case of plotting a component of the >> vector field or the magnitude of the vector (both from the drop-down menu) >> with volume render I get unreasonable results, e.g. minimum or maximum zones >> are not shown correctly or the flow direction seems wrong. However, if I >> calculate a scalar value from the vector that corresponds to the component >> or to the magnitude (e.g. using the calculator filter in Paraview) and then >> plot by volume render, the fluid field is represented correctly. >> >> >> >> The data itself seems OK since a surface or slice plot leads to the same >> (correct) results, no matter whether I use the vector component directly or >> the scalar value. I tested the behavior with several data sets. I am using >> Paraview 4.3.1 64-bit and Paraview 5.1.2 64-bit ? both show the same >> behavior. >> >> >> >> I appreciate any comment. >> >> >> >> Best regards >> >> Mathias Dietzel >> >> >> >> >> >> >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From samuelkey at bresnan.net Thu Nov 3 09:19:46 2016 From: samuelkey at bresnan.net (Samuel Key) Date: Thu, 3 Nov 2016 07:19:46 -0600 Subject: [Paraview] Contour plots with lines In-Reply-To: <5C25B8A5-8F33-4FF2-9D9B-04743E6D55B5@aggies.ncat.edu> References: <5C25B8A5-8F33-4FF2-9D9B-04743E6D55B5@aggies.ncat.edu> Message-ID: Julio, Try using PV's Extract Surface Filter and then use the Contour filter. This works for me on 3D, unstructured meshes. HTH Sam Key On 11/2/2016 7:16 PM, Julio Mendez wrote: > Dear community > I was wondering if it is possible to do contour plots with lines. Instead of having the contour flooded by color. I would like to have 2D contour plots only with lines like other packages do. > > Thanks you all!! > > Julio > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview From andy.bauer at kitware.com Thu Nov 3 09:40:03 2016 From: andy.bauer at kitware.com (Andy Bauer) Date: Thu, 3 Nov 2016 09:40:03 -0400 Subject: [Paraview] Volume Render Plot - Unreasonable results with vector components or magnitude In-Reply-To: References: <9CFCBC636AF2B64FA55E32727F91D379430923A8@SVREXC01.intern.fitr.de> Message-ID: Hi, To add to Cory's feedback -- installers and source code are available for the 5.2 release candidate if you'd like to try it out and see if it's fixed. If it's not fixed and you let us know ASAP, we may be able to get it fixed in time for the 5.2 release. You can get the release candidate and paraview.org/download -- just choose the 5.2 RC3. Best, Andy On Thu, Nov 3, 2016 at 9:17 AM, Cory Quammen wrote: > Hi Mathias and Andrew, > > Volume rendering by vector component should be fixed in the ParaView > 5.2 release, due out in the next two weeks. > > See https://gitlab.kitware.com/paraview/paraview/merge_requests/1105 > > Thanks, > Cory > > On Thu, Nov 3, 2016 at 7:06 AM, Andrew wrote: > > Hello. I noticed the same behaviour in ParaView 4.3 on CentOS 6.7. Looks > > like bug. Worked around with calculating the velocity magnitude as > scalar. > > There is also another bug or feature of volume rendering: I couldn't > make it > > render for all domains, it only renders one domain (for example, when I > load > > a CFD study results in EnSight Gold format). > > > > 2016-11-03 13:51 GMT+03:00 Dietzel Mathias : > >> > >> Hello everyone, > >> > >> > >> > >> I am using Paraview?s Volume Render plot to visualize a velocity field > >> inside some technical equipment. In case of plotting a component of the > >> vector field or the magnitude of the vector (both from the drop-down > menu) > >> with volume render I get unreasonable results, e.g. minimum or maximum > zones > >> are not shown correctly or the flow direction seems wrong. However, if I > >> calculate a scalar value from the vector that corresponds to the > component > >> or to the magnitude (e.g. using the calculator filter in Paraview) and > then > >> plot by volume render, the fluid field is represented correctly. > >> > >> > >> > >> The data itself seems OK since a surface or slice plot leads to the same > >> (correct) results, no matter whether I use the vector component > directly or > >> the scalar value. I tested the behavior with several data sets. I am > using > >> Paraview 4.3.1 64-bit and Paraview 5.1.2 64-bit ? both show the same > >> behavior. > >> > >> > >> > >> I appreciate any comment. > >> > >> > >> > >> Best regards > >> > >> Mathias Dietzel > >> > >> > >> > >> > >> > >> > >> _______________________________________________ > >> 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 > >> > >> Search the list archives at: http://markmail.org/search/?q=ParaView > >> > >> Follow this link to subscribe/unsubscribe: > >> http://public.kitware.com/mailman/listinfo/paraview > >> > > > > > > _______________________________________________ > > 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 > > > > Search the list archives at: http://markmail.org/search/?q=ParaView > > > > Follow this link to subscribe/unsubscribe: > > http://public.kitware.com/mailman/listinfo/paraview > > > > > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Thu Nov 3 09:42:49 2016 From: andy.bauer at kitware.com (Andy Bauer) Date: Thu, 3 Nov 2016 09:42:49 -0400 Subject: [Paraview] GNOME is hanging with co-processing ... In-Reply-To: <5dac99da-66af-7331-8374-abf2260fbeca@be.itu.edu.tr> References: <64db4af1-48dd-940c-1d41-cf0d4ff40152@be.itu.edu.tr> <5dac99da-66af-7331-8374-abf2260fbeca@be.itu.edu.tr> Message-ID: Hi, You'll probably want to use PV 5.1.2 or greater for this. Also, note that the blog post says that the NVIDIA EGL driver minimum version needed is 355.11. On Thu, Nov 3, 2016 at 5:52 AM, Ufuk Utku Turuncoglu (BE) < u.utku.turuncoglu at be.itu.edu.tr> wrote: > Hi Andy, > > I am trying to install ParaView with EGL under Centos 7.1 but ParaView > configuration could not find following libraries, > > EGL_gldispatch_LIBRARY EGL_gldispatch_LIBRARY- > NOTFOUND > EGL_opengl_LIBRARY EGL_opengl_LIBRARY-NOTFOUND > > I checked the OS and Nvidia drivers and i confirmed that i don't have > libGLdispatch library. > > BTW, i am using Nvidia driver version 352.79. It is little bit old and now > it is 367.57. Do you think that my driver is not capable to install the > ParaView with EGL? If this is the case, i will try to upgrade the Nvidia > library but i just want to be sure. > > Thanks for your help, > Regards, > > --ufuk > > > On 02/11/16 17:49, Andy Bauer wrote: > > Hi Ufuk, > > I haven't heard of any issues like this. Do you get similar behavior on > the machine when running ParaView with a separate, connected pvserver? > > If you have an NVIDIA card you may be able to use their EGL libs for > offscreen rendering (i.e. no x-windows needed). See the blog post at > https://blog.kitware.com/off-screen-rendering-through-the- > native-platform-interface-egl/. > > Best, > Andy > > On Wed, Nov 2, 2016 at 5:22 AM, Ufuk Utku Turuncoglu (BE) < > u.utku.turuncoglu at be.itu.edu.tr> wrote: > >> Hi, >> >> I am trying to run a parallel code with co-processing support but when i >> run the code, it is hanging without opening x-window and writing the png >> files. In this case, i could not use or interact with any other app with >> GUI such as firefox, terminal etc. It seems that it affects the GNOME. On >> the other hand, if i connect to machine remotely via ssh and kill the MPI >> process than the machine back to the normal and i could interact with >> terminal and other apps with GUI nornally. The system has Centos (7.1) >> operating system along with ParaView 5.2.0RC3 (BTW, i compiled ParaView >> from source). In this case, i am just running the code with standard mpirun >> command as follows, >> >> mpirun -np 16 ./main.x >> >> to find the source of the problem, i included strace command to the >> mpirun like following >> >> mpirun -np 16 strace ./main.x >> >> and it runs without any problem and produces desired output. So, at this >> point i am little bit confused and i just wonder that is there anybody else >> had similar issue before. Strace somehow solves the problem but i don't >> know how. It seems that it is related with the system because same code >> runs without any problem under MacOS. I also compiled code with ParaView >> 5.1 and it also hangs. The standard allinputsgridwriter.py is working >> without any problem and writes the data to disk. So, somehow it is related >> with the system (probably GNOME) or the ParaView installation. >> >> Another question is that is there any way to prevent opening x-window and >> still getting advantage of having GPU in this case? The code only writes >> the result in png format. So, i need installation for headless server >> (without any screen attached) but i am not sure. I think that it requires >> special configuration options for the ParaView installation. So, please let >> me know also about those special options. >> >> Regards, >> >> --ufuk >> >> >> >> >> >> >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Thu Nov 3 09:42:57 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 3 Nov 2016 09:42:57 -0400 Subject: [Paraview] Volume Render Plot - Unreasonable results with vector components or magnitude In-Reply-To: References: <9CFCBC636AF2B64FA55E32727F91D379430923A8@SVREXC01.intern.fitr.de> Message-ID: > There is also another bug or feature of volume rendering: I couldn't make it > render for all domains, it only renders one domain (for example, when I load > a CFD study results in EnSight Gold format). Currently, the volume rendering only supports rendering 1 block in the multiblock dataset. We're working on a solution that can handle multiple blocks seamlessly. In the meantime, you can use "Merge Blocks" filter to merge all blocks into a single block, or use the "Resample To Image" filter to resample the dataset to a single image dataset and then volume rendering the result. Utkarsh From utkarsh.ayachit at kitware.com Thu Nov 3 09:44:16 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 3 Nov 2016 09:44:16 -0400 Subject: [Paraview] How to obtain the surface from points In-Reply-To: References: Message-ID: It's not exactly clear what you're looking for. Maybe if you can attach a sample dataset, it may help. Thanks. On Thu, Nov 3, 2016 at 1:53 AM, Chathu Gunasekera wrote: > Hi, > > Hope all is well. > > I obtained the boundary of the 3d model. > > Kindly can you assist me how to obtain the surface from points. > image is attached. > [image: Inline image 1] > > > -- > Warm regards, > Chathuri Gunasekera. > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 50319 bytes Desc: not available URL: From yvan.fournier at free.fr Thu Nov 3 11:03:55 2016 From: yvan.fournier at free.fr (Yvan Fournier) Date: Thu, 03 Nov 2016 16:03:55 +0100 Subject: [Paraview] Possible regression ? Error when generating Coprocessing script Message-ID: <1478185435.16393.4.camel@free.fr> Hello, When trying to generate a coprocessing script with ParaView 5.2.0-RC3- 14-gc56cebd (based on rather simple EnSight data), I have the following error: Traceback (most recent call last): ? File "", line 1, in ? File "/home/yvan/opt/paraview-5.2/lib/paraview-5.2/site- packages/paraview/cpexport.py", line 75, in ????from paraview import cpstate ? File "/home/yvan/opt/paraview-5.2/lib/paraview-5.2/site- packages/paraview/cpstate.py", line 13, in ????from paraview import smtrace, smstate, servermanager ? File "/home/yvan/opt/paraview-5.2/lib/paraview-5.2/site- packages/paraview/smtrace.py", line 68, in ????import paraview.servermanager as sm ? File "/home/yvan/opt/paraview-5.2/lib/paraview-5.2/site- packages/paraview/servermanager.py", line 53, in ????from paraview import vtk ? File "/home/yvan/opt/paraview-5.2/lib/paraview-5.2/site- packages/paraview/vtk/__init__.py", line 7, in ????from paraview.vtk.vtkCommonCore import * ? File "/home/yvan/opt/paraview-5.2/lib/paraview-5.2/site- packages/paraview/vtk/vtkCommonCore.py", line 9, in ????from vtkCommonCorePython import * ImportError: No module named vtkCommonCorePython Error: Could not import vtkCommonComputationalGeometry I had the same error with an earlier RC1 version, while I had never encountered this issue before (upgrading my ParaView build from master every few weeks, and using the Coprocessing generator plugin on and off for the last 2 years or more). Is it something with my build, or have others encountered this issue ? All of PARAVIEW_ENABLE_PYTHON, PARAVIEW_ENABLE_CATALYST, and PARAVIEW_USE_MPI are enabled in my builds. Best regards, Yvan Fournier From andy.bauer at kitware.com Thu Nov 3 11:18:10 2016 From: andy.bauer at kitware.com (Andy Bauer) Date: Thu, 3 Nov 2016 11:18:10 -0400 Subject: [Paraview] Possible regression ? Error when generating Coprocessing script In-Reply-To: <1478185435.16393.4.camel@free.fr> References: <1478185435.16393.4.camel@free.fr> Message-ID: Hi Yvan, I just tried doing something similar with my build of the latest git revision of PV and didn't have any problems with exporting. Could you try running paraview with the "-dr" flag to disable your registry? Maybe something in there is causing problems. If that doesn't fix the issue, could you share a sample data set along with all of the steps that you go through so that I can try and replicate it? Thanks, Andy On Thu, Nov 3, 2016 at 11:03 AM, Yvan Fournier wrote: > Hello, > > When trying to generate a coprocessing script with ParaView 5.2.0-RC3- > 14-gc56cebd (based on rather simple EnSight data), I have the following > error: > > > Traceback (most recent call last): > File "", line 1, in > File "/home/yvan/opt/paraview-5.2/lib/paraview-5.2/site- > packages/paraview/cpexport.py", line 75, in > from paraview import cpstate > File "/home/yvan/opt/paraview-5.2/lib/paraview-5.2/site- > packages/paraview/cpstate.py", line 13, in > from paraview import smtrace, smstate, servermanager > File "/home/yvan/opt/paraview-5.2/lib/paraview-5.2/site- > packages/paraview/smtrace.py", line 68, in > import paraview.servermanager as sm > File "/home/yvan/opt/paraview-5.2/lib/paraview-5.2/site- > packages/paraview/servermanager.py", line 53, in > from paraview import vtk > File "/home/yvan/opt/paraview-5.2/lib/paraview-5.2/site- > packages/paraview/vtk/__init__.py", line 7, in > from paraview.vtk.vtkCommonCore import * > File "/home/yvan/opt/paraview-5.2/lib/paraview-5.2/site- > packages/paraview/vtk/vtkCommonCore.py", line 9, in > from vtkCommonCorePython import * > ImportError: No module named vtkCommonCorePython > Error: Could not import vtkCommonComputationalGeometry > > I had the same error with an earlier RC1 version, while I had never > encountered this issue before (upgrading my ParaView build from master > every few weeks, and using the Coprocessing generator plugin on and off > for the last 2 years or more). > > Is it something with my build, or have others encountered this issue ? > > All of PARAVIEW_ENABLE_PYTHON, PARAVIEW_ENABLE_CATALYST, and > PARAVIEW_USE_MPI are enabled in my builds. > > Best regards, > > Yvan Fournier > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From M.Dietzel at IAB-Weimar.de Thu Nov 3 12:35:06 2016 From: M.Dietzel at IAB-Weimar.de (Dietzel Mathias) Date: Thu, 3 Nov 2016 16:35:06 +0000 Subject: [Paraview] Volume Render Plot - Unreasonable results with vector components or magnitude In-Reply-To: References: <9CFCBC636AF2B64FA55E32727F91D379430923A8@SVREXC01.intern.fitr.de> Message-ID: <9CFCBC636AF2B64FA55E32727F91D37943092497@SVREXC01.intern.fitr.de> Hi, first of all many thanks to the numerous and quick responses. Great work! I did a quick test of the volume rendering in ParaView 5.2.0-RC3 64 bit (Windows 7). The issue is still the same, that is volume rendering by vector components does not seem to be fixed. Additionally, I noticed one more issue occurring in PV 5.2-RC3: when changing from one component (e.g. x) to another one (e.g. y) in volume rendering, the title of the legend changes but nothing else. The legend keeps the same scaling parameters like min. and max. value (which may be intended) and the volume render plot is not re-rendered. One has to hit ?Rescale? in order to get an update of the volume render plot (which is confusing to me). Alvaro mentioned that I ought to use the ?GPU mapper? but I was not able to find this option in the settings or properties. Actually I don?t know whether I am using the CPU or GPU or which mapper in particular. Where can I adjust that? Let me know if I can give you any further support. Many thanks! Best wishes Mathias Von: ParaView [mailto:paraview-bounces at paraview.org] Im Auftrag von Andy Bauer Gesendet: Donnerstag, 3. November 2016 14:40 An: Cory Quammen Cc: Alvaro Sanchez; paraview Betreff: Re: [Paraview] Volume Render Plot - Unreasonable results with vector components or magnitude Hi, To add to Cory's feedback -- installers and source code are available for the 5.2 release candidate if you'd like to try it out and see if it's fixed. If it's not fixed and you let us know ASAP, we may be able to get it fixed in time for the 5.2 release. You can get the release candidate and paraview.org/download -- just choose the 5.2 RC3. Best, Andy On Thu, Nov 3, 2016 at 9:17 AM, Cory Quammen > wrote: Hi Mathias and Andrew, Volume rendering by vector component should be fixed in the ParaView 5.2 release, due out in the next two weeks. See https://gitlab.kitware.com/paraview/paraview/merge_requests/1105 Thanks, Cory On Thu, Nov 3, 2016 at 7:06 AM, Andrew > wrote: > Hello. I noticed the same behaviour in ParaView 4.3 on CentOS 6.7. Looks > like bug. Worked around with calculating the velocity magnitude as scalar. > There is also another bug or feature of volume rendering: I couldn't make it > render for all domains, it only renders one domain (for example, when I load > a CFD study results in EnSight Gold format). > > 2016-11-03 13:51 GMT+03:00 Dietzel Mathias >: >> >> Hello everyone, >> >> >> >> I am using Paraview?s Volume Render plot to visualize a velocity field >> inside some technical equipment. In case of plotting a component of the >> vector field or the magnitude of the vector (both from the drop-down menu) >> with volume render I get unreasonable results, e.g. minimum or maximum zones >> are not shown correctly or the flow direction seems wrong. However, if I >> calculate a scalar value from the vector that corresponds to the component >> or to the magnitude (e.g. using the calculator filter in Paraview) and then >> plot by volume render, the fluid field is represented correctly. >> >> >> >> The data itself seems OK since a surface or slice plot leads to the same >> (correct) results, no matter whether I use the vector component directly or >> the scalar value. I tested the behavior with several data sets. I am using >> Paraview 4.3.1 64-bit and Paraview 5.1.2 64-bit ? both show the same >> behavior. >> >> >> >> I appreciate any comment. >> >> >> >> Best regards >> >> Mathias Dietzel >> >> >> >> >> >> >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc. _______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From yvan.fournier at free.fr Thu Nov 3 14:42:53 2016 From: yvan.fournier at free.fr (Yvan Fournier) Date: Thu, 03 Nov 2016 19:42:53 +0100 Subject: [Paraview] Possible regression ? Error when generating Coprocessing script Message-ID: <1478198573.5282.3.camel@free.fr> Hello, OK, rebuilding from a new build directory seems to have fixed the issue (rerunning cmake and building did not; also, I used raw cmake instead of "ccmake -i" just in case... Sorry for the false alarm. Best regards, Yvan From utkarsh.ayachit at kitware.com Thu Nov 3 15:50:06 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 3 Nov 2016 15:50:06 -0400 Subject: [Paraview] How to obtain the surface from points In-Reply-To: References: Message-ID: Alas, I am not aware of any filter in ParaView that will generate a surface from the line-source you have. Utkarsh On Thu, Nov 3, 2016 at 12:03 PM, Chathu Gunasekera wrote: > Thanks for your response Utkarsh. > > Please see the sample data set. > > Can you kindly tell me how to get a nice 3D model from this? I need to > obtain the surface of the slices. > > Thanks in advance. > > -- > Warm regards, > Chathuri Gunasekera. > > > > On Thu, Nov 3, 2016 at 7:14 PM, Utkarsh Ayachit < > utkarsh.ayachit at kitware.com> wrote: > >> It's not exactly clear what you're looking for. Maybe if you can attach a >> sample dataset, it may help. Thanks. >> >> On Thu, Nov 3, 2016 at 1:53 AM, Chathu Gunasekera >> wrote: >> >>> Hi, >>> >>> Hope all is well. >>> >>> I obtained the boundary of the 3d model. >>> >>> Kindly can you assist me how to obtain the surface from points. >>> image is attached. >>> [image: Inline image 1] >>> >>> >>> -- >>> Warm regards, >>> Chathuri Gunasekera. >>> >>> _______________________________________________ >>> 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 >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >>> >> > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 50319 bytes Desc: not available URL: From jonathan.borduas at caboma.com Thu Nov 3 16:21:59 2016 From: jonathan.borduas at caboma.com (Jonathan Borduas) Date: Thu, 3 Nov 2016 20:21:59 +0000 Subject: [Paraview] How to obtain the surface from points In-Reply-To: References: Message-ID: Hi, I think the filter vtkRuledSurfaceFilter is what you are looking for. However, this filter is not in the Paraview?s Filter menu. http://www.vtk.org/doc/nightly/html/classvtkRuledSurfaceFilter.html Cheers From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Utkarsh Ayachit Sent: Thursday, November 3, 2016 3:50 PM To: Chathu Gunasekera Cc: ParaView Subject: Re: [Paraview] How to obtain the surface from points Alas, I am not aware of any filter in ParaView that will generate a surface from the line-source you have. Utkarsh On Thu, Nov 3, 2016 at 12:03 PM, Chathu Gunasekera > wrote: Thanks for your response Utkarsh. Please see the sample data set. Can you kindly tell me how to get a nice 3D model from this? I need to obtain the surface of the slices. Thanks in advance. -- Warm regards, Chathuri Gunasekera. On Thu, Nov 3, 2016 at 7:14 PM, Utkarsh Ayachit > wrote: It's not exactly clear what you're looking for. Maybe if you can attach a sample dataset, it may help. Thanks. On Thu, Nov 3, 2016 at 1:53 AM, Chathu Gunasekera > wrote: Hi, Hope all is well. I obtained the boundary of the 3d model. Kindly can you assist me how to obtain the surface from points. image is attached. [Inline image 1] -- Warm regards, Chathuri Gunasekera. _______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 118455 bytes Desc: image001.png URL: From wascott at sandia.gov Thu Nov 3 16:48:28 2016 From: wascott at sandia.gov (Scott, W Alan) Date: Thu, 3 Nov 2016 20:48:28 +0000 Subject: [Paraview] delta between times Message-ID: <760914859e8a4409ad055a75d1571378@ES01AMSNLNT.srn.sandia.gov> >From a user: If I have a time series with positions (It's a set of csv files, one time step per file, each file has the same set of points), is there a method of computing the delta position from the current time to the next time and using that as a glyph vector? Thanks, Alan -------------- next part -------------- An HTML attachment was scrubbed... URL: From kmorel at sandia.gov Thu Nov 3 17:16:06 2016 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Thu, 3 Nov 2016 21:16:06 +0000 Subject: [Paraview] delta between times Message-ID: <911c318f2f924f0fa97f0cef4c6386f5@ES08AMSNLNT.srn.sandia.gov> This sounds exactly like a question that was posted to this list a few days ago: http://markmail.org/thread/zxtz6p32prxu76h3 -Ken From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Scott, W Alan Sent: Thursday, November 3, 2016 2:48 PM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] delta between times >From a user: If I have a time series with positions (It's a set of csv files, one time step per file, each file has the same set of points), is there a method of computing the delta position from the current time to the next time and using that as a glyph vector? Thanks, Alan -------------- next part -------------- An HTML attachment was scrubbed... URL: From cgunases at gmail.com Fri Nov 4 00:53:40 2016 From: cgunases at gmail.com (Chathu Gunasekera) Date: Fri, 4 Nov 2016 10:23:40 +0530 Subject: [Paraview] How to obtain the surface from points In-Reply-To: References: Message-ID: Thank you Utkarsh and Jonathan for responding me. In Fact, Jonathan i am clueless how to add that filter to paraview:( Btw, i got something like this using Delauny3D filter. But there is an error (i have marked a red circle where there is no coordinate as such). Can you kindly tell me how to get rid of that point. That's the only issue that bothers me now. -- Warm regards, Chathuri Gunasekera. On Fri, Nov 4, 2016 at 1:51 AM, Jonathan Borduas < jonathan.borduas at caboma.com> wrote: > Hi, > > > > I think the filter vtkRuledSurfaceFilter is what you are looking for. > However, this filter is not in the Paraview?s Filter menu. > > > > http://www.vtk.org/doc/nightly/html/classvtkRuledSurfaceFilter.html > > > > Cheers > > > > *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Utkarsh > Ayachit > *Sent:* Thursday, November 3, 2016 3:50 PM > *To:* Chathu Gunasekera > *Cc:* ParaView > *Subject:* Re: [Paraview] How to obtain the surface from points > > > > Alas, I am not aware of any filter in ParaView that will generate a > surface from the line-source you have. > > > > Utkarsh > > > > On Thu, Nov 3, 2016 at 12:03 PM, Chathu Gunasekera > wrote: > > Thanks for your response Utkarsh. > > > > Please see the sample data set. > > > > Can you kindly tell me how to get a nice 3D model from this? I need to > obtain the surface of the slices. > > > > Thanks in advance. > > > > -- > > Warm regards, > > Chathuri Gunasekera. > > > > > > > > On Thu, Nov 3, 2016 at 7:14 PM, Utkarsh Ayachit < > utkarsh.ayachit at kitware.com> wrote: > > It's not exactly clear what you're looking for. Maybe if you can attach a > sample dataset, it may help. Thanks. > > > > On Thu, Nov 3, 2016 at 1:53 AM, Chathu Gunasekera > wrote: > > Hi, > > > > Hope all is well. > > > > I obtained the boundary of the 3d model. > > > > Kindly can you assist me how to obtain the surface from points. > > image is attached. > > [image: Inline image 1] > > > > > -- > > Warm regards, > > Chathuri Gunasekera. > > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 118455 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 3d_1.jpg Type: image/jpeg Size: 35474 bytes Desc: not available URL: From M.Dietzel at IAB-Weimar.de Fri Nov 4 06:05:02 2016 From: M.Dietzel at IAB-Weimar.de (Dietzel Mathias) Date: Fri, 4 Nov 2016 10:05:02 +0000 Subject: [Paraview] Volume Render Plot - Unreasonable results with vector components or magnitude In-Reply-To: References: <9CFCBC636AF2B64FA55E32727F91D379430923A8@SVREXC01.intern.fitr.de> <9CFCBC636AF2B64FA55E32727F91D37943092497@SVREXC01.intern.fitr.de> Message-ID: <9CFCBC636AF2B64FA55E32727F91D37943092518@SVREXC01.intern.fitr.de> Hi Alvaro, your last advise is actually the solution!! ? Volume rendering works fine for structured data. I have been working with multi-block unstructured data (Ensight files exported form Ansys Fluent CFD) which leads to the discussed problems. By the way, that is why I could not find the ?Volume Rendering? section on the ?Properties? tab since this is shown for structured data only. For unstructured data the ?Volume Rendering? section will not appear although a volume render plot is displayed. Maybe a comment in the corresponding section of the PV manual would be helpful. After converting my unstructured grid to structured data (?Resample to Image? as you suggested), volume render works fine (both for ?Smart? and ?GPU Based? rendering mode) and is MUCH faster (100^3 sampling). Anyway, resampling to structured data is time consuming, creates a ?bounding box? and leads to large grids if you want to capture small details. So I guess I keep the current limitations of volume render in mind and work with scalar fields instead which seems to work perfect with unstructured data. Thanks to everyone! Great work! Best wishes Mathias Von: Alvaro Sanchez [mailto:alvaro.sanchez at kitware.com] Gesendet: Donnerstag, 3. November 2016 18:33 An: Dietzel Mathias Betreff: Re: [Paraview] Volume Render Plot - Unreasonable results with vector components or magnitude Here is a screenshot of what 'Volume Rendering Mode' looks like, the label is on the left (Properties tab). Cheers, Alvaro On Thu, Nov 3, 2016 at 1:31 PM, Alvaro Sanchez > wrote: Hi Mathias, thanks for your feedback. I downloaded the ParaView-5.2-RC3 binaries and tried them out on Windows 7 and vector data seems to render correctly. Something important that I missed to point out is that this is currently supported for structured data only, so this might be the issue. To ensure that you are using the GPU mapper look for the 'Volume Rendering' section on the 'Properties' tab and select 'GPU Based' on 'Volume Rendering Mode'. One thing you could try (in case your data is unstructured) is using the "Resample to Image" filter to convert your data to structured and then volume render that. Let us know if that helps. Alvaro On Thu, Nov 3, 2016 at 12:35 PM, Dietzel Mathias > wrote: Hi, first of all many thanks to the numerous and quick responses. Great work! I did a quick test of the volume rendering in ParaView 5.2.0-RC3 64 bit (Windows 7). The issue is still the same, that is volume rendering by vector components does not seem to be fixed. Additionally, I noticed one more issue occurring in PV 5.2-RC3: when changing from one component (e.g. x) to another one (e.g. y) in volume rendering, the title of the legend changes but nothing else. The legend keeps the same scaling parameters like min. and max. value (which may be intended) and the volume render plot is not re-rendered. One has to hit ?Rescale? in order to get an update of the volume render plot (which is confusing to me). Alvaro mentioned that I ought to use the ?GPU mapper? but I was not able to find this option in the settings or properties. Actually I don?t know whether I am using the CPU or GPU or which mapper in particular. Where can I adjust that? Let me know if I can give you any further support. Many thanks! Best wishes Mathias Von: ParaView [mailto:paraview-bounces at paraview.org] Im Auftrag von Andy Bauer Gesendet: Donnerstag, 3. November 2016 14:40 An: Cory Quammen Cc: Alvaro Sanchez; paraview Betreff: Re: [Paraview] Volume Render Plot - Unreasonable results with vector components or magnitude Hi, To add to Cory's feedback -- installers and source code are available for the 5.2 release candidate if you'd like to try it out and see if it's fixed. If it's not fixed and you let us know ASAP, we may be able to get it fixed in time for the 5.2 release. You can get the release candidate and paraview.org/download -- just choose the 5.2 RC3. Best, Andy On Thu, Nov 3, 2016 at 9:17 AM, Cory Quammen > wrote: Hi Mathias and Andrew, Volume rendering by vector component should be fixed in the ParaView 5.2 release, due out in the next two weeks. See https://gitlab.kitware.com/paraview/paraview/merge_requests/1105 Thanks, Cory On Thu, Nov 3, 2016 at 7:06 AM, Andrew > wrote: > Hello. I noticed the same behaviour in ParaView 4.3 on CentOS 6.7. Looks > like bug. Worked around with calculating the velocity magnitude as scalar. > There is also another bug or feature of volume rendering: I couldn't make it > render for all domains, it only renders one domain (for example, when I load > a CFD study results in EnSight Gold format). > > 2016-11-03 13:51 GMT+03:00 Dietzel Mathias >: >> >> Hello everyone, >> >> >> >> I am using Paraview?s Volume Render plot to visualize a velocity field >> inside some technical equipment. In case of plotting a component of the >> vector field or the magnitude of the vector (both from the drop-down menu) >> with volume render I get unreasonable results, e.g. minimum or maximum zones >> are not shown correctly or the flow direction seems wrong. However, if I >> calculate a scalar value from the vector that corresponds to the component >> or to the magnitude (e.g. using the calculator filter in Paraview) and then >> plot by volume render, the fluid field is represented correctly. >> >> >> >> The data itself seems OK since a surface or slice plot leads to the same >> (correct) results, no matter whether I use the vector component directly or >> the scalar value. I tested the behavior with several data sets. I am using >> Paraview 4.3.1 64-bit and Paraview 5.1.2 64-bit ? both show the same >> behavior. >> >> >> >> I appreciate any comment. >> >> >> >> Best regards >> >> Mathias Dietzel >> >> >> >> >> >> >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc. _______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -- Alvaro Sanchez Kitware, Inc. Senior R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4901 -- Alvaro Sanchez Kitware, Inc. Senior R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4901 -------------- next part -------------- An HTML attachment was scrubbed... URL: From u.utku.turuncoglu at be.itu.edu.tr Fri Nov 4 10:02:43 2016 From: u.utku.turuncoglu at be.itu.edu.tr (Ufuk Utku Turuncoglu (BE)) Date: Fri, 4 Nov 2016 16:02:43 +0200 Subject: [Paraview] GNOME is hanging with co-processing ... In-Reply-To: References: <64db4af1-48dd-940c-1d41-cf0d4ff40152@be.itu.edu.tr> <5dac99da-66af-7331-8374-abf2260fbeca@be.itu.edu.tr> Message-ID: <5654c95f-4491-a029-339b-4048246b0be3@be.itu.edu.tr> Hi Andy, I updated driver and install PV successfully. As you point out, the recent driver solves the problem. By the way, i installed the co-processing code with PV with EGL support and now it runs without any problem and produces desired png files. The only minor problem is that the result png files do not have axis titles and axis labels. There could be a bug related with co-processing. Thanks for your help and suggestions, Regards, --ufuk On 03/11/16 15:42, Andy Bauer wrote: > Hi, > > You'll probably want to use PV 5.1.2 or greater for this. Also, note > that the blog post says that the NVIDIA EGL driver minimum version > needed is 355.11. > > On Thu, Nov 3, 2016 at 5:52 AM, Ufuk Utku Turuncoglu (BE) > > wrote: > > Hi Andy, > > I am trying to install ParaView with EGL under Centos 7.1 but > ParaView configuration could not find following libraries, > > EGL_gldispatch_LIBRARY EGL_gldispatch_LIBRARY-NOTFOUND > EGL_opengl_LIBRARY EGL_opengl_LIBRARY-NOTFOUND > > I checked the OS and Nvidia drivers and i confirmed that i don't > have libGLdispatch library. > > BTW, i am using Nvidia driver version 352.79. It is little bit old > and now it is 367.57. Do you think that my driver is not capable > to install the ParaView with EGL? If this is the case, i will try > to upgrade the Nvidia library but i just want to be sure. > > Thanks for your help, > Regards, > > --ufuk > > > On 02/11/16 17:49, Andy Bauer wrote: >> Hi Ufuk, >> >> I haven't heard of any issues like this. Do you get similar >> behavior on the machine when running ParaView with a separate, >> connected pvserver? >> >> If you have an NVIDIA card you may be able to use their EGL libs >> for offscreen rendering (i.e. no x-windows needed). See the blog >> post at >> https://blog.kitware.com/off-screen-rendering-through-the-native-platform-interface-egl/ >> . >> >> >> Best, >> Andy >> >> On Wed, Nov 2, 2016 at 5:22 AM, Ufuk Utku Turuncoglu (BE) >> > > wrote: >> >> Hi, >> >> I am trying to run a parallel code with co-processing support >> but when i run the code, it is hanging without opening >> x-window and writing the png files. In this case, i could not >> use or interact with any other app with GUI such as firefox, >> terminal etc. It seems that it affects the GNOME. On the >> other hand, if i connect to machine remotely via ssh and kill >> the MPI process than the machine back to the normal and i >> could interact with terminal and other apps with GUI >> nornally. The system has Centos (7.1) operating system along >> with ParaView 5.2.0RC3 (BTW, i compiled ParaView from >> source). In this case, i am just running the code with >> standard mpirun command as follows, >> >> mpirun -np 16 ./main.x >> >> to find the source of the problem, i included strace command >> to the mpirun like following >> >> mpirun -np 16 strace ./main.x >> >> and it runs without any problem and produces desired output. >> So, at this point i am little bit confused and i just wonder >> that is there anybody else had similar issue before. Strace >> somehow solves the problem but i don't know how. It seems >> that it is related with the system because same code runs >> without any problem under MacOS. I also compiled code with >> ParaView 5.1 and it also hangs. The standard >> allinputsgridwriter.py is working without any problem and >> writes the data to disk. So, somehow it is related with the >> system (probably GNOME) or the ParaView installation. >> >> Another question is that is there any way to prevent opening >> x-window and still getting advantage of having GPU in this >> case? The code only writes the result in png format. So, i >> need installation for headless server (without any screen >> attached) but i am not sure. I think that it requires special >> configuration options for the ParaView installation. So, >> please let me know also about those special options. >> >> Regards, >> >> --ufuk >> >> >> >> >> >> >> _______________________________________________ >> 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 >> >> >> Search the list archives at: >> http://markmail.org/search/?q=ParaView >> >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kmorel at sandia.gov Fri Nov 4 09:44:09 2016 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Fri, 4 Nov 2016 13:44:09 +0000 Subject: [Paraview] How to obtain the surface from points In-Reply-To: References: , Message-ID: <2AA70907-984A-4DCF-B23A-F0BCC161FE2B@sandia.gov> That is odd. Perhaps there is point in your data that is not used in the initial geometry. Try running the Clean To Grid filter before the Delaunay filter. -Ken Sent from my iPad so blame autocorrect. On Nov 3, 2016, at 10:54 PM, Chathu Gunasekera > wrote: Thank you Utkarsh and Jonathan for responding me. In Fact, Jonathan i am clueless how to add that filter to paraview:( Btw, i got something like this using Delauny3D filter. But there is an error (i have marked a red circle where there is no coordinate as such). Can you kindly tell me how to get rid of that point. That's the only issue that bothers me now. -- Warm regards, Chathuri Gunasekera. On Fri, Nov 4, 2016 at 1:51 AM, Jonathan Borduas > wrote: Hi, I think the filter vtkRuledSurfaceFilter is what you are looking for. However, this filter is not in the Paraview's Filter menu. http://www.vtk.org/doc/nightly/html/classvtkRuledSurfaceFilter.html Cheers From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Utkarsh Ayachit Sent: Thursday, November 3, 2016 3:50 PM To: Chathu Gunasekera > Cc: ParaView > Subject: Re: [Paraview] How to obtain the surface from points Alas, I am not aware of any filter in ParaView that will generate a surface from the line-source you have. Utkarsh On Thu, Nov 3, 2016 at 12:03 PM, Chathu Gunasekera > wrote: Thanks for your response Utkarsh. Please see the sample data set. Can you kindly tell me how to get a nice 3D model from this? I need to obtain the surface of the slices. Thanks in advance. -- Warm regards, Chathuri Gunasekera. On Thu, Nov 3, 2016 at 7:14 PM, Utkarsh Ayachit > wrote: It's not exactly clear what you're looking for. Maybe if you can attach a sample dataset, it may help. Thanks. On Thu, Nov 3, 2016 at 1:53 AM, Chathu Gunasekera > wrote: Hi, Hope all is well. I obtained the boundary of the 3d model. Kindly can you assist me how to obtain the surface from points. image is attached. -- Warm regards, Chathuri Gunasekera. _______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview <3d_1.jpg> _______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 118455 bytes Desc: image001.png URL: From dkxls23 at gmail.com Fri Nov 4 10:18:21 2016 From: dkxls23 at gmail.com (Armin Wehrfritz) Date: Fri, 4 Nov 2016 16:18:21 +0200 Subject: [Paraview] ParaView 5.2 Release Candidate 3 available for download In-Reply-To: References: Message-ID: Hi, I tested 5.2 RC3 and encountered an issue when reading OpenFOAM cases. The problem only occurs when the OpenFOAM data (i.e. the mesh or fields) are written in binary format. I setup two test cases that are otherwise identical, where for the one the data is in ascii and the other one in binary format. With ParaView 5.1.2 I can read both cases without any error, but with ParaView 5.2 RC3 the cases for which the data is in binary format leads to an error (see below for the exact error message). The case is taken directly from the official OpenFOAM 4.x tutorials, and here is a link to the case files that can be directly used for debugging: https://www.dropbox.com/s/l0cb8vd6pjkb1zz/debug_PV_OF.tar.gz?dl=0 All tests were done with the ParaView binaries distributed by Kitware. Let me know if you need more information or if I can help debugging this further. Cheers, Armin > ERROR: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_opengl2_qt4_superbuild/source-paraview/VTK/IO/Geometry/vtkOpenFOAMReader.cxx, line 5147 > vtkOpenFOAMReaderPrivate (0x4896cf0): Error reading line 1277 of /home/arminw/tmp/debug_PV_OF/pitzDaily_binary/constant/polyMesh/points: Expected punctuation token ')', found ? > > > ERROR: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_opengl2_qt4_superbuild/source-paraview/VTK/Common/ExecutionModel/vtkExecutive.cxx, line 784 > vtkPVCompositeDataPipeline (0x48ba200): Algorithm vtkPOpenFOAMReader(0x488a610) returned failure for request: vtkInformation (0x47af0c0) > Debug: Off > Modified Time: 224666 > Reference Count: 1 > Registered Events: (none) > Request: REQUEST_DATA > FROM_OUTPUT_PORT: 0 > ALGORITHM_AFTER_FORWARD: 1 > FORWARD_DIRECTION: 0 From david.lonie at kitware.com Fri Nov 4 13:05:35 2016 From: david.lonie at kitware.com (David Lonie) Date: Fri, 4 Nov 2016 13:05:35 -0400 Subject: [Paraview] ParaView 5.2 Release Candidate 3 available for download In-Reply-To: References: Message-ID: On Fri, Nov 4, 2016 at 10:18 AM, Armin Wehrfritz wrote: > Hi, > > I tested 5.2 RC3 and encountered an issue when reading OpenFOAM cases. > > The problem only occurs when the OpenFOAM data (i.e. the mesh or fields) > are written in binary format. I setup two test cases that are otherwise > identical, where for the one the data is in ascii and the other one in > binary format. > With ParaView 5.1.2 I can read both cases without any error, but with > ParaView 5.2 RC3 the cases for which the data is in binary format leads > to an error (see below for the exact error message). > > The case is taken directly from the official OpenFOAM 4.x tutorials, and > here is a link to the case files that can be directly used for debugging: > https://www.dropbox.com/s/l0cb8vd6pjkb1zz/debug_PV_OF.tar.gz?dl=0 > > All tests were done with the ParaView binaries distributed by Kitware. > > Let me know if you need more information or if I can help debugging this > further. > Thanks for the bug report! I have a patch for this here: https://gitlab.kitware.com/vtk/vtk/merge_requests/2147 This should be able to make it into the upcoming release. Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: From dkxls23 at gmail.com Fri Nov 4 15:06:38 2016 From: dkxls23 at gmail.com (Armin Wehrfritz) Date: Fri, 4 Nov 2016 21:06:38 +0200 Subject: [Paraview] ParaView 5.2 Release Candidate 3 available for download In-Reply-To: References: Message-ID: Thanks for the quick response and fix of this issue! I will test it once there is a ParaView version (RC or release) that has the fix. -Armin On 11/04/2016 07:05 PM, David Lonie wrote: > On Fri, Nov 4, 2016 at 10:18 AM, Armin Wehrfritz > wrote: > > Hi, > > I tested 5.2 RC3 and encountered an issue when reading OpenFOAM cases. > > The problem only occurs when the OpenFOAM data (i.e. the mesh or fields) > are written in binary format. I setup two test cases that are otherwise > identical, where for the one the data is in ascii and the other one in > binary format. > With ParaView 5.1.2 I can read both cases without any error, but with > ParaView 5.2 RC3 the cases for which the data is in binary format leads > to an error (see below for the exact error message). > > The case is taken directly from the official OpenFOAM 4.x tutorials, and > here is a link to the case files that can be directly used for > debugging: > https://www.dropbox.com/s/l0cb8vd6pjkb1zz/debug_PV_OF.tar.gz?dl=0 > > > All tests were done with the ParaView binaries distributed by Kitware. > > Let me know if you need more information or if I can help debugging this > further. > > > Thanks for the bug report! I have a patch for this here: > > https://gitlab.kitware.com/vtk/vtk/merge_requests/2147 > > This should be able to make it into the upcoming release. > > Dave From cgabriel at matrix-solutions.com Fri Nov 4 17:37:28 2016 From: cgabriel at matrix-solutions.com (Christian Gabriel) Date: Fri, 4 Nov 2016 21:37:28 +0000 Subject: [Paraview] ParaView, Python and the CLR Message-ID: <23842c59d80e4acb91d1659323e8bb27@msicalexch1.matrix-solutions.com> Good day I'm trying to use a Programmable Source to read data from a proprietary file format (DHI/MikeZero). I have access to its SDK via Python, however, it uses managed code (natively written in C#), hence I got my environment set up to use the CLR module and add references to the MikeZero SDK: import clr clr.AddReference("DHI.Generic.MikeZero.DFS") from DHI.Generic.MikeZero.DFS import * This works well in "stand alone" python scripts. I tried using the same approach in ParaView/Programmable Source, but it can't find the CLR module. Is there a set-up step I'm missing in the ParaView Environment to get access to external modules such as CLR? Thanks, Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Fri Nov 4 18:30:26 2016 From: andy.bauer at kitware.com (Andy Bauer) Date: Fri, 4 Nov 2016 18:30:26 -0400 Subject: [Paraview] ParaView, Python and the CLR In-Reply-To: <23842c59d80e4acb91d1659323e8bb27@msicalexch1.matrix-solutions.com> References: <23842c59d80e4acb91d1659323e8bb27@msicalexch1.matrix-solutions.com> Message-ID: You may need to set things like your PYTHONPATH and LD_LIBRARY_PATH in the programmable source itself instead of in the environment you're running ParaView from. For example: import sys sys.path.append("/home/me/mypy") Remember that the programmable source runs the script on the server. On Fri, Nov 4, 2016 at 5:37 PM, Christian Gabriel < cgabriel at matrix-solutions.com> wrote: > Good day > > > > I?m trying to use a Programmable Source to read data from a proprietary > file format (DHI/MikeZero). > > > > I have access to its SDK via Python, however, it uses managed code > (natively written in C#), hence I got my environment set up to use the CLR > module and add references to the MikeZero SDK: > > > > import clr > > clr.AddReference("DHI.Generic.MikeZero.DFS") > > from DHI.Generic.MikeZero.DFS import * > > > > This works well in ?stand alone? python scripts. > > > > I tried using the same approach in ParaView/Programmable Source, but it > can?t find the CLR module. > > > > Is there a set-up step I?m missing in the ParaView Environment to get > access to external modules such as CLR? > > > > Thanks, Chris > > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cgabriel at matrix-solutions.com Fri Nov 4 20:18:11 2016 From: cgabriel at matrix-solutions.com (Christian Gabriel) Date: Sat, 5 Nov 2016 00:18:11 +0000 Subject: [Paraview] ParaView, Python and the CLR In-Reply-To: References: <23842c59d80e4acb91d1659323e8bb27@msicalexch1.matrix-solutions.com>, Message-ID: <000f4318.2bfb5cd662f9d32e@matrix-solutions.com> Thanks ... Will look into that Luckily, our models aren't large enough to run them distributed/on clients, hence I don't think I'll have to worry about that too much, but will keep that in mind as well .. Chris ------ Original message------ From: Andy Bauer Date: Fri, Nov 4, 2016 6:30 PM To: Christian Gabriel; Cc: paraview at paraview.org; Subject:Re: [Paraview] ParaView, Python and the CLR You may need to set things like your PYTHONPATH and LD_LIBRARY_PATH in the programmable source itself instead of in the environment you're running ParaView from. For example: import sys sys.path.append("/home/me/mypy") Remember that the programmable source runs the script on the server. On Fri, Nov 4, 2016 at 5:37 PM, Christian Gabriel > wrote: Good day I'm trying to use a Programmable Source to read data from a proprietary file format (DHI/MikeZero). I have access to its SDK via Python, however, it uses managed code (natively written in C#), hence I got my environment set up to use the CLR module and add references to the MikeZero SDK: import clr clr.AddReference("DHI.Generic.MikeZero.DFS") from DHI.Generic.MikeZero.DFS import * This works well in "stand alone" python scripts. I tried using the same approach in ParaView/Programmable Source, but it can't find the CLR module. Is there a set-up step I'm missing in the ParaView Environment to get access to external modules such as CLR? Thanks, Chris _______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview From aleksejs.fomins at lspr.swiss Mon Nov 7 04:12:29 2016 From: aleksejs.fomins at lspr.swiss (Aleksejs Fomins) Date: Mon, 7 Nov 2016 10:12:29 +0100 Subject: [Paraview] Curvilinear Elements? Message-ID: Dear Paraview, I do calculations on curvilinear tetrahedral meshes and at some point have written a curvilinear VTK/VTU/PVTU writer for my code. It does virtual refinement of curvilinear elements, and thus writes curvilinear elements as a set of smaller linear elements. I was wondering if it was possible to upgrade my output to use native Paraview curvilinear support. 1) Does Paraview support curvilinear elements in VTK/VTU formats? How high can the curvilinear order go? Is there documentation for the curvilinear format 2) If not VTK/VTU, perhaps there is another format? Best regards, Aleksejs Fomins From cgabriel at matrix-solutions.com Mon Nov 7 09:00:30 2016 From: cgabriel at matrix-solutions.com (Christian Gabriel) Date: Mon, 7 Nov 2016 14:00:30 +0000 Subject: [Paraview] Vectorized data assignment Message-ID: <67f0377a7fb946bf82e703b1688150df@msicalexch1.matrix-solutions.com> Good day. I found this example code: # Create the points points = vtk.vtkPoints() points.InsertNextPoint(0.0, 0.0, 0.0) points.InsertNextPoint(1.0, 0.0, 0.0) points.InsertNextPoint(1.0, 1.0, 0.0) points.InsertNextPoint(0.0, 1.0, 0.0) ... ... ... which had me wonder if there is a way to assign data in a vectorized fashion instead of point by point? Let's say I can read in 3 1D arrays (vectors) with X, Y, Z data or one 2D array (matrix, dataframe) with the same data in columns, is there a way to assign that data to the points all at once instead of iteratively? points = vtk.vtkPoints() points.InsertNextPoint(X, Y, Z) - just saying; this is obviously not correct! Obviously, any data could be combined and reshaped first to whatever format required .... Given that ParaView/VTK was designed to work with (very) large data sets I'd be surprised if there were no vectorized operations implemented. Thanks, Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.lonie at kitware.com Mon Nov 7 09:26:57 2016 From: david.lonie at kitware.com (David Lonie) Date: Mon, 7 Nov 2016 09:26:57 -0500 Subject: [Paraview] Vectorized data assignment In-Reply-To: <67f0377a7fb946bf82e703b1688150df@msicalexch1.matrix-solutions.com> References: <67f0377a7fb946bf82e703b1688150df@msicalexch1.matrix-solutions.com> Message-ID: On Mon, Nov 7, 2016 at 9:00 AM, Christian Gabriel < cgabriel at matrix-solutions.com> wrote: > Good day. > > > > I found this example code > > : > > > > # Create the points > > points = vtk.vtkPoints() > > points.InsertNextPoint(0.0, 0.0, 0.0) > > points.InsertNextPoint(1.0, 0.0, 0.0) > > points.InsertNextPoint(1.0, 1.0, 0.0) > > points.InsertNextPoint(0.0, 1.0, 0.0) > > ? ? ? > > > > which had me wonder if there is a way to assign data in a vectorized > fashion instead of point by point? > > > > Let?s say I can read in 3 1D arrays (vectors) with X, Y, Z data or one 2D > array (matrix, dataframe) with the same data in columns, is there a way to > assign that data to the points all at once instead of iteratively? > > > > points = vtk.vtkPoints() > > points.InsertNextPoint(X, Y, Z) - just saying; this is obviously > not correct! > > > > Obviously, any data could be combined and reshaped first to whatever > format required ?. > > > > Given that ParaView/VTK was designed to work with (very) large data sets > I?d be surprised if there were no vectorized operations implemented. > In C++, there are a number of ways to do this by modifying the data array directly (instead of going through the vtkPoints interface). You can extract the data array from the points by calling points.GetData(). You can also create a points array separately and assign it to the vtkPoints instance by calling points.SetData(myArray). There are two types of arrays in VTK, AoS (Array-of-Structs, the default used for e.g. vtkFloatArray, etc), and SoA (Struct-of-Arrays, still somewhat experimental at this point): These doxygen pages describe the specific APIs for them: http://www.vtk.org/doc/nightly/html/classvtkAOSDataArrayTemplate.html http://www.vtk.org/doc/nightly/html/classvtkSOADataArrayTemplate.html There are several ways to do low-level copying of data using methods like AoS::SetArray, SoA::SetComponentArray, AoS::GetPointer, SoA::GetComponentArrayPointer, etc, which will allow you to set the array's memory buffer explicitly, or just get low-level access to it for for modifications. However, I'm not sure how much of this is exposed in the python/numpy layers, so it might take some experimentation. Hopefully someone more familiar with the python bindings will chime in. HTH, Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: From cgabriel at matrix-solutions.com Mon Nov 7 09:50:55 2016 From: cgabriel at matrix-solutions.com (Christian Gabriel) Date: Mon, 7 Nov 2016 14:50:55 +0000 Subject: [Paraview] Vectorized data assignment In-Reply-To: References: <67f0377a7fb946bf82e703b1688150df@msicalexch1.matrix-solutions.com> Message-ID: <1d96484609d342cfaccd8879454b4449@msicalexch1.matrix-solutions.com> Thanks Dave. That?s good to know. My background is actually in C++ programming, but the SDK I?m trying to link in is natively in C# and wrapped with Python. I could try mix-code programming (C++/C#), but trying to avoid that for now and use Python instead ?. Chris From: David Lonie [mailto:david.lonie at kitware.com] Sent: November-07-16 9:27 AM To: Christian Gabriel Cc: paraview at paraview.org Subject: Re: [Paraview] Vectorized data assignment On Mon, Nov 7, 2016 at 9:00 AM, Christian Gabriel > wrote: Good day. I found this example code: # Create the points points = vtk.vtkPoints() points.InsertNextPoint(0.0, 0.0, 0.0) points.InsertNextPoint(1.0, 0.0, 0.0) points.InsertNextPoint(1.0, 1.0, 0.0) points.InsertNextPoint(0.0, 1.0, 0.0) ? ? ? which had me wonder if there is a way to assign data in a vectorized fashion instead of point by point? Let?s say I can read in 3 1D arrays (vectors) with X, Y, Z data or one 2D array (matrix, dataframe) with the same data in columns, is there a way to assign that data to the points all at once instead of iteratively? points = vtk.vtkPoints() points.InsertNextPoint(X, Y, Z) - just saying; this is obviously not correct! Obviously, any data could be combined and reshaped first to whatever format required ?. Given that ParaView/VTK was designed to work with (very) large data sets I?d be surprised if there were no vectorized operations implemented. In C++, there are a number of ways to do this by modifying the data array directly (instead of going through the vtkPoints interface). You can extract the data array from the points by calling points.GetData(). You can also create a points array separately and assign it to the vtkPoints instance by calling points.SetData(myArray). There are two types of arrays in VTK, AoS (Array-of-Structs, the default used for e.g. vtkFloatArray, etc), and SoA (Struct-of-Arrays, still somewhat experimental at this point): These doxygen pages describe the specific APIs for them: http://www.vtk.org/doc/nightly/html/classvtkAOSDataArrayTemplate.html http://www.vtk.org/doc/nightly/html/classvtkSOADataArrayTemplate.html There are several ways to do low-level copying of data using methods like AoS::SetArray, SoA::SetComponentArray, AoS::GetPointer, SoA::GetComponentArrayPointer, etc, which will allow you to set the array's memory buffer explicitly, or just get low-level access to it for for modifications. However, I'm not sure how much of this is exposed in the python/numpy layers, so it might take some experimentation. Hopefully someone more familiar with the python bindings will chime in. HTH, Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.lonie at kitware.com Mon Nov 7 09:56:03 2016 From: david.lonie at kitware.com (David Lonie) Date: Mon, 7 Nov 2016 09:56:03 -0500 Subject: [Paraview] Vectorized data assignment In-Reply-To: <1d96484609d342cfaccd8879454b4449@msicalexch1.matrix-solutions.com> References: <67f0377a7fb946bf82e703b1688150df@msicalexch1.matrix-solutions.com> <1d96484609d342cfaccd8879454b4449@msicalexch1.matrix-solutions.com> Message-ID: On Mon, Nov 7, 2016 at 9:50 AM, Christian Gabriel < cgabriel at matrix-solutions.com> wrote: > Thanks Dave. > > > > That?s good to know. My background is actually in C++ programming, but the > SDK I?m trying to link in is natively in C# and wrapped with Python. I > could try mix-code programming (C++/C#), but trying to avoid that for now > and use Python instead ?. > I know that our python bindings have some level of compatibility with numpy arrays, so it may be possible to pack your data into a numpy array and just use the SetArray / SetComponentArray methods directly with them. Not 100% sure though... -------------- next part -------------- An HTML attachment was scrubbed... URL: From chuck.atkins at kitware.com Mon Nov 7 10:03:42 2016 From: chuck.atkins at kitware.com (Chuck Atkins) Date: Mon, 7 Nov 2016 10:03:42 -0500 Subject: [Paraview] ParaView, Python and the CLR In-Reply-To: <000f4318.2bfb5cd662f9d32e@matrix-solutions.com> References: <23842c59d80e4acb91d1659323e8bb27@msicalexch1.matrix-solutions.com> <000f4318.2bfb5cd662f9d32e@matrix-solutions.com> Message-ID: Hi Chris, import clr > clr.AddReference("DHI.Generic.MikeZero.DFS") > from DHI.Generic.MikeZero.DFS import * > > This works well in "stand alone" python scripts. I tried using the same > approach in ParaView/Programmable Source, but it can't find the CLR module. > If you're using the ParaView client binary downloaded from paraview.org, it's using it's own internal python, not the one set up on your system already (which can use the clr module). As Andy already mentioned, setting PYTHONPATH to the directory containing the clr module should let ParaView's python find the module, but this is why it's probably happening in the first place. - Chuck -------------- next part -------------- An HTML attachment was scrubbed... URL: From spectm2 at rpi.edu Tue Nov 1 09:37:08 2016 From: spectm2 at rpi.edu (spectm2) Date: Tue, 01 Nov 2016 09:37:08 -0400 Subject: [Paraview] parellel processing problem Message-ID: <8215d6b6822d91dac07cedc3b6a81f46@rpi.edu> Hello, I am brand new to Paraview and I an having a serious parallel processing problem when using a pvserver client/server connection, Paraview 4.4.0, and mvapitch2-2.0a-gcc44. The server and the client run linux. Attached is my .pvd file and a photo of what the model should look like (ie. when I am using 1 processor) and what the model looks like when I am using more than one processor. When I ran this FEM simulation I used 16 processors. So, for each time step folder (for ex. DRPTransientN_13, which is for the 13th time step) there is a folder inside named '0' that contains 16 .vtu files. Also, when using multiple processors in Paraview I can 'scrub' through time with this one chunk of the model. It seems like Paraview isnt reading the .pvd file correctly, or something.... Do you have any idea what the issue is? Any fixes that I can implement? I would be most grateful for any help you can provide. -------------- next part -------------- A non-text attachment was scrubbed... Name: DRPTransientN.pvd Type: application/xml Size: 5827 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: IMG_0016.jpg Type: image/jpeg Size: 888310 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: IMG_0017.jpg Type: image/jpeg Size: 1247339 bytes Desc: not available URL: From cgunases at gmail.com Thu Nov 3 12:03:23 2016 From: cgunases at gmail.com (Chathu Gunasekera) Date: Thu, 3 Nov 2016 21:33:23 +0530 Subject: [Paraview] How to obtain the surface from points In-Reply-To: References: Message-ID: Thanks for your response Utkarsh. Please see the sample data set. Can you kindly tell me how to get a nice 3D model from this? I need to obtain the surface of the slices. Thanks in advance. -- Warm regards, Chathuri Gunasekera. On Thu, Nov 3, 2016 at 7:14 PM, Utkarsh Ayachit wrote: > It's not exactly clear what you're looking for. Maybe if you can attach a > sample dataset, it may help. Thanks. > > On Thu, Nov 3, 2016 at 1:53 AM, Chathu Gunasekera > wrote: > >> Hi, >> >> Hope all is well. >> >> I obtained the boundary of the 3d model. >> >> Kindly can you assist me how to obtain the surface from points. >> image is attached. >> [image: Inline image 1] >> >> >> -- >> Warm regards, >> Chathuri Gunasekera. >> >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 50319 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: test_twice.vtk Type: application/octet-stream Size: 2393704 bytes Desc: not available URL: From cory.quammen at kitware.com Thu Nov 3 17:06:11 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Thu, 3 Nov 2016 17:06:11 -0400 Subject: [Paraview] delta between times In-Reply-To: <760914859e8a4409ad055a75d1571378@ES01AMSNLNT.srn.sandia.gov> References: <760914859e8a4409ad055a75d1571378@ES01AMSNLNT.srn.sandia.gov> Message-ID: Alan, One can use the Force Time filter to do this. Load the csv files twice, and apply a Force Time filter to both. In one Force Time filter, set the first time step (real time, not time index) in the Forced Time property, and in the second set the Forced Time to the next time step. Then select both Force Time filters in the Pipeline Browser and add a Python Calculator. The expression you want is inputs[0].Points - inputs[1].Points By default, the difference will be saved to a Point Data array with the name in the "Array Name" property of the Python Calculator. You might need to swap the 0 and 1 indices above based on how ParaView orders the inputs into the Python Calculator. Unfortunately, that's not well-defined right now. Attached is a state file with an example using the can.ex2 file. HTH, Cory On Thu, Nov 3, 2016 at 4:48 PM, Scott, W Alan wrote: > From a user: > > > > If I have a time series with positions (It's a set of csv files, one time > step per file, each file has the same set of points), is there a method of > computing the delta position from the current time to the next time and > using that as a glyph vector? > > > > Thanks, > > Alan > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc. -------------- next part -------------- A non-text attachment was scrubbed... Name: DisplacementTwoTimesteps.pvsm Type: application/octet-stream Size: 402317 bytes Desc: not available URL: From cgunases at gmail.com Fri Nov 4 13:52:21 2016 From: cgunases at gmail.com (Chathu Gunasekera) Date: Fri, 4 Nov 2016 23:22:21 +0530 Subject: [Paraview] How to obtain the surface from points In-Reply-To: <2AA70907-984A-4DCF-B23A-F0BCC161FE2B@sandia.gov> References: <2AA70907-984A-4DCF-B23A-F0BCC161FE2B@sandia.gov> Message-ID: Hi Kenneth, you made my day. Clean to Grid filter worked like a charm. omg, thank you so much. I have attached the input and outputs, below. Let me ask you one last question. How to get those circles back in the 3D model? (it shd look like a tube) INPUT as below: [image: Inline image 2] OUTPUT_1 as below (Delaunay3D Filter): (if i get those circles back in the below model, that will be awesome) [image: Inline image 3] But in OUTPUT2_Delaunay2D (has those circles) [image: Inline image 4] -- Warm regards, Chathuri Gunasekera. On Fri, Nov 4, 2016 at 7:14 PM, Moreland, Kenneth wrote: > That is odd. Perhaps there is point in your data that is not used in the > initial geometry. Try running the Clean To Grid filter before the Delaunay > filter. > > -Ken > > Sent from my iPad so blame autocorrect. > > On Nov 3, 2016, at 10:54 PM, Chathu Gunasekera wrote: > > Thank you Utkarsh and Jonathan for responding me. > > In Fact, Jonathan i am clueless how to add that filter to paraview:( > > Btw, i got something like this using Delauny3D filter. But there is an > error (i have marked a red circle where there is no coordinate as such). > Can you kindly tell me how to get rid of that point. That's the only issue > that bothers me now. > > -- > Warm regards, > Chathuri Gunasekera. > > > On Fri, Nov 4, 2016 at 1:51 AM, Jonathan Borduas < > jonathan.borduas at caboma.com> wrote: > >> Hi, >> >> >> >> I think the filter vtkRuledSurfaceFilter is what you are looking for. >> However, this filter is not in the Paraview?s Filter menu. >> >> >> >> http://www.vtk.org/doc/nightly/html/classvtkRuledSurfaceFilter.html >> >> >> >> Cheers >> >> >> >> *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Utkarsh >> Ayachit >> *Sent:* Thursday, November 3, 2016 3:50 PM >> *To:* Chathu Gunasekera >> *Cc:* ParaView >> *Subject:* Re: [Paraview] How to obtain the surface from points >> >> >> >> Alas, I am not aware of any filter in ParaView that will generate a >> surface from the line-source you have. >> >> >> >> Utkarsh >> >> >> >> On Thu, Nov 3, 2016 at 12:03 PM, Chathu Gunasekera >> wrote: >> >> Thanks for your response Utkarsh. >> >> >> >> Please see the sample data set. >> >> >> >> Can you kindly tell me how to get a nice 3D model from this? I need to >> obtain the surface of the slices. >> >> >> >> Thanks in advance. >> >> >> >> -- >> >> Warm regards, >> >> Chathuri Gunasekera. >> >> >> >> >> >> >> >> On Thu, Nov 3, 2016 at 7:14 PM, Utkarsh Ayachit < >> utkarsh.ayachit at kitware.com> wrote: >> >> It's not exactly clear what you're looking for. Maybe if you can attach a >> sample dataset, it may help. Thanks. >> >> >> >> On Thu, Nov 3, 2016 at 1:53 AM, Chathu Gunasekera >> wrote: >> >> Hi, >> >> >> >> Hope all is well. >> >> >> >> I obtained the boundary of the 3d model. >> >> >> >> Kindly can you assist me how to obtain the surface from points. >> >> image is attached. >> >> >> >> >> >> >> -- >> >> Warm regards, >> >> Chathuri Gunasekera. >> >> >> >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> >> >> >> >> >> >> >> >> >> > > > > > <3d_1.jpg> > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 258977 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 157370 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 169755 bytes Desc: not available URL: From kmorel at sandia.gov Fri Nov 4 15:09:34 2016 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Fri, 4 Nov 2016 19:09:34 +0000 Subject: [Paraview] How to obtain the surface from points Message-ID: <3622235B-1262-40D2-8C2B-39A6EF0DC362@sandia.gov> I?m not entirely sure what you expect to see. It?s hard to tell from the static images, but it looks like those circles are located inside of the shape, so maybe you just cannot see them. Although Delaunay3D won?t actively find the circles and preserve them, but based on the nature of the algorithm I would expect that the circles? connections would become edges in the final mesh. If you are trying to see the circles in the mesh, you might try the surface with edges representation. You may also need to clip or slice through your mesh to see the circles if they are in the middle. -Ken From: Chathu Gunasekera Date: Friday, November 4, 2016 at 11:52 AM To: "Moreland, Kenneth" Cc: Jonathan Borduas , ParaView Subject: [EXTERNAL] Re: [Paraview] How to obtain the surface from points Hi Kenneth, you made my day. Clean to Grid filter worked like a charm. omg, thank you so much. I have attached the input and outputs, below. Let me ask you one last question. How to get those circles back in the 3D model? (it shd look like a tube) INPUT as below: [nline image 2] OUTPUT_1 as below (Delaunay3D Filter): (if i get those circles back in the below model, that will be awesome) [nline image 3] But in OUTPUT2_Delaunay2D (has those circles) [nline image 4] -- Warm regards, Chathuri Gunasekera. On Fri, Nov 4, 2016 at 7:14 PM, Moreland, Kenneth > wrote: That is odd. Perhaps there is point in your data that is not used in the initial geometry. Try running the Clean To Grid filter before the Delaunay filter. -Ken Sent from my iPad so blame autocorrect. On Nov 3, 2016, at 10:54 PM, Chathu Gunasekera > wrote: Thank you Utkarsh and Jonathan for responding me. In Fact, Jonathan i am clueless how to add that filter to paraview:( Btw, i got something like this using Delauny3D filter. But there is an error (i have marked a red circle where there is no coordinate as such). Can you kindly tell me how to get rid of that point. That's the only issue that bothers me now. -- Warm regards, Chathuri Gunasekera. On Fri, Nov 4, 2016 at 1:51 AM, Jonathan Borduas > wrote: Hi, I think the filter vtkRuledSurfaceFilter is what you are looking for. However, this filter is not in the Paraview?s Filter menu. http://www.vtk.org/doc/nightly/html/classvtkRuledSurfaceFilter.html Cheers From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Utkarsh Ayachit Sent: Thursday, November 3, 2016 3:50 PM To: Chathu Gunasekera > Cc: ParaView > Subject: Re: [Paraview] How to obtain the surface from points Alas, I am not aware of any filter in ParaView that will generate a surface from the line-source you have. Utkarsh On Thu, Nov 3, 2016 at 12:03 PM, Chathu Gunasekera > wrote: Thanks for your response Utkarsh. Please see the sample data set. Can you kindly tell me how to get a nice 3D model from this? I need to obtain the surface of the slices. Thanks in advance. -- Warm regards, Chathuri Gunasekera. On Thu, Nov 3, 2016 at 7:14 PM, Utkarsh Ayachit > wrote: It's not exactly clear what you're looking for. Maybe if you can attach a sample dataset, it may help. Thanks. On Thu, Nov 3, 2016 at 1:53 AM, Chathu Gunasekera > wrote: Hi, Hope all is well. I obtained the boundary of the 3d model. Kindly can you assist me how to obtain the surface from points. image is attached. -- Warm regards, Chathuri Gunasekera. _______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview <3d_1.jpg> _______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 171512 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 130957 bytes Desc: image002.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 163324 bytes Desc: image003.png URL: From cgunases at gmail.com Fri Nov 4 15:30:36 2016 From: cgunases at gmail.com (Chathu Gunasekera) Date: Sat, 5 Nov 2016 01:00:36 +0530 Subject: [Paraview] How to obtain the surface from points In-Reply-To: <3622235B-1262-40D2-8C2B-39A6EF0DC362@sandia.gov> References: <3622235B-1262-40D2-8C2B-39A6EF0DC362@sandia.gov> Message-ID: Thank you very much, Ken, i would like to see all the circles(which is inside the image)but they are aligned on top of another where they looks like a small tube. Any idea how to get that? On Sat, Nov 5, 2016 at 12:39 AM, Moreland, Kenneth wrote: > I?m not entirely sure what you expect to see. It?s hard to tell from the > static images, but it looks like those circles are located inside of the > shape, so maybe you just cannot see them. > > > > Although Delaunay3D won?t actively find the circles and preserve them, but > based on the nature of the algorithm I would expect that the circles? > connections would become edges in the final mesh. If you are trying to see > the circles in the mesh, you might try the surface with edges > representation. You may also need to clip or slice through your mesh to see > the circles if they are in the middle. > > > > -Ken > > > > *From: *Chathu Gunasekera > *Date: *Friday, November 4, 2016 at 11:52 AM > *To: *"Moreland, Kenneth" > *Cc: *Jonathan Borduas , ParaView < > paraview at paraview.org> > *Subject: *[EXTERNAL] Re: [Paraview] How to obtain the surface from points > > > > Hi Kenneth, you made my day. Clean to Grid filter worked like a charm. > omg, thank you so much. > > I have attached the input and outputs, below. > > Let me ask you one last question. How to get those circles back in the 3D > model? (it shd look like a tube) > > > > > > > > INPUT as below: > > [image: nline image 2] > > > > > > > > OUTPUT_1 as below (Delaunay3D Filter): (if i get those circles back in the > below model, that will be awesome) > > [image: nline image 3] > > > > But in OUTPUT2_Delaunay2D (has those circles) > > [image: nline image 4] > > > > > > -- > > Warm regards, > > Chathuri Gunasekera. > > > > > > > > On Fri, Nov 4, 2016 at 7:14 PM, Moreland, Kenneth > wrote: > > That is odd. Perhaps there is point in your data that is not used in the > initial geometry. Try running the Clean To Grid filter before the Delaunay > filter. > > -Ken > > > > Sent from my iPad so blame autocorrect. > > > On Nov 3, 2016, at 10:54 PM, Chathu Gunasekera wrote: > > Thank you Utkarsh and Jonathan for responding me. > > > > In Fact, Jonathan i am clueless how to add that filter to paraview:( > > > > Btw, i got something like this using Delauny3D filter. But there is an > error (i have marked a red circle where there is no coordinate as such). > Can you kindly tell me how to get rid of that point. That's the only issue > that bothers me now. > > > > -- > > Warm regards, > > Chathuri Gunasekera. > > > > > > On Fri, Nov 4, 2016 at 1:51 AM, Jonathan Borduas < > jonathan.borduas at caboma.com> wrote: > > Hi, > > > > I think the filter vtkRuledSurfaceFilter is what you are looking for. > However, this filter is not in the Paraview?s Filter menu. > > > > http://www.vtk.org/doc/nightly/html/classvtkRuledSurfaceFilter.html > > > > Cheers > > > > *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Utkarsh > Ayachit > *Sent:* Thursday, November 3, 2016 3:50 PM > *To:* Chathu Gunasekera > *Cc:* ParaView > *Subject:* Re: [Paraview] How to obtain the surface from points > > > > Alas, I am not aware of any filter in ParaView that will generate a > surface from the line-source you have. > > > > Utkarsh > > > > On Thu, Nov 3, 2016 at 12:03 PM, Chathu Gunasekera > wrote: > > Thanks for your response Utkarsh. > > > > Please see the sample data set. > > > > Can you kindly tell me how to get a nice 3D model from this? I need to > obtain the surface of the slices. > > > > Thanks in advance. > > > > -- > > Warm regards, > > Chathuri Gunasekera. > > > > > > > > On Thu, Nov 3, 2016 at 7:14 PM, Utkarsh Ayachit < > utkarsh.ayachit at kitware.com> wrote: > > It's not exactly clear what you're looking for. Maybe if you can attach a > sample dataset, it may help. Thanks. > > > > On Thu, Nov 3, 2016 at 1:53 AM, Chathu Gunasekera > wrote: > > Hi, > > > > Hope all is well. > > > > I obtained the boundary of the 3d model. > > > > Kindly can you assist me how to obtain the surface from points. > > image is attached. > > > > > > > -- > > Warm regards, > > Chathuri Gunasekera. > > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > > > > > > > > > > > > > > > <3d_1.jpg> > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > > > > -- Warm regards, Chathuri Gunasekera. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 171512 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 163324 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 130957 bytes Desc: not available URL: From kmorel at sandia.gov Fri Nov 4 15:36:53 2016 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Fri, 4 Nov 2016 19:36:53 +0000 Subject: [Paraview] How to obtain the surface from points Message-ID: <0C62FB99-9267-4544-B4B6-947DA36EDCD9@sandia.gov> Sorry, but I don?t think I understand what you are trying to or expecting to see. Do you just want to draw the circles so that you can see them inside of the shape? -Ken From: Chathu Gunasekera Date: Friday, November 4, 2016 at 1:30 PM To: "Moreland, Kenneth" Cc: Jonathan Borduas , ParaView Subject: [EXTERNAL] Re: [Paraview] How to obtain the surface from points Thank you very much, Ken, i would like to see all the circles(which is inside the image)but they are aligned on top of another where they looks like a small tube. Any idea how to get that? On Sat, Nov 5, 2016 at 12:39 AM, Moreland, Kenneth > wrote: I?m not entirely sure what you expect to see. It?s hard to tell from the static images, but it looks like those circles are located inside of the shape, so maybe you just cannot see them. Although Delaunay3D won?t actively find the circles and preserve them, but based on the nature of the algorithm I would expect that the circles? connections would become edges in the final mesh. If you are trying to see the circles in the mesh, you might try the surface with edges representation. You may also need to clip or slice through your mesh to see the circles if they are in the middle. -Ken From: Chathu Gunasekera > Date: Friday, November 4, 2016 at 11:52 AM To: "Moreland, Kenneth" > Cc: Jonathan Borduas >, ParaView > Subject: [EXTERNAL] Re: [Paraview] How to obtain the surface from points Hi Kenneth, you made my day. Clean to Grid filter worked like a charm. omg, thank you so much. I have attached the input and outputs, below. Let me ask you one last question. How to get those circles back in the 3D model? (it shd look like a tube) INPUT as below: [line image 2] OUTPUT_1 as below (Delaunay3D Filter): (if i get those circles back in the below model, that will be awesome) [line image 3] But in OUTPUT2_Delaunay2D (has those circles) [line image 4] -- Warm regards, Chathuri Gunasekera. On Fri, Nov 4, 2016 at 7:14 PM, Moreland, Kenneth > wrote: That is odd. Perhaps there is point in your data that is not used in the initial geometry. Try running the Clean To Grid filter before the Delaunay filter. -Ken Sent from my iPad so blame autocorrect. On Nov 3, 2016, at 10:54 PM, Chathu Gunasekera > wrote: Thank you Utkarsh and Jonathan for responding me. In Fact, Jonathan i am clueless how to add that filter to paraview:( Btw, i got something like this using Delauny3D filter. But there is an error (i have marked a red circle where there is no coordinate as such). Can you kindly tell me how to get rid of that point. That's the only issue that bothers me now. -- Warm regards, Chathuri Gunasekera. On Fri, Nov 4, 2016 at 1:51 AM, Jonathan Borduas > wrote: Hi, I think the filter vtkRuledSurfaceFilter is what you are looking for. However, this filter is not in the Paraview?s Filter menu. http://www.vtk.org/doc/nightly/html/classvtkRuledSurfaceFilter.html Cheers From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Utkarsh Ayachit Sent: Thursday, November 3, 2016 3:50 PM To: Chathu Gunasekera > Cc: ParaView > Subject: Re: [Paraview] How to obtain the surface from points Alas, I am not aware of any filter in ParaView that will generate a surface from the line-source you have. Utkarsh On Thu, Nov 3, 2016 at 12:03 PM, Chathu Gunasekera > wrote: Thanks for your response Utkarsh. Please see the sample data set. Can you kindly tell me how to get a nice 3D model from this? I need to obtain the surface of the slices. Thanks in advance. -- Warm regards, Chathuri Gunasekera. On Thu, Nov 3, 2016 at 7:14 PM, Utkarsh Ayachit > wrote: It's not exactly clear what you're looking for. Maybe if you can attach a sample dataset, it may help. Thanks. On Thu, Nov 3, 2016 at 1:53 AM, Chathu Gunasekera > wrote: Hi, Hope all is well. I obtained the boundary of the 3d model. Kindly can you assist me how to obtain the surface from points. image is attached. -- Warm regards, Chathuri Gunasekera. _______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview <3d_1.jpg> _______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -- Warm regards, Chathuri Gunasekera. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 171513 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 130958 bytes Desc: image002.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 163325 bytes Desc: image003.png URL: From cgunases at gmail.com Sun Nov 6 20:08:13 2016 From: cgunases at gmail.com (Chathu Gunasekera) Date: Mon, 7 Nov 2016 06:38:13 +0530 Subject: [Paraview] How to obtain the surface from points In-Reply-To: References: <0C62FB99-9267-4544-B4B6-947DA36EDCD9@sandia.gov> <8E36429F-4848-4BD3-B511-EBC4DDDE80E9@sandia.gov> Message-ID: Hi, Kenneth, here's what i got (couldn't get the tube though within the shape itself) 1st image(with surface, using 3D Delaunay filter) [image: Inline image 1] 2nd image(points, using 3D Delaunay filter)) [image: Inline image 2] Kenneth is it possible to get a nice tube inside , still having the surface on (Clipping thing didn't work for me :-(...) Thank you so much in advance. -- Warm regards, Chathuri Gunasekera. On Sun, Nov 6, 2016 at 6:10 AM, Chathu Gunasekera wrote: > Kenneth, thank you sooo much for your quick responses. Highly admire it. > Your responses are always awesome which gives much relief. Keep up the good > work. Thanks again :-) > > On Sat, Nov 5, 2016 at 9:04 AM, Moreland, Kenneth > wrote: > >> Like I said earlier, there is no guarantee that Delaunay will construct >> the tube you are expecting, but I would expect it at least give you >> something close. However, even if it does, it will be hard to see because >> it will be embedded in the larger volume. Once you build the mesh it is >> treated like a solid block. >> >> You might try extracting the circles with a box clip before running >> Delaunay. If you could do that, it should create a tube-like structure. >> >> You can make the surface transparent by changing the opacity parameter in >> the properties panel. >> >> -Ken >> >> Sent from my iPad so blame autocorrect. >> >> On Nov 4, 2016, at 8:44 PM, Chathu Gunasekera wrote: >> >> Basically, i want only 2 more things >> 1. I want to see those circles as a tube (because circles are technically >> overlapped) inside the shape >> >> 2. Then i want to see through the shells. (basically how to make the >> surface transparent?) >> >> >> On Sat, Nov 5, 2016 at 5:03 AM, Chathu Gunasekera >> wrote: >> >>> Thanks for your response Ken. >>> That's exactly right.As these circles in the real world should look like >>> a tube inside the shape. Since i have 3 circles, i am expecting 3 tubes >>> inside this shape. >>> >>> >>> On Sat, Nov 5, 2016 at 1:06 AM, Moreland, Kenneth >>> wrote: >>> >>>> Sorry, but I don?t think I understand what you are trying to or >>>> expecting to see. Do you just want to draw the circles so that you can see >>>> them inside of the shape? >>>> >>>> >>>> >>>> -Ken >>>> >>>> >>>> >>>> >>>> >>>> *From: *Chathu Gunasekera >>>> *Date: *Friday, November 4, 2016 at 1:30 PM >>>> *To: *"Moreland, Kenneth" >>>> *Cc: *Jonathan Borduas , ParaView < >>>> paraview at paraview.org> >>>> *Subject: *[EXTERNAL] Re: [Paraview] How to obtain the surface from >>>> points >>>> >>>> >>>> >>>> Thank you very much, Ken, >>>> >>>> i would like to see all the circles(which is inside the image)but >>>> they are aligned on top of another where they looks like a small tube. Any >>>> idea how to get that? >>>> >>>> >>>> >>>> On Sat, Nov 5, 2016 at 12:39 AM, Moreland, Kenneth >>>> wrote: >>>> >>>> I?m not entirely sure what you expect to see. It?s hard to tell from >>>> the static images, but it looks like those circles are located inside of >>>> the shape, so maybe you just cannot see them. >>>> >>>> >>>> >>>> Although Delaunay3D won?t actively find the circles and preserve them, >>>> but based on the nature of the algorithm I would expect that the circles? >>>> connections would become edges in the final mesh. If you are trying to see >>>> the circles in the mesh, you might try the surface with edges >>>> representation. You may also need to clip or slice through your mesh to see >>>> the circles if they are in the middle. >>>> >>>> >>>> >>>> -Ken >>>> >>>> >>>> >>>> *From: *Chathu Gunasekera >>>> *Date: *Friday, November 4, 2016 at 11:52 AM >>>> *To: *"Moreland, Kenneth" >>>> *Cc: *Jonathan Borduas , ParaView < >>>> paraview at paraview.org> >>>> *Subject: *[EXTERNAL] Re: [Paraview] How to obtain the surface from >>>> points >>>> >>>> >>>> >>>> Hi Kenneth, you made my day. Clean to Grid filter worked like a charm. >>>> omg, thank you so much. >>>> >>>> I have attached the input and outputs, below. >>>> >>>> Let me ask you one last question. How to get those circles back in the >>>> 3D model? (it shd look like a tube) >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> INPUT as below: >>>> >>>> [image: line image 2] >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> OUTPUT_1 as below (Delaunay3D Filter): (if i get those circles back in >>>> the below model, that will be awesome) >>>> >>>> [image: line image 3] >>>> >>>> >>>> >>>> But in OUTPUT2_Delaunay2D (has those circles) >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> >>>> Warm regards, >>>> >>>> Chathuri Gunasekera. >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> On Fri, Nov 4, 2016 at 7:14 PM, Moreland, Kenneth >>>> wrote: >>>> >>>> That is odd. Perhaps there is point in your data that is not used in >>>> the initial geometry. Try running the Clean To Grid filter before the >>>> Delaunay filter. >>>> >>>> -Ken >>>> >>>> >>>> >>>> Sent from my iPad so blame autocorrect. >>>> >>>> >>>> On Nov 3, 2016, at 10:54 PM, Chathu Gunasekera >>>> wrote: >>>> >>>> Thank you Utkarsh and Jonathan for responding me. >>>> >>>> >>>> >>>> In Fact, Jonathan i am clueless how to add that filter to paraview:( >>>> >>>> >>>> >>>> Btw, i got something like this using Delauny3D filter. But there is an >>>> error (i have marked a red circle where there is no coordinate as such). >>>> Can you kindly tell me how to get rid of that point. That's the only issue >>>> that bothers me now. >>>> >>>> >>>> >>>> -- >>>> >>>> Warm regards, >>>> >>>> Chathuri Gunasekera. >>>> >>>> >>>> >>>> >>>> >>>> On Fri, Nov 4, 2016 at 1:51 AM, Jonathan Borduas < >>>> jonathan.borduas at caboma.com> wrote: >>>> >>>> Hi, >>>> >>>> >>>> >>>> I think the filter vtkRuledSurfaceFilter is what you are looking for. >>>> However, this filter is not in the Paraview?s Filter menu. >>>> >>>> >>>> >>>> http://www.vtk.org/doc/nightly/html/classvtkRuledSurfaceFilter.html >>>> >>>> >>>> >>>> Cheers >>>> >>>> >>>> >>>> *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Utkarsh >>>> Ayachit >>>> *Sent:* Thursday, November 3, 2016 3:50 PM >>>> *To:* Chathu Gunasekera >>>> *Cc:* ParaView >>>> *Subject:* Re: [Paraview] How to obtain the surface from points >>>> >>>> >>>> >>>> Alas, I am not aware of any filter in ParaView that will generate a >>>> surface from the line-source you have. >>>> >>>> >>>> >>>> Utkarsh >>>> >>>> >>>> >>>> On Thu, Nov 3, 2016 at 12:03 PM, Chathu Gunasekera >>>> wrote: >>>> >>>> Thanks for your response Utkarsh. >>>> >>>> >>>> >>>> Please see the sample data set. >>>> >>>> >>>> >>>> Can you kindly tell me how to get a nice 3D model from this? I need to >>>> obtain the surface of the slices. >>>> >>>> >>>> >>>> Thanks in advance. >>>> >>>> >>>> >>>> -- >>>> >>>> Warm regards, >>>> >>>> Chathuri Gunasekera. >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> On Thu, Nov 3, 2016 at 7:14 PM, Utkarsh Ayachit < >>>> utkarsh.ayachit at kitware.com> wrote: >>>> >>>> It's not exactly clear what you're looking for. Maybe if you can attach >>>> a sample dataset, it may help. Thanks. >>>> >>>> >>>> >>>> On Thu, Nov 3, 2016 at 1:53 AM, Chathu Gunasekera >>>> wrote: >>>> >>>> Hi, >>>> >>>> >>>> >>>> Hope all is well. >>>> >>>> >>>> >>>> I obtained the boundary of the 3d model. >>>> >>>> >>>> >>>> Kindly can you assist me how to obtain the surface from points. >>>> >>>> image is attached. >>>> >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> >>>> Warm regards, >>>> >>>> Chathuri Gunasekera. >>>> >>>> >>>> >>>> _______________________________________________ >>>> 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 >>>> >>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/paraview >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> <3d_1.jpg> >>>> >>>> _______________________________________________ >>>> 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 >>>> >>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/paraview >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> >>>> Warm regards, >>>> >>>> Chathuri Gunasekera. >>>> >>> >>> >>> >>> -- >>> Warm regards, >>> Chathuri Gunasekera. >>> >> >> >> >> -- >> Warm regards, >> Chathuri Gunasekera. >> >> > > > -- > Warm regards, > Chathuri Gunasekera. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 171513 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 23464 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 68574 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 130958 bytes Desc: not available URL: From kmorel at sandia.gov Mon Nov 7 11:13:48 2016 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Mon, 7 Nov 2016 16:13:48 +0000 Subject: [Paraview] How to obtain the surface from points Message-ID: I?m not sure what else to suggest. It looks like a tube is there, but you cannot see it because it is imbedded within the volume. ParaView does not have a way to distinguish the tube part from the rest of the volume. Short of extracting the circles by hand or providing a custom operation to automatically find, register, and connect the circles into tubes, I don?t know how else you would do it. -Ken From: Chathu Gunasekera [mailto:cgunases at gmail.com] Sent: Sunday, November 6, 2016 6:08 PM To: Moreland, Kenneth ; ParaView Subject: [EXTERNAL] Re: [Paraview] How to obtain the surface from points Hi, Kenneth, here's what i got (couldn't get the tube though within the shape itself) 1st image(with surface, using 3D Delaunay filter) [Inline image 1] 2nd image(points, using 3D Delaunay filter)) [Inline image 2] Kenneth is it possible to get a nice tube inside , still having the surface on (Clipping thing didn't work for me :-(...) Thank you so much in advance. -- Warm regards, Chathuri Gunasekera. On Sun, Nov 6, 2016 at 6:10 AM, Chathu Gunasekera > wrote: Kenneth, thank you sooo much for your quick responses. Highly admire it. Your responses are always awesome which gives much relief. Keep up the good work. Thanks again :-) On Sat, Nov 5, 2016 at 9:04 AM, Moreland, Kenneth > wrote: Like I said earlier, there is no guarantee that Delaunay will construct the tube you are expecting, but I would expect it at least give you something close. However, even if it does, it will be hard to see because it will be embedded in the larger volume. Once you build the mesh it is treated like a solid block. You might try extracting the circles with a box clip before running Delaunay. If you could do that, it should create a tube-like structure. You can make the surface transparent by changing the opacity parameter in the properties panel. -Ken Sent from my iPad so blame autocorrect. On Nov 4, 2016, at 8:44 PM, Chathu Gunasekera > wrote: Basically, i want only 2 more things 1. I want to see those circles as a tube (because circles are technically overlapped) inside the shape 2. Then i want to see through the shells. (basically how to make the surface transparent?) On Sat, Nov 5, 2016 at 5:03 AM, Chathu Gunasekera > wrote: Thanks for your response Ken. That's exactly right.As these circles in the real world should look like a tube inside the shape. Since i have 3 circles, i am expecting 3 tubes inside this shape. On Sat, Nov 5, 2016 at 1:06 AM, Moreland, Kenneth > wrote: Sorry, but I don?t think I understand what you are trying to or expecting to see. Do you just want to draw the circles so that you can see them inside of the shape? -Ken From: Chathu Gunasekera > Date: Friday, November 4, 2016 at 1:30 PM To: "Moreland, Kenneth" > Cc: Jonathan Borduas >, ParaView > Subject: [EXTERNAL] Re: [Paraview] How to obtain the surface from points Thank you very much, Ken, i would like to see all the circles(which is inside the image)but they are aligned on top of another where they looks like a small tube. Any idea how to get that? On Sat, Nov 5, 2016 at 12:39 AM, Moreland, Kenneth > wrote: I?m not entirely sure what you expect to see. It?s hard to tell from the static images, but it looks like those circles are located inside of the shape, so maybe you just cannot see them. Although Delaunay3D won?t actively find the circles and preserve them, but based on the nature of the algorithm I would expect that the circles? connections would become edges in the final mesh. If you are trying to see the circles in the mesh, you might try the surface with edges representation. You may also need to clip or slice through your mesh to see the circles if they are in the middle. -Ken From: Chathu Gunasekera > Date: Friday, November 4, 2016 at 11:52 AM To: "Moreland, Kenneth" > Cc: Jonathan Borduas >, ParaView > Subject: [EXTERNAL] Re: [Paraview] How to obtain the surface from points Hi Kenneth, you made my day. Clean to Grid filter worked like a charm. omg, thank you so much. I have attached the input and outputs, below. Let me ask you one last question. How to get those circles back in the 3D model? (it shd look like a tube) INPUT as below: [line image 2] OUTPUT_1 as below (Delaunay3D Filter): (if i get those circles back in the below model, that will be awesome) [line image 3] But in OUTPUT2_Delaunay2D (has those circles) -- Warm regards, Chathuri Gunasekera. On Fri, Nov 4, 2016 at 7:14 PM, Moreland, Kenneth > wrote: That is odd. Perhaps there is point in your data that is not used in the initial geometry. Try running the Clean To Grid filter before the Delaunay filter. -Ken Sent from my iPad so blame autocorrect. On Nov 3, 2016, at 10:54 PM, Chathu Gunasekera > wrote: Thank you Utkarsh and Jonathan for responding me. In Fact, Jonathan i am clueless how to add that filter to paraview:( Btw, i got something like this using Delauny3D filter. But there is an error (i have marked a red circle where there is no coordinate as such). Can you kindly tell me how to get rid of that point. That's the only issue that bothers me now. -- Warm regards, Chathuri Gunasekera. On Fri, Nov 4, 2016 at 1:51 AM, Jonathan Borduas > wrote: Hi, I think the filter vtkRuledSurfaceFilter is what you are looking for. However, this filter is not in the Paraview?s Filter menu. http://www.vtk.org/doc/nightly/html/classvtkRuledSurfaceFilter.html Cheers From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Utkarsh Ayachit Sent: Thursday, November 3, 2016 3:50 PM To: Chathu Gunasekera > Cc: ParaView > Subject: Re: [Paraview] How to obtain the surface from points Alas, I am not aware of any filter in ParaView that will generate a surface from the line-source you have. Utkarsh On Thu, Nov 3, 2016 at 12:03 PM, Chathu Gunasekera > wrote: Thanks for your response Utkarsh. Please see the sample data set. Can you kindly tell me how to get a nice 3D model from this? I need to obtain the surface of the slices. Thanks in advance. -- Warm regards, Chathuri Gunasekera. On Thu, Nov 3, 2016 at 7:14 PM, Utkarsh Ayachit > wrote: It's not exactly clear what you're looking for. Maybe if you can attach a sample dataset, it may help. Thanks. On Thu, Nov 3, 2016 at 1:53 AM, Chathu Gunasekera > wrote: Hi, Hope all is well. I obtained the boundary of the 3d model. Kindly can you assist me how to obtain the surface from points. image is attached. -- Warm regards, Chathuri Gunasekera. _______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview <3d_1.jpg> _______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -- Warm regards, Chathuri Gunasekera. -- Warm regards, Chathuri Gunasekera. -- Warm regards, Chathuri Gunasekera. -- Warm regards, Chathuri Gunasekera. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 65721 bytes Desc: image003.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.png Type: image/png Size: 44278 bytes Desc: image004.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image005.png Type: image/png Size: 171513 bytes Desc: image005.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image006.png Type: image/png Size: 130958 bytes Desc: image006.png URL: From shawn.waldon at kitware.com Mon Nov 7 11:47:31 2016 From: shawn.waldon at kitware.com (Shawn Waldon) Date: Mon, 7 Nov 2016 11:47:31 -0500 Subject: [Paraview] How to merge .vtk files to visualize the result in Paraview In-Reply-To: References: Message-ID: Hi Brennen, ParaView has support for loading multiple files as a time series if you name them file1.vtk, file2.vtk, etc. We realize that sometimes these multiple files are multiple blocks of output rather than multiple timesteps so I recently implemented a filter that converts the time series into a multiblock dataset by putting each time step into a block in the dataset. You can use this with the existing reader to convert the time series that ParaView thinks your data is into a multiblock dataset with all of the data in it. The new filter is called 'Group Time Steps' and is available in master or the 5.2 release candidates. HTH, Shawn On Sun, Sep 18, 2016 at 4:32 PM, Brennen Taylor wrote: > Dear All, > > I am using Paraview in order to visualize the result produced by parallel > program. > Each processor currently outputs its own .vtk files , which corresponsd to > the value of the fields in the domain. > > I would like to know if there is a way of merging these .vtk files into > one .vtk file so that I can visualize using Paraview. > > Attaching the required .vtk files for the reference. > > > Thanks in advance !! > > Best , > > Brennen > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kmorel at sandia.gov Mon Nov 7 12:02:18 2016 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Mon, 7 Nov 2016 17:02:18 +0000 Subject: [Paraview] Electric field plot Message-ID: <1a3dade4914c4637a98a935032d161ff@ES08AMSNLNT.srn.sandia.gov> Chara, If you look in the Properties panel in the Display section under the heading ?X Axis Parameters,? there is a combo box named ?X Array Name.? Change the value of that box from arc_length to Points_Y. -Ken From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Chara Kitsaki Sent: Saturday, December 5, 2015 1:49 AM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Electric field plot Hi, I would like to create a plot of the electric field vs y_coordinate. I created a .sif file (attached) which computes the electric field using the ElmerFEM software and I exported all the results into a .vtu file (attached). All I have done is to use the filter PlotOverLine but what I get as a plot is the electric field vs the arc_length. Thanks in advance, Chara -------------- next part -------------- An HTML attachment was scrubbed... URL: From tim.gallagher at gatech.edu Mon Nov 7 12:00:42 2016 From: tim.gallagher at gatech.edu (Gallagher, Timothy P) Date: Mon, 7 Nov 2016 17:00:42 +0000 Subject: [Paraview] Experimental Data Interpolate/Extrapolate to Custom Volume Mesh In-Reply-To: References: Message-ID: Mike, Your state file doesn't work without the data files that go along with it. That said, here is how you can do it: 1. Load your .dat file and use the TableToPoints filter to create points from the data table -- select your x, y, z appropriately 2. Load your CFD data file 3. Select your CFD data file and then do: a. ResampleWithDataset -- select the CFD data as the Input and the TableToPoints as the Source 4. This will give you the data interpolated to the points in the table, if you want a plane from this data, apply the Delaunay2D filter and select Best-Fitting Plane (if the points are not X-Y points only). That should give you the data from your CFD simulation on the same plane as your PIV data. I see you are at GT -- let me know if you are still unclear on these steps and would like to talk in person. Tim ________________________________ From: ParaView on behalf of Mike Tree Sent: Tuesday, November 17, 2015 5:32 PM To: paraview at paraview.org Subject: [Paraview] Experimental Data Interpolate/Extrapolate to Custom Volume Mesh I have three planes of experimental PIV data with velocity point data in .dat format loaded in Paraview. I am hoping to use these planes to interpolate/extrapolate velocity values onto a custom volumetric mesh (i.e. from a CFD simulation) to compare experimental results with simulation results in hopes of validating the simulation. I have attached my Paraview state file. Any help will be much appreciated. Thanks, -MT -- Mike Tree, PhD Student Cardiovascular Fluid Mechanics Laboratory Georgia Institute of Technology Atlanta, GA treem22 at gatech.edu 678-249-0922 [https://mailfoogae.appspot.com/t?sender=adHJlZW0yMkBnbWFpbC5jb20%3D&type=zerocontent&guid=82092feb-f151-4b75-8a88-41da2f2b684b]? -------------- next part -------------- An HTML attachment was scrubbed... URL: From kmorel at sandia.gov Mon Nov 7 12:48:15 2016 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Mon, 7 Nov 2016 17:48:15 +0000 Subject: [Paraview] Volume Rendering "Brightness" Message-ID: <78cbf20dc3ab44dd89da1f2d58fc84cb@ES08AMSNLNT.srn.sandia.gov> It looks like this is an old message that has been stuck waiting for a moderator to release it, but in case you are still interested in the answer here goes. There used to be a parameter in the color map named Scalar Opacity Unit Distance (or something like that) that could be used to uniformly control how opaque the opacity parameter is interpreted. However, it looks like that option was removed from the GUI quite a while ago (probably because no one understood it). The effect would be a perceived change in the brightness of the volume. You can still get around it through the Python interface though. I used that to create the following pair of macros. To load them in ParaView, go to the Macros -> Add New Macro menu item and load in each file. You can then increase and decrease the brightness of a volume rendering by hitting the two macro buttons. Sorry for the delay. -Ken From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Evan Kao Sent: Thursday, January 21, 2016 3:02 PM To: ParaView Subject: [EXTERNAL] [Paraview] Volume Rendering "Brightness" Hello all, This may be a silly question, but is there a way to increase the brightness of a volume rendering? For instance, in the image below, the render on the right is brighter than the render on the left: [Inline image 1] The difference is that the image on the right is just two volume representations of the same object. Is there a smarter way to increase the brightness? Thanks, Evan Kao -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 15815 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Increase Volume Render Brightness.py Type: application/octet-stream Size: 90 bytes Desc: Increase Volume Render Brightness.py URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Decrease Volume Render Brightness.py Type: application/octet-stream Size: 90 bytes Desc: Decrease Volume Render Brightness.py URL: From cory.quammen at kitware.com Mon Nov 7 12:52:06 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Mon, 7 Nov 2016 12:52:06 -0500 Subject: [Paraview] Fwd: Problem to save screenshot in VERY HIGH resolution In-Reply-To: References: Message-ID: Hi L?cio, This should be fixed in the soon-to-be-released ParaView 5.2.0 release. You can try ParaView 5.2.0 Release Candidate 3, available at http://www.paraview.org/download/ , to confirm. HTH, Cory On Tue, Aug 9, 2016 at 8:12 AM, L?cio Corr?a wrote: > Hi, > > I'm trying to save one screenshot with a very high resolution. > > I try to run in several different machines and configurations but I had > always the same problem. > > Some black rectangular strips appears in the figure. > > I'm sending an exemple, one figure and the python code that generate this > figure... > > Someone had some ideia why I have this problem? > > > -- > MSc. Eng. L?cio Corr?a > lcorrea at demet.ufrgs.br > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From dave.demarle at kitware.com Mon Nov 7 12:53:49 2016 From: dave.demarle at kitware.com (David E DeMarle) Date: Mon, 7 Nov 2016 12:53:49 -0500 Subject: [Paraview] Problem to save screenshot in VERY HIGH resolution In-Reply-To: References: Message-ID: In the meantime, try saving in tiff format instead of png. I ran into the same thing and found that tiff was more stable. David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Wed, Aug 10, 2016 at 8:40 AM, Utkarsh Ayachit < utkarsh.ayachit at kitware.com> wrote: > That's indeed a bug. I've reported it here: > http://www.paraview.org/Bug/view.php?id=16813 > We will have it looked into for the next release. > > Utkarsh > > On Wed, Aug 10, 2016 at 6:11 AM, L?cio Corr?a wrote: > > Hi, > > > > I'm trying to save one screenshot with a very high resolution. > > > > I try to run in several different machines and configurations but I had > > always the same problem. > > > > Some black rectangular blocks appears in the figure. > > > > I'm sending an exemple, one figure and the python code that generate this > > figure... > > > > Someone had some ideia why I have this problem? > > > > > > > > > > _______________________________________________ > > 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 > > > > Search the list archives at: http://markmail.org/search/?q=ParaView > > > > Follow this link to subscribe/unsubscribe: > > http://public.kitware.com/mailman/listinfo/paraview > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Mon Nov 7 13:15:45 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 7 Nov 2016 13:15:45 -0500 Subject: [Paraview] Problem to save screenshot in VERY HIGH resolution In-Reply-To: References: Message-ID: I am pretty sure it's nothing to do with the file format. The bug was in the code that handle overlapping between viewports when rendering large resolutions. ParaView 5.2. should fix the issue for OpenGL2 backend. On Mon, Nov 7, 2016 at 12:53 PM, David E DeMarle wrote: > In the meantime, try saving in tiff format instead of png. > I ran into the same thing and found that tiff was more stable. > > > David E DeMarle > Kitware, Inc. > R&D Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4909 > > On Wed, Aug 10, 2016 at 8:40 AM, Utkarsh Ayachit > wrote: >> >> That's indeed a bug. I've reported it here: >> http://www.paraview.org/Bug/view.php?id=16813 >> We will have it looked into for the next release. >> >> Utkarsh >> >> On Wed, Aug 10, 2016 at 6:11 AM, L?cio Corr?a wrote: >> > Hi, >> > >> > I'm trying to save one screenshot with a very high resolution. >> > >> > I try to run in several different machines and configurations but I had >> > always the same problem. >> > >> > Some black rectangular blocks appears in the figure. >> > >> > I'm sending an exemple, one figure and the python code that generate >> > this >> > figure... >> > >> > Someone had some ideia why I have this problem? >> > >> > >> > >> > >> > _______________________________________________ >> > 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 >> > >> > Search the list archives at: http://markmail.org/search/?q=ParaView >> > >> > Follow this link to subscribe/unsubscribe: >> > http://public.kitware.com/mailman/listinfo/paraview >> > >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview > > From mike.jackson at bluequartz.net Mon Nov 7 15:25:37 2016 From: mike.jackson at bluequartz.net (Michael Jackson) Date: Mon, 07 Nov 2016 15:25:37 -0500 Subject: [Paraview] How to apply different color maps to different datasets. Message-ID: <5820E341.2070204@bluequartz.net> I would like to load up 2 different files and then display one using a gray scale color map and the other a simple RGB color map and some transparency so that I can "overlay" one image onto the other. It would seem that when I apply a color map to one data set it applies to all the data sets. How can I change this behavior? Thanks -- Michael A. Jackson BlueQuartz Software, LLC [e]: mike.jackson at bluequartz.net From cory.quammen at kitware.com Mon Nov 7 15:36:52 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Mon, 7 Nov 2016 15:36:52 -0500 Subject: [Paraview] How to apply different color maps to different datasets. In-Reply-To: <5820E341.2070204@bluequartz.net> References: <5820E341.2070204@bluequartz.net> Message-ID: Mike, You can think of color maps in ParaView as being stored in a map from data array name to color map. If you care coloring two data sets by arrays of the same name, then the same color map will be used for each. A workaround is to rename a data array using the Calculator filter. Set the expression to the name of the array you want to view, then set the "Result Array Name" to something else. Choose the new name to color by, and you will be able to color the data sets differently. HTH, Cory On Mon, Nov 7, 2016 at 3:25 PM, Michael Jackson wrote: > I would like to load up 2 different files and then display one using a gray > scale color map and the other a simple RGB color map and some transparency > so that I can "overlay" one image onto the other. It would seem that when I > apply a color map to one data set it applies to all the data sets. How can I > change this behavior? > > Thanks > > -- > Michael A. Jackson > BlueQuartz Software, LLC > [e]: mike.jackson at bluequartz.net > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview -- Cory Quammen Staff R&D Engineer Kitware, Inc. From antech777 at gmail.com Tue Nov 8 01:07:50 2016 From: antech777 at gmail.com (Andrew) Date: Tue, 8 Nov 2016 09:07:50 +0300 Subject: [Paraview] Regarding filtering of point data array In-Reply-To: References: Message-ID: Hello. Possibly Threshold filter will help you. To limit points by 3 coordinates try to define 3 Threshold filters in series. 2016-04-03 18:55 GMT+03:00 Vaibhav Agrawal < vaibhav.agrawal at postgrad.curtin.edu.au>: > Hi Paraview-Help, > > I am working on the DEM simulations of bubbling fluidized bed using > MFIX-DEM software. > > The output files of my simulations are of two type ? one containing the > cell data such gas ? volume fraction, pressure etc and other file > containing the point data such as particle positions and particle velocity. > I want to filter my point data file, on the basis of positions, i.e., I > want to create a subset of all the particles available at that time step, > whose positions (X,Y,Z) lies within a certain range ([Xmin, Xmax], [Ymin, > Ymax], [Zmin, Zmax]). For e.g. let?s suppose I have an point data array of > size 20X7, where my 2nd,3rd and 4th columns contains the X, Y, X position > of particles. I want to filter this point data array on the basis of > particle position (X,Y,Z) such that my new point data array will be smaller > in dimension (let?s say 6X7), and will have only those points, whose 2nd, > 3rd, 4th column contains the values which lies in the user defined range. > I hope I am able to define my problem clearly. > > > > I have tried using some filters like clip, slice etc, but didn?t worked > out well. > > Is there any way - filters/python script to do this? If yes, how should I > proceed to sort out my problem? > > For your reference, I am attaching here a raw file generated by MFIX-DEM, > which has a point data array, which I want to filter. Because of point data > array, you won?t see anything In the render view, but you?ll see the point > data array in Spreadsheet view > > > > Thanks and Regards > > Vaibhav Agrawal > PhD | Department of Chemical Engineering > > Faculty of Science and Engineering > > Curtin University > Mobile | +61451818978 > Email | Vaibhav.Agrawal at postgrad.curtin.edu.au > Web | http://curtin.edu.au > > [image: Description: email_logo.png] > > > Curtin University is a trademark of Curtin University of Technology. > CRICOS Provider Code 00301J (WA), 02637B (NSW) > > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 2097 bytes Desc: not available URL: From aashish.chaudhary at kitware.com Tue Nov 8 10:05:27 2016 From: aashish.chaudhary at kitware.com (Aashish Chaudhary) Date: Tue, 08 Nov 2016 15:05:27 +0000 Subject: [Paraview] Paraview5 in CAVE In-Reply-To: References: Message-ID: can you post your xml file? On Mon, Nov 7, 2016 at 12:16 PM Faiz Abidi wrote: > I am struggling to make Paraview5 work in the CAVE (4 sided). I have > Paravie5 built from source, enabled the VRPlugin, mpi, and other needed > stuff. However, I am confused with the PVX file. > > I made some progress, and can load up a scene but the scene doesn't occupy > all the walls of the CAVE. It just occupies a small square box on the top > left wall (see attached). I played with the cave.pvx file but no matter > what values I give in it, I can only see a small box when I connect to the > Paraview client. > > I need help. Would anyone have any idea please? > -- > Faiz Abidi | Master's Student at Virginia Tech | www.faizabidi.com | > +1-540-998-6636 <(540)%20998-6636> > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Tue Nov 8 11:20:53 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Tue, 8 Nov 2016 11:20:53 -0500 Subject: [Paraview] Error opening specific STL-files on specific computer ("unable to read point") In-Reply-To: References: Message-ID: Daniel, I just tried loading the file you attached in the latest development version of ParaView, and it loaded just fine. One thing you could try would be to delete your ParaView configuration files. We're not sure why yet, but this sometimes mysteriously solves problems. The configuration files on linux are located under $HOME/.config/ParaView. Try moving the .ini and .json files there to another location - if removing them solves the problem, I'd like to see those configuration files to help figure out what the problem is. Thanks, Cory On Tue, May 24, 2016 at 2:00 PM, D L wrote: > Hi everyone, > > I've been using Paraview for a couple of years now and it's been great. > However, I've now encountered a weird problem that I cannot solve. A couple > of years ago, I used VTK (and Python) to automatically segment the skin > layer surface out of MRI scans. I've always been able to view the resulting > surface meshes in Paraview and other 3D visualization programs such as > Meshlab. > > I would now like to work with this dataset again, but I cannot get the > surfaces -which are stored as STL-files- to open on my computer. When I try > to open them in Paraview (I've tried both 4.1.0 and 5.0.1), I get the > following error: > > > ERROR: In > /home/kitware/dashboards/buildbot/paraview-debian6dash-linux-shared-release_opengl2_qt4_superbuild/build/paraview/src/paraview/VTK/IO/Geometry/vtkSTLReader.cxx, > line 461 > vtkSTLReader (0x41dcc90): STLReader: error while reading file > /media/daniel/Data/PhyT/Data/ICBM > surfaces/F/MNI_0111/db_MNI_0111_scalp_final.stl at line 3: unable to read > point. > > > ERROR: In > /home/kitware/dashboards/buildbot/paraview-debian6dash-linux-shared-release_opengl2_qt4_superbuild/build/paraview/src/paraview/VTK/Common/ExecutionModel/vtkExecutive.cxx, > line 784 > vtkPVCompositeDataPipeline (0x6045af0): Algorithm > vtkFileSeriesReader(0x534fef0) returned failure for request: vtkInformation > (0x4919ff0) > Debug: Off > Modified Time: 1061902 > Reference Count: 1 > Registered Events: (none) > Request: REQUEST_DATA > FROM_OUTPUT_PORT: 0 > ALGORITHM_AFTER_FORWARD: 1 > FORWARD_DIRECTION: 0 > > > When I try to open them in Meshlab, I get an error message about "Premature > End of file". Other STL-files, however, do open. I'm working on Ubuntu 15.10 > 64-bit. At first I assumed that the STL-files had somehow all gotten > corrupted, but they open perfectly on a colleague's computer (Paraview 5.0.0 > running on OpenSuse) and on my Windows 8.1 laptop (both in Paraview 5.0.0 > and in Meshlab 1.3.3). > > I'm not sure what's wrong. Could anybody please offer some insight? > > I've attached an example file to this e-mail. > > Kind regards, > > Daniel > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From cory.quammen at kitware.com Tue Nov 8 12:02:23 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Tue, 8 Nov 2016 12:02:23 -0500 Subject: [Paraview] Regarding filtering of point data array In-Reply-To: References: Message-ID: Vaibhav, It's a little involved, but you can filter with the Threshold filter as Andrew recommends. Attached is a state file showing the pipeline. First, we apply a Mask filter. We do not want to mask any points, so we set the On Ratio to 1 and set the Maximum Number of Points to some high number. The important part here is that we need to generate cells that the Threshold filter can operate on. Hence we turn on the Generate Vertices and Single Vertex Per Cell option. Next, you create a Calculator filter to extract the X coordinate, then filter the result with a Threshold filter applied to the X coordinate array. The same is done for Y and Z. You probably found that the Clip filter does this very quickly with a box Clip Type setting, but for your application the Box parameters are not very intuitive. HTH, Cory On Tue, Nov 8, 2016 at 1:07 AM, Andrew wrote: > Hello. Possibly Threshold filter will help you. To limit points by 3 > coordinates try to define 3 Threshold filters in series. > > 2016-04-03 18:55 GMT+03:00 Vaibhav Agrawal > : >> >> Hi Paraview-Help, >> >> I am working on the DEM simulations of bubbling fluidized bed using >> MFIX-DEM software. >> >> The output files of my simulations are of two type ? one containing the >> cell data such gas ? volume fraction, pressure etc and other file containing >> the point data such as particle positions and particle velocity. I want to >> filter my point data file, on the basis of positions, i.e., I want to create >> a subset of all the particles available at that time step, whose positions >> (X,Y,Z) lies within a certain range ([Xmin, Xmax], [Ymin, Ymax], [Zmin, >> Zmax]). For e.g. let?s suppose I have an point data array of size 20X7, >> where my 2nd,3rd and 4th columns contains the X, Y, X position of particles. >> I want to filter this point data array on the basis of particle position >> (X,Y,Z) such that my new point data array will be smaller in dimension >> (let?s say 6X7), and will have only those points, whose 2nd, 3rd, 4th column >> contains the values which lies in the user defined range. I hope I am able >> to define my problem clearly. >> >> >> >> I have tried using some filters like clip, slice etc, but didn?t worked >> out well. >> >> Is there any way - filters/python script to do this? If yes, how should I >> proceed to sort out my problem? >> >> For your reference, I am attaching here a raw file generated by MFIX-DEM, >> which has a point data array, which I want to filter. Because of point data >> array, you won?t see anything In the render view, but you?ll see the point >> data array in Spreadsheet view >> >> >> >> Thanks and Regards >> >> Vaibhav Agrawal >> PhD | Department of Chemical Engineering >> >> Faculty of Science and Engineering >> >> Curtin University >> Mobile | +61451818978 >> Email | Vaibhav.Agrawal at postgrad.curtin.edu.au >> Web | http://curtin.edu.au >> >> >> Curtin University is a trademark of Curtin University of Technology. >> CRICOS Provider Code 00301J (WA), 02637B (NSW) >> >> >> >> >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc. -------------- next part -------------- A non-text attachment was scrubbed... Name: For-Vaibhav.pvsm.zip Type: application/zip Size: 26840 bytes Desc: not available URL: From andrealphus at gmail.com Tue Nov 8 12:58:36 2016 From: andrealphus at gmail.com (andrealphus) Date: Tue, 8 Nov 2016 09:58:36 -0800 Subject: [Paraview] webserver write up Message-ID: Could someone explain to me how to correctly set up a local paraview webserver?? I've tried to follow the write-ups here; http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/guide/quick_start But they seem inaccuracte/out of date. I have tried both the quickstart and Ububtu LTS writeups. I have an apache 2 server running. Ive tried installing PV from both the direct download page (source and binaries) as well as a github clone. In regards to the quickstart it also seems like the given paths have changed? (can someone verify??) in the weite up /bin/pvpython lib/paraview-4.1/site-packages/paraview/web/pv_web_visualizer.py \ --content ./share/paraview-4.1/www \ --data-dir /path-to-share/ \ --port 8080 & to: ./bin/pvpython share/paraview-5.2/web/visualizer/server/pvw-visualizer.py \ --content share/paraview-5.2/web/visualizer/www \ --data-dir /path-to-share --port 8080 I can get a visualizer window up and running, but there are no control buttons to load buttons just a frozen screen of the paraview grey background and axis (which I can not rotate). If I need to compile from source are there any specific flags I need to set in ccmake beside paraview python? Thanks! -ashton From cgunases at gmail.com Tue Nov 8 13:04:05 2016 From: cgunases at gmail.com (Chathu Gunasekera) Date: Tue, 8 Nov 2016 23:34:05 +0530 Subject: [Paraview] Generate a video in Paraview Message-ID: Good day to everyone, I want to generate a video of my 3d Model in paraview. (sorry this may be a very basic question, but i couldn't find a proper way to do it). Can someone please assist? Thanks in advance. -- Warm regards, Chathuri Gunasekera. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Tue Nov 8 13:08:46 2016 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Tue, 8 Nov 2016 11:08:46 -0700 Subject: [Paraview] webserver write up In-Reply-To: References: Message-ID: The ParaViewWeb documentation has moved to https://kitware.github.io/paraviewweb/. We are still in the process of deprecating the previous documentation location. On Tue, Nov 8, 2016 at 10:58 AM, andrealphus wrote: > Could someone explain to me how to correctly set up a local paraview > webserver?? > > I've tried to follow the write-ups here; > http://www.paraview.org/ParaView3/Doc/Nightly/www/js- > doc/index.html#!/guide/quick_start > > But they seem inaccuracte/out of date. I have tried both the > quickstart and Ububtu LTS writeups. > > I have an apache 2 server running. > > Ive tried installing PV from both the direct download page (source and > binaries) as well as a github clone. > > > In regards to the quickstart it also seems like the given paths have > changed? (can someone verify??) > > in the weite up > /bin/pvpython lib/paraview-4.1/site-packages/paraview/web/pv_web_ > visualizer.py > \ > --content ./share/paraview-4.1/www > \ > --data-dir /path-to-share/ > \ > --port 8080 & > > to: > ./bin/pvpython share/paraview-5.2/web/visualizer/server/pvw-visualizer.py > \ > --content share/paraview-5.2/web/visualizer/www \ > --data-dir /path-to-share > --port 8080 > > I can get a visualizer window up and running, but there are no control > buttons to load buttons just a frozen screen of the paraview grey > background and axis (which I can not rotate). > > If I need to compile from source are there any specific flags I need > to set in ccmake beside paraview python? > > > Thanks! > > -ashton > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrealphus at gmail.com Tue Nov 8 13:10:15 2016 From: andrealphus at gmail.com (andrealphus) Date: Tue, 8 Nov 2016 10:10:15 -0800 Subject: [Paraview] webserver write up In-Reply-To: References: Message-ID: Awesome, thanks Sebastien! On Tue, Nov 8, 2016 at 10:08 AM, Sebastien Jourdain wrote: > The ParaViewWeb documentation has moved to > https://kitware.github.io/paraviewweb/. > > We are still in the process of deprecating the previous documentation > location. > > On Tue, Nov 8, 2016 at 10:58 AM, andrealphus wrote: >> >> Could someone explain to me how to correctly set up a local paraview >> webserver?? >> >> I've tried to follow the write-ups here; >> >> http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/guide/quick_start >> >> But they seem inaccuracte/out of date. I have tried both the >> quickstart and Ububtu LTS writeups. >> >> I have an apache 2 server running. >> >> Ive tried installing PV from both the direct download page (source and >> binaries) as well as a github clone. >> >> >> In regards to the quickstart it also seems like the given paths have >> changed? (can someone verify??) >> >> in the weite up >> /bin/pvpython >> lib/paraview-4.1/site-packages/paraview/web/pv_web_visualizer.py >> \ >> --content ./share/paraview-4.1/www >> \ >> --data-dir /path-to-share/ >> \ >> --port 8080 & >> >> to: >> ./bin/pvpython share/paraview-5.2/web/visualizer/server/pvw-visualizer.py >> \ >> --content share/paraview-5.2/web/visualizer/www \ >> --data-dir /path-to-share >> --port 8080 >> >> I can get a visualizer window up and running, but there are no control >> buttons to load buttons just a frozen screen of the paraview grey >> background and axis (which I can not rotate). >> >> If I need to compile from source are there any specific flags I need >> to set in ccmake beside paraview python? >> >> >> Thanks! >> >> -ashton >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview > > From sebastien.jourdain at kitware.com Tue Nov 8 13:16:27 2016 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Tue, 8 Nov 2016 11:16:27 -0700 Subject: [Paraview] webserver write up In-Reply-To: References: Message-ID: Ashton, You should be able to download ParaView 5.2 RC3 or better RC4 (small fixes went in) Then you should be able to run one of the following command line to try it out. [image: Inline image 2] Otherwise building ParaView yourself will only require to turn Python ON. Then you can get visualizer here: https://kitware.github.io/visualizer/ Hope that help, Seb On Tue, Nov 8, 2016 at 11:08 AM, Sebastien Jourdain < sebastien.jourdain at kitware.com> wrote: > The ParaViewWeb documentation has moved to https://kitware.github.io/ > paraviewweb/. > > We are still in the process of deprecating the previous documentation > location. > > On Tue, Nov 8, 2016 at 10:58 AM, andrealphus > wrote: > >> Could someone explain to me how to correctly set up a local paraview >> webserver?? >> >> I've tried to follow the write-ups here; >> http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/ >> index.html#!/guide/quick_start >> >> But they seem inaccuracte/out of date. I have tried both the >> quickstart and Ububtu LTS writeups. >> >> I have an apache 2 server running. >> >> Ive tried installing PV from both the direct download page (source and >> binaries) as well as a github clone. >> >> >> In regards to the quickstart it also seems like the given paths have >> changed? (can someone verify??) >> >> in the weite up >> /bin/pvpython lib/paraview-4.1/site-packages >> /paraview/web/pv_web_visualizer.py >> \ >> --content ./share/paraview-4.1/www >> \ >> --data-dir /path-to-share/ >> \ >> --port 8080 & >> >> to: >> ./bin/pvpython share/paraview-5.2/web/visualizer/server/pvw-visualizer.py >> \ >> --content share/paraview-5.2/web/visualizer/www \ >> --data-dir /path-to-share >> --port 8080 >> >> I can get a visualizer window up and running, but there are no control >> buttons to load buttons just a frozen screen of the paraview grey >> background and axis (which I can not rotate). >> >> If I need to compile from source are there any specific flags I need >> to set in ccmake beside paraview python? >> >> >> Thanks! >> >> -ashton >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Visualizer-startup.jpg Type: image/jpeg Size: 203468 bytes Desc: not available URL: From labcorrea at gmail.com Tue Nov 8 14:08:50 2016 From: labcorrea at gmail.com (=?UTF-8?B?TMO6Y2lvIENvcnLDqmE=?=) Date: Tue, 8 Nov 2016 20:08:50 +0100 Subject: [Paraview] Fwd: Problem to save screenshot in VERY HIGH resolution In-Reply-To: References: Message-ID: Hi Cory, Thank you so much! It works perfectly! Again, thanks! > 2016-11-07 18:52 GMT+01:00 Cory Quammen : > >> Hi L?cio, >> >> This should be fixed in the soon-to-be-released ParaView 5.2.0 >> release. You can try ParaView 5.2.0 Release Candidate 3, available at >> http://www.paraview.org/download/ , to confirm. >> >> HTH, >> Cory >> >> On Tue, Aug 9, 2016 at 8:12 AM, L?cio Corr?a wrote: >> > Hi, >> > >> > I'm trying to save one screenshot with a very high resolution. >> > >> > I try to run in several different machines and configurations but I had >> > always the same problem. >> > >> > Some black rectangular strips appears in the figure. >> > >> > I'm sending an exemple, one figure and the python code that generate >> this >> > figure... >> > >> > Someone had some ideia why I have this problem? >> > >> > >> > -- >> > MSc. Eng. L?cio Corr?a >> > lcorrea at demet.ufrgs.br >> > >> > _______________________________________________ >> > 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 >> > >> > Search the list archives at: http://markmail.org/search/?q=ParaView >> > >> > Follow this link to subscribe/unsubscribe: >> > http://public.kitware.com/mailman/listinfo/paraview >> > >> >> >> >> -- >> Cory Quammen >> Staff R&D Engineer >> Kitware, Inc. >> > > > > -- > L?cio Corr?a > -- MSc. Eng. L?cio Corr?a lcorrea at demet.ufrgs.br -------------- next part -------------- An HTML attachment was scrubbed... URL: From dennis_conklin at goodyear.com Tue Nov 8 14:42:19 2016 From: dennis_conklin at goodyear.com (Dennis Conklin) Date: Tue, 8 Nov 2016 19:42:19 +0000 Subject: [Paraview] Regarding filtering of point data array Message-ID: Cory, Couldn't you isolate the points without creating cells using Find Data and a query with a few AND's? Dennis -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Tue Nov 8 15:30:30 2016 From: wascott at sandia.gov (Scott, W Alan) Date: Tue, 8 Nov 2016 20:30:30 +0000 Subject: [Paraview] [EXTERNAL] Generate a video in Paraview In-Reply-To: References: Message-ID: You mean file/ save animation/ take defaults? Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Chathu Gunasekera Sent: Tuesday, November 8, 2016 11:04 AM To: ParaView Subject: [EXTERNAL] [Paraview] Generate a video in Paraview Good day to everyone, I want to generate a video of my 3d Model in paraview. (sorry this may be a very basic question, but i couldn't find a proper way to do it). Can someone please assist? Thanks in advance. -- Warm regards, Chathuri Gunasekera. -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrealphus at gmail.com Tue Nov 8 15:40:23 2016 From: andrealphus at gmail.com (andrealphus) Date: Tue, 8 Nov 2016 12:40:23 -0800 Subject: [Paraview] webserver write up In-Reply-To: References: Message-ID: Sebastien, I followed the Ubuntu guide I found through the link you sent me at; https://kitware.github.io/paraviewweb/docs/guides/ubuntu_14_04.html#Installation-of-ParaViewWeb although between this morning and now, it seems to have gone 404. is that not a valid write up? I keep getting a "ERROR: Launch request is missing application key." when I try and load; localhost/visualizer or localhost/lightviz On Tue, Nov 8, 2016 at 10:16 AM, Sebastien Jourdain < sebastien.jourdain at kitware.com> wrote: > Ashton, > > You should be able to download ParaView 5.2 RC3 or better RC4 (small fixes > went in) > > Then you should be able to run one of the following command line to try it > out. > > [image: Inline image 2] > > Otherwise building ParaView yourself will only require to turn Python ON. > > Then you can get visualizer here: https://kitware.github.io/visualizer/ > > Hope that help, > > Seb > > On Tue, Nov 8, 2016 at 11:08 AM, Sebastien Jourdain < > sebastien.jourdain at kitware.com> wrote: > >> The ParaViewWeb documentation has moved to https://kitware.github.io/p >> araviewweb/. >> >> We are still in the process of deprecating the previous documentation >> location. >> >> On Tue, Nov 8, 2016 at 10:58 AM, andrealphus >> wrote: >> >>> Could someone explain to me how to correctly set up a local paraview >>> webserver?? >>> >>> I've tried to follow the write-ups here; >>> http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/ind >>> ex.html#!/guide/quick_start >>> >>> But they seem inaccuracte/out of date. I have tried both the >>> quickstart and Ububtu LTS writeups. >>> >>> I have an apache 2 server running. >>> >>> Ive tried installing PV from both the direct download page (source and >>> binaries) as well as a github clone. >>> >>> >>> In regards to the quickstart it also seems like the given paths have >>> changed? (can someone verify??) >>> >>> in the weite up >>> /bin/pvpython lib/paraview-4.1/site-packages >>> /paraview/web/pv_web_visualizer.py >>> \ >>> --content ./share/paraview-4.1/www >>> \ >>> --data-dir /path-to-share/ >>> \ >>> --port 8080 & >>> >>> to: >>> ./bin/pvpython share/paraview-5.2/web/visualizer/server/pvw-visualizer.py >>> \ >>> --content share/paraview-5.2/web/visualizer/www \ >>> --data-dir /path-to-share >>> --port 8080 >>> >>> I can get a visualizer window up and running, but there are no control >>> buttons to load buttons just a frozen screen of the paraview grey >>> background and axis (which I can not rotate). >>> >>> If I need to compile from source are there any specific flags I need >>> to set in ccmake beside paraview python? >>> >>> >>> Thanks! >>> >>> -ashton >>> _______________________________________________ >>> 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 >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Visualizer-startup.jpg Type: image/jpeg Size: 203468 bytes Desc: not available URL: From kmorel at sandia.gov Tue Nov 8 15:41:05 2016 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Tue, 8 Nov 2016 20:41:05 +0000 Subject: [Paraview] Generate a video in Paraview Message-ID: Menu item File -> Save Animation -Ken From: ParaView on behalf of Chathu Gunasekera Date: Tuesday, November 8, 2016 at 11:04 AM To: ParaView Subject: [EXTERNAL] [Paraview] Generate a video in Paraview Good day to everyone, I want to generate a video of my 3d Model in paraview. (sorry this may be a very basic question, but i couldn't find a proper way to do it). Can someone please assist? Thanks in advance. -- Warm regards, Chathuri Gunasekera. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Tue Nov 8 15:53:52 2016 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Tue, 8 Nov 2016 13:53:52 -0700 Subject: [Paraview] webserver write up In-Reply-To: References: Message-ID: To fix the "Next/Previous" link issue, I had to move some files arounds. If you remove /guides/ you should be good. Let me know if I missed a link to go to that page. Seb Link: https://kitware.github.io/paraviewweb/docs/ubuntu_14_04.html#Installation-of-ParaViewWeb On Tue, Nov 8, 2016 at 1:40 PM, andrealphus wrote: > Sebastien, > > I followed the Ubuntu guide I found through the link you sent me at; > https://kitware.github.io/paraviewweb/docs/guides/ubuntu_14_04.html# > Installation-of-ParaViewWeb > > although between this morning and now, it seems to have gone 404. > > is that not a valid write up? > > I keep getting a > "ERROR: Launch request is missing application key." > > when I try and load; > localhost/visualizer > or > localhost/lightviz > > > > > On Tue, Nov 8, 2016 at 10:16 AM, Sebastien Jourdain < > sebastien.jourdain at kitware.com> wrote: > >> Ashton, >> >> You should be able to download ParaView 5.2 RC3 or better RC4 (small >> fixes went in) >> >> Then you should be able to run one of the following command line to try >> it out. >> >> [image: Inline image 2] >> >> Otherwise building ParaView yourself will only require to turn Python ON. >> >> Then you can get visualizer here: https://kitware.github.io/visualizer/ >> >> Hope that help, >> >> Seb >> >> On Tue, Nov 8, 2016 at 11:08 AM, Sebastien Jourdain < >> sebastien.jourdain at kitware.com> wrote: >> >>> The ParaViewWeb documentation has moved to https://kitware.github.io/p >>> araviewweb/. >>> >>> We are still in the process of deprecating the previous documentation >>> location. >>> >>> On Tue, Nov 8, 2016 at 10:58 AM, andrealphus >>> wrote: >>> >>>> Could someone explain to me how to correctly set up a local paraview >>>> webserver?? >>>> >>>> I've tried to follow the write-ups here; >>>> http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/ind >>>> ex.html#!/guide/quick_start >>>> >>>> But they seem inaccuracte/out of date. I have tried both the >>>> quickstart and Ububtu LTS writeups. >>>> >>>> I have an apache 2 server running. >>>> >>>> Ive tried installing PV from both the direct download page (source and >>>> binaries) as well as a github clone. >>>> >>>> >>>> In regards to the quickstart it also seems like the given paths have >>>> changed? (can someone verify??) >>>> >>>> in the weite up >>>> /bin/pvpython lib/paraview-4.1/site-packages >>>> /paraview/web/pv_web_visualizer.py >>>> \ >>>> --content ./share/paraview-4.1/www >>>> \ >>>> --data-dir /path-to-share/ >>>> \ >>>> --port 8080 & >>>> >>>> to: >>>> ./bin/pvpython share/paraview-5.2/web/visualizer/server/pvw-visualizer.py >>>> \ >>>> --content share/paraview-5.2/web/visualizer/www \ >>>> --data-dir /path-to-share >>>> --port 8080 >>>> >>>> I can get a visualizer window up and running, but there are no control >>>> buttons to load buttons just a frozen screen of the paraview grey >>>> background and axis (which I can not rotate). >>>> >>>> If I need to compile from source are there any specific flags I need >>>> to set in ccmake beside paraview python? >>>> >>>> >>>> Thanks! >>>> >>>> -ashton >>>> _______________________________________________ >>>> 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 >>>> >>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/paraview >>>> >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Visualizer-startup.jpg Type: image/jpeg Size: 203468 bytes Desc: not available URL: From sebastien.jourdain at kitware.com Tue Nov 8 16:00:37 2016 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Tue, 8 Nov 2016 14:00:37 -0700 Subject: [Paraview] webserver write up In-Reply-To: References: Message-ID: It should be a valid write up, but I may have failed to update visualizer and light-viz inside ParaView bundle. Which version of ParaView are you using? If you don't mind try to replace index.html inside /data/www/{visualizer/lightviz}/index.html by the one you can download here: https://github.com/Kitware/visualizer/blob/master/dist/index.html https://github.com/Kitware/light-viz/blob/master/dist/index.html Seb On Tue, Nov 8, 2016 at 1:53 PM, Sebastien Jourdain < sebastien.jourdain at kitware.com> wrote: > To fix the "Next/Previous" link issue, I had to move some files arounds. > If you remove /guides/ you should be good. > > Let me know if I missed a link to go to that page. > > Seb > > Link: https://kitware.github.io/paraviewweb/docs/ubuntu_14_04. > html#Installation-of-ParaViewWeb > > On Tue, Nov 8, 2016 at 1:40 PM, andrealphus wrote: > >> Sebastien, >> >> I followed the Ubuntu guide I found through the link you sent me at; >> https://kitware.github.io/paraviewweb/docs/guides/ubuntu_14_ >> 04.html#Installation-of-ParaViewWeb >> >> although between this morning and now, it seems to have gone 404. >> >> is that not a valid write up? >> >> I keep getting a >> "ERROR: Launch request is missing application key." >> >> when I try and load; >> localhost/visualizer >> or >> localhost/lightviz >> >> >> >> >> On Tue, Nov 8, 2016 at 10:16 AM, Sebastien Jourdain < >> sebastien.jourdain at kitware.com> wrote: >> >>> Ashton, >>> >>> You should be able to download ParaView 5.2 RC3 or better RC4 (small >>> fixes went in) >>> >>> Then you should be able to run one of the following command line to try >>> it out. >>> >>> [image: Inline image 2] >>> >>> Otherwise building ParaView yourself will only require to turn Python ON. >>> >>> Then you can get visualizer here: https://kitware.github.io/visualizer/ >>> >>> Hope that help, >>> >>> Seb >>> >>> On Tue, Nov 8, 2016 at 11:08 AM, Sebastien Jourdain < >>> sebastien.jourdain at kitware.com> wrote: >>> >>>> The ParaViewWeb documentation has moved to https://kitware.github.io/p >>>> araviewweb/. >>>> >>>> We are still in the process of deprecating the previous documentation >>>> location. >>>> >>>> On Tue, Nov 8, 2016 at 10:58 AM, andrealphus >>>> wrote: >>>> >>>>> Could someone explain to me how to correctly set up a local paraview >>>>> webserver?? >>>>> >>>>> I've tried to follow the write-ups here; >>>>> http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/ind >>>>> ex.html#!/guide/quick_start >>>>> >>>>> But they seem inaccuracte/out of date. I have tried both the >>>>> quickstart and Ububtu LTS writeups. >>>>> >>>>> I have an apache 2 server running. >>>>> >>>>> Ive tried installing PV from both the direct download page (source and >>>>> binaries) as well as a github clone. >>>>> >>>>> >>>>> In regards to the quickstart it also seems like the given paths have >>>>> changed? (can someone verify??) >>>>> >>>>> in the weite up >>>>> /bin/pvpython lib/paraview-4.1/site-packages >>>>> /paraview/web/pv_web_visualizer.py >>>>> \ >>>>> --content ./share/paraview-4.1/www >>>>> \ >>>>> --data-dir /path-to-share/ >>>>> \ >>>>> --port 8080 & >>>>> >>>>> to: >>>>> ./bin/pvpython share/paraview-5.2/web/visualizer/server/pvw-visualizer.py >>>>> \ >>>>> --content share/paraview-5.2/web/visualizer/www \ >>>>> --data-dir /path-to-share >>>>> --port 8080 >>>>> >>>>> I can get a visualizer window up and running, but there are no control >>>>> buttons to load buttons just a frozen screen of the paraview grey >>>>> background and axis (which I can not rotate). >>>>> >>>>> If I need to compile from source are there any specific flags I need >>>>> to set in ccmake beside paraview python? >>>>> >>>>> >>>>> Thanks! >>>>> >>>>> -ashton >>>>> _______________________________________________ >>>>> 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 >>>>> >>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>> >>>>> Follow this link to subscribe/unsubscribe: >>>>> http://public.kitware.com/mailman/listinfo/paraview >>>>> >>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Visualizer-startup.jpg Type: image/jpeg Size: 203468 bytes Desc: not available URL: From sebastien.jourdain at kitware.com Tue Nov 8 16:05:27 2016 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Tue, 8 Nov 2016 14:05:27 -0700 Subject: [Paraview] webserver write up In-Reply-To: References: Message-ID: Just double checked and only RC4 has the valid html files. On Tue, Nov 8, 2016 at 2:00 PM, Sebastien Jourdain < sebastien.jourdain at kitware.com> wrote: > It should be a valid write up, but I may have failed to update visualizer > and light-viz inside ParaView bundle. > Which version of ParaView are you using? > > If you don't mind try to replace index.html inside /data/www/{visualizer/ > lightviz}/index.html by the one you can download here: > > https://github.com/Kitware/visualizer/blob/master/dist/index.html > https://github.com/Kitware/light-viz/blob/master/dist/index.html > > Seb > > On Tue, Nov 8, 2016 at 1:53 PM, Sebastien Jourdain < > sebastien.jourdain at kitware.com> wrote: > >> To fix the "Next/Previous" link issue, I had to move some files arounds. >> If you remove /guides/ you should be good. >> >> Let me know if I missed a link to go to that page. >> >> Seb >> >> Link: https://kitware.github.io/paraviewweb/docs/ubuntu_14_04.html >> #Installation-of-ParaViewWeb >> >> On Tue, Nov 8, 2016 at 1:40 PM, andrealphus >> wrote: >> >>> Sebastien, >>> >>> I followed the Ubuntu guide I found through the link you sent me at; >>> https://kitware.github.io/paraviewweb/docs/guides/ubuntu_14_ >>> 04.html#Installation-of-ParaViewWeb >>> >>> although between this morning and now, it seems to have gone 404. >>> >>> is that not a valid write up? >>> >>> I keep getting a >>> "ERROR: Launch request is missing application key." >>> >>> when I try and load; >>> localhost/visualizer >>> or >>> localhost/lightviz >>> >>> >>> >>> >>> On Tue, Nov 8, 2016 at 10:16 AM, Sebastien Jourdain < >>> sebastien.jourdain at kitware.com> wrote: >>> >>>> Ashton, >>>> >>>> You should be able to download ParaView 5.2 RC3 or better RC4 (small >>>> fixes went in) >>>> >>>> Then you should be able to run one of the following command line to try >>>> it out. >>>> >>>> [image: Inline image 2] >>>> >>>> Otherwise building ParaView yourself will only require to turn Python >>>> ON. >>>> >>>> Then you can get visualizer here: https://kitware.github.io/visualizer/ >>>> >>>> Hope that help, >>>> >>>> Seb >>>> >>>> On Tue, Nov 8, 2016 at 11:08 AM, Sebastien Jourdain < >>>> sebastien.jourdain at kitware.com> wrote: >>>> >>>>> The ParaViewWeb documentation has moved to https://kitware.github.io/p >>>>> araviewweb/. >>>>> >>>>> We are still in the process of deprecating the previous documentation >>>>> location. >>>>> >>>>> On Tue, Nov 8, 2016 at 10:58 AM, andrealphus >>>>> wrote: >>>>> >>>>>> Could someone explain to me how to correctly set up a local paraview >>>>>> webserver?? >>>>>> >>>>>> I've tried to follow the write-ups here; >>>>>> http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/ind >>>>>> ex.html#!/guide/quick_start >>>>>> >>>>>> But they seem inaccuracte/out of date. I have tried both the >>>>>> quickstart and Ububtu LTS writeups. >>>>>> >>>>>> I have an apache 2 server running. >>>>>> >>>>>> Ive tried installing PV from both the direct download page (source and >>>>>> binaries) as well as a github clone. >>>>>> >>>>>> >>>>>> In regards to the quickstart it also seems like the given paths have >>>>>> changed? (can someone verify??) >>>>>> >>>>>> in the weite up >>>>>> /bin/pvpython lib/paraview-4.1/site-packages >>>>>> /paraview/web/pv_web_visualizer.py >>>>>> \ >>>>>> --content ./share/paraview-4.1/www >>>>>> \ >>>>>> --data-dir /path-to-share/ >>>>>> \ >>>>>> --port 8080 & >>>>>> >>>>>> to: >>>>>> ./bin/pvpython share/paraview-5.2/web/visualizer/server/pvw-visualizer.py >>>>>> \ >>>>>> --content share/paraview-5.2/web/visualizer/www \ >>>>>> --data-dir /path-to-share >>>>>> --port 8080 >>>>>> >>>>>> I can get a visualizer window up and running, but there are no control >>>>>> buttons to load buttons just a frozen screen of the paraview grey >>>>>> background and axis (which I can not rotate). >>>>>> >>>>>> If I need to compile from source are there any specific flags I need >>>>>> to set in ccmake beside paraview python? >>>>>> >>>>>> >>>>>> Thanks! >>>>>> >>>>>> -ashton >>>>>> _______________________________________________ >>>>>> 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 >>>>>> >>>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>>> >>>>>> Follow this link to subscribe/unsubscribe: >>>>>> http://public.kitware.com/mailman/listinfo/paraview >>>>>> >>>>> >>>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Visualizer-startup.jpg Type: image/jpeg Size: 203468 bytes Desc: not available URL: From andrealphus at gmail.com Tue Nov 8 16:10:02 2016 From: andrealphus at gmail.com (andrealphus) Date: Tue, 8 Nov 2016 13:10:02 -0800 Subject: [Paraview] webserver write up In-Reply-To: References: Message-ID: Version; ParaView-5.2.0-RC3-Qt4-OpenGL2-MPI-Linux-64bit changing the index fixed the application key issue so I can bring up; mymachine/visualizer (a blank grey static paraview box with no controls) but not sure how I acutally get the paraview gui. from the old write up mymachine/paraview would bring it up but this fails with a; {"error": "id not provided in GET request"} once I get this working, let me know if you want a modified version of the writeup relevant configs, sorry for the extended path locations... startup.json #!/bin/bash export DISPLAY=:0.0 pvw_home=/home/ashton/Treetop/PROJECTS/LVC_modeling_group/paraview_webserver $pvw_home/pv/pv-current/bin/pvpython $pvw_home/pv/pv-current/lib/python2.7/site-packages/vtk/web/launcher.py $pvw_home/pvw/conf/launcher.json & 001-pvw.conf ServerName lanikai ServerAdmin YOUR_EMAIL at COMPANY.COM DocumentRoot /home/ashton/Treetop/PROJECTS/LVC_modeling_group/paraview_webserver/www #SSLEngine On #SSLCertificateFile /usr/local/share/ca-certificates/DOIRootCA.crt #SSLCertificateChainFile /usr/local/share/ca-certificates/DOIRootCA.crt ErrorLog /home/ashton/Treetop/PROJECTS/LVC_modeling_group/paraview_webserver/logs/error.log CustomLog /home/ashton/Treetop/PROJECTS/LVC_modeling_group/paraview_webserver/logs/access.log combined Options Indexes FollowSymLinks Order allow,deny Allow from all AllowOverride None Require all granted # Handle launcher forwarding ProxyPass /paraview http://localhost:8080/paraview # Handle WebSocket forwarding RewriteEngine On RewriteMap session-to-port txt:/home/ashton/Treetop/PROJECTS/LVC_modeling_group/paraview_webserver/proxy.txt RewriteCond %{QUERY_STRING} ^sessionId=(.*)$ [NC] RewriteRule ^/proxy.*$ ws://${session-to-port:%1}/ws [P] launcher.json "resources": [ {"port_range": [9001, 9103], "host": "localhost"} ], "sessionData": { "updir": "/home/ashton/Treetop/PROJECTS/LVC_modeling_group/paraview_webserver" }, "configuration": { "log_dir": "/home/ashton/Treetop/PROJECTS/LVC_modeling_group/paraview_webserver/pvw/logs", "host": "localhost", "endpoint": "paraview", "sessionURL": "ws://lanikai/proxy?sessionId=${id}&path=ws", "timeout": 25, "upload_dir": "/home/ashton/Treetop/PROJECTS/LVC_modeling_group/paraview_webserver/pvw/upload", "fields": ["file", "host", "port", "updir"], "port": 8080, "proxy_file": "/home/ashton/Treetop/PROJECTS/LVC_modeling_group/paraview_webserver/proxy.txt" }, "properties": { "web_path": "/home/ashton/Treetop/PROJECTS/LVC_modeling_group/paraview_webserver/pv/pv-current/share/paraview-5.2/web", "dataDir": "/home/ashton/Treetop/PROJECTS/LVC_modeling_group/paraview_webserver/pvw/data", "python_exec": "/home/ashton/Treetop/PROJECTS/LVC_modeling_group/paraview_webserver/pv/pv-current/bin/pvpython" }, "apps": { "visualizer": { "cmd": [ "${python_exec}", "-dr", "${web_path}/visualizer/server/pvw-visualizer.py", "--port", "${port}", "--data-dir", "${dataDir}", "-f", "--authKey", "${secret}" ], "ready_line" : "Starting factory" }, "lightviz": { "cmd": [ "${python_exec}", "-dr", "${web_path}/lightviz/server/pvw-light-viz.py", "--port", "${port}", "--data", "${dataDir}", "-f", "--authKey", "${secret}" ], "ready_line" : "Starting factory" } } } On Tue, Nov 8, 2016 at 1:00 PM, Sebastien Jourdain < sebastien.jourdain at kitware.com> wrote: > It should be a valid write up, but I may have failed to update visualizer > and light-viz inside ParaView bundle. > Which version of ParaView are you using? > > If you don't mind try to replace index.html inside /data/www/{visualizer/ > lightviz}/index.html by the one you can download here: > > https://github.com/Kitware/visualizer/blob/master/dist/index.html > https://github.com/Kitware/light-viz/blob/master/dist/index.html > > Seb > > On Tue, Nov 8, 2016 at 1:53 PM, Sebastien Jourdain < > sebastien.jourdain at kitware.com> wrote: > >> To fix the "Next/Previous" link issue, I had to move some files arounds. >> If you remove /guides/ you should be good. >> >> Let me know if I missed a link to go to that page. >> >> Seb >> >> Link: https://kitware.github.io/paraviewweb/docs/ubuntu_14_04.html >> #Installation-of-ParaViewWeb >> >> On Tue, Nov 8, 2016 at 1:40 PM, andrealphus >> wrote: >> >>> Sebastien, >>> >>> I followed the Ubuntu guide I found through the link you sent me at; >>> https://kitware.github.io/paraviewweb/docs/guides/ubuntu_14_ >>> 04.html#Installation-of-ParaViewWeb >>> >>> although between this morning and now, it seems to have gone 404. >>> >>> is that not a valid write up? >>> >>> I keep getting a >>> "ERROR: Launch request is missing application key." >>> >>> when I try and load; >>> localhost/visualizer >>> or >>> localhost/lightviz >>> >>> >>> >>> >>> On Tue, Nov 8, 2016 at 10:16 AM, Sebastien Jourdain < >>> sebastien.jourdain at kitware.com> wrote: >>> >>>> Ashton, >>>> >>>> You should be able to download ParaView 5.2 RC3 or better RC4 (small >>>> fixes went in) >>>> >>>> Then you should be able to run one of the following command line to try >>>> it out. >>>> >>>> [image: Inline image 2] >>>> >>>> Otherwise building ParaView yourself will only require to turn Python >>>> ON. >>>> >>>> Then you can get visualizer here: https://kitware.github.io/visualizer/ >>>> >>>> Hope that help, >>>> >>>> Seb >>>> >>>> On Tue, Nov 8, 2016 at 11:08 AM, Sebastien Jourdain < >>>> sebastien.jourdain at kitware.com> wrote: >>>> >>>>> The ParaViewWeb documentation has moved to https://kitware.github.io/p >>>>> araviewweb/. >>>>> >>>>> We are still in the process of deprecating the previous documentation >>>>> location. >>>>> >>>>> On Tue, Nov 8, 2016 at 10:58 AM, andrealphus >>>>> wrote: >>>>> >>>>>> Could someone explain to me how to correctly set up a local paraview >>>>>> webserver?? >>>>>> >>>>>> I've tried to follow the write-ups here; >>>>>> http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/ind >>>>>> ex.html#!/guide/quick_start >>>>>> >>>>>> But they seem inaccuracte/out of date. I have tried both the >>>>>> quickstart and Ububtu LTS writeups. >>>>>> >>>>>> I have an apache 2 server running. >>>>>> >>>>>> Ive tried installing PV from both the direct download page (source and >>>>>> binaries) as well as a github clone. >>>>>> >>>>>> >>>>>> In regards to the quickstart it also seems like the given paths have >>>>>> changed? (can someone verify??) >>>>>> >>>>>> in the weite up >>>>>> /bin/pvpython lib/paraview-4.1/site-packages >>>>>> /paraview/web/pv_web_visualizer.py >>>>>> \ >>>>>> --content ./share/paraview-4.1/www >>>>>> \ >>>>>> --data-dir /path-to-share/ >>>>>> \ >>>>>> --port 8080 & >>>>>> >>>>>> to: >>>>>> ./bin/pvpython share/paraview-5.2/web/visualizer/server/pvw-visualizer.py >>>>>> \ >>>>>> --content share/paraview-5.2/web/visualizer/www \ >>>>>> --data-dir /path-to-share >>>>>> --port 8080 >>>>>> >>>>>> I can get a visualizer window up and running, but there are no control >>>>>> buttons to load buttons just a frozen screen of the paraview grey >>>>>> background and axis (which I can not rotate). >>>>>> >>>>>> If I need to compile from source are there any specific flags I need >>>>>> to set in ccmake beside paraview python? >>>>>> >>>>>> >>>>>> Thanks! >>>>>> >>>>>> -ashton >>>>>> _______________________________________________ >>>>>> 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 >>>>>> >>>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>>> >>>>>> Follow this link to subscribe/unsubscribe: >>>>>> http://public.kitware.com/mailman/listinfo/paraview >>>>>> >>>>> >>>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Visualizer-startup.jpg Type: image/jpeg Size: 203468 bytes Desc: not available URL: From sebastien.jourdain at kitware.com Tue Nov 8 16:32:59 2016 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Tue, 8 Nov 2016 14:32:59 -0700 Subject: [Paraview] webserver write up In-Reply-To: References: Message-ID: The rewrite rules are wrong. Probably from the old doc. https://kitware.github.io/paraviewweb/docs/ubuntu_14_04.html#Configuration On Tue, Nov 8, 2016 at 2:10 PM, andrealphus wrote: > Version; > ParaView-5.2.0-RC3-Qt4-OpenGL2-MPI-Linux-64bit > > changing the index fixed the application key issue so I can bring up; > mymachine/visualizer > > (a blank grey static paraview box with no controls) > > but not sure how I acutally get the paraview gui. from the old write up > mymachine/paraview would bring it up but this fails with a; > {"error": "id not provided in GET request"} > > > once I get this working, let me know if you want a modified version of the > writeup > > > relevant configs, sorry for the extended path locations... > > > startup.json > > #!/bin/bash > > export DISPLAY=:0.0 > pvw_home=/home/ashton/Treetop/PROJECTS/LVC_modeling_group/ > paraview_webserver > $pvw_home/pv/pv-current/bin/pvpython $pvw_home/pv/pv-current/lib/ > python2.7/site-packages/vtk/web/launcher.py $pvw_home/pvw/conf/launcher.json > & > > > > > 001-pvw.conf > > > ServerName lanikai > ServerAdmin YOUR_EMAIL at COMPANY.COM > DocumentRoot /home/ashton/Treetop/PROJECTS/LVC_modeling_group/paraview_ > webserver/www > > #SSLEngine On > #SSLCertificateFile /usr/local/share/ca-certificates/DOIRootCA.crt > #SSLCertificateChainFile /usr/local/share/ca-certificates/DOIRootCA.crt > > ErrorLog /home/ashton/Treetop/PROJECTS/LVC_modeling_group/paraview_ > webserver/logs/error.log > CustomLog /home/ashton/Treetop/PROJECTS/LVC_modeling_group/paraview_webserver/logs/access.log > combined > > webserver/www> > Options Indexes FollowSymLinks > Order allow,deny > Allow from all > AllowOverride None > Require all granted > > > # Handle launcher forwarding > ProxyPass /paraview http://localhost:8080/paraview > > # Handle WebSocket forwarding > RewriteEngine On > RewriteMap session-to-port txt:/home/ashton/Treetop/ > PROJECTS/LVC_modeling_group/paraview_webserver/proxy.txt > RewriteCond %{QUERY_STRING} ^sessionId=(.*)$ [NC] > RewriteRule ^/proxy.*$ ws://${session-to-port:%1}/ws [P] > > > > > > launcher.json > > "resources": [ {"port_range": [9001, 9103], "host": "localhost"} ], > "sessionData": { > "updir": "/home/ashton/Treetop/PROJECTS/LVC_modeling_group/ > paraview_webserver" > }, > "configuration": { > "log_dir": "/home/ashton/Treetop/PROJECTS/LVC_modeling_group/ > paraview_webserver/pvw/logs", > "host": "localhost", > "endpoint": "paraview", > "sessionURL": "ws://lanikai/proxy?sessionId=${id}&path=ws", > "timeout": 25, > "upload_dir": "/home/ashton/Treetop/PROJECTS/LVC_modeling_group/ > paraview_webserver/pvw/upload", > "fields": ["file", "host", "port", "updir"], > "port": 8080, > "proxy_file": "/home/ashton/Treetop/PROJECTS/LVC_modeling_group/ > paraview_webserver/proxy.txt" > }, > "properties": { > "web_path": "/home/ashton/Treetop/PROJECTS/LVC_modeling_group/ > paraview_webserver/pv/pv-current/share/paraview-5.2/web", > "dataDir": "/home/ashton/Treetop/PROJECTS/LVC_modeling_group/ > paraview_webserver/pvw/data", > "python_exec": "/home/ashton/Treetop/PROJECTS/LVC_modeling_group/ > paraview_webserver/pv/pv-current/bin/pvpython" > }, > "apps": { > "visualizer": { > "cmd": [ > "${python_exec}", > "-dr", > "${web_path}/visualizer/server/pvw-visualizer.py", > "--port", "${port}", > "--data-dir", "${dataDir}", > "-f", > "--authKey", "${secret}" > ], > "ready_line" : "Starting factory" > }, > "lightviz": { > "cmd": [ > "${python_exec}", > "-dr", > "${web_path}/lightviz/server/pvw-light-viz.py", > "--port", "${port}", > "--data", "${dataDir}", > "-f", > "--authKey", "${secret}" > ], > "ready_line" : "Starting factory" > } > } > } > > > > > > On Tue, Nov 8, 2016 at 1:00 PM, Sebastien Jourdain < > sebastien.jourdain at kitware.com> wrote: > >> It should be a valid write up, but I may have failed to update visualizer >> and light-viz inside ParaView bundle. >> Which version of ParaView are you using? >> >> If you don't mind try to replace index.html inside >> /data/www/{visualizer/lightviz}/index.html by the one you can download >> here: >> >> https://github.com/Kitware/visualizer/blob/master/dist/index.html >> https://github.com/Kitware/light-viz/blob/master/dist/index.html >> >> Seb >> >> On Tue, Nov 8, 2016 at 1:53 PM, Sebastien Jourdain < >> sebastien.jourdain at kitware.com> wrote: >> >>> To fix the "Next/Previous" link issue, I had to move some files arounds. >>> If you remove /guides/ you should be good. >>> >>> Let me know if I missed a link to go to that page. >>> >>> Seb >>> >>> Link: https://kitware.github.io/paraviewweb/docs/ubuntu_14_04.html >>> #Installation-of-ParaViewWeb >>> >>> On Tue, Nov 8, 2016 at 1:40 PM, andrealphus >>> wrote: >>> >>>> Sebastien, >>>> >>>> I followed the Ubuntu guide I found through the link you sent me at; >>>> https://kitware.github.io/paraviewweb/docs/guides/ubuntu_14_ >>>> 04.html#Installation-of-ParaViewWeb >>>> >>>> although between this morning and now, it seems to have gone 404. >>>> >>>> is that not a valid write up? >>>> >>>> I keep getting a >>>> "ERROR: Launch request is missing application key." >>>> >>>> when I try and load; >>>> localhost/visualizer >>>> or >>>> localhost/lightviz >>>> >>>> >>>> >>>> >>>> On Tue, Nov 8, 2016 at 10:16 AM, Sebastien Jourdain < >>>> sebastien.jourdain at kitware.com> wrote: >>>> >>>>> Ashton, >>>>> >>>>> You should be able to download ParaView 5.2 RC3 or better RC4 (small >>>>> fixes went in) >>>>> >>>>> Then you should be able to run one of the following command line to >>>>> try it out. >>>>> >>>>> [image: Inline image 2] >>>>> >>>>> Otherwise building ParaView yourself will only require to turn Python >>>>> ON. >>>>> >>>>> Then you can get visualizer here: https://kitware.github.i >>>>> o/visualizer/ >>>>> >>>>> Hope that help, >>>>> >>>>> Seb >>>>> >>>>> On Tue, Nov 8, 2016 at 11:08 AM, Sebastien Jourdain < >>>>> sebastien.jourdain at kitware.com> wrote: >>>>> >>>>>> The ParaViewWeb documentation has moved to >>>>>> https://kitware.github.io/paraviewweb/. >>>>>> >>>>>> We are still in the process of deprecating the previous documentation >>>>>> location. >>>>>> >>>>>> On Tue, Nov 8, 2016 at 10:58 AM, andrealphus >>>>>> wrote: >>>>>> >>>>>>> Could someone explain to me how to correctly set up a local paraview >>>>>>> webserver?? >>>>>>> >>>>>>> I've tried to follow the write-ups here; >>>>>>> http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/ind >>>>>>> ex.html#!/guide/quick_start >>>>>>> >>>>>>> But they seem inaccuracte/out of date. I have tried both the >>>>>>> quickstart and Ububtu LTS writeups. >>>>>>> >>>>>>> I have an apache 2 server running. >>>>>>> >>>>>>> Ive tried installing PV from both the direct download page (source >>>>>>> and >>>>>>> binaries) as well as a github clone. >>>>>>> >>>>>>> >>>>>>> In regards to the quickstart it also seems like the given paths have >>>>>>> changed? (can someone verify??) >>>>>>> >>>>>>> in the weite up >>>>>>> /bin/pvpython lib/paraview-4.1/site-packages >>>>>>> /paraview/web/pv_web_visualizer.py >>>>>>> \ >>>>>>> --content ./share/paraview-4.1/www >>>>>>> \ >>>>>>> --data-dir /path-to-share/ >>>>>>> \ >>>>>>> --port 8080 & >>>>>>> >>>>>>> to: >>>>>>> ./bin/pvpython share/paraview-5.2/web/visualizer/server/pvw-visualizer.py >>>>>>> \ >>>>>>> --content share/paraview-5.2/web/visualizer/www \ >>>>>>> --data-dir /path-to-share >>>>>>> --port 8080 >>>>>>> >>>>>>> I can get a visualizer window up and running, but there are no >>>>>>> control >>>>>>> buttons to load buttons just a frozen screen of the paraview grey >>>>>>> background and axis (which I can not rotate). >>>>>>> >>>>>>> If I need to compile from source are there any specific flags I need >>>>>>> to set in ccmake beside paraview python? >>>>>>> >>>>>>> >>>>>>> Thanks! >>>>>>> >>>>>>> -ashton >>>>>>> _______________________________________________ >>>>>>> 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 >>>>>>> >>>>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>>>> >>>>>>> Follow this link to subscribe/unsubscribe: >>>>>>> http://public.kitware.com/mailman/listinfo/paraview >>>>>>> >>>>>> >>>>>> >>>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Visualizer-startup.jpg Type: image/jpeg Size: 203468 bytes Desc: not available URL: From sebastien.jourdain at kitware.com Tue Nov 8 16:35:42 2016 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Tue, 8 Nov 2016 14:35:42 -0700 Subject: [Paraview] webserver write up In-Reply-To: References: Message-ID: > > once I get this working, let me know if you want a modified version of the > writeup If you are talking about improving the document. Yes you are more than welcome to contribute some fix to it. Thanks, Seb On Tue, Nov 8, 2016 at 2:32 PM, Sebastien Jourdain < sebastien.jourdain at kitware.com> wrote: > The rewrite rules are wrong. Probably from the old doc. > > https://kitware.github.io/paraviewweb/docs/ubuntu_14_04.html#Configuration > > On Tue, Nov 8, 2016 at 2:10 PM, andrealphus wrote: > >> Version; >> ParaView-5.2.0-RC3-Qt4-OpenGL2-MPI-Linux-64bit >> >> changing the index fixed the application key issue so I can bring up; >> mymachine/visualizer >> >> (a blank grey static paraview box with no controls) >> >> but not sure how I acutally get the paraview gui. from the old write up >> mymachine/paraview would bring it up but this fails with a; >> {"error": "id not provided in GET request"} >> >> >> once I get this working, let me know if you want a modified version of >> the writeup >> >> >> relevant configs, sorry for the extended path locations... >> >> >> startup.json >> >> #!/bin/bash >> >> export DISPLAY=:0.0 >> pvw_home=/home/ashton/Treetop/PROJECTS/LVC_modeling_group/pa >> raview_webserver >> $pvw_home/pv/pv-current/bin/pvpython $pvw_home/pv/pv-current/lib/py >> thon2.7/site-packages/vtk/web/launcher.py $pvw_home/pvw/conf/launcher.json >> & >> >> >> >> >> 001-pvw.conf >> >> >> ServerName lanikai >> ServerAdmin YOUR_EMAIL at COMPANY.COM >> DocumentRoot /home/ashton/Treetop/PROJECTS/ >> LVC_modeling_group/paraview_webserver/www >> >> #SSLEngine On >> #SSLCertificateFile /usr/local/share/ca-certificates/DOIRootCA.crt >> #SSLCertificateChainFile /usr/local/share/ca-certificates/DOIRootCA.crt >> >> ErrorLog /home/ashton/Treetop/PROJECTS/LVC_modeling_group/paraview_we >> bserver/logs/error.log >> CustomLog /home/ashton/Treetop/PROJECTS/LVC_modeling_group/paraview_webserver/logs/access.log >> combined >> >> > bserver/www> >> Options Indexes FollowSymLinks >> Order allow,deny >> Allow from all >> AllowOverride None >> Require all granted >> >> >> # Handle launcher forwarding >> ProxyPass /paraview http://localhost:8080/paraview >> >> # Handle WebSocket forwarding >> RewriteEngine On >> RewriteMap session-to-port txt:/home/ashton/Treetop/PROJ >> ECTS/LVC_modeling_group/paraview_webserver/proxy.txt >> RewriteCond %{QUERY_STRING} ^sessionId=(.*)$ [NC] >> RewriteRule ^/proxy.*$ ws://${session-to-port:%1}/ws [P] >> >> >> >> >> >> launcher.json >> >> "resources": [ {"port_range": [9001, 9103], "host": "localhost"} ], >> "sessionData": { >> "updir": "/home/ashton/Treetop/PROJECTS/LVC_modeling_group/paraview_ >> webserver" >> }, >> "configuration": { >> "log_dir": "/home/ashton/Treetop/PROJECTS >> /LVC_modeling_group/paraview_webserver/pvw/logs", >> "host": "localhost", >> "endpoint": "paraview", >> "sessionURL": "ws://lanikai/proxy?sessionId=${id}&path=ws", >> "timeout": 25, >> "upload_dir": "/home/ashton/Treetop/PROJECTS >> /LVC_modeling_group/paraview_webserver/pvw/upload", >> "fields": ["file", "host", "port", "updir"], >> "port": 8080, >> "proxy_file": "/home/ashton/Treetop/PROJECTS >> /LVC_modeling_group/paraview_webserver/proxy.txt" >> }, >> "properties": { >> "web_path": "/home/ashton/Treetop/PROJECTS >> /LVC_modeling_group/paraview_webserver/pv/pv-current/share/ >> paraview-5.2/web", >> "dataDir": "/home/ashton/Treetop/PROJECTS >> /LVC_modeling_group/paraview_webserver/pvw/data", >> "python_exec": "/home/ashton/Treetop/PROJECTS >> /LVC_modeling_group/paraview_webserver/pv/pv-current/bin/pvpython" >> }, >> "apps": { >> "visualizer": { >> "cmd": [ >> "${python_exec}", >> "-dr", >> "${web_path}/visualizer/server/pvw-visualizer.py", >> "--port", "${port}", >> "--data-dir", "${dataDir}", >> "-f", >> "--authKey", "${secret}" >> ], >> "ready_line" : "Starting factory" >> }, >> "lightviz": { >> "cmd": [ >> "${python_exec}", >> "-dr", >> "${web_path}/lightviz/server/pvw-light-viz.py", >> "--port", "${port}", >> "--data", "${dataDir}", >> "-f", >> "--authKey", "${secret}" >> ], >> "ready_line" : "Starting factory" >> } >> } >> } >> >> >> >> >> >> On Tue, Nov 8, 2016 at 1:00 PM, Sebastien Jourdain < >> sebastien.jourdain at kitware.com> wrote: >> >>> It should be a valid write up, but I may have failed to update >>> visualizer and light-viz inside ParaView bundle. >>> Which version of ParaView are you using? >>> >>> If you don't mind try to replace index.html inside >>> /data/www/{visualizer/lightviz}/index.html by the one you can download >>> here: >>> >>> https://github.com/Kitware/visualizer/blob/master/dist/index.html >>> https://github.com/Kitware/light-viz/blob/master/dist/index.html >>> >>> Seb >>> >>> On Tue, Nov 8, 2016 at 1:53 PM, Sebastien Jourdain < >>> sebastien.jourdain at kitware.com> wrote: >>> >>>> To fix the "Next/Previous" link issue, I had to move some files >>>> arounds. If you remove /guides/ you should be good. >>>> >>>> Let me know if I missed a link to go to that page. >>>> >>>> Seb >>>> >>>> Link: https://kitware.github.io/paraviewweb/docs/ubuntu_14_04.html >>>> #Installation-of-ParaViewWeb >>>> >>>> On Tue, Nov 8, 2016 at 1:40 PM, andrealphus >>>> wrote: >>>> >>>>> Sebastien, >>>>> >>>>> I followed the Ubuntu guide I found through the link you sent me at; >>>>> https://kitware.github.io/paraviewweb/docs/guides/ubuntu_14_ >>>>> 04.html#Installation-of-ParaViewWeb >>>>> >>>>> although between this morning and now, it seems to have gone 404. >>>>> >>>>> is that not a valid write up? >>>>> >>>>> I keep getting a >>>>> "ERROR: Launch request is missing application key." >>>>> >>>>> when I try and load; >>>>> localhost/visualizer >>>>> or >>>>> localhost/lightviz >>>>> >>>>> >>>>> >>>>> >>>>> On Tue, Nov 8, 2016 at 10:16 AM, Sebastien Jourdain < >>>>> sebastien.jourdain at kitware.com> wrote: >>>>> >>>>>> Ashton, >>>>>> >>>>>> You should be able to download ParaView 5.2 RC3 or better RC4 (small >>>>>> fixes went in) >>>>>> >>>>>> Then you should be able to run one of the following command line to >>>>>> try it out. >>>>>> >>>>>> [image: Inline image 2] >>>>>> >>>>>> Otherwise building ParaView yourself will only require to turn Python >>>>>> ON. >>>>>> >>>>>> Then you can get visualizer here: https://kitware.github.i >>>>>> o/visualizer/ >>>>>> >>>>>> Hope that help, >>>>>> >>>>>> Seb >>>>>> >>>>>> On Tue, Nov 8, 2016 at 11:08 AM, Sebastien Jourdain < >>>>>> sebastien.jourdain at kitware.com> wrote: >>>>>> >>>>>>> The ParaViewWeb documentation has moved to >>>>>>> https://kitware.github.io/paraviewweb/. >>>>>>> >>>>>>> We are still in the process of deprecating the previous >>>>>>> documentation location. >>>>>>> >>>>>>> On Tue, Nov 8, 2016 at 10:58 AM, andrealphus >>>>>>> wrote: >>>>>>> >>>>>>>> Could someone explain to me how to correctly set up a local >>>>>>>> paraview webserver?? >>>>>>>> >>>>>>>> I've tried to follow the write-ups here; >>>>>>>> http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/ind >>>>>>>> ex.html#!/guide/quick_start >>>>>>>> >>>>>>>> But they seem inaccuracte/out of date. I have tried both the >>>>>>>> quickstart and Ububtu LTS writeups. >>>>>>>> >>>>>>>> I have an apache 2 server running. >>>>>>>> >>>>>>>> Ive tried installing PV from both the direct download page (source >>>>>>>> and >>>>>>>> binaries) as well as a github clone. >>>>>>>> >>>>>>>> >>>>>>>> In regards to the quickstart it also seems like the given paths have >>>>>>>> changed? (can someone verify??) >>>>>>>> >>>>>>>> in the weite up >>>>>>>> /bin/pvpython lib/paraview-4.1/site-packages >>>>>>>> /paraview/web/pv_web_visualizer.py >>>>>>>> \ >>>>>>>> --content ./share/paraview-4.1/www >>>>>>>> \ >>>>>>>> --data-dir /path-to-share/ >>>>>>>> \ >>>>>>>> --port 8080 & >>>>>>>> >>>>>>>> to: >>>>>>>> ./bin/pvpython share/paraview-5.2/web/visualizer/server/pvw-visualizer.py >>>>>>>> \ >>>>>>>> --content share/paraview-5.2/web/visualizer/www \ >>>>>>>> --data-dir /path-to-share >>>>>>>> --port 8080 >>>>>>>> >>>>>>>> I can get a visualizer window up and running, but there are no >>>>>>>> control >>>>>>>> buttons to load buttons just a frozen screen of the paraview grey >>>>>>>> background and axis (which I can not rotate). >>>>>>>> >>>>>>>> If I need to compile from source are there any specific flags I need >>>>>>>> to set in ccmake beside paraview python? >>>>>>>> >>>>>>>> >>>>>>>> Thanks! >>>>>>>> >>>>>>>> -ashton >>>>>>>> _______________________________________________ >>>>>>>> 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 >>>>>>>> >>>>>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>>>>> >>>>>>>> Follow this link to subscribe/unsubscribe: >>>>>>>> http://public.kitware.com/mailman/listinfo/paraview >>>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Visualizer-startup.jpg Type: image/jpeg Size: 203468 bytes Desc: not available URL: From cory.quammen at kitware.com Wed Nov 9 01:58:02 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Wed, 9 Nov 2016 01:58:02 -0500 Subject: [Paraview] Regarding filtering of point data array In-Reply-To: References: Message-ID: Dennis, You are absolutely right. I wasn't familiar enough with the syntax for selection on point coordinates to be confident in suggesting that, but I looked and it turns out to be (xmin < points[:,0]) & (points[:,0] < xmax) & (ymin < points[:,1]) & (points[:,1] < ymax) & (zmin < points[:,2]) & (points[:,2] < zmax) where xmin, xmax, ymin, ymax, zmin, and zmax are the bounds of the box. Enter the above expression in the Find Data dialog with appropriate substitutions for xmin, etc. into expression at the top, and change the leftmost combobox from ID to Query and the middle combo box to "is". Change the "Find" combobox to Points and choose your data source in the combobox on the right. It should look like the attached image. After you have it set up, you can extract the selection by clicking the Extract Selection button. HTH, Cory On Tue, Nov 8, 2016 at 2:42 PM, Dennis Conklin wrote: > Cory, > > > > Couldn?t you isolate the points without creating cells using Find Data and a > query with a few AND?s? > > > > Dennis > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc. -------------- next part -------------- A non-text attachment was scrubbed... Name: FindDataBoundingBox.png Type: image/png Size: 69645 bytes Desc: not available URL: From cory.quammen at kitware.com Wed Nov 9 02:25:07 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Wed, 9 Nov 2016 02:25:07 -0500 Subject: [Paraview] Background in 3D mode In-Reply-To: <2o0km31bh5x8862p1eloosg8.1458291299803@email.android.com> References: <2o0km31bh5x8862p1eloosg8.1458291299803@email.android.com> Message-ID: Hi Cindy, I'm not sure if background images are supported on tiled screens. Maybe someone with more experience with tiled displays can chime in. - Cory On Fri, Mar 18, 2016 at 5:00 AM, Cindy Castro wrote: > Hello, > > I am using ParaView in client/server mode with stereo. I have a cluster > with 4 nodes, 1 GPU each (NVIDIA K5000) and 8 screens for display. > > My problem is I can not find how to span a background over my 8 screens with > ParaView. > The background is displayed on each screen. 3D models are well displayed > in 3D (no problem with that). Please find attached files to explain : > - paraview_client shows the client with the view I would like to display > - wall_display is how the servers display 3D model and background on my > 8 screens... (3D model OK but background NOK) > - wall_config.pvx is the PVX file for the wall configuration > > The server is run with the command: > mpirun -np 8 -machinefile > /opt/software/ParaView/PVscripts/server_machinefile.txt > /opt/software/ParaView/ParaView-5.0.0-bin/bin/pvserver -rc > --client-host=mire-pc /opt/software/ParaView/PVresources/wall_config.pvx > > Server-machine.txt files is > Node1 slot=2 > Node2 slot=2 > Node3 slot=2 > Node4 slot=2 > > I tried tiles mode but the display is not in the right order... and I can > not change my x screen configuration which is right. I did not find where I > could change the procs order in MPI. > > Can you help me ? Is it possible to span a background over several > screens in 3D mode ? It would be really useful when rendering 3D models. > > Regards, > > -- > Cindy CASTRO > Responsable plateforme DIGISCOPE-MIRE > Plateforme d'Int?gration et de Tests (PIT) > -- > Observatoire de Versailles Saint-Quentin-en-Yvelines (OVSQ) > Quartier des Garennes > 11 Boulevard d'Alembert > 78280 Guyancourt > -- > B?timent principal - RDC - Bureau 215 > T?l : +33 (0)1 80 28 51 03 > Salle MIRE : +33 (0)1 80 28 54 93 > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From cory.quammen at kitware.com Wed Nov 9 02:26:44 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Wed, 9 Nov 2016 02:26:44 -0500 Subject: [Paraview] Paraview Installation Error In-Reply-To: References: Message-ID: Hi Akhilesh, Could you post a bit more of your error message? There isn't enough to see what might be going wrong. Thanks, Cory On Fri, Mar 11, 2016 at 12:42 AM, Akhilesh Sasankan (Student) wrote: > Hello all! > > I'm trying to install Paraview v5.0.0 in Ubuntu 12.04. I'm following this document to do this. http://www.paraview.org/Wiki/ParaView:Build_And_Install > I have installed all the dependencies. Also I have separate source and build folders. I configured Paraview using ccmake using the the setting mentioned in the document. (CMakeCahe attched) But once I run the make command: > > make -j 4 > > I'm getting the following error:(this is the last portion ) > [ 0%] Building CXX object VTK/Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/FStream.cxx.o > [ 0%] Building CXX object VTK/Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/SystemInformation.cxx.o > Linking C static library ../../../lib/libvtkWrappingTools-pv5.0.a > [ 0%] Built target vtkWrappingTools > Linking CXX shared library ../../../../lib/libvtksys-pv5.0.so > [ 0%] Built target vtksys > make: *** [all] Error 2 > > Can anyone help me with this? Thanks in Advance. > > Best, > Akhilesh > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From utkarsh.ayachit at kitware.com Wed Nov 9 09:47:56 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 9 Nov 2016 09:47:56 -0500 Subject: [Paraview] Background in 3D mode In-Reply-To: References: <2o0km31bh5x8862p1eloosg8.1458291299803@email.android.com> Message-ID: Cindy, Cory is right, background texture is not supported in CAVE (or immersive) mode. It is supported for flat tiled displays however (the case where all your screens are in the same plane. Utkarsh On Wed, Nov 9, 2016 at 2:25 AM, Cory Quammen wrote: > Hi Cindy, > > I'm not sure if background images are supported on tiled screens. > Maybe someone with more experience with tiled displays can chime in. > > - Cory > > On Fri, Mar 18, 2016 at 5:00 AM, Cindy Castro wrote: >> Hello, >> >> I am using ParaView in client/server mode with stereo. I have a cluster >> with 4 nodes, 1 GPU each (NVIDIA K5000) and 8 screens for display. >> >> My problem is I can not find how to span a background over my 8 screens with >> ParaView. >> The background is displayed on each screen. 3D models are well displayed >> in 3D (no problem with that). Please find attached files to explain : >> - paraview_client shows the client with the view I would like to display >> - wall_display is how the servers display 3D model and background on my >> 8 screens... (3D model OK but background NOK) >> - wall_config.pvx is the PVX file for the wall configuration >> >> The server is run with the command: >> mpirun -np 8 -machinefile >> /opt/software/ParaView/PVscripts/server_machinefile.txt >> /opt/software/ParaView/ParaView-5.0.0-bin/bin/pvserver -rc >> --client-host=mire-pc /opt/software/ParaView/PVresources/wall_config.pvx >> >> Server-machine.txt files is >> Node1 slot=2 >> Node2 slot=2 >> Node3 slot=2 >> Node4 slot=2 >> >> I tried tiles mode but the display is not in the right order... and I can >> not change my x screen configuration which is right. I did not find where I >> could change the procs order in MPI. >> >> Can you help me ? Is it possible to span a background over several >> screens in 3D mode ? It would be really useful when rendering 3D models. >> >> Regards, >> >> -- >> Cindy CASTRO >> Responsable plateforme DIGISCOPE-MIRE >> Plateforme d'Int?gration et de Tests (PIT) >> -- >> Observatoire de Versailles Saint-Quentin-en-Yvelines (OVSQ) >> Quartier des Garennes >> 11 Boulevard d'Alembert >> 78280 Guyancourt >> -- >> B?timent principal - RDC - Bureau 215 >> T?l : +33 (0)1 80 28 51 03 >> Salle MIRE : +33 (0)1 80 28 54 93 >> >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> > > > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. From joachim.pouderoux at kitware.com Wed Nov 9 10:00:22 2016 From: joachim.pouderoux at kitware.com (Joachim Pouderoux) Date: Wed, 9 Nov 2016 11:00:22 -0400 Subject: [Paraview] Nastran file In-Reply-To: References: Message-ID: Hello, Unfortunately there is no Nastran reader provided with ParaView. However, such a reader could be developed quite easily and integrated to ParaView using a plugin or a Python script. Of course, that would require C++ or Python and VTK knowledges. Hopefuly, there are plenty of examples and wiki pages that can be used to help you in this task. Through a support contract, Kitware can also assist you or do the development for you. Best, *Joachim Pouderoux*, PhD *Technical Expert - Scientific Computing Team* *Kitware SAS * 2016-09-02 4:31 GMT-04:00 stephane???? ???? : > Hello, > > I am using the Paraview 5.1.2 binary on windows 7. > I made a simple nastran file but I cannot load it. > Paraview crashes immediately. > > I am sending the file so that you can try it yourself > > Ndong-Mefane Stephane, Dr.Eng > Basic Design Sec. > Steam Turbine Dept. > Kawasaki Factory > > Fuji Electric Co., Ltd > 1-1, Tanabeshinden, Kawasaki-ku, > Kawasaki-city 210-9530, Japan > Phone: +81-44-329-2155 > Fax: +81-44-329-2394 > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From joseph.g.hennessey2.ctr at mail.mil Wed Nov 9 11:40:46 2016 From: joseph.g.hennessey2.ctr at mail.mil (Hennessey, Joseph G CTR USARMY RDECOM ARL (US)) Date: Wed, 9 Nov 2016 16:40:46 +0000 Subject: [Paraview] Need paraview data examples with human readable names vs md5 sums (UNCLASSIFIED) Message-ID: <10A03274360DCF47A6EE78C9952A31CA88771815@UCOLHPUD.easf.csd.disa.mil> CLASSIFICATION: UNCLASSIFIED Hello, Recent versions of ParaViewData (5.0.0 and above) have their file names as md5 sums. While version 4.4.0 of ParaViewData and earlier used human readable names. Is there still a version of ParaViewData (5.0.0 and above) that has human readable names? Thank, Joe ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joseph G. Hennessey Ph.D., Leidos Army Research Lab DOD Supercomputing Resource Center Aberdeen Proving Ground, MD 21005 Email: joseph.g.hennessey2.ctr at mail.mil CLASSIFICATION: UNCLASSIFIED -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5615 bytes Desc: not available URL: From utkarsh.ayachit at kitware.com Wed Nov 9 11:53:30 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 9 Nov 2016 11:53:30 -0500 Subject: [Paraview] Need paraview data examples with human readable names vs md5 sums (UNCLASSIFIED) In-Reply-To: <10A03274360DCF47A6EE78C9952A31CA88771815@UCOLHPUD.easf.csd.disa.mil> References: <10A03274360DCF47A6EE78C9952A31CA88771815@UCOLHPUD.easf.csd.disa.mil> Message-ID: Joe, If you do a build of ParaView with testing enabled, you'll have files with human readable names in the build directory under "ExternalData/". Utkarsh On Wed, Nov 9, 2016 at 11:40 AM, Hennessey, Joseph G CTR USARMY RDECOM ARL (US) wrote: > CLASSIFICATION: UNCLASSIFIED > > Hello, > > Recent versions of ParaViewData (5.0.0 and above) have their file names as > md5 sums. > While version 4.4.0 of ParaViewData and earlier used human readable names. > Is there still a version of ParaViewData (5.0.0 and above) that has human > readable names? > > Thank, > > Joe > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Joseph G. Hennessey Ph.D., Leidos > Army Research Lab > DOD Supercomputing Resource Center > Aberdeen Proving Ground, MD 21005 > Email: joseph.g.hennessey2.ctr at mail.mil > > > > CLASSIFICATION: UNCLASSIFIED > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrealphus at gmail.com Wed Nov 9 12:23:34 2016 From: andrealphus at gmail.com (andrealphus) Date: Wed, 9 Nov 2016 09:23:34 -0800 Subject: [Paraview] geotiff aerial imagery Message-ID: How do I properly display an RGB image from a 3 band (or 4 if alpha) geotiff? I know Ive done this before, but forgot how. In older versions you had to turn off color mapping and explicitly set RGB scalars, but those options went away after PVv4 if I remember. example file; gdalinfo NAIP_LVC_10m_UTM11_noalpha.tif Driver: GTiff/GeoTIFF Files: NAIP_LVC_10m_UTM11_noalpha.tif Size is 9973, 10742 Coordinate System is: PROJCS["NAD83 / UTM zone 11N", GEOGCS["NAD83", DATUM["North_American_Datum_1983", SPHEROID["GRS 1980",6378137,298.2572221010002, AUTHORITY["EPSG","7019"]], TOWGS84[0,0,0,0,0,0,0], AUTHORITY["EPSG","6269"]], PRIMEM["Greenwich",0], UNIT["degree",0.0174532925199433], AUTHORITY["EPSG","4269"]], PROJECTION["Transverse_Mercator"], PARAMETER["latitude_of_origin",0], PARAMETER["central_meridian",-117], PARAMETER["scale_factor",0.9996], PARAMETER["false_easting",500000], PARAMETER["false_northing",0], UNIT["metre",1, AUTHORITY["EPSG","9001"]], AUTHORITY["EPSG","26911"]] Origin = (295410.592907027050387,4229149.359127406030893) Pixel Size = (7.891650661980430,-7.891650661980430) Metadata: AREA_OR_POINT=Area Image Structure Metadata: INTERLEAVE=PIXEL Corner Coordinates: Upper Left ( 295410.593, 4229149.359) (119d20' 9.74"W, 38d11'13.42"N) Lower Left ( 295410.593, 4144377.248) (119d18'43.56"W, 37d25'25.04"N) Upper Right ( 374114.025, 4229149.359) (118d26'15.83"W, 38d12' 5.41"N) Lower Right ( 374114.025, 4144377.248) (118d25'22.76"W, 37d26'15.63"N) Center ( 334762.309, 4186763.303) (118d52'37.93"W, 37d48'47.97"N) Band 1 Block=9973x1 Type=Byte, ColorInterp=Red Band 2 Block=9973x1 Type=Byte, ColorInterp=Green Band 3 Block=9973x1 Type=Byte, ColorInterp=Blue From sebastien.jourdain at kitware.com Wed Nov 9 13:01:13 2016 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Wed, 9 Nov 2016 11:01:13 -0700 Subject: [Paraview] geotiff aerial imagery In-Reply-To: References: Message-ID: They are still there but hidden by default as considered as advanced. So you can either turn the advance button ON or simply write in the search box: "map scalars" On Wed, Nov 9, 2016 at 10:23 AM, andrealphus wrote: > How do I properly display an RGB image from a 3 band (or 4 if alpha) > geotiff? I know Ive done this before, but forgot how. In older > versions you had to turn off color mapping and explicitly set RGB > scalars, but those options went away after PVv4 if I remember. > > > example file; > gdalinfo NAIP_LVC_10m_UTM11_noalpha.tif > Driver: GTiff/GeoTIFF > Files: NAIP_LVC_10m_UTM11_noalpha.tif > Size is 9973, 10742 > Coordinate System is: > PROJCS["NAD83 / UTM zone 11N", > GEOGCS["NAD83", > DATUM["North_American_Datum_1983", > SPHEROID["GRS 1980",6378137,298.2572221010002, > AUTHORITY["EPSG","7019"]], > TOWGS84[0,0,0,0,0,0,0], > AUTHORITY["EPSG","6269"]], > PRIMEM["Greenwich",0], > UNIT["degree",0.0174532925199433], > AUTHORITY["EPSG","4269"]], > PROJECTION["Transverse_Mercator"], > PARAMETER["latitude_of_origin",0], > PARAMETER["central_meridian",-117], > PARAMETER["scale_factor",0.9996], > PARAMETER["false_easting",500000], > PARAMETER["false_northing",0], > UNIT["metre",1, > AUTHORITY["EPSG","9001"]], > AUTHORITY["EPSG","26911"]] > Origin = (295410.592907027050387,4229149.359127406030893) > Pixel Size = (7.891650661980430,-7.891650661980430) > Metadata: > AREA_OR_POINT=Area > Image Structure Metadata: > INTERLEAVE=PIXEL > Corner Coordinates: > Upper Left ( 295410.593, 4229149.359) (119d20' 9.74"W, 38d11'13.42"N) > Lower Left ( 295410.593, 4144377.248) (119d18'43.56"W, 37d25'25.04"N) > Upper Right ( 374114.025, 4229149.359) (118d26'15.83"W, 38d12' 5.41"N) > Lower Right ( 374114.025, 4144377.248) (118d25'22.76"W, 37d26'15.63"N) > Center ( 334762.309, 4186763.303) (118d52'37.93"W, 37d48'47.97"N) > Band 1 Block=9973x1 Type=Byte, ColorInterp=Red > Band 2 Block=9973x1 Type=Byte, ColorInterp=Green > Band 3 Block=9973x1 Type=Byte, ColorInterp=Blue > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrealphus at gmail.com Wed Nov 9 13:33:13 2016 From: andrealphus at gmail.com (andrealphus) Date: Wed, 9 Nov 2016 10:33:13 -0800 Subject: [Paraview] geotiff aerial imagery In-Reply-To: References: Message-ID: thanks Sebastien! On Wed, Nov 9, 2016 at 10:01 AM, Sebastien Jourdain wrote: > They are still there but hidden by default as considered as advanced. > So you can either turn the advance button ON or simply write in the search > box: "map scalars" > > On Wed, Nov 9, 2016 at 10:23 AM, andrealphus wrote: >> >> How do I properly display an RGB image from a 3 band (or 4 if alpha) >> geotiff? I know Ive done this before, but forgot how. In older >> versions you had to turn off color mapping and explicitly set RGB >> scalars, but those options went away after PVv4 if I remember. >> >> >> example file; >> gdalinfo NAIP_LVC_10m_UTM11_noalpha.tif >> Driver: GTiff/GeoTIFF >> Files: NAIP_LVC_10m_UTM11_noalpha.tif >> Size is 9973, 10742 >> Coordinate System is: >> PROJCS["NAD83 / UTM zone 11N", >> GEOGCS["NAD83", >> DATUM["North_American_Datum_1983", >> SPHEROID["GRS 1980",6378137,298.2572221010002, >> AUTHORITY["EPSG","7019"]], >> TOWGS84[0,0,0,0,0,0,0], >> AUTHORITY["EPSG","6269"]], >> PRIMEM["Greenwich",0], >> UNIT["degree",0.0174532925199433], >> AUTHORITY["EPSG","4269"]], >> PROJECTION["Transverse_Mercator"], >> PARAMETER["latitude_of_origin",0], >> PARAMETER["central_meridian",-117], >> PARAMETER["scale_factor",0.9996], >> PARAMETER["false_easting",500000], >> PARAMETER["false_northing",0], >> UNIT["metre",1, >> AUTHORITY["EPSG","9001"]], >> AUTHORITY["EPSG","26911"]] >> Origin = (295410.592907027050387,4229149.359127406030893) >> Pixel Size = (7.891650661980430,-7.891650661980430) >> Metadata: >> AREA_OR_POINT=Area >> Image Structure Metadata: >> INTERLEAVE=PIXEL >> Corner Coordinates: >> Upper Left ( 295410.593, 4229149.359) (119d20' 9.74"W, 38d11'13.42"N) >> Lower Left ( 295410.593, 4144377.248) (119d18'43.56"W, 37d25'25.04"N) >> Upper Right ( 374114.025, 4229149.359) (118d26'15.83"W, 38d12' 5.41"N) >> Lower Right ( 374114.025, 4144377.248) (118d25'22.76"W, 37d26'15.63"N) >> Center ( 334762.309, 4186763.303) (118d52'37.93"W, 37d48'47.97"N) >> Band 1 Block=9973x1 Type=Byte, ColorInterp=Red >> Band 2 Block=9973x1 Type=Byte, ColorInterp=Green >> Band 3 Block=9973x1 Type=Byte, ColorInterp=Blue >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview > > From samuelkey at bresnan.net Wed Nov 9 14:04:53 2016 From: samuelkey at bresnan.net (Samuel Key) Date: Wed, 9 Nov 2016 12:04:53 -0700 Subject: [Paraview] Nastran file In-Reply-To: References: Message-ID: <19687834-ef1b-86e3-a719-549298dbfa9c@bresnan.net> An HTML attachment was scrubbed... URL: From andrealphus at gmail.com Wed Nov 9 19:15:20 2016 From: andrealphus at gmail.com (andrealphus) Date: Wed, 9 Nov 2016 16:15:20 -0800 Subject: [Paraview] csv point data through time Message-ID: I have a database of earthquakes in a csv file formatted as; x,y,z,M,time 344914.339004,4153503.07632,-7703,1.22,441772084.24 337090.052527,4158668.87752,-10404,1.06,441774936.69 335085.941364,4156934.63971,-7245,0.72,441789441.37 337111.336138,4167120.16812,-8539,0.76,441790442.57 335024.848735,4159463.38774,-4032,0.71,441801083.1 338135.588075,4159856.10709,-4160,1.17,441821076.16 where time is in unix seconds. Normally I plot this by table_to_points, as spherical glpyhs, colored by time and sized by "M" (magnitude), see image; http://tinyurl.com/neaxe7n But it would be nice to step through these points with time. I just cant figure out how to actually get paraview to recognize my time column in my table (or my point attribute). Normally I would either reformat this to a netcdf or create individual file at each time step, but for this case these are not suitable options. Any suggestions? From andy.bauer at kitware.com Wed Nov 9 21:06:51 2016 From: andy.bauer at kitware.com (Andy Bauer) Date: Wed, 9 Nov 2016 21:06:51 -0500 Subject: [Paraview] parellel processing problem In-Reply-To: <8215d6b6822d91dac07cedc3b6a81f46@rpi.edu> References: <8215d6b6822d91dac07cedc3b6a81f46@rpi.edu> Message-ID: You can use the Process Id Scalars to examine the data distribution and maybe see if something funky is going on there. In parallel there's also a helper array which you can pseudo-color by to see the partitioning but I don't remember the name of that array. You could also try doing something like a Wavelet source in parallel and pseudo-color that by process id to see if the partitioning is working properly for that.. On Tue, Nov 1, 2016 at 9:37 AM, spectm2 wrote: > Hello, > > I am brand new to Paraview and I an having a serious parallel processing > problem when using a pvserver client/server connection, Paraview 4.4.0, and > mvapitch2-2.0a-gcc44. The server and the client run linux. > > Attached is my .pvd file and a photo of what the model should look like > (ie. when I am using 1 processor) and what the model looks like when I am > using more than one processor. > > When I ran this FEM simulation I used 16 processors. So, for each time > step folder (for ex. DRPTransientN_13, which is for the 13th time step) > there is a folder inside named '0' that contains 16 .vtu files. > > Also, when using multiple processors in Paraview I can 'scrub' through > time with this one chunk of the model. > > > It seems like Paraview isnt reading the .pvd file correctly, or > something.... > > > Do you have any idea what the issue is? Any fixes that I can implement? > > > I would be most grateful for any help you can provide. > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Wed Nov 9 21:13:44 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Wed, 9 Nov 2016 21:13:44 -0500 Subject: [Paraview] ParaView 5.2 Release Candidate 4 available for download Message-ID: On behalf of the ParaView development team, I am pleased to announce that ParaView 5.2 Release Candidate 4 binaries and source tarballs are now available for download at http://www.paraview.org/download/ Please let us know if you encounter any problems with this release candidate. We expect to release 5.2 this Friday, November 11. Thanks, Cory -- Cory Quammen Staff R&D Engineer Kitware, Inc. From dennis_conklin at goodyear.com Thu Nov 10 07:48:50 2016 From: dennis_conklin at goodyear.com (Dennis Conklin) Date: Thu, 10 Nov 2016 12:48:50 +0000 Subject: [Paraview] csv point data through time Message-ID: Andrea, I'm sure someone else will have a more elegant solution, but for a quick workaround I would threshold on time then animate the min and max and you could play the animation to see these over time - going to an individual frame would show you a specific time period Hope this helps Dennis -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas.pedot at gmail.com Thu Nov 10 07:53:11 2016 From: thomas.pedot at gmail.com (Thomas PEDOT) Date: Thu, 10 Nov 2016 12:53:11 +0000 Subject: [Paraview] CGNS Multi-block inspector doesn't show all blocks ? Message-ID: Hello, first of all thanks for the work done for this software ! I face a problem with a CGNS file. All the block are not shown and cannot be selected. https://imagebin.ca/v/31V0hxFE1vcO Here you can see that in CGNSplot you have element Sections are . But paraview just show two depth. The mesh and the variables are well imported. Do I understand the soft correctely ? How can I correct this ? Regards, Thomas PEDOT -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Thu Nov 10 09:26:40 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 10 Nov 2016 09:26:40 -0500 Subject: [Paraview] CGNS Multi-block inspector doesn't show all blocks ? In-Reply-To: References: Message-ID: Thomas, Can you share a sample dataset? I am guessing there's a difference between what CGNSplot calls a block and what ParaView considers a block. Utkarsh On Thu, Nov 10, 2016 at 7:53 AM, Thomas PEDOT wrote: > Hello, > first of all thanks for the work done for this software ! > > I face a problem with a CGNS file. All the block are not shown and cannot > be selected. > https://imagebin.ca/v/31V0hxFE1vcO > Here you can see that in CGNSplot you have element Sections are Conditions>. But paraview just show two depth. > > The mesh and the variables are well imported. > > Do I understand the soft correctely ? How can I correct this ? > > Regards, > Thomas PEDOT > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Thu Nov 10 10:08:16 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 10 Nov 2016 10:08:16 -0500 Subject: [Paraview] csv point data through time In-Reply-To: References: Message-ID: You put together a "Programmable Source" to do that. Attached is a Plugin with such a Programmable source/reader. Load it using "Tools | Plugins". Then when you open the csv file, you'll be promped to choose a reader, choose the ""CSV Reader With Time Column". On Wed, Nov 9, 2016 at 7:15 PM, andrealphus wrote: > I have a database of earthquakes in a csv file formatted as; > > x,y,z,M,time > 344914.339004,4153503.07632,-7703,1.22,441772084.24 > 337090.052527,4158668.87752,-10404,1.06,441774936.69 > 335085.941364,4156934.63971,-7245,0.72,441789441.37 > 337111.336138,4167120.16812,-8539,0.76,441790442.57 > 335024.848735,4159463.38774,-4032,0.71,441801083.1 > 338135.588075,4159856.10709,-4160,1.17,441821076.16 > > where time is in unix seconds. > > Normally I plot this by table_to_points, as spherical glpyhs, colored > by time and sized by "M" (magnitude), see image; > http://tinyurl.com/neaxe7n > > > But it would be nice to step through these points with time. I just > cant figure out how to actually get paraview to recognize my time > column in my table (or my point attribute). > > Normally I would either reformat this to a netcdf or create individual > file at each time step, but for this case these are not suitable > options. > > Any suggestions? > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: CSVReaderWithTimeColumn.xml Type: text/xml Size: 4686 bytes Desc: not available URL: From thomas.pedot at gmail.com Thu Nov 10 10:39:42 2016 From: thomas.pedot at gmail.com (Thomas PEDOT) Date: Thu, 10 Nov 2016 15:39:42 +0000 Subject: [Paraview] CGNS Multi-block inspector doesn't show all blocks ? In-Reply-To: References: Message-ID: Hello, thanks for your support. Here is some sample cgns. https://dropfile.to/NBzft9O Thomas Le jeu. 10 nov. 2016 ? 15:26, Utkarsh Ayachit a ?crit : > Thomas, > > Can you share a sample dataset? I am guessing there's a difference between > what CGNSplot calls a block and what ParaView considers a block. > > Utkarsh > > > On Thu, Nov 10, 2016 at 7:53 AM, Thomas PEDOT > wrote: > > Hello, > first of all thanks for the work done for this software ! > > I face a problem with a CGNS file. All the block are not shown and cannot > be selected. > https://imagebin.ca/v/31V0hxFE1vcO > Here you can see that in CGNSplot you have element Sections are Conditions>. But paraview just show two depth. > > The mesh and the variables are well imported. > > Do I understand the soft correctely ? How can I correct this ? > > Regards, > Thomas PEDOT > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrealphus at gmail.com Thu Nov 10 14:20:43 2016 From: andrealphus at gmail.com (andrealphus) Date: Thu, 10 Nov 2016 11:20:43 -0800 Subject: [Paraview] csv point data through time In-Reply-To: References: Message-ID: Thanks Utkarsh! Out of curiosity, should the plugin work out of the box or is it meant to be an example I should deconstruct. (I load a x,y,z,time file as you described but get no output) On Thu, Nov 10, 2016 at 7:08 AM, Utkarsh Ayachit wrote: > You put together a "Programmable Source" to do that. Attached is a Plugin > with such a Programmable source/reader. Load it using "Tools | Plugins". > Then when you open the csv file, you'll be promped to choose a reader, > choose the ""CSV Reader With Time Column". > > On Wed, Nov 9, 2016 at 7:15 PM, andrealphus wrote: >> >> I have a database of earthquakes in a csv file formatted as; >> >> x,y,z,M,time >> 344914.339004,4153503.07632,-7703,1.22,441772084.24 >> 337090.052527,4158668.87752,-10404,1.06,441774936.69 >> 335085.941364,4156934.63971,-7245,0.72,441789441.37 >> 337111.336138,4167120.16812,-8539,0.76,441790442.57 >> 335024.848735,4159463.38774,-4032,0.71,441801083.1 >> 338135.588075,4159856.10709,-4160,1.17,441821076.16 >> >> where time is in unix seconds. >> >> Normally I plot this by table_to_points, as spherical glpyhs, colored >> by time and sized by "M" (magnitude), see image; >> http://tinyurl.com/neaxe7n >> >> >> But it would be nice to step through these points with time. I just >> cant figure out how to actually get paraview to recognize my time >> column in my table (or my point attribute). >> >> Normally I would either reformat this to a netcdf or create individual >> file at each time step, but for this case these are not suitable >> options. >> >> Any suggestions? >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview > > From andrealphus at gmail.com Thu Nov 10 14:32:13 2016 From: andrealphus at gmail.com (andrealphus) Date: Thu, 10 Nov 2016 11:32:13 -0800 Subject: [Paraview] csv point data through time In-Reply-To: References: Message-ID: nevermind looks like its a UCS2 vs UCS4 error..... On Thu, Nov 10, 2016 at 11:20 AM, andrealphus wrote: > Thanks Utkarsh! Out of curiosity, should the plugin work out of the > box or is it meant to be an example I should deconstruct. (I load a > x,y,z,time file as you described but get no output) > > On Thu, Nov 10, 2016 at 7:08 AM, Utkarsh Ayachit > wrote: >> You put together a "Programmable Source" to do that. Attached is a Plugin >> with such a Programmable source/reader. Load it using "Tools | Plugins". >> Then when you open the csv file, you'll be promped to choose a reader, >> choose the ""CSV Reader With Time Column". >> >> On Wed, Nov 9, 2016 at 7:15 PM, andrealphus wrote: >>> >>> I have a database of earthquakes in a csv file formatted as; >>> >>> x,y,z,M,time >>> 344914.339004,4153503.07632,-7703,1.22,441772084.24 >>> 337090.052527,4158668.87752,-10404,1.06,441774936.69 >>> 335085.941364,4156934.63971,-7245,0.72,441789441.37 >>> 337111.336138,4167120.16812,-8539,0.76,441790442.57 >>> 335024.848735,4159463.38774,-4032,0.71,441801083.1 >>> 338135.588075,4159856.10709,-4160,1.17,441821076.16 >>> >>> where time is in unix seconds. >>> >>> Normally I plot this by table_to_points, as spherical glpyhs, colored >>> by time and sized by "M" (magnitude), see image; >>> http://tinyurl.com/neaxe7n >>> >>> >>> But it would be nice to step through these points with time. I just >>> cant figure out how to actually get paraview to recognize my time >>> column in my table (or my point attribute). >>> >>> Normally I would either reformat this to a netcdf or create individual >>> file at each time step, but for this case these are not suitable >>> options. >>> >>> Any suggestions? >>> _______________________________________________ >>> 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 >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >> >> From andrealphus at gmail.com Thu Nov 10 18:48:25 2016 From: andrealphus at gmail.com (andrealphus) Date: Thu, 10 Nov 2016 15:48:25 -0800 Subject: [Paraview] paraviewgeo Message-ID: Anyone out there actively using Paraview for earth science, and has recommendations on useful plugins? Is there anytype of gdal plugin? Coordinate transformation? Did anyone every pick up the torch from the previous paraviewgeo plugin library? From aashish.chaudhary at kitware.com Fri Nov 11 11:00:27 2016 From: aashish.chaudhary at kitware.com (Aashish Chaudhary) Date: Fri, 11 Nov 2016 16:00:27 +0000 Subject: [Paraview] paraviewgeo In-Reply-To: References: Message-ID: Dear Andrea, We are using ParaView for earth science indirectly (helping others). Which plugins or filters to use is dependent on the use-case and data type. We do have GDAL plugin for ParaView (require <2.0 of gdal though) and will require some updates. What kind of data / visualization you are interested in? Thanks, On Thu, Nov 10, 2016 at 6:48 PM andrealphus wrote: > Anyone out there actively using Paraview for earth science, and has > recommendations on useful plugins? Is there anytype of gdal plugin? > Coordinate transformation? Did anyone every pick up the torch from the > previous paraviewgeo plugin library? > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From 12047355 at brookes.ac.uk Fri Nov 11 12:02:37 2016 From: 12047355 at brookes.ac.uk (Jeremy A) Date: Fri, 11 Nov 2016 17:02:37 +0000 Subject: [Paraview] Color by Source JPEG Message-ID: Hi, I'm trying to view a series of exported JPEG CFD results in Paraview. The problem I'm having is Paraview automatically colors them to a particular colormap. Is there a way to simply render them with the jpeg colours? The available color options refer to a 'Magnitude', X, Y and Z options which are automatically generated and none of which are the source colours. I have attached one of my source images and what it looks like in Paraview. Thanks, Jeremy -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Paraview_jpeg_series.jpg Type: image/jpeg Size: 265462 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Scalar_Scene_2_image_001.jpg Type: image/jpeg Size: 466079 bytes Desc: not available URL: From andrealphus at gmail.com Fri Nov 11 12:15:16 2016 From: andrealphus at gmail.com (andrealphus) Date: Fri, 11 Nov 2016 09:15:16 -0800 Subject: [Paraview] paraviewgeo In-Reply-To: References: Message-ID: I typically use it for plotting 3D volumes from geophysical inversions (seismic/gravity,etc), underneath digital elevation models. Sometimes I bring in aerial imagery, earthquake locations etc. Things that I would find helpful would be a plugin to handle coordinate transformations. (hence my interest in a gdal plugin) Now I just make sure everything is in the same UTM beforehand, but its not ideal. I am also very interested in being able to bring in shape files so I can overlay geologically mapped units. Also just kind of curious of what's out there. There are some things that I dont have an immediate need for, but would find interesting (plotting earthquake focal mechanisms, etc). On Fri, Nov 11, 2016 at 8:00 AM, Aashish Chaudhary wrote: > Dear Andrea, > > We are using ParaView for earth science indirectly (helping others). Which > plugins or filters to use is dependent on the use-case and data type. We do > have GDAL plugin for ParaView (require <2.0 of gdal though) and will require > some updates. What kind of data / visualization you are interested in? > > Thanks, > > > On Thu, Nov 10, 2016 at 6:48 PM andrealphus wrote: >> >> Anyone out there actively using Paraview for earth science, and has >> recommendations on useful plugins? Is there anytype of gdal plugin? >> Coordinate transformation? Did anyone every pick up the torch from the >> previous paraviewgeo plugin library? >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview From andrealphus at gmail.com Fri Nov 11 12:17:41 2016 From: andrealphus at gmail.com (andrealphus) Date: Fri, 11 Nov 2016 09:17:41 -0800 Subject: [Paraview] Color by Source JPEG In-Reply-To: References: Message-ID: Hey Jeremy, In the search box next to the gear icon search for "map scalars", its hidden by default (or just turn the advanced button, the gear icon, ON). Once you find it, turn "map scalars" off. On Fri, Nov 11, 2016 at 9:02 AM, Jeremy A <12047355 at brookes.ac.uk> wrote: > Hi, > I'm trying to view a series of exported JPEG CFD results in Paraview. The > problem I'm having is Paraview automatically colors them to a particular > colormap. Is there a way to simply render them with the jpeg colours? The > available color options refer to a 'Magnitude', X, Y and Z options which are > automatically generated and none of which are the source colours. I have > attached one of my source images and what it looks like in Paraview. > > Thanks, > Jeremy > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From joachim.pouderoux at kitware.com Fri Nov 11 12:22:23 2016 From: joachim.pouderoux at kitware.com (Joachim Pouderoux) Date: Fri, 11 Nov 2016 13:22:23 -0400 Subject: [Paraview] Nastran file In-Reply-To: <19687834-ef1b-86e3-a719-549298dbfa9c@bresnan.net> References: <19687834-ef1b-86e3-a719-549298dbfa9c@bresnan.net> Message-ID: Actually, it looks like Visit can read NASTRAN files. It means theorically it should be possible to quite easily read them through ParaView's VisitBridge component. Best, *Joachim Pouderoux*, PhD *Technical Expert - Scientific Computing Team* *Kitware SAS * 2016-11-09 15:04 GMT-04:00 Samuel Key : > Stephane, Joachim; > > The Google search -- NASTRAN File reader, SANDREPORT > > returns a number of sources for NASTRAN file format readers. One, in > particular, seemed relevant: > > A Python-based interface tool for Nastran's file formats ( > https://github.com/SteveDoyle2/pyNastran and https://github.com/ > SteveDoyle2/pynastran/wiki/F06 ) > Sam Key > > > On 11/9/2016 8:00 AM, Joachim Pouderoux wrote: > > Hello, > > Unfortunately there is no Nastran reader provided with ParaView. > However, such a reader could be developed quite easily and integrated to > ParaView using a plugin or a Python script. > Of course, that would require C++ or Python and VTK knowledges. Hopefuly, > there are plenty of examples and wiki pages that can be used to help you in > this task. > > Through a support contract, Kitware can also assist you or do the > development for you. > > Best, > > > *Joachim Pouderoux*, PhD > > *Technical Expert - Scientific Computing Team* > *Kitware SAS * > > > 2016-09-02 4:31 GMT-04:00 stephane???? ???? : > >> Hello, >> >> I am using the Paraview 5.1.2 binary on windows 7. >> I made a simple nastran file but I cannot load it. >> Paraview crashes immediately. >> >> I am sending the file so that you can try it yourself >> >> Ndong-Mefane Stephane, Dr.Eng >> Basic Design Sec. >> Steam Turbine Dept. >> Kawasaki Factory >> >> Fuji Electric Co., Ltd >> 1-1, Tanabeshinden, Kawasaki-ku, >> Kawasaki-city 210-9530, Japan >> Phone: +81-44-329-2155 >> Fax: +81-44-329-2394 >> >> >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe:http://public.kitware.com/mailman/listinfo/paraview > > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From 12047355 at brookes.ac.uk Fri Nov 11 12:37:25 2016 From: 12047355 at brookes.ac.uk (Jeremy A) Date: Fri, 11 Nov 2016 17:37:25 +0000 Subject: [Paraview] Color by Source JPEG In-Reply-To: References: Message-ID: Awesome. That worked perfectly. Thanks! On Fri, Nov 11, 2016 at 5:18 PM andrealphus wrote: > Hey Jeremy, > > In the search box next to the gear icon search for "map scalars", its > hidden by default (or just turn the advanced button, the gear icon, > ON). Once you find it, turn "map scalars" off. > > > > On Fri, Nov 11, 2016 at 9:02 AM, Jeremy A <12047355 at brookes.ac.uk> wrote: > > Hi, > > I'm trying to view a series of exported JPEG CFD results in Paraview. The > > problem I'm having is Paraview automatically colors them to a particular > > colormap. Is there a way to simply render them with the jpeg colours? The > > available color options refer to a 'Magnitude', X, Y and Z options which > are > > automatically generated and none of which are the source colours. I have > > attached one of my source images and what it looks like in Paraview. > > > > Thanks, > > Jeremy > > > > _______________________________________________ > > 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 > > > > Search the list archives at: http://markmail.org/search/?q=ParaView > > > > Follow this link to subscribe/unsubscribe: > > http://public.kitware.com/mailman/listinfo/paraview > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aashish.chaudhary at kitware.com Fri Nov 11 12:40:39 2016 From: aashish.chaudhary at kitware.com (Aashish Chaudhary) Date: Fri, 11 Nov 2016 17:40:39 +0000 Subject: [Paraview] paraviewgeo In-Reply-To: References: Message-ID: On Fri, Nov 11, 2016 at 12:15 PM andrealphus wrote: > I typically use it for plotting 3D volumes from geophysical inversions > (seismic/gravity,etc), underneath digital elevation models. Sometimes > I bring in aerial imagery, earthquake locations etc. > This all sounds very exciting. What format do you use for seismic dataset? > > Things that I would find helpful would be a plugin to handle > coordinate transformations. (hence my interest in a gdal plugin) Now I > just make sure everything is in the same UTM beforehand, but its not > ideal. > That would be actually using the PROJ4. I will see if we can push a plugin that can expose the projection capabilities. How soon do you need this? > > I am also very interested in being able to bring in shape files so I > can overlay geologically mapped units. > Right, the GDAL plugin will enable loading of shapefiles (and other formats). Let me find the status of our code and I can follow up with you on it sometime very soon. Thanks, > > Also just kind of curious of what's out there. There are some things > that I dont have an immediate need for, but would find interesting > (plotting earthquake focal mechanisms, etc). > > > On Fri, Nov 11, 2016 at 8:00 AM, Aashish Chaudhary > wrote: > > Dear Andrea, > > > > We are using ParaView for earth science indirectly (helping others). > Which > > plugins or filters to use is dependent on the use-case and data type. We > do > > have GDAL plugin for ParaView (require <2.0 of gdal though) and will > require > > some updates. What kind of data / visualization you are interested in? > > > > Thanks, > > > > > > On Thu, Nov 10, 2016 at 6:48 PM andrealphus > wrote: > >> > >> Anyone out there actively using Paraview for earth science, and has > >> recommendations on useful plugins? Is there anytype of gdal plugin? > >> Coordinate transformation? Did anyone every pick up the torch from the > >> previous paraviewgeo plugin library? > >> _______________________________________________ > >> 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 > >> > >> Search the list archives at: http://markmail.org/search/?q=ParaView > >> > >> Follow this link to subscribe/unsubscribe: > >> http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cgunases at gmail.com Fri Nov 11 12:53:38 2016 From: cgunases at gmail.com (Chathu Gunasekera) Date: Fri, 11 Nov 2016 23:23:38 +0530 Subject: [Paraview] To improve the surface of a 3D model Message-ID: Hi, So is there any options in Paraview to vary different surfaces. Suppose this model(below image) is one of a human organ. How could you change the surfaces to make it look like a real model? Is it possible in Paraview? [image: Inline image 1] -- Warm regards, Chathuri Gunasekera. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 29382 bytes Desc: not available URL: From ard3ride at zoho.com Fri Nov 11 12:52:04 2016 From: ard3ride at zoho.com (MicK7) Date: Fri, 11 Nov 2016 18:52:04 +0100 Subject: [Paraview] CGNS Multi-block inspector doesn't show all blocks ? In-Reply-To: References: Message-ID: <9e9b3f1e-1b29-e3f1-74ae-ef477748f3f7@zoho.com> Hello, Did you tried the "advanced settings" (little wheel) when loading your cgns file ? By the way, "Zone_t" of cgns files are loaded as ParaView "blocks" since the 3D volume mesh and solution(s) are defined at this level. Sections are used to define parts of the mesh but we don't really have any equivalent structure in ParaView. Regards Mickael On 10/11/2016 15:26, Utkarsh Ayachit wrote: > Thomas, > > Can you share a sample dataset? I am guessing there's a difference > between what CGNSplot calls a block and what ParaView considers a block. > > Utkarsh > > > On Thu, Nov 10, 2016 at 7:53 AM, Thomas PEDOT > wrote: > > Hello, > first of all thanks for the work done for this software ! > > I face a problem with a CGNS file. All the block are not shown and > cannot be selected. > https://imagebin.ca/v/31V0hxFE1vcO > > Here you can see that in CGNSplot you have element Sections are > . But paraview just show two depth. > > The mesh and the variables are well imported. > > Do I understand the soft correctely ? How can I correct this ? > > Regards, > Thomas PEDOT > > _______________________________________________ > 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 > > Search the list archives at: > http://markmail.org/search/?q=ParaView > > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Fri Nov 11 13:10:33 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Fri, 11 Nov 2016 13:10:33 -0500 Subject: [Paraview] To improve the surface of a 3D model In-Reply-To: References: Message-ID: Hi Chathuri, ParaView does not have any modeling tools that you would need to transform the surface in your example image to another shape. It supports basic transformations such as translation, scaling, and rotation. Best regards, Cory On Fri, Nov 11, 2016 at 12:53 PM, Chathu Gunasekera wrote: > > Hi, > > So is there any options in Paraview to vary different surfaces. Suppose > this model(below image) is one of a human organ. How could you change the > surfaces to make it look like a real model? Is it possible in Paraview? > > > [image: Inline image 1] > > -- > Warm regards, > Chathuri Gunasekera. > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -- Cory Quammen Staff R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 29382 bytes Desc: not available URL: From andrealphus at gmail.com Fri Nov 11 14:25:07 2016 From: andrealphus at gmail.com (andrealphus) Date: Fri, 11 Nov 2016 11:25:07 -0800 Subject: [Paraview] paraviewgeo In-Reply-To: References: Message-ID: The seismic datasets are coming from my own inversion/tomography code, and I usually just format them into a Paraview readable netcdf format. In terms of projection capabilties, I'd be using it as soon as you push it. But, like I mentioned, I have reasoanble workarounds (projecting everything pre import). A gdal plugin that could load shape files would be really useful! On Fri, Nov 11, 2016 at 9:40 AM, Aashish Chaudhary wrote: > On Fri, Nov 11, 2016 at 12:15 PM andrealphus wrote: >> >> I typically use it for plotting 3D volumes from geophysical inversions >> (seismic/gravity,etc), underneath digital elevation models. Sometimes >> I bring in aerial imagery, earthquake locations etc. > > > This all sounds very exciting. What format do you use for seismic dataset? >> >> >> Things that I would find helpful would be a plugin to handle >> coordinate transformations. (hence my interest in a gdal plugin) Now I >> just make sure everything is in the same UTM beforehand, but its not >> ideal. > > > That would be actually using the PROJ4. I will see if we can push a plugin > that can expose the projection capabilities. How soon do you need this? >> >> >> I am also very interested in being able to bring in shape files so I >> can overlay geologically mapped units. > > > Right, the GDAL plugin will enable loading of shapefiles (and other > formats). Let me find the status of our code and I can follow up with you on > it sometime very soon. > > Thanks, > >> >> >> Also just kind of curious of what's out there. There are some things >> that I dont have an immediate need for, but would find interesting >> (plotting earthquake focal mechanisms, etc). >> >> >> On Fri, Nov 11, 2016 at 8:00 AM, Aashish Chaudhary >> wrote: >> > Dear Andrea, >> > >> > We are using ParaView for earth science indirectly (helping others). >> > Which >> > plugins or filters to use is dependent on the use-case and data type. We >> > do >> > have GDAL plugin for ParaView (require <2.0 of gdal though) and will >> > require >> > some updates. What kind of data / visualization you are interested in? >> > >> > Thanks, >> > >> > >> > On Thu, Nov 10, 2016 at 6:48 PM andrealphus >> > wrote: >> >> >> >> Anyone out there actively using Paraview for earth science, and has >> >> recommendations on useful plugins? Is there anytype of gdal plugin? >> >> Coordinate transformation? Did anyone every pick up the torch from the >> >> previous paraviewgeo plugin library? >> >> _______________________________________________ >> >> 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 >> >> >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> >> >> Follow this link to subscribe/unsubscribe: >> >> http://public.kitware.com/mailman/listinfo/paraview From aashish.chaudhary at kitware.com Fri Nov 11 14:48:01 2016 From: aashish.chaudhary at kitware.com (Aashish Chaudhary) Date: Fri, 11 Nov 2016 19:48:01 +0000 Subject: [Paraview] paraviewgeo In-Reply-To: References: Message-ID: Can you send me a shapefile that I can confirm works? (I have plenty but just wanted to make sure I test with yours). Thanks, On Fri, Nov 11, 2016 at 2:25 PM andrealphus wrote: > The seismic datasets are coming from my own inversion/tomography code, > and I usually just format them into a Paraview readable netcdf format. > > In terms of projection capabilties, I'd be using it as soon as you > push it. But, like I mentioned, I have reasoanble workarounds > (projecting everything pre import). > > A gdal plugin that could load shape files would be really useful! > > > > On Fri, Nov 11, 2016 at 9:40 AM, Aashish Chaudhary > wrote: > > On Fri, Nov 11, 2016 at 12:15 PM andrealphus > wrote: > >> > >> I typically use it for plotting 3D volumes from geophysical inversions > >> (seismic/gravity,etc), underneath digital elevation models. Sometimes > >> I bring in aerial imagery, earthquake locations etc. > > > > > > This all sounds very exciting. What format do you use for seismic > dataset? > >> > >> > >> Things that I would find helpful would be a plugin to handle > >> coordinate transformations. (hence my interest in a gdal plugin) Now I > >> just make sure everything is in the same UTM beforehand, but its not > >> ideal. > > > > > > That would be actually using the PROJ4. I will see if we can push a > plugin > > that can expose the projection capabilities. How soon do you need this? > >> > >> > >> I am also very interested in being able to bring in shape files so I > >> can overlay geologically mapped units. > > > > > > Right, the GDAL plugin will enable loading of shapefiles (and other > > formats). Let me find the status of our code and I can follow up with > you on > > it sometime very soon. > > > > Thanks, > > > >> > >> > >> Also just kind of curious of what's out there. There are some things > >> that I dont have an immediate need for, but would find interesting > >> (plotting earthquake focal mechanisms, etc). > >> > >> > >> On Fri, Nov 11, 2016 at 8:00 AM, Aashish Chaudhary > >> wrote: > >> > Dear Andrea, > >> > > >> > We are using ParaView for earth science indirectly (helping others). > >> > Which > >> > plugins or filters to use is dependent on the use-case and data type. > We > >> > do > >> > have GDAL plugin for ParaView (require <2.0 of gdal though) and will > >> > require > >> > some updates. What kind of data / visualization you are interested in? > >> > > >> > Thanks, > >> > > >> > > >> > On Thu, Nov 10, 2016 at 6:48 PM andrealphus > >> > wrote: > >> >> > >> >> Anyone out there actively using Paraview for earth science, and has > >> >> recommendations on useful plugins? Is there anytype of gdal plugin? > >> >> Coordinate transformation? Did anyone every pick up the torch from > the > >> >> previous paraviewgeo plugin library? > >> >> _______________________________________________ > >> >> 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 > >> >> > >> >> Search the list archives at: http://markmail.org/search/?q=ParaView > >> >> > >> >> Follow this link to subscribe/unsubscribe: > >> >> http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrealphus at gmail.com Fri Nov 11 15:00:48 2016 From: andrealphus at gmail.com (andrealphus) Date: Fri, 11 Nov 2016 12:00:48 -0800 Subject: [Paraview] paraviewgeo In-Reply-To: References: Message-ID: This would be an example of the type of shapefiles; https://pubs.usgs.gov/dds/dds-81/GeologicalMaps/DigitalMap/Faults/ (a shape file of faults in the long valley region of California) On Fri, Nov 11, 2016 at 11:48 AM, Aashish Chaudhary wrote: > Can you send me a shapefile that I can confirm works? (I have plenty but > just wanted to make sure I test with yours). > > Thanks, > > > On Fri, Nov 11, 2016 at 2:25 PM andrealphus wrote: >> >> The seismic datasets are coming from my own inversion/tomography code, >> and I usually just format them into a Paraview readable netcdf format. >> >> In terms of projection capabilties, I'd be using it as soon as you >> push it. But, like I mentioned, I have reasoanble workarounds >> (projecting everything pre import). >> >> A gdal plugin that could load shape files would be really useful! >> >> >> >> On Fri, Nov 11, 2016 at 9:40 AM, Aashish Chaudhary >> wrote: >> > On Fri, Nov 11, 2016 at 12:15 PM andrealphus >> > wrote: >> >> >> >> I typically use it for plotting 3D volumes from geophysical inversions >> >> (seismic/gravity,etc), underneath digital elevation models. Sometimes >> >> I bring in aerial imagery, earthquake locations etc. >> > >> > >> > This all sounds very exciting. What format do you use for seismic >> > dataset? >> >> >> >> >> >> Things that I would find helpful would be a plugin to handle >> >> coordinate transformations. (hence my interest in a gdal plugin) Now I >> >> just make sure everything is in the same UTM beforehand, but its not >> >> ideal. >> > >> > >> > That would be actually using the PROJ4. I will see if we can push a >> > plugin >> > that can expose the projection capabilities. How soon do you need this? >> >> >> >> >> >> I am also very interested in being able to bring in shape files so I >> >> can overlay geologically mapped units. >> > >> > >> > Right, the GDAL plugin will enable loading of shapefiles (and other >> > formats). Let me find the status of our code and I can follow up with >> > you on >> > it sometime very soon. >> > >> > Thanks, >> > >> >> >> >> >> >> Also just kind of curious of what's out there. There are some things >> >> that I dont have an immediate need for, but would find interesting >> >> (plotting earthquake focal mechanisms, etc). >> >> >> >> >> >> On Fri, Nov 11, 2016 at 8:00 AM, Aashish Chaudhary >> >> wrote: >> >> > Dear Andrea, >> >> > >> >> > We are using ParaView for earth science indirectly (helping others). >> >> > Which >> >> > plugins or filters to use is dependent on the use-case and data type. >> >> > We >> >> > do >> >> > have GDAL plugin for ParaView (require <2.0 of gdal though) and will >> >> > require >> >> > some updates. What kind of data / visualization you are interested >> >> > in? >> >> > >> >> > Thanks, >> >> > >> >> > >> >> > On Thu, Nov 10, 2016 at 6:48 PM andrealphus >> >> > wrote: >> >> >> >> >> >> Anyone out there actively using Paraview for earth science, and has >> >> >> recommendations on useful plugins? Is there anytype of gdal plugin? >> >> >> Coordinate transformation? Did anyone every pick up the torch from >> >> >> the >> >> >> previous paraviewgeo plugin library? >> >> >> _______________________________________________ >> >> >> 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 >> >> >> >> >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> >> >> >> >> Follow this link to subscribe/unsubscribe: >> >> >> http://public.kitware.com/mailman/listinfo/paraview From cory.quammen at kitware.com Fri Nov 11 15:09:50 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Fri, 11 Nov 2016 15:09:50 -0500 Subject: [Paraview] Two images selected on pipeline, just one shown In-Reply-To: References: Message-ID: Thomas, You should definitely be able to do this, and what you are seeing looks like a bug. I suggest trying a more recent ParaView, such as 5.1.2, to see if the bug persists. Best regards, Cory On Mon, Dec 28, 2015 at 4:50 PM, Thomas Oliveira wrote: > Dear all, > > I am trying to visualize two images simultaneously in Paraview 4.4.0 64-bit, > but without sucess. > > For the first image (figure image1.png attached), I loaded a raw file, > visualized it as "volume" and set the color map to get a very low opacity. > It represents the solid phase in a porous object. > > For the second image (figure image2.png attached), I loaded the results of a > simulation, applied the "Stream Tracer" filter on the velocity field, and > applied the "Tube" filter on top of it. It represents the streamlines of the > flow inside the porous object shown in the first image. > > If I turn the eyeball on for both items on the pipeline browser, just the > first image is visible. Is this the expected behaviour? I thought that both > images could be seen at the same time. > > > --------------- > Detailed experiment with the user interface: > > - turn both eyeballs off, turn on eyeball of first image => image is > rendered > - turn both eyeballs off, turn on eyeball of second image => image is > rendered > - turn both eyeballs off, turn on eyeball of first image, then of second > image => just first image is rendered (figure together.png attached) > - turn both eyeballs off, turn on eyeball of second image, then turn on > eyeball of first image => nothing is rendered (figure none.png attached) > - turn both eyeballs off, turn on eyeball of second image, then turn on > eyeball of first image, then press Reset button => just first image is > rendered (figure together.png attached) > --------------- > > > Best regards, and a happy 2016! > > Thomas Oliveira > > > > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From cory.quammen at kitware.com Sat Nov 12 08:04:18 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Sat, 12 Nov 2016 08:04:18 -0500 Subject: [Paraview] To improve the surface of a 3D model In-Reply-To: References: Message-ID: Do you mean applying a texture rather than coloring by a scalar value on the surface? On Sat, Nov 12, 2016 at 12:46 AM, Chathu Gunasekera wrote: > Hi Cory, > > Thank you very much for your response. > > Well, i think i was referring to improve the surface (NOT to change the > SHAPE, but to vary the surface). > > In Paraview, do you'll atleast have few options to change the surface? > > If not, are you aware any other software(input: vtk files), which i could > change the surface of the 3D model? > Thank you. > > -- > Warm regards, > Chathuri Gunasekera. > > > On Fri, Nov 11, 2016 at 11:40 PM, Cory Quammen > wrote: > >> Hi Chathuri, >> >> ParaView does not have any modeling tools that you would need to >> transform the surface in your example image to another shape. It supports >> basic transformations such as translation, scaling, and rotation. >> >> Best regards, >> Cory >> >> On Fri, Nov 11, 2016 at 12:53 PM, Chathu Gunasekera >> wrote: >> >>> >>> Hi, >>> >>> So is there any options in Paraview to vary different surfaces. Suppose >>> this model(below image) is one of a human organ. How could you change the >>> surfaces to make it look like a real model? Is it possible in Paraview? >>> >>> >>> [image: Inline image 1] >>> >>> -- >>> Warm regards, >>> Chathuri Gunasekera. >>> >>> _______________________________________________ >>> 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 >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >>> >> >> >> -- >> Cory Quammen >> Staff R&D Engineer >> Kitware, Inc. >> > > > > -- Cory Quammen Staff R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 29382 bytes Desc: not available URL: From bbrust at emc-sq.com Sat Nov 12 11:40:18 2016 From: bbrust at emc-sq.com (Bud Brust) Date: Sat, 12 Nov 2016 16:40:18 +0000 Subject: [Paraview] Extracting data for external spreadsheet Message-ID: <22CAF6244B430349A0C545A43E351A593DD0FD93@MERCURY.emc-sq.com> I am plotting data over a line within a solid model. The plot appears correctly. How can I copy the data plotted to place in an external spreadsheet? Can't seem to find this. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Sat Nov 12 12:05:31 2016 From: dave.demarle at kitware.com (David E DeMarle) Date: Sat, 12 Nov 2016 10:05:31 -0700 Subject: [Paraview] Extracting data for external spreadsheet In-Reply-To: <22CAF6244B430349A0C545A43E351A593DD0FD93@MERCURY.emc-sq.com> References: <22CAF6244B430349A0C545A43E351A593DD0FD93@MERCURY.emc-sq.com> Message-ID: With the plot over line filter selected in the pipeline browser go to file->save data, and select save as comma separated values CSV file. David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Sat, Nov 12, 2016 at 9:40 AM, Bud Brust wrote: > I am plotting data over a line within a solid model. The plot appears > correctly. > > > > How can I copy the data plotted to place in an external spreadsheet? > Can?t seem to find this. > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensou > rce/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bbrust at emc-sq.com Sun Nov 13 10:38:35 2016 From: bbrust at emc-sq.com (Bud Brust) Date: Sun, 13 Nov 2016 15:38:35 +0000 Subject: [Paraview] Extracting data for external spreadsheet Message-ID: <22CAF6244B430349A0C545A43E351A593DD0FE00@MERCURY.emc-sq.com> I found out how from another thread. Here is the way. On the pipeline browser select the filter for plot over line, then you should be able to see a row of five buttons at the top left corner of where your graph plot, click on the rectangle symbol and pick the points on your plot. Once that is visible you should be able to go to file>export to export scene your data as a .csv file. From: Bud Brust Sent: Saturday, November 12, 2016 11:40 AM To: 'paraview at paraview.org' Subject: Extracting data for external spreadsheet I am plotting data over a line within a solid model. The plot appears correctly. How can I copy the data plotted to place in an external spreadsheet? Can't seem to find this. -------------- next part -------------- An HTML attachment was scrubbed... URL: From padraig.looney at gmail.com Mon Nov 14 05:32:46 2016 From: padraig.looney at gmail.com (padraig) Date: Mon, 14 Nov 2016 10:32:46 +0000 Subject: [Paraview] Volume positioning Message-ID: <94585a17-46f8-10c7-ea73-f0309a1e64fb@gmail.com> Dear list, I have been having problems with the positioning of volumes using Paraview. ITK tells me that, using, IteratorType it2( img_input, img_input->GetLargestPossibleRegion() ); it2.GoToBegin(); ImageType::IndexType begin = it2.GetIndex(); img_input->TransformIndexToPhysicalPoint(it2.GetIndex(),p0); it2.GoToEnd(); --it2; img_input->TransformIndexToPhysicalPoint(it2.GetIndex(),p1); std::cout << p0 << p1 << std::endl; two volumes I have have the positions [-102.536, -106.413, 30.1491][102.512, 106.414, 177.564] and [-102.536, -106.413, 30.1491][102.512, 106.414, -117.265] When I load these into Paraview they occupy the same volume. In Slicer3D the volumes are distinct as I expect above. Thanks P?draig From thomas.pedot at gmail.com Mon Nov 14 05:51:20 2016 From: thomas.pedot at gmail.com (Thomas PEDOT) Date: Mon, 14 Nov 2016 10:51:20 +0000 Subject: [Paraview] CGNS Multi-block inspector doesn't show all blocks ? In-Reply-To: <9e9b3f1e-1b29-e3f1-74ae-ef477748f3f7@zoho.com> References: <9e9b3f1e-1b29-e3f1-74ae-ef477748f3f7@zoho.com> Message-ID: Hi, I tried your solution I didn't notice this little wheel, and... It works as expected. It's not exactly the same organization but it is good for my needs ! Thanks for your concerns ! Have a nice day. Thomas Le ven. 11 nov. 2016 ? 18:52, MicK7 a ?crit : > Hello, > > Did you tried the "advanced settings" (little wheel) when loading your > cgns file ? > By the way, "Zone_t" of cgns files are loaded as ParaView "blocks" since > the 3D volume mesh and solution(s) are defined at this level. Sections are > used to define parts of the mesh but we don't really have any equivalent > structure in ParaView. > > Regards > > Mickael > > > On 10/11/2016 15:26, Utkarsh Ayachit wrote: > > Thomas, > > Can you share a sample dataset? I am guessing there's a difference between > what CGNSplot calls a block and what ParaView considers a block. > > Utkarsh > > > On Thu, Nov 10, 2016 at 7:53 AM, Thomas PEDOT > wrote: > > Hello, > first of all thanks for the work done for this software ! > > I face a problem with a CGNS file. All the block are not shown and cannot > be selected. > https://imagebin.ca/v/31V0hxFE1vcO > Here you can see that in CGNSplot you have element Sections are Conditions>. But paraview just show two depth. > > The mesh and the variables are well imported. > > Do I understand the soft correctely ? How can I correct this ? > > Regards, > Thomas PEDOT > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe:http://public.kitware.com/mailman/listinfo/paraview > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cgabriel at matrix-solutions.com Mon Nov 14 08:56:02 2016 From: cgabriel at matrix-solutions.com (Christian Gabriel) Date: Mon, 14 Nov 2016 13:56:02 +0000 Subject: [Paraview] ParaView Digest, Vol 151, Issue 87 In-Reply-To: References: Message-ID: <34398e1e0b73491b9d260f33ded91e6f@msicalexch1.matrix-solutions.com> Good morning, Aashish I've been following your email thread with Ashton with quite some interest, as I'm considering using ParaView in a similar way. In my case, I'm looking into 3D visualisation of groundwater modelling results (from MikeShe). The subsurface (below a DEM) is represented on an unstructured grid: [cid:image001.jpg at 01D230F1.D9A2EA70] MikeShe has its own proprietary file format which I have access to via a Python SDK; my goal is to develop a "programmable source" that would read those files directly into ParaView for visualisation. Then adding shape files (base mapping) on top of this would actually be really cool. I'll keep following along .... Chris Message: 5 Date: Fri, 11 Nov 2016 17:40:39 +0000 From: Aashish Chaudhary To: andrealphus Cc: ParaView Subject: Re: [Paraview] paraviewgeo Message-ID: Content-Type: text/plain; charset="utf-8" On Fri, Nov 11, 2016 at 12:15 PM andrealphus wrote: > I typically use it for plotting 3D volumes from geophysical inversions > (seismic/gravity,etc), underneath digital elevation models. Sometimes > I bring in aerial imagery, earthquake locations etc. > This all sounds very exciting. What format do you use for seismic dataset? > > Things that I would find helpful would be a plugin to handle > coordinate transformations. (hence my interest in a gdal plugin) Now I > just make sure everything is in the same UTM beforehand, but its not > ideal. > That would be actually using the PROJ4. I will see if we can push a plugin that can expose the projection capabilities. How soon do you need this? > > I am also very interested in being able to bring in shape files so I > can overlay geologically mapped units. > Right, the GDAL plugin will enable loading of shapefiles (and other formats). Let me find the status of our code and I can follow up with you on it sometime very soon. Thanks, -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 6875 bytes Desc: image003.jpg URL: From cory.quammen at kitware.com Mon Nov 14 09:59:47 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Mon, 14 Nov 2016 09:59:47 -0500 Subject: [Paraview] Volume positioning In-Reply-To: <94585a17-46f8-10c7-ea73-f0309a1e64fb@gmail.com> References: <94585a17-46f8-10c7-ea73-f0309a1e64fb@gmail.com> Message-ID: What file format are you using to load the volumes into ParaView? A number of formats support volume positioning, so this should be possible, unless you are loading a series of TIFF images, for example. Thanks, Cory On Mon, Nov 14, 2016 at 5:32 AM, padraig wrote: > Dear list, > > I have been having problems with the positioning of volumes using Paraview. > ITK tells me that, using, > > IteratorType it2( img_input, img_input->GetLargestPossibleRegion() ); > > it2.GoToBegin(); > ImageType::IndexType begin = it2.GetIndex(); > img_input->TransformIndexToPhysicalPoint(it2.GetIndex(),p0); > it2.GoToEnd(); > --it2; > img_input->TransformIndexToPhysicalPoint(it2.GetIndex(),p1); > std::cout << p0 << p1 << std::endl; > > two volumes I have have the positions > > > [-102.536, -106.413, 30.1491][102.512, 106.414, 177.564] > > and > > [-102.536, -106.413, 30.1491][102.512, 106.414, -117.265] > > When I load these into Paraview they occupy the same volume. In Slicer3D the > volumes are distinct as I expect above. > > Thanks > P?draig > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview -- Cory Quammen Staff R&D Engineer Kitware, Inc. From padraig.looney at gmail.com Mon Nov 14 10:04:10 2016 From: padraig.looney at gmail.com (padraig) Date: Mon, 14 Nov 2016 15:04:10 +0000 Subject: [Paraview] Volume positioning In-Reply-To: References: <94585a17-46f8-10c7-ea73-f0309a1e64fb@gmail.com> Message-ID: <3a304a0a-2ff7-c835-cdc0-3b0fa7572e44@gmail.com> I have used MHA and NIFTII. I have converted the MHA into NIFTII using both c3d and ITK. On 14/11/16 14:59, Cory Quammen wrote: > What file format are you using to load the volumes into ParaView? A > number of formats support volume positioning, so this should be > possible, unless you are loading a series of TIFF images, for example. > > Thanks, > Cory > > On Mon, Nov 14, 2016 at 5:32 AM, padraig wrote: >> Dear list, >> >> I have been having problems with the positioning of volumes using Paraview. >> ITK tells me that, using, >> >> IteratorType it2( img_input, img_input->GetLargestPossibleRegion() ); >> >> it2.GoToBegin(); >> ImageType::IndexType begin = it2.GetIndex(); >> img_input->TransformIndexToPhysicalPoint(it2.GetIndex(),p0); >> it2.GoToEnd(); >> --it2; >> img_input->TransformIndexToPhysicalPoint(it2.GetIndex(),p1); >> std::cout << p0 << p1 << std::endl; >> >> two volumes I have have the positions >> >> >> [-102.536, -106.413, 30.1491][102.512, 106.414, 177.564] >> >> and >> >> [-102.536, -106.413, 30.1491][102.512, 106.414, -117.265] >> >> When I load these into Paraview they occupy the same volume. In Slicer3D the >> volumes are distinct as I expect above. >> >> Thanks >> P?draig >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview > > From cory.quammen at kitware.com Mon Nov 14 10:09:18 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Mon, 14 Nov 2016 10:09:18 -0500 Subject: [Paraview] Volume positioning In-Reply-To: <3a304a0a-2ff7-c835-cdc0-3b0fa7572e44@gmail.com> References: <94585a17-46f8-10c7-ea73-f0309a1e64fb@gmail.com> <3a304a0a-2ff7-c835-cdc0-3b0fa7572e44@gmail.com> Message-ID: MHA and NIFTII definitely contain position information that ParaView should read. Do you have any small-ish representative volumes you can share (privately with me if needed). On Mon, Nov 14, 2016 at 10:04 AM, padraig wrote: > I have used MHA and NIFTII. I have converted the MHA into NIFTII using both > c3d and ITK. > > > > On 14/11/16 14:59, Cory Quammen wrote: >> >> What file format are you using to load the volumes into ParaView? A >> number of formats support volume positioning, so this should be >> possible, unless you are loading a series of TIFF images, for example. >> >> Thanks, >> Cory >> >> On Mon, Nov 14, 2016 at 5:32 AM, padraig wrote: >>> >>> Dear list, >>> >>> I have been having problems with the positioning of volumes using >>> Paraview. >>> ITK tells me that, using, >>> >>> IteratorType it2( img_input, img_input->GetLargestPossibleRegion() >>> ); >>> >>> it2.GoToBegin(); >>> ImageType::IndexType begin = it2.GetIndex(); >>> img_input->TransformIndexToPhysicalPoint(it2.GetIndex(),p0); >>> it2.GoToEnd(); >>> --it2; >>> img_input->TransformIndexToPhysicalPoint(it2.GetIndex(),p1); >>> std::cout << p0 << p1 << std::endl; >>> >>> two volumes I have have the positions >>> >>> >>> [-102.536, -106.413, 30.1491][102.512, 106.414, 177.564] >>> >>> and >>> >>> [-102.536, -106.413, 30.1491][102.512, 106.414, -117.265] >>> >>> When I load these into Paraview they occupy the same volume. In Slicer3D >>> the >>> volumes are distinct as I expect above. >>> >>> Thanks >>> P?draig >>> _______________________________________________ >>> 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 >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >> >> >> > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From aashish.chaudhary at kitware.com Mon Nov 14 10:28:58 2016 From: aashish.chaudhary at kitware.com (Aashish Chaudhary) Date: Mon, 14 Nov 2016 15:28:58 +0000 Subject: [Paraview] ParaView Digest, Vol 151, Issue 87 In-Reply-To: <34398e1e0b73491b9d260f33ded91e6f@msicalexch1.matrix-solutions.com> References: <34398e1e0b73491b9d260f33ded91e6f@msicalexch1.matrix-solutions.com> Message-ID: Great, thanks! This looks interesting and we will sure keep you in the loop. Thanks, On Mon, Nov 14, 2016 at 8:57 AM Christian Gabriel < cgabriel at matrix-solutions.com> wrote: > Good morning, Aashish > > > > I've been following your email thread with Ashton with quite some > interest, as I'm considering using ParaView in a similar way. > > > > In my case, I'm looking into 3D visualisation of groundwater modelling > results (from MikeShe). The subsurface (below a DEM) is represented on an > unstructured grid: > > > > [image: cid:image001.jpg at 01D230F1.D9A2EA70] > > > > MikeShe has its own proprietary file format which I have access to via a > Python SDK; my goal is to develop a ?programmable source? that would read > those files directly into ParaView for visualisation. > > > > Then adding shape files (base mapping) on top of this would actually be > really cool. > > > > I?ll keep following along ?. Chris > > > > > > Message: 5 > > Date: Fri, 11 Nov 2016 17:40:39 +0000 > > From: Aashish Chaudhary > > To: andrealphus > > Cc: ParaView > > Subject: Re: [Paraview] paraviewgeo > > Message-ID: < > CAEw35Z9eWun91THnquq2g2P+4_byfS0Xpd8adFCZ1b1JYTi7gA at mail.gmail.com> > > Content-Type: text/plain; charset="utf-8" > > > > On Fri, Nov 11, 2016 at 12:15 PM andrealphus > wrote: > > > > > I typically use it for plotting 3D volumes from geophysical inversions > > > (seismic/gravity,etc), underneath digital elevation models. Sometimes > > > I bring in aerial imagery, earthquake locations etc. > > > > > > > This all sounds very exciting. What format do you use for seismic dataset? > > > > > > > > Things that I would find helpful would be a plugin to handle > > > coordinate transformations. (hence my interest in a gdal plugin) Now I > > > just make sure everything is in the same UTM beforehand, but its not > > > ideal. > > > > > > > That would be actually using the PROJ4. I will see if we can push a plugin > that can expose the projection capabilities. How soon do you need this? > > > > > > > > I am also very interested in being able to bring in shape files so I > > > can overlay geologically mapped units. > > > > > > > Right, the GDAL plugin will enable loading of shapefiles (and other > formats). Let me find the status of our code and I can follow up with you > on it sometime very soon. > > > > Thanks, > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 6875 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 6875 bytes Desc: not available URL: From padraig.looney at gmail.com Mon Nov 14 10:29:16 2016 From: padraig.looney at gmail.com (padraig) Date: Mon, 14 Nov 2016 15:29:16 +0000 Subject: [Paraview] Volume positioning In-Reply-To: References: <94585a17-46f8-10c7-ea73-f0309a1e64fb@gmail.com> <3a304a0a-2ff7-c835-cdc0-3b0fa7572e44@gmail.com> Message-ID: Attached are two volumes that have an overlap in paraview but the ITK volume I find using the code below means there should be no overlap On 14/11/16 15:09, Cory Quammen wrote: > MHA and NIFTII definitely contain position information that ParaView > should read. Do you have any small-ish representative volumes you can > share (privately with me if needed). > > On Mon, Nov 14, 2016 at 10:04 AM, padraig wrote: >> I have used MHA and NIFTII. I have converted the MHA into NIFTII using both >> c3d and ITK. >> >> >> >> On 14/11/16 14:59, Cory Quammen wrote: >>> What file format are you using to load the volumes into ParaView? A >>> number of formats support volume positioning, so this should be >>> possible, unless you are loading a series of TIFF images, for example. >>> >>> Thanks, >>> Cory >>> >>> On Mon, Nov 14, 2016 at 5:32 AM, padraig wrote: >>>> Dear list, >>>> >>>> I have been having problems with the positioning of volumes using >>>> Paraview. >>>> ITK tells me that, using, >>>> >>>> IteratorType it2( img_input, img_input->GetLargestPossibleRegion() >>>> ); >>>> >>>> it2.GoToBegin(); >>>> ImageType::IndexType begin = it2.GetIndex(); >>>> img_input->TransformIndexToPhysicalPoint(it2.GetIndex(),p0); >>>> it2.GoToEnd(); >>>> --it2; >>>> img_input->TransformIndexToPhysicalPoint(it2.GetIndex(),p1); >>>> std::cout << p0 << p1 << std::endl; >>>> >>>> two volumes I have have the positions >>>> >>>> >>>> [-102.536, -106.413, 30.1491][102.512, 106.414, 177.564] >>>> >>>> and >>>> >>>> [-102.536, -106.413, 30.1491][102.512, 106.414, -117.265] >>>> >>>> When I load these into Paraview they occupy the same volume. In Slicer3D >>>> the >>>> volumes are distinct as I expect above. >>>> >>>> Thanks >>>> P?draig >>>> _______________________________________________ >>>> 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 >>>> >>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/paraview >>> >>> > > -------------- next part -------------- A non-text attachment was scrubbed... Name: vol1.nii.gz Type: application/gzip Size: 1895 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: vol2.nii.gz Type: application/gzip Size: 1891 bytes Desc: not available URL: From cornelis.bockemuehl at gmail.com Mon Nov 14 10:59:36 2016 From: cornelis.bockemuehl at gmail.com (=?UTF-8?Q?Cornelis_Bockem=C3=BChl?=) Date: Mon, 14 Nov 2016 16:59:36 +0100 Subject: [Paraview] Optional input ports In-Reply-To: References: Message-ID: Dear Parview users, This question seems trivial - but I do not find any solution on my own! I have a filter with one mandatory and two optional input ports, and this is how I proceed with it: - Select some data object, then call that filter. It does not open the input port item selection dialog because the one mandatory input is already satisfied. - I want to add one of the optional inputs (or both) - but the "change input" option is greyed! Strange - because for me this would be the logical moment to specify additional input, i.e.: BEFORE pressing the Apply button... - Ok, I press the Apply button thus. Of course the output is not what I want because the optional inputs were missing... - However, now I can choose also the "change input" option - and I do so. I select the two optional inputs. But now nothing happens any more - and now the Apply button is grey, so no way to trigger an update of the output! To me this does not look very logical, so I assume that I am missing some point... The other "intuitive option" would be to select all the desired input items, and only then open the filter. However this is impossible from the beginning because now the filter is already greyed in the menu as being "not applicable"! Thanks for any helpful hints! Regards, Cornelis Bockem?hl -------------- next part -------------- An HTML attachment was scrubbed... URL: From d.robinson at hrwallingford.com Mon Nov 14 12:15:33 2016 From: d.robinson at hrwallingford.com (David I. Robinson) Date: Mon, 14 Nov 2016 17:15:33 +0000 Subject: [Paraview] animating particle pathlines In-Reply-To: <30F608EDCF71CB43B017B063329D278601FC3FFBD2@EXMBX1.hrw-uk.local> References: <30F608EDCF71CB43B017B063329D278601FC3FFBD2@EXMBX1.hrw-uk.local> Message-ID: <30F608EDCF71CB43B017B063329D278601FC400130@EXMBX1.hrw-uk.local> Hello, I?m trying to visualise lagrangian particle pathlines. I have run an openFoam simulation with particle tracking and would like to view the paths that the particles take. I have read lots of discussion of this on the internet, but without much success. I can load the data in Paraview and assign glyphs, but I can?t visualise the pathlines taken by the particles. I am cautious that Paraview might have some functionality for interpolating particle tracking from the eulerian data. I might end-up visualising this approximation, rather than the lagrangian data calculated on a timestep-by-timestep basis by openFoam. (Although an ability to do either or both would be useful!) So far, my best luck seems to have come from masking my data and then using the particlepath filter, using the un-masked data as my input and the masked data as a seed. This is OK, but requires me to incrementally increase the finished time to observe the particle paths. Can you offer any help? Dr David Robinson Engineer, Coastal Structures E: d.robinson at hrwallingford.com T: +44 (0)1491 822397 ________________________________ [HR Wallingford Logo] HR Wallingford Howbery Park, Wallingford, Oxfordshire OX10 8BA, United Kingdom T: +44 (0)1491 835381 F: +44 (0)1491 832233 www.hrwallingford.com [HR Wallingford Secondary Logo] ________________________________ ________________________________ HR Wallingford and its subsidiaries uses faxes and emails for confidential and legally privileged business communications. They do not of themselves create legal commitments. Disclosure to parties other than addressees requires our specific consent. We are not liable for unauthorised disclosures nor reliance upon them. If you have received this message in error please advise us immediately and destroy all copies of it. HR Wallingford Limited Howbery Park, Wallingford, Oxfordshire, OX10 8BA, United Kingdom Registered in England No. 02562099 ________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From adlinds3 at ncsu.edu Mon Nov 14 16:39:25 2016 From: adlinds3 at ncsu.edu (Alexander Lindsay) Date: Mon, 14 Nov 2016 15:39:25 -0600 Subject: [Paraview] Error when trying to refresh simulation with Exodus Message-ID: <8a224b4c-5b5b-94ac-b265-dae29b0f76aa@ncsu.edu> I get the following error when trying to refresh an exodus II file with ParaView 5.1.2. Has anyone else encountered this bug? Refresh worked fine for paraview 4. ERROR: In /home/lindsayad/projects_devel/ParaView/VTK/IO/Exodus/vtkExodusIIReader.cxx, line 1716 vtkExodusIIReaderPrivate (0x2148650): Could not read nodal result variable group1. ERROR: In /home/lindsayad/projects_devel/ParaView/VTK/IO/Exodus/vtkExodusIIReader.cxx, line 1716 vtkExodusIIReaderPrivate (0x2148650): Could not read nodal result variable group2. ERROR: In /home/lindsayad/projects_devel/ParaView/VTK/IO/Exodus/vtkExodusIIReader.cxx, line 1716 vtkExodusIIReaderPrivate (0x2148650): Could not read nodal result variable temp. ERROR: In /home/lindsayad/projects_devel/ParaView/VTK/IO/Exodus/vtkExodusIIReader.cxx, line 1716 vtkExodusIIReaderPrivate (0x2148650): Could not read nodal result variable group1. ERROR: In /home/lindsayad/projects_devel/ParaView/VTK/IO/Exodus/vtkExodusIIReader.cxx, line 1716 vtkExodusIIReaderPrivate (0x2148650): Could not read nodal result variable group2. ERROR: In /home/lindsayad/projects_devel/ParaView/VTK/IO/Exodus/vtkExodusIIReader.cxx, line 1716 vtkExodusIIReaderPrivate (0x2148650): Could not read nodal result variable temp. ERROR: In /home/lindsayad/projects_devel/ParaView/ParaViewCore/ServerImplementation/Core/vtkPVSessionCore.cxx, line 390 vtkPVSessionCore (0x2225da0): Object type: vtkPExodusIIReader, could not find requested method: "UpdateTimeInformation" or the method was called with incorrect arguments. while processing Message 0 = Invoke Argument 0 = vtk_object_pointer {vtkPExodusIIReader (0x50cf960)} Argument 1 = string_value {UpdateTimeInformation} ERROR: In /home/lindsayad/projects_devel/ParaView/ParaViewCore/ServerImplementation/Core/vtkPVSessionCore.cxx, line 391 vtkPVSessionCore (0x2225da0): Aborting execution for debugging purposes. ERROR: In /home/lindsayad/projects_devel/ParaView/ParaViewCore/ServerImplementation/Core/vtkSIProxy.cxx, line 134 vtkSISourceProxy (0x5792890): Error pushing property state: Refresh -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Mon Nov 14 17:11:14 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Mon, 14 Nov 2016 17:11:14 -0500 Subject: [Paraview] Volume positioning In-Reply-To: References: <94585a17-46f8-10c7-ea73-f0309a1e64fb@gmail.com> <3a304a0a-2ff7-c835-cdc0-3b0fa7572e44@gmail.com> Message-ID: Are you somehow opening these files in ParaView? I was not able to either gzipped or not, which is what I expect because ParaView does not have a Nifti reader to my knowledge. In Slicer, which can open these files, the volumes are reported to occupy the same space with an origin at (102.536, 106.413, 30.149). Please provide more details, step-by-step, about how you are viewing these files in ParaView. Thanks, Cory On Mon, Nov 14, 2016 at 10:29 AM, padraig wrote: > Attached are two volumes that have an overlap in paraview but the ITK volume > I find using the code below means there should be no overlap > > > > > > On 14/11/16 15:09, Cory Quammen wrote: >> >> MHA and NIFTII definitely contain position information that ParaView >> should read. Do you have any small-ish representative volumes you can >> share (privately with me if needed). >> >> On Mon, Nov 14, 2016 at 10:04 AM, padraig >> wrote: >>> >>> I have used MHA and NIFTII. I have converted the MHA into NIFTII using >>> both >>> c3d and ITK. >>> >>> >>> >>> On 14/11/16 14:59, Cory Quammen wrote: >>>> >>>> What file format are you using to load the volumes into ParaView? A >>>> number of formats support volume positioning, so this should be >>>> possible, unless you are loading a series of TIFF images, for example. >>>> >>>> Thanks, >>>> Cory >>>> >>>> On Mon, Nov 14, 2016 at 5:32 AM, padraig >>>> wrote: >>>>> >>>>> Dear list, >>>>> >>>>> I have been having problems with the positioning of volumes using >>>>> Paraview. >>>>> ITK tells me that, using, >>>>> >>>>> IteratorType it2( img_input, >>>>> img_input->GetLargestPossibleRegion() >>>>> ); >>>>> >>>>> it2.GoToBegin(); >>>>> ImageType::IndexType begin = it2.GetIndex(); >>>>> img_input->TransformIndexToPhysicalPoint(it2.GetIndex(),p0); >>>>> it2.GoToEnd(); >>>>> --it2; >>>>> img_input->TransformIndexToPhysicalPoint(it2.GetIndex(),p1); >>>>> std::cout << p0 << p1 << std::endl; >>>>> >>>>> two volumes I have have the positions >>>>> >>>>> >>>>> [-102.536, -106.413, 30.1491][102.512, 106.414, 177.564] >>>>> >>>>> and >>>>> >>>>> [-102.536, -106.413, 30.1491][102.512, 106.414, -117.265] >>>>> >>>>> When I load these into Paraview they occupy the same volume. In >>>>> Slicer3D >>>>> the >>>>> volumes are distinct as I expect above. >>>>> >>>>> Thanks >>>>> P?draig >>>>> _______________________________________________ >>>>> 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 >>>>> >>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>> >>>>> Follow this link to subscribe/unsubscribe: >>>>> http://public.kitware.com/mailman/listinfo/paraview >>>> >>>> >>>> >> >> > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From shawn.waldon at kitware.com Mon Nov 14 17:16:31 2016 From: shawn.waldon at kitware.com (Shawn Waldon) Date: Mon, 14 Nov 2016 17:16:31 -0500 Subject: [Paraview] Volume positioning In-Reply-To: References: <94585a17-46f8-10c7-ea73-f0309a1e64fb@gmail.com> <3a304a0a-2ff7-c835-cdc0-3b0fa7572e44@gmail.com> Message-ID: Cory, I think that reader is a plugin. There is a plugin with NIFTI in the name anyway. HTH, Shawn On Mon, Nov 14, 2016 at 5:11 PM, Cory Quammen wrote: > Are you somehow opening these files in ParaView? I was not able to > either gzipped or not, which is what I expect because ParaView does > not have a Nifti reader to my knowledge. > > In Slicer, which can open these files, the volumes are reported to > occupy the same space with an origin at (102.536, 106.413, 30.149). > > Please provide more details, step-by-step, about how you are viewing > these files in ParaView. > > Thanks, > Cory > > On Mon, Nov 14, 2016 at 10:29 AM, padraig > wrote: > > Attached are two volumes that have an overlap in paraview but the ITK > volume > > I find using the code below means there should be no overlap > > > > > > > > > > > > On 14/11/16 15:09, Cory Quammen wrote: > >> > >> MHA and NIFTII definitely contain position information that ParaView > >> should read. Do you have any small-ish representative volumes you can > >> share (privately with me if needed). > >> > >> On Mon, Nov 14, 2016 at 10:04 AM, padraig > >> wrote: > >>> > >>> I have used MHA and NIFTII. I have converted the MHA into NIFTII using > >>> both > >>> c3d and ITK. > >>> > >>> > >>> > >>> On 14/11/16 14:59, Cory Quammen wrote: > >>>> > >>>> What file format are you using to load the volumes into ParaView? A > >>>> number of formats support volume positioning, so this should be > >>>> possible, unless you are loading a series of TIFF images, for example. > >>>> > >>>> Thanks, > >>>> Cory > >>>> > >>>> On Mon, Nov 14, 2016 at 5:32 AM, padraig > >>>> wrote: > >>>>> > >>>>> Dear list, > >>>>> > >>>>> I have been having problems with the positioning of volumes using > >>>>> Paraview. > >>>>> ITK tells me that, using, > >>>>> > >>>>> IteratorType it2( img_input, > >>>>> img_input->GetLargestPossibleRegion() > >>>>> ); > >>>>> > >>>>> it2.GoToBegin(); > >>>>> ImageType::IndexType begin = it2.GetIndex(); > >>>>> img_input->TransformIndexToPhysicalPoint(it2.GetIndex(),p0); > >>>>> it2.GoToEnd(); > >>>>> --it2; > >>>>> img_input->TransformIndexToPhysicalPoint(it2.GetIndex(),p1); > >>>>> std::cout << p0 << p1 << std::endl; > >>>>> > >>>>> two volumes I have have the positions > >>>>> > >>>>> > >>>>> [-102.536, -106.413, 30.1491][102.512, 106.414, 177.564] > >>>>> > >>>>> and > >>>>> > >>>>> [-102.536, -106.413, 30.1491][102.512, 106.414, -117.265] > >>>>> > >>>>> When I load these into Paraview they occupy the same volume. In > >>>>> Slicer3D > >>>>> the > >>>>> volumes are distinct as I expect above. > >>>>> > >>>>> Thanks > >>>>> P?draig > >>>>> _______________________________________________ > >>>>> 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 > >>>>> > >>>>> Search the list archives at: http://markmail.org/search/?q=ParaView > >>>>> > >>>>> Follow this link to subscribe/unsubscribe: > >>>>> http://public.kitware.com/mailman/listinfo/paraview > >>>> > >>>> > >>>> > >> > >> > > > > > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Mon Nov 14 17:19:34 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Mon, 14 Nov 2016 17:19:34 -0500 Subject: [Paraview] To improve the surface of a 3D model In-Reply-To: References: Message-ID: Hi Chathuri, Please keep your replies on the list so that others may have a chance to participate in the discussion. i meant applying a texture to the model rather than coloring it. Is it > possible in Paraview? > Yes, it is possible. Please see page 60 as numbered on the pages (page 74 in the PDF) in the ParaView Guide to see how: http://www.paraview.org/paraview-downloads/download. php?submit=Download&version=v5.0&type=data&os=all& downloadFile=ParaViewGuide-CE-v5.0.0.pdf The relevant text is copied here for your convenience: "Properties under the Miscellaneous group include Pickable. Uncheck this if you want the dataset to be ignored when making selections. If the dataset has a texture coordinates array, you can apply a texture to the dataset surface using the Texture combo-box. Choose Load to load a texture or apply a previously loaded texture listed in the combo-box. If your dataset doesn?t have texture coordinates, you can create them by applying one of Texture Map to Cylinder, Texture Map to Sphere, or Texture Map To Plane filters." HTH, Cory On Sun, Nov 13, 2016 at 9:14 AM, Chathu Gunasekera wrote: > Hi Cory, > > i meant applying a texture to the model rather than coloring it. Is it > possible in Paraview? > > Thanks in advance. > > -- > Warm regards, > Chathuri Gunasekera. > > > > On Sat, Nov 12, 2016 at 7:13 PM, Chathu Gunasekera > wrote: > >> Yes. >> >> On Sat, Nov 12, 2016 at 6:34 PM, Cory Quammen >> wrote: >> >>> Do you mean applying a texture rather than coloring by a scalar value on >>> the surface? >>> >>> On Sat, Nov 12, 2016 at 12:46 AM, Chathu Gunasekera >>> wrote: >>> >>>> Hi Cory, >>>> >>>> Thank you very much for your response. >>>> >>>> Well, i think i was referring to improve the surface (NOT to change the >>>> SHAPE, but to vary the surface). >>>> >>>> In Paraview, do you'll atleast have few options to change the surface? >>>> >>>> If not, are you aware any other software(input: vtk files), which i >>>> could change the surface of the 3D model? >>>> Thank you. >>>> >>>> -- >>>> Warm regards, >>>> Chathuri Gunasekera. >>>> >>>> >>>> On Fri, Nov 11, 2016 at 11:40 PM, Cory Quammen < >>>> cory.quammen at kitware.com> wrote: >>>> >>>>> Hi Chathuri, >>>>> >>>>> ParaView does not have any modeling tools that you would need to >>>>> transform the surface in your example image to another shape. It supports >>>>> basic transformations such as translation, scaling, and rotation. >>>>> >>>>> Best regards, >>>>> Cory >>>>> >>>>> On Fri, Nov 11, 2016 at 12:53 PM, Chathu Gunasekera < >>>>> cgunases at gmail.com> wrote: >>>>> >>>>>> >>>>>> Hi, >>>>>> >>>>>> So is there any options in Paraview to vary different surfaces. >>>>>> Suppose this model(below image) is one of a human organ. How could you >>>>>> change the surfaces to make it look like a real model? Is it possible in >>>>>> Paraview? >>>>>> >>>>>> >>>>>> [image: Inline image 1] >>>>>> >>>>>> -- >>>>>> Warm regards, >>>>>> Chathuri Gunasekera. >>>>>> >>>>>> _______________________________________________ >>>>>> 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 >>>>>> >>>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>>> >>>>>> Follow this link to subscribe/unsubscribe: >>>>>> http://public.kitware.com/mailman/listinfo/paraview >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Cory Quammen >>>>> Staff R&D Engineer >>>>> Kitware, Inc. >>>>> >>>> >>>> >>>> >>>> >>> >>> >>> -- >>> Cory Quammen >>> Staff R&D Engineer >>> Kitware, Inc. >>> >> >> >> >> -- >> Warm regards, >> Chathuri Gunasekera. >> > > > > > -- Cory Quammen Staff R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 29382 bytes Desc: not available URL: From padraig.looney at gmail.com Mon Nov 14 17:25:55 2016 From: padraig.looney at gmail.com (padraig) Date: Mon, 14 Nov 2016 22:25:55 +0000 Subject: [Paraview] Volume positioning In-Reply-To: References: <94585a17-46f8-10c7-ea73-f0309a1e64fb@gmail.com> <3a304a0a-2ff7-c835-cdc0-3b0fa7572e44@gmail.com> Message-ID: <54f45ce9-963a-d256-a503-da1e7c3eb217@gmail.com> I have been using the analyseniftiio plugin to open .nii files in paraview. In Slicer 4.6.2 they do not occupy the same physical space. The direction is different although the origin is the same. Thanks On 14/11/16 22:11, Cory Quammen wrote: > Are you somehow opening these files in ParaView? I was not able to > either gzipped or not, which is what I expect because ParaView does > not have a Nifti reader to my knowledge. > > In Slicer, which can open these files, the volumes are reported to > occupy the same space with an origin at (102.536, 106.413, 30.149). > > Please provide more details, step-by-step, about how you are viewing > these files in ParaView. > > Thanks, > Cory > > On Mon, Nov 14, 2016 at 10:29 AM, padraig wrote: >> Attached are two volumes that have an overlap in paraview but the ITK volume >> I find using the code below means there should be no overlap >> >> >> >> >> >> On 14/11/16 15:09, Cory Quammen wrote: >>> MHA and NIFTII definitely contain position information that ParaView >>> should read. Do you have any small-ish representative volumes you can >>> share (privately with me if needed). >>> >>> On Mon, Nov 14, 2016 at 10:04 AM, padraig >>> wrote: >>>> I have used MHA and NIFTII. I have converted the MHA into NIFTII using >>>> both >>>> c3d and ITK. >>>> >>>> >>>> >>>> On 14/11/16 14:59, Cory Quammen wrote: >>>>> What file format are you using to load the volumes into ParaView? A >>>>> number of formats support volume positioning, so this should be >>>>> possible, unless you are loading a series of TIFF images, for example. >>>>> >>>>> Thanks, >>>>> Cory >>>>> >>>>> On Mon, Nov 14, 2016 at 5:32 AM, padraig >>>>> wrote: >>>>>> Dear list, >>>>>> >>>>>> I have been having problems with the positioning of volumes using >>>>>> Paraview. >>>>>> ITK tells me that, using, >>>>>> >>>>>> IteratorType it2( img_input, >>>>>> img_input->GetLargestPossibleRegion() >>>>>> ); >>>>>> >>>>>> it2.GoToBegin(); >>>>>> ImageType::IndexType begin = it2.GetIndex(); >>>>>> img_input->TransformIndexToPhysicalPoint(it2.GetIndex(),p0); >>>>>> it2.GoToEnd(); >>>>>> --it2; >>>>>> img_input->TransformIndexToPhysicalPoint(it2.GetIndex(),p1); >>>>>> std::cout << p0 << p1 << std::endl; >>>>>> >>>>>> two volumes I have have the positions >>>>>> >>>>>> >>>>>> [-102.536, -106.413, 30.1491][102.512, 106.414, 177.564] >>>>>> >>>>>> and >>>>>> >>>>>> [-102.536, -106.413, 30.1491][102.512, 106.414, -117.265] >>>>>> >>>>>> When I load these into Paraview they occupy the same volume. In >>>>>> Slicer3D >>>>>> the >>>>>> volumes are distinct as I expect above. >>>>>> >>>>>> Thanks >>>>>> P?draig >>>>>> _______________________________________________ >>>>>> 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 >>>>>> >>>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>>> >>>>>> Follow this link to subscribe/unsubscribe: >>>>>> http://public.kitware.com/mailman/listinfo/paraview >>>>> >>>>> >>> > > From kmorel at sandia.gov Mon Nov 14 17:30:12 2016 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Mon, 14 Nov 2016 22:30:12 +0000 Subject: [Paraview] [EXTERNAL] animating particle pathlines In-Reply-To: <30F608EDCF71CB43B017B063329D278601FC400130@EXMBX1.hrw-uk.local> References: <30F608EDCF71CB43B017B063329D278601FC3FFBD2@EXMBX1.hrw-uk.local>, <30F608EDCF71CB43B017B063329D278601FC400130@EXMBX1.hrw-uk.local> Message-ID: <2B0D898A-12A0-415C-82DC-AC0C45A39C1B@sandia.gov> That sounds like a job for the "Temporal Particles To Pathlines" filter. -Ken Sent from my iPad so blame autocorrect. On Nov 14, 2016, at 10:54 AM, David I. Robinson > wrote: Hello, I'm trying to visualise lagrangian particle pathlines. I have run an openFoam simulation with particle tracking and would like to view the paths that the particles take. I have read lots of discussion of this on the internet, but without much success. I can load the data in Paraview and assign glyphs, but I can't visualise the pathlines taken by the particles. I am cautious that Paraview might have some functionality for interpolating particle tracking from the eulerian data. I might end-up visualising this approximation, rather than the lagrangian data calculated on a timestep-by-timestep basis by openFoam. (Although an ability to do either or both would be useful!) So far, my best luck seems to have come from masking my data and then using the particlepath filter, using the un-masked data as my input and the masked data as a seed. This is OK, but requires me to incrementally increase the finished time to observe the particle paths. Can you offer any help? Dr David Robinson Engineer, Coastal Structures E: d.robinson at hrwallingford.com T: +44 (0)1491 822397 ________________________________ [HR Wallingford Logo] HR Wallingford Howbery Park, Wallingford, Oxfordshire OX10 8BA, United Kingdom T: +44 (0)1491 835381 F: +44 (0)1491 832233 www.hrwallingford.com [HR Wallingford Secondary Logo] ________________________________ ________________________________ HR Wallingford and its subsidiaries uses faxes and emails for confidential and legally privileged business communications. They do not of themselves create legal commitments. Disclosure to parties other than addressees requires our specific consent. We are not liable for unauthorised disclosures nor reliance upon them. If you have received this message in error please advise us immediately and destroy all copies of it. HR Wallingford Limited Howbery Park, Wallingford, Oxfordshire, OX10 8BA, United Kingdom Registered in England No. 02562099 ________________________________ _______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Mon Nov 14 17:34:56 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Mon, 14 Nov 2016 17:34:56 -0500 Subject: [Paraview] Volume positioning In-Reply-To: <54f45ce9-963a-d256-a503-da1e7c3eb217@gmail.com> References: <94585a17-46f8-10c7-ea73-f0309a1e64fb@gmail.com> <3a304a0a-2ff7-c835-cdc0-3b0fa7572e44@gmail.com> <54f45ce9-963a-d256-a503-da1e7c3eb217@gmail.com> Message-ID: On Mon, Nov 14, 2016 at 5:25 PM, padraig wrote: > I have been using the analyseniftiio plugin to open .nii files in paraview. Ah, I see. I had forgotten about that one. > In Slicer 4.6.2 they do not occupy the same physical space. The direction is > different although the origin is the same. I looked again in Slicer and you are right. Looking at vtkNIfTIReader.cxx, the direction information seems to be ignored by ParaView. Which makes sense because VTK and ParaView do not support the concept of direction cosines, just origin and spacing. In ParaView, you'll have to transform one of the volumes using the Transform filter and scaling the Z direction by -1. Because the x and y direction diagonals are also -1, you may want to scale those axes by -1 as well. HTH, Cory > > Thanks > > > > On 14/11/16 22:11, Cory Quammen wrote: >> >> Are you somehow opening these files in ParaView? I was not able to >> either gzipped or not, which is what I expect because ParaView does >> not have a Nifti reader to my knowledge. >> >> In Slicer, which can open these files, the volumes are reported to >> occupy the same space with an origin at (102.536, 106.413, 30.149). >> >> Please provide more details, step-by-step, about how you are viewing >> these files in ParaView. >> >> Thanks, >> Cory >> >> On Mon, Nov 14, 2016 at 10:29 AM, padraig >> wrote: >>> >>> Attached are two volumes that have an overlap in paraview but the ITK >>> volume >>> I find using the code below means there should be no overlap >>> >>> >>> >>> >>> >>> On 14/11/16 15:09, Cory Quammen wrote: >>>> >>>> MHA and NIFTII definitely contain position information that ParaView >>>> should read. Do you have any small-ish representative volumes you can >>>> share (privately with me if needed). >>>> >>>> On Mon, Nov 14, 2016 at 10:04 AM, padraig >>>> wrote: >>>>> >>>>> I have used MHA and NIFTII. I have converted the MHA into NIFTII using >>>>> both >>>>> c3d and ITK. >>>>> >>>>> >>>>> >>>>> On 14/11/16 14:59, Cory Quammen wrote: >>>>>> >>>>>> What file format are you using to load the volumes into ParaView? A >>>>>> number of formats support volume positioning, so this should be >>>>>> possible, unless you are loading a series of TIFF images, for example. >>>>>> >>>>>> Thanks, >>>>>> Cory >>>>>> >>>>>> On Mon, Nov 14, 2016 at 5:32 AM, padraig >>>>>> wrote: >>>>>>> >>>>>>> Dear list, >>>>>>> >>>>>>> I have been having problems with the positioning of volumes using >>>>>>> Paraview. >>>>>>> ITK tells me that, using, >>>>>>> >>>>>>> IteratorType it2( img_input, >>>>>>> img_input->GetLargestPossibleRegion() >>>>>>> ); >>>>>>> >>>>>>> it2.GoToBegin(); >>>>>>> ImageType::IndexType begin = it2.GetIndex(); >>>>>>> img_input->TransformIndexToPhysicalPoint(it2.GetIndex(),p0); >>>>>>> it2.GoToEnd(); >>>>>>> --it2; >>>>>>> img_input->TransformIndexToPhysicalPoint(it2.GetIndex(),p1); >>>>>>> std::cout << p0 << p1 << std::endl; >>>>>>> >>>>>>> two volumes I have have the positions >>>>>>> >>>>>>> >>>>>>> [-102.536, -106.413, 30.1491][102.512, 106.414, 177.564] >>>>>>> >>>>>>> and >>>>>>> >>>>>>> [-102.536, -106.413, 30.1491][102.512, 106.414, -117.265] >>>>>>> >>>>>>> When I load these into Paraview they occupy the same volume. In >>>>>>> Slicer3D >>>>>>> the >>>>>>> volumes are distinct as I expect above. >>>>>>> >>>>>>> Thanks >>>>>>> P?draig >>>>>>> _______________________________________________ >>>>>>> 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 >>>>>>> >>>>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>>>> >>>>>>> Follow this link to subscribe/unsubscribe: >>>>>>> http://public.kitware.com/mailman/listinfo/paraview >>>>>> >>>>>> >>>>>> >>>> >> >> > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From padraig.looney at gmail.com Mon Nov 14 17:50:46 2016 From: padraig.looney at gmail.com (padraig) Date: Mon, 14 Nov 2016 22:50:46 +0000 Subject: [Paraview] Volume positioning In-Reply-To: References: <94585a17-46f8-10c7-ea73-f0309a1e64fb@gmail.com> <3a304a0a-2ff7-c835-cdc0-3b0fa7572e44@gmail.com> <54f45ce9-963a-d256-a503-da1e7c3eb217@gmail.com> Message-ID: <73c19044-5746-d8e1-6a54-e9ae761c8a11@gmail.com> Hi Cory, It doesn't seem right to me that the coordinates are not correctly applied in Paraview and that a user should have to apply a transformation. I thought initially the issue was with VTK but on emailing the devel group I got the following response > Hi Padraig, > > What you are seeing is one of the big (very big) differences between > ITK images and VTK images. It comes about because in ITK, the > direction cosines are stored in the image class, but in VTK, they are > not, and they must instead be stored in a separate matrix. You're > probably wondering why this matters at all, since your image has > direction cosines of ((1,0,0),(0,1,0),(0,0,1)). Hopefully I'll be > able to provide an explanation that isn't too muddy. > > In ITK, the transformation from the (I,J,K) indices of each voxel to > the (x,y,z) coordinates is as follows: > > let q = (I,J,K) > let p = (x,y,z) > > p = R*S*q + o > > where R is ITK's Direction matrix, S is the "scale" matrix (a diagonal > matrix made from the Spacing), and "o" is ITK's Origin. > > Since vtkImageData does not have a Direction matrix, but most medical > image formats do have a Direction, it is necessary for VTK medical > image readers to produce a vtkMatrix4x4 in addition to the > vtkImageData. In VTK, the equivalent equation is: > > p = R*(S*q + o) > > Or we can expand this, > > p = R*S*q + R*o > > See how the ITK Origin and the VTK Origin mean different things? The > ITK origin is rotated with respect to the VTK origin. In fact, the > way that VTK defines the image "Origin" is incompatible with NIFTI > (and with DICOM, too). > > So, the vtkNIFTIImageReader always sets the VTK image Origin to > (0,0,0). Then, it stores an ITK-style Origin as the 4th column of the > SFormMatrix and the QFormMatrix. That's an advantage of using a 4x4 > matrix: it can store both a rotation and an offset. When we introduce > this matrix "M" and set the VTK image Origin to (0,0,0), > > p = M*S*q > > Of course, now we have to make p and q into (I, J, K, 1) and (x, y, z, > 1) in order to use the 4x4 matrix. I'll let you work out the rest of > the details. > > In order to properly compute the bounds of an oriented image in VTK, > you have to compute the coordinates of the four corners and then > multiply them by the matrix M (i.e. by the SFormMatrix). In your > case, since the "orientation" is identity, you could simply add the > offset. > > If you're wondering why the reader doesn't set the VTK image Origin to > be equal to the offset for axial images, it's to avoid inconsistency > between the way the reader treats axial images as compared to sagittal > or coronal. > > For Paraview, you'll have to find a way to get Paraview to use the > SFormMatrix (or the QFormMatrix) that is provided by the reader. > Unfortunately, I don't know enough about Paraview to help with that... > hopefully one of the Paraview users around here can help. > Thanks P?draig On 14/11/16 22:34, Cory Quammen wrote: > On Mon, Nov 14, 2016 at 5:25 PM, padraig wrote: >> I have been using the analyseniftiio plugin to open .nii files in paraview. > Ah, I see. I had forgotten about that one. > >> In Slicer 4.6.2 they do not occupy the same physical space. The direction is >> different although the origin is the same. > I looked again in Slicer and you are right. Looking at > vtkNIfTIReader.cxx, the direction information seems to be ignored by > ParaView. Which makes sense because VTK and ParaView do not support > the concept of direction cosines, just origin and spacing. In > ParaView, you'll have to transform one of the volumes using the > Transform filter and scaling the Z direction by -1. Because the x and > y direction diagonals are also -1, you may want to scale those axes by > -1 as well. > > HTH, > Cory > >> Thanks >> >> >> >> On 14/11/16 22:11, Cory Quammen wrote: >>> Are you somehow opening these files in ParaView? I was not able to >>> either gzipped or not, which is what I expect because ParaView does >>> not have a Nifti reader to my knowledge. >>> >>> In Slicer, which can open these files, the volumes are reported to >>> occupy the same space with an origin at (102.536, 106.413, 30.149). >>> >>> Please provide more details, step-by-step, about how you are viewing >>> these files in ParaView. >>> >>> Thanks, >>> Cory >>> >>> On Mon, Nov 14, 2016 at 10:29 AM, padraig >>> wrote: >>>> Attached are two volumes that have an overlap in paraview but the ITK >>>> volume >>>> I find using the code below means there should be no overlap >>>> >>>> >>>> >>>> >>>> >>>> On 14/11/16 15:09, Cory Quammen wrote: >>>>> MHA and NIFTII definitely contain position information that ParaView >>>>> should read. Do you have any small-ish representative volumes you can >>>>> share (privately with me if needed). >>>>> >>>>> On Mon, Nov 14, 2016 at 10:04 AM, padraig >>>>> wrote: >>>>>> I have used MHA and NIFTII. I have converted the MHA into NIFTII using >>>>>> both >>>>>> c3d and ITK. >>>>>> >>>>>> >>>>>> >>>>>> On 14/11/16 14:59, Cory Quammen wrote: >>>>>>> What file format are you using to load the volumes into ParaView? A >>>>>>> number of formats support volume positioning, so this should be >>>>>>> possible, unless you are loading a series of TIFF images, for example. >>>>>>> >>>>>>> Thanks, >>>>>>> Cory >>>>>>> >>>>>>> On Mon, Nov 14, 2016 at 5:32 AM, padraig >>>>>>> wrote: >>>>>>>> Dear list, >>>>>>>> >>>>>>>> I have been having problems with the positioning of volumes using >>>>>>>> Paraview. >>>>>>>> ITK tells me that, using, >>>>>>>> >>>>>>>> IteratorType it2( img_input, >>>>>>>> img_input->GetLargestPossibleRegion() >>>>>>>> ); >>>>>>>> >>>>>>>> it2.GoToBegin(); >>>>>>>> ImageType::IndexType begin = it2.GetIndex(); >>>>>>>> img_input->TransformIndexToPhysicalPoint(it2.GetIndex(),p0); >>>>>>>> it2.GoToEnd(); >>>>>>>> --it2; >>>>>>>> img_input->TransformIndexToPhysicalPoint(it2.GetIndex(),p1); >>>>>>>> std::cout << p0 << p1 << std::endl; >>>>>>>> >>>>>>>> two volumes I have have the positions >>>>>>>> >>>>>>>> >>>>>>>> [-102.536, -106.413, 30.1491][102.512, 106.414, 177.564] >>>>>>>> >>>>>>>> and >>>>>>>> >>>>>>>> [-102.536, -106.413, 30.1491][102.512, 106.414, -117.265] >>>>>>>> >>>>>>>> When I load these into Paraview they occupy the same volume. In >>>>>>>> Slicer3D >>>>>>>> the >>>>>>>> volumes are distinct as I expect above. >>>>>>>> >>>>>>>> Thanks >>>>>>>> P?draig >>>>>>>> _______________________________________________ >>>>>>>> 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 >>>>>>>> >>>>>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>>>>> >>>>>>>> Follow this link to subscribe/unsubscribe: >>>>>>>> http://public.kitware.com/mailman/listinfo/paraview >>>>>>> >>>>>>> >>> > > From andrealphus at gmail.com Mon Nov 14 18:31:49 2016 From: andrealphus at gmail.com (andrealphus) Date: Mon, 14 Nov 2016 15:31:49 -0800 Subject: [Paraview] csv point data through time In-Reply-To: References: Message-ID: Utkarsk, Any way to make the points in time accumulate? I.e. not have the point from t < current time, not disapear? On Thu, Nov 10, 2016 at 11:32 AM, andrealphus wrote: > nevermind looks like its a UCS2 vs UCS4 error..... > > On Thu, Nov 10, 2016 at 11:20 AM, andrealphus wrote: >> Thanks Utkarsh! Out of curiosity, should the plugin work out of the >> box or is it meant to be an example I should deconstruct. (I load a >> x,y,z,time file as you described but get no output) >> >> On Thu, Nov 10, 2016 at 7:08 AM, Utkarsh Ayachit >> wrote: >>> You put together a "Programmable Source" to do that. Attached is a Plugin >>> with such a Programmable source/reader. Load it using "Tools | Plugins". >>> Then when you open the csv file, you'll be promped to choose a reader, >>> choose the ""CSV Reader With Time Column". >>> >>> On Wed, Nov 9, 2016 at 7:15 PM, andrealphus wrote: >>>> >>>> I have a database of earthquakes in a csv file formatted as; >>>> >>>> x,y,z,M,time >>>> 344914.339004,4153503.07632,-7703,1.22,441772084.24 >>>> 337090.052527,4158668.87752,-10404,1.06,441774936.69 >>>> 335085.941364,4156934.63971,-7245,0.72,441789441.37 >>>> 337111.336138,4167120.16812,-8539,0.76,441790442.57 >>>> 335024.848735,4159463.38774,-4032,0.71,441801083.1 >>>> 338135.588075,4159856.10709,-4160,1.17,441821076.16 >>>> >>>> where time is in unix seconds. >>>> >>>> Normally I plot this by table_to_points, as spherical glpyhs, colored >>>> by time and sized by "M" (magnitude), see image; >>>> http://tinyurl.com/neaxe7n >>>> >>>> >>>> But it would be nice to step through these points with time. I just >>>> cant figure out how to actually get paraview to recognize my time >>>> column in my table (or my point attribute). >>>> >>>> Normally I would either reformat this to a netcdf or create individual >>>> file at each time step, but for this case these are not suitable >>>> options. >>>> >>>> Any suggestions? >>>> _______________________________________________ >>>> 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 >>>> >>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/paraview >>> >>> From cory.quammen at kitware.com Mon Nov 14 20:02:36 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Mon, 14 Nov 2016 20:02:36 -0500 Subject: [Paraview] Volume positioning In-Reply-To: <73c19044-5746-d8e1-6a54-e9ae761c8a11@gmail.com> References: <94585a17-46f8-10c7-ea73-f0309a1e64fb@gmail.com> <3a304a0a-2ff7-c835-cdc0-3b0fa7572e44@gmail.com> <54f45ce9-963a-d256-a503-da1e7c3eb217@gmail.com> <73c19044-5746-d8e1-6a54-e9ae761c8a11@gmail.com> Message-ID: > It doesn't seem right to me that the coordinates are not correctly applied > in Paraview and that a user should have to apply a transformation. Yes, it is unfortunate. We wish ParaView could support every feature one may find useful. Contributions from the community to support new features are welcome! - Cory > > >> Hi Padraig, >> >> What you are seeing is one of the big (very big) differences between ITK >> images and VTK images. It comes about because in ITK, the direction cosines >> are stored in the image class, but in VTK, they are not, and they must >> instead be stored in a separate matrix. You're probably wondering why this >> matters at all, since your image has direction cosines of >> ((1,0,0),(0,1,0),(0,0,1)). Hopefully I'll be able to provide an explanation >> that isn't too muddy. >> >> In ITK, the transformation from the (I,J,K) indices of each voxel to the >> (x,y,z) coordinates is as follows: >> >> let q = (I,J,K) >> let p = (x,y,z) >> >> p = R*S*q + o >> >> where R is ITK's Direction matrix, S is the "scale" matrix (a diagonal >> matrix made from the Spacing), and "o" is ITK's Origin. >> >> Since vtkImageData does not have a Direction matrix, but most medical >> image formats do have a Direction, it is necessary for VTK medical image >> readers to produce a vtkMatrix4x4 in addition to the vtkImageData. In VTK, >> the equivalent equation is: >> >> p = R*(S*q + o) >> >> Or we can expand this, >> >> p = R*S*q + R*o >> >> See how the ITK Origin and the VTK Origin mean different things? The ITK >> origin is rotated with respect to the VTK origin. In fact, the way that VTK >> defines the image "Origin" is incompatible with NIFTI (and with DICOM, too). >> >> So, the vtkNIFTIImageReader always sets the VTK image Origin to (0,0,0). >> Then, it stores an ITK-style Origin as the 4th column of the SFormMatrix and >> the QFormMatrix. That's an advantage of using a 4x4 matrix: it can store >> both a rotation and an offset. When we introduce this matrix "M" and set >> the VTK image Origin to (0,0,0), >> >> p = M*S*q >> >> Of course, now we have to make p and q into (I, J, K, 1) and (x, y, z, 1) >> in order to use the 4x4 matrix. I'll let you work out the rest of the >> details. >> >> In order to properly compute the bounds of an oriented image in VTK, you >> have to compute the coordinates of the four corners and then multiply them >> by the matrix M (i.e. by the SFormMatrix). In your case, since the >> "orientation" is identity, you could simply add the offset. >> >> If you're wondering why the reader doesn't set the VTK image Origin to be >> equal to the offset for axial images, it's to avoid inconsistency between >> the way the reader treats axial images as compared to sagittal or coronal. >> >> For Paraview, you'll have to find a way to get Paraview to use the >> SFormMatrix (or the QFormMatrix) that is provided by the reader. >> Unfortunately, I don't know enough about Paraview to help with that... >> hopefully one of the Paraview users around here can help. >> > Thanks > > P?draig > > > > On 14/11/16 22:34, Cory Quammen wrote: >> >> On Mon, Nov 14, 2016 at 5:25 PM, padraig wrote: >>> >>> I have been using the analyseniftiio plugin to open .nii files in >>> paraview. >> >> Ah, I see. I had forgotten about that one. >> >>> In Slicer 4.6.2 they do not occupy the same physical space. The direction >>> is >>> different although the origin is the same. >> >> I looked again in Slicer and you are right. Looking at >> vtkNIfTIReader.cxx, the direction information seems to be ignored by >> ParaView. Which makes sense because VTK and ParaView do not support >> the concept of direction cosines, just origin and spacing. In >> ParaView, you'll have to transform one of the volumes using the >> Transform filter and scaling the Z direction by -1. Because the x and >> y direction diagonals are also -1, you may want to scale those axes by >> -1 as well. >> >> HTH, >> Cory >> >>> Thanks >>> >>> >>> >>> On 14/11/16 22:11, Cory Quammen wrote: >>>> >>>> Are you somehow opening these files in ParaView? I was not able to >>>> either gzipped or not, which is what I expect because ParaView does >>>> not have a Nifti reader to my knowledge. >>>> >>>> In Slicer, which can open these files, the volumes are reported to >>>> occupy the same space with an origin at (102.536, 106.413, 30.149). >>>> >>>> Please provide more details, step-by-step, about how you are viewing >>>> these files in ParaView. >>>> >>>> Thanks, >>>> Cory >>>> >>>> On Mon, Nov 14, 2016 at 10:29 AM, padraig >>>> wrote: >>>>> >>>>> Attached are two volumes that have an overlap in paraview but the ITK >>>>> volume >>>>> I find using the code below means there should be no overlap >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> On 14/11/16 15:09, Cory Quammen wrote: >>>>>> >>>>>> MHA and NIFTII definitely contain position information that ParaView >>>>>> should read. Do you have any small-ish representative volumes you can >>>>>> share (privately with me if needed). >>>>>> >>>>>> On Mon, Nov 14, 2016 at 10:04 AM, padraig >>>>>> wrote: >>>>>>> >>>>>>> I have used MHA and NIFTII. I have converted the MHA into NIFTII >>>>>>> using >>>>>>> both >>>>>>> c3d and ITK. >>>>>>> >>>>>>> >>>>>>> >>>>>>> On 14/11/16 14:59, Cory Quammen wrote: >>>>>>>> >>>>>>>> What file format are you using to load the volumes into ParaView? A >>>>>>>> number of formats support volume positioning, so this should be >>>>>>>> possible, unless you are loading a series of TIFF images, for >>>>>>>> example. >>>>>>>> >>>>>>>> Thanks, >>>>>>>> Cory >>>>>>>> >>>>>>>> On Mon, Nov 14, 2016 at 5:32 AM, padraig >>>>>>>> wrote: >>>>>>>>> >>>>>>>>> Dear list, >>>>>>>>> >>>>>>>>> I have been having problems with the positioning of volumes using >>>>>>>>> Paraview. >>>>>>>>> ITK tells me that, using, >>>>>>>>> >>>>>>>>> IteratorType it2( img_input, >>>>>>>>> img_input->GetLargestPossibleRegion() >>>>>>>>> ); >>>>>>>>> >>>>>>>>> it2.GoToBegin(); >>>>>>>>> ImageType::IndexType begin = it2.GetIndex(); >>>>>>>>> >>>>>>>>> img_input->TransformIndexToPhysicalPoint(it2.GetIndex(),p0); >>>>>>>>> it2.GoToEnd(); >>>>>>>>> --it2; >>>>>>>>> >>>>>>>>> img_input->TransformIndexToPhysicalPoint(it2.GetIndex(),p1); >>>>>>>>> std::cout << p0 << p1 << std::endl; >>>>>>>>> >>>>>>>>> two volumes I have have the positions >>>>>>>>> >>>>>>>>> >>>>>>>>> [-102.536, -106.413, 30.1491][102.512, 106.414, 177.564] >>>>>>>>> >>>>>>>>> and >>>>>>>>> >>>>>>>>> [-102.536, -106.413, 30.1491][102.512, 106.414, -117.265] >>>>>>>>> >>>>>>>>> When I load these into Paraview they occupy the same volume. In >>>>>>>>> Slicer3D >>>>>>>>> the >>>>>>>>> volumes are distinct as I expect above. >>>>>>>>> >>>>>>>>> Thanks >>>>>>>>> P?draig >>>>>>>>> _______________________________________________ >>>>>>>>> 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 >>>>>>>>> >>>>>>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>>>>>> >>>>>>>>> Follow this link to subscribe/unsubscribe: >>>>>>>>> http://public.kitware.com/mailman/listinfo/paraview >>>>>>>> >>>>>>>> >>>>>>>> >>>> >> >> > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From wuhao.sife at gmail.com Tue Nov 15 01:40:16 2016 From: wuhao.sife at gmail.com (=?UTF-8?B?5ZC05piK?=) Date: Tue, 15 Nov 2016 07:40:16 +0100 Subject: [Paraview] errors when reading with Tecplot reader Message-ID: Hello, my name is Hao, I'm new here, I try to plot the .dat file (Tecplot file) with Paraview 5.2.0, but get the following errors and so on.I guess it is because, In 2012 paraview doesn't support Zonetype= Febrick, should it work right now? How ? febrick_3d.dat is an example file from Tecplot 360. ERROR: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_opengl2_qt4_superbuild/source-paraview/VTK/IO/Geometry/vtkTecplotReader.cxx, line 1900 vtkTecplotReader (0x4404dc0): /home/hongzheng/masterarbeit/exercise/block_febrick_3d.dat: The record type 1.0 found in the file is unknown. ERROR: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_opengl2_qt4_superbuild/source-paraview/VTK/IO/Geometry/vtkTecplotReader.cxx, line 1900 vtkTecplotReader (0x4404dc0): /home/hongzheng/masterarbeit/exercise/block_febrick_3d.dat: The record type 1.0 found in the file is unknown. ERROR: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_opengl2_qt4_superbuild/source-paraview/VTK/IO/Geometry/vtkTecplotReader.cxx, line 1900 vtkTecplotReader (0x4404dc0): /home/hongzheng/masterarbeit/exercise/block_febrick_3d.dat: The record type 1.0 found in the file is unknown. ERROR: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_opengl2_qt4_superbuild/source-paraview/VTK/IO/Geometry/vtkTecplotReader.cxx, line 1900 vtkTecplotReader (0x4404dc0): /home/hongzheng/masterarbeit/exercise/block_febrick_3d.dat: The record type 2.0 found in the file is unknown. Thanks Hao -------------- next part -------------- An HTML attachment was scrubbed... URL: From Stefan.Melber at DLR.de Tue Nov 15 05:35:03 2016 From: Stefan.Melber at DLR.de (Stefan Melber) Date: Tue, 15 Nov 2016 11:35:03 +0100 Subject: [Paraview] Rendering Backend OpenGL2 & PV 5.2.0-RC4 & SurfaceLic --> Problem... Message-ID: <84a5a6aa-326f-a1ff-7789-28204a0ee502@DLR.de> Hi, i have a problem which is there in all RCs (1-4) of current ParaView: if i compile the RenderingBackend to "OpenGL2" and use SurfaceLic the visualization time goes up from a few seconds (with "OpenGL") to many minutes and the memory consumption from a few GByte to approx 100 GByte. Switching back to OpenGL any thing is fine. Without SurfaceLIC the OpenGL2 works although fine for me. Has any one tested OpenGL2 with SurfaceLIC-Plugin the last time and has (the same) problems? o Kernel 4.7.6-1/ x86-64 o Quadro 4000 o NVidia driver v367.57 o PV 5.2.0 RC1 - RC4 Best regards, Stefan -------------- next part -------------- An HTML attachment was scrubbed... URL: From cgunases at gmail.com Tue Nov 15 06:00:08 2016 From: cgunases at gmail.com (Chathu Gunasekera) Date: Tue, 15 Nov 2016 16:30:08 +0530 Subject: [Paraview] To improve the surface of a 3D model In-Reply-To: References: Message-ID: Hi Cory, Thanks for your response. Well, for the benefit of others i will repeat my question & Cory's response. So my question was how to change the texture of the 3D model (model can be seen in my 1st mail) Cory's response: *Please see page 60 as numbered on the pages (page 74 in the PDF) in the ParaView Guide to see how:* *http://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v5.0&type=data&os=all&downloadFile=ParaViewGuide-CE-v5.0.0.pdf* *The relevant text is copied here for your convenience:* *Properties under the Miscellaneous group include Pickable. Uncheck this if you want the dataset to be ignored when making selections. If the dataset has a texture coordinates array, you can apply a texture to the dataset surface using the Texture combo-box. Choose Load to load a texture or apply a previously loaded texture listed in the combo-box. If your dataset doesn?t have texture coordinates, you can create them by applying one of Texture Map to Cylinder, Texture Map to Sphere, or Texture Map To Plane filters.* Thank you once again Cory for your response. Appreciate it. -- Warm regards, Chathuri Gunasekera. On Tue, Nov 15, 2016 at 3:49 AM, Cory Quammen wrote: > Hi Chathuri, > > Please keep your replies on the list so that others may have a chance to > participate in the discussion. > > i meant applying a texture to the model rather than coloring it. Is it >> possible in Paraview? >> > > Yes, it is possible. Please see page 60 as numbered on the pages (page 74 > in the PDF) in the ParaView Guide to see how: > > http://www.paraview.org/paraview-downloads/download.php? > submit=Download&version=v5.0&type=data&os=all&downloadFile= > ParaViewGuide-CE-v5.0.0.pdf > > The relevant text is copied here for your convenience: > > "Properties under the Miscellaneous group include Pickable. Uncheck this > if you want the dataset to be ignored when making selections. If the > dataset has a texture coordinates array, you can apply a texture to the > dataset surface using the Texture combo-box. Choose Load to load a texture > or apply a previously loaded texture listed in the combo-box. If your > dataset doesn?t have texture coordinates, you can create them by applying > one of Texture Map to Cylinder, Texture Map to Sphere, or Texture Map To > Plane filters." > > HTH, > Cory > > On Sun, Nov 13, 2016 at 9:14 AM, Chathu Gunasekera > wrote: > >> Hi Cory, >> >> i meant applying a texture to the model rather than coloring it. Is it >> possible in Paraview? >> >> Thanks in advance. >> >> -- >> Warm regards, >> Chathuri Gunasekera. >> >> >> >> On Sat, Nov 12, 2016 at 7:13 PM, Chathu Gunasekera >> wrote: >> >>> Yes. >>> >>> On Sat, Nov 12, 2016 at 6:34 PM, Cory Quammen >>> wrote: >>> >>>> Do you mean applying a texture rather than coloring by a scalar value >>>> on the surface? >>>> >>>> On Sat, Nov 12, 2016 at 12:46 AM, Chathu Gunasekera >>> > wrote: >>>> >>>>> Hi Cory, >>>>> >>>>> Thank you very much for your response. >>>>> >>>>> Well, i think i was referring to improve the surface (NOT to change >>>>> the SHAPE, but to vary the surface). >>>>> >>>>> In Paraview, do you'll atleast have few options to change the surface? >>>>> >>>>> If not, are you aware any other software(input: vtk files), which i >>>>> could change the surface of the 3D model? >>>>> Thank you. >>>>> >>>>> -- >>>>> Warm regards, >>>>> Chathuri Gunasekera. >>>>> >>>>> >>>>> On Fri, Nov 11, 2016 at 11:40 PM, Cory Quammen < >>>>> cory.quammen at kitware.com> wrote: >>>>> >>>>>> Hi Chathuri, >>>>>> >>>>>> ParaView does not have any modeling tools that you would need to >>>>>> transform the surface in your example image to another shape. It supports >>>>>> basic transformations such as translation, scaling, and rotation. >>>>>> >>>>>> Best regards, >>>>>> Cory >>>>>> >>>>>> On Fri, Nov 11, 2016 at 12:53 PM, Chathu Gunasekera < >>>>>> cgunases at gmail.com> wrote: >>>>>> >>>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> So is there any options in Paraview to vary different surfaces. >>>>>>> Suppose this model(below image) is one of a human organ. How could you >>>>>>> change the surfaces to make it look like a real model? Is it possible in >>>>>>> Paraview? >>>>>>> >>>>>>> >>>>>>> [image: Inline image 1] >>>>>>> >>>>>>> -- >>>>>>> Warm regards, >>>>>>> Chathuri Gunasekera. >>>>>>> >>>>>>> _______________________________________________ >>>>>>> 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 >>>>>>> >>>>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>>>> >>>>>>> Follow this link to subscribe/unsubscribe: >>>>>>> http://public.kitware.com/mailman/listinfo/paraview >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Cory Quammen >>>>>> Staff R&D Engineer >>>>>> Kitware, Inc. >>>>>> >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> -- >>>> Cory Quammen >>>> Staff R&D Engineer >>>> Kitware, Inc. >>>> >>> >>> >>> >>> -- >>> Warm regards, >>> Chathuri Gunasekera. >>> >> >> >> >> >> > > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 29382 bytes Desc: not available URL: From cory.quammen at kitware.com Tue Nov 15 08:57:15 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Tue, 15 Nov 2016 08:57:15 -0500 Subject: [Paraview] To improve the surface of a 3D model In-Reply-To: References: Message-ID: > > Thank you once again Cory for your response. Appreciate it. > No problem :-) Let us know if you run into any problems or have other questions. Cory > -- > Warm regards, > Chathuri Gunasekera. > > > On Tue, Nov 15, 2016 at 3:49 AM, Cory Quammen > wrote: > >> Hi Chathuri, >> >> Please keep your replies on the list so that others may have a chance to >> participate in the discussion. >> >> i meant applying a texture to the model rather than coloring it. Is it >>> possible in Paraview? >>> >> >> Yes, it is possible. Please see page 60 as numbered on the pages (page 74 >> in the PDF) in the ParaView Guide to see how: >> >> http://www.paraview.org/paraview-downloads/download.php?subm >> it=Download&version=v5.0&type=data&os=all&downloadFile=ParaV >> iewGuide-CE-v5.0.0.pdf >> >> The relevant text is copied here for your convenience: >> >> "Properties under the Miscellaneous group include Pickable. Uncheck this >> if you want the dataset to be ignored when making selections. If the >> dataset has a texture coordinates array, you can apply a texture to the >> dataset surface using the Texture combo-box. Choose Load to load a texture >> or apply a previously loaded texture listed in the combo-box. If your >> dataset doesn?t have texture coordinates, you can create them by applying >> one of Texture Map to Cylinder, Texture Map to Sphere, or Texture Map To >> Plane filters." >> >> HTH, >> Cory >> >> On Sun, Nov 13, 2016 at 9:14 AM, Chathu Gunasekera >> wrote: >> >>> Hi Cory, >>> >>> i meant applying a texture to the model rather than coloring it. Is it >>> possible in Paraview? >>> >>> Thanks in advance. >>> >>> -- >>> Warm regards, >>> Chathuri Gunasekera. >>> >>> >>> >>> On Sat, Nov 12, 2016 at 7:13 PM, Chathu Gunasekera >>> wrote: >>> >>>> Yes. >>>> >>>> On Sat, Nov 12, 2016 at 6:34 PM, Cory Quammen >>> > wrote: >>>> >>>>> Do you mean applying a texture rather than coloring by a scalar value >>>>> on the surface? >>>>> >>>>> On Sat, Nov 12, 2016 at 12:46 AM, Chathu Gunasekera < >>>>> cgunases at gmail.com> wrote: >>>>> >>>>>> Hi Cory, >>>>>> >>>>>> Thank you very much for your response. >>>>>> >>>>>> Well, i think i was referring to improve the surface (NOT to change >>>>>> the SHAPE, but to vary the surface). >>>>>> >>>>>> In Paraview, do you'll atleast have few options to change the >>>>>> surface? >>>>>> >>>>>> If not, are you aware any other software(input: vtk files), which i >>>>>> could change the surface of the 3D model? >>>>>> Thank you. >>>>>> >>>>>> -- >>>>>> Warm regards, >>>>>> Chathuri Gunasekera. >>>>>> >>>>>> >>>>>> On Fri, Nov 11, 2016 at 11:40 PM, Cory Quammen < >>>>>> cory.quammen at kitware.com> wrote: >>>>>> >>>>>>> Hi Chathuri, >>>>>>> >>>>>>> ParaView does not have any modeling tools that you would need to >>>>>>> transform the surface in your example image to another shape. It supports >>>>>>> basic transformations such as translation, scaling, and rotation. >>>>>>> >>>>>>> Best regards, >>>>>>> Cory >>>>>>> >>>>>>> On Fri, Nov 11, 2016 at 12:53 PM, Chathu Gunasekera < >>>>>>> cgunases at gmail.com> wrote: >>>>>>> >>>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> So is there any options in Paraview to vary different surfaces. >>>>>>>> Suppose this model(below image) is one of a human organ. How could you >>>>>>>> change the surfaces to make it look like a real model? Is it possible in >>>>>>>> Paraview? >>>>>>>> >>>>>>>> >>>>>>>> [image: Inline image 1] >>>>>>>> >>>>>>>> -- >>>>>>>> Warm regards, >>>>>>>> Chathuri Gunasekera. >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> 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 >>>>>>>> >>>>>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>>>>> >>>>>>>> Follow this link to subscribe/unsubscribe: >>>>>>>> http://public.kitware.com/mailman/listinfo/paraview >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Cory Quammen >>>>>>> Staff R&D Engineer >>>>>>> Kitware, Inc. >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Cory Quammen >>>>> Staff R&D Engineer >>>>> Kitware, Inc. >>>>> >>>> >>>> >>>> >>>> -- >>>> Warm regards, >>>> Chathuri Gunasekera. >>>> >>> >>> >>> >>> >>> >> >> >> -- >> Cory Quammen >> Staff R&D Engineer >> Kitware, Inc. >> > > > > > -- Cory Quammen Staff R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 29382 bytes Desc: not available URL: From arno.mayrhofer at dcs-computing.com Tue Nov 15 07:40:07 2016 From: arno.mayrhofer at dcs-computing.com (Arno Mayrhofer) Date: Tue, 15 Nov 2016 13:40:07 +0100 Subject: [Paraview] Automatic connect to Catalyst Message-ID: Dear all, I have written an adaptor for in situ visualization which works perfectly fine. In order to even further lower the entry barrier, I would like to be able to launch a ParaView session that automatically connects to that simulation and displays something. Now obviously I know exactly how my Catalyst script looks like, so I know what types of data are available. And we can assume that this is not going to change. I tried to generate a PV Python script using the trace option, but it did not show me any output related to connecting to the Catalyst simulation. Is it at all possible to do this via a Python script? I also have not found any command line options that would allow me to connect to a certain Catalyst port, did I miss something here? And finally if none of the above works, would a custom plug-in that is auto loaded allow me to perform this small piece of magic? Or any other ways of doing this? Thanks in advance, Arno From cory.quammen at kitware.com Tue Nov 15 11:15:45 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Tue, 15 Nov 2016 11:15:45 -0500 Subject: [Paraview] SWKey: Bad Behavior W/ the PV's Contour Filter? In-Reply-To: <56D8A298.8090402@bresnan.net> References: <56D8A298.8090402@bresnan.net> Message-ID: Samuel, In the Contour filter, make sure you have the Compute Scalars option on to be able to color your Contour by 'Max-Velocity-Mag'. I believe the default was changed to not add this array as the array consists of only the Contour value. HTH, Cory On Thu, Mar 3, 2016 at 3:46 PM, Samuel Key wrote: > All, > > I try to keep up with PV's latest releases, but I think I missed something > along the way -- > > Platform: PV-5.0.0-64Bit; Windows-7 64Bit; Nvidia F4800 Graphics; EnSight > Gold Binary simulation results file-sets. > > This datum set has 498244 FE cells, 520072 nodal points, and see attached > *.case file for cell and point datum sets. > > With respect to the attached picture, > > (1) The only cell and point item loaded is the point scalar quantity > 'Max-Velocity-Mag.' > > (2) Upper-Right Image: Fringe plot directly from 'famego.results.case' > > (3) Upper-Left Image: Case>Calculator1>Contour1; the expected display. > > (4) Lower-Left Image: Case>Countour2; Contour2 control panel shows > 'Max-Velocity-Mag' and contour levels "to be contoured." > > Difficulty: The Lower-left image shows solid-color iso-surfaces for > 'Max-Velocity Mag' but a 'vtkBlockColors' legend, and the top drop-down > available-items menu is missing 'Max-Velocity-Mag' as a choice and has > substituted(?) 'vtkBlockColors.' > > Question: Is there now something different I should be doing to use the > 'Case>Contour' pipeline? > > Samuel Key > FMA Development > 1005 39th Ave NE > Great Falls, Montana 59404 > USA > > > > > > > > > > > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From cory.quammen at kitware.com Tue Nov 15 11:23:04 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Tue, 15 Nov 2016 11:23:04 -0500 Subject: [Paraview] Issue with the vtkStructuredPointsReader or Writer when reading/writing binary files? In-Reply-To: References: Message-ID: Evan, I can confirm loading your attached test.vtk file does not act right in ParaView's development branch. The image dimensions and data arrays appear to be read, but nothing shows up in the view, which is not expected. I do not see the warning message you reported, though. Could you zip up and share the VTK ASCII file that works as expected? Thanks, Cory On Fri, Mar 25, 2016 at 6:37 PM, Evan Kao wrote: > Hello all, > > I'm working with vtkImageData in Paraview 5.0 (Windows 7, 64-bit) and > sometimes I need to save data in binary legacy (.vtk) format for backwards > compatibility with older VTK versions. However, I had issues reading the > resulting file using VTK 5.10, or reading it back into Paraview. The > following error pops up: > > Warning: In > C:\bbd\df0abce0\source-paraview\VTK\IO\Legacy\vtkStructuredPointsReader.cxx, > line 293 > > vtkStructuredPointsReader (000000000D80D7D0): Not all meta data was read > form the file. > > > I attached a sample file. ASCII data appears to work fine. > > - Evan Kao > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From aashish.chaudhary at kitware.com Tue Nov 15 11:53:00 2016 From: aashish.chaudhary at kitware.com (Aashish Chaudhary) Date: Tue, 15 Nov 2016 16:53:00 +0000 Subject: [Paraview] paraviewgeo In-Reply-To: References: Message-ID: Thanks, I'll check it out. On Fri, Nov 11, 2016 at 3:01 PM andrealphus wrote: > This would be an example of the type of shapefiles; > > https://pubs.usgs.gov/dds/dds-81/GeologicalMaps/DigitalMap/Faults/ > > (a shape file of faults in the long valley region of California) > > On Fri, Nov 11, 2016 at 11:48 AM, Aashish Chaudhary > wrote: > > Can you send me a shapefile that I can confirm works? (I have plenty but > > just wanted to make sure I test with yours). > > > > Thanks, > > > > > > On Fri, Nov 11, 2016 at 2:25 PM andrealphus > wrote: > >> > >> The seismic datasets are coming from my own inversion/tomography code, > >> and I usually just format them into a Paraview readable netcdf format. > >> > >> In terms of projection capabilties, I'd be using it as soon as you > >> push it. But, like I mentioned, I have reasoanble workarounds > >> (projecting everything pre import). > >> > >> A gdal plugin that could load shape files would be really useful! > >> > >> > >> > >> On Fri, Nov 11, 2016 at 9:40 AM, Aashish Chaudhary > >> wrote: > >> > On Fri, Nov 11, 2016 at 12:15 PM andrealphus > >> > wrote: > >> >> > >> >> I typically use it for plotting 3D volumes from geophysical > inversions > >> >> (seismic/gravity,etc), underneath digital elevation models. Sometimes > >> >> I bring in aerial imagery, earthquake locations etc. > >> > > >> > > >> > This all sounds very exciting. What format do you use for seismic > >> > dataset? > >> >> > >> >> > >> >> Things that I would find helpful would be a plugin to handle > >> >> coordinate transformations. (hence my interest in a gdal plugin) Now > I > >> >> just make sure everything is in the same UTM beforehand, but its not > >> >> ideal. > >> > > >> > > >> > That would be actually using the PROJ4. I will see if we can push a > >> > plugin > >> > that can expose the projection capabilities. How soon do you need > this? > >> >> > >> >> > >> >> I am also very interested in being able to bring in shape files so I > >> >> can overlay geologically mapped units. > >> > > >> > > >> > Right, the GDAL plugin will enable loading of shapefiles (and other > >> > formats). Let me find the status of our code and I can follow up with > >> > you on > >> > it sometime very soon. > >> > > >> > Thanks, > >> > > >> >> > >> >> > >> >> Also just kind of curious of what's out there. There are some things > >> >> that I dont have an immediate need for, but would find interesting > >> >> (plotting earthquake focal mechanisms, etc). > >> >> > >> >> > >> >> On Fri, Nov 11, 2016 at 8:00 AM, Aashish Chaudhary > >> >> wrote: > >> >> > Dear Andrea, > >> >> > > >> >> > We are using ParaView for earth science indirectly (helping > others). > >> >> > Which > >> >> > plugins or filters to use is dependent on the use-case and data > type. > >> >> > We > >> >> > do > >> >> > have GDAL plugin for ParaView (require <2.0 of gdal though) and > will > >> >> > require > >> >> > some updates. What kind of data / visualization you are interested > >> >> > in? > >> >> > > >> >> > Thanks, > >> >> > > >> >> > > >> >> > On Thu, Nov 10, 2016 at 6:48 PM andrealphus > > >> >> > wrote: > >> >> >> > >> >> >> Anyone out there actively using Paraview for earth science, and > has > >> >> >> recommendations on useful plugins? Is there anytype of gdal > plugin? > >> >> >> Coordinate transformation? Did anyone every pick up the torch from > >> >> >> the > >> >> >> previous paraviewgeo plugin library? > >> >> >> _______________________________________________ > >> >> >> 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 > >> >> >> > >> >> >> Search the list archives at: > http://markmail.org/search/?q=ParaView > >> >> >> > >> >> >> Follow this link to subscribe/unsubscribe: > >> >> >> http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cindy.castro at uvsq.fr Tue Nov 15 12:13:17 2016 From: cindy.castro at uvsq.fr (Cindy Castro) Date: Tue, 15 Nov 2016 18:13:17 +0100 Subject: [Paraview] Big data set very slow to load (over 500Mb, Gb...) In-Reply-To: References: Message-ID: <98aa57f0-e635-cb11-b299-20e437a766cf@uvsq.fr> > Hello, > > I have the following question: commonly we do have large data set to > be run under paraview 5.0 installed over a cluster of 4 computers > (64Gb RAM, NVIDIA graphic cards for each, intel xeon CPU) connected to > 8 screens (interactive/immersive 3D wall with tracking). > > For instance one data is 1.5- 2 Go (fortran files converted in VTK, > hdf, netcdf). We do have strong difficultues to manage such a large > data. Apparently the loading and the tracking is extremely slow; Any > animation is extremely slow too. > > I tried to use filters like D3 and Decimation which improve but only > very slightly the situtation; still it takes some time when applied. > Maybe my settings are not optimized? > > Could someone help me : > > - to understand why my final configuration is still so slow ? > > - is there any other solution to improve the situation ? > > With my anticipated thanks for any help. > > Sincerely. > --- L'absence de virus dans ce courrier ?lectronique a ?t? v?rifi?e par le logiciel antivirus Avast. https://www.avast.com/antivirus From kmorel at sandia.gov Tue Nov 15 13:27:49 2016 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Tue, 15 Nov 2016 18:27:49 +0000 Subject: [Paraview] [EXTERNAL] animating particle pathlines In-Reply-To: <30F608EDCF71CB43B017B063329D278601FC400619@EXMBX1.hrw-uk.local> References: <30F608EDCF71CB43B017B063329D278601FC3FFBD2@EXMBX1.hrw-uk.local> <30F608EDCF71CB43B017B063329D278601FC400130@EXMBX1.hrw-uk.local> <2B0D898A-12A0-415C-82DC-AC0C45A39C1B@sandia.gov> <30F608EDCF71CB43B017B063329D278601FC400619@EXMBX1.hrw-uk.local> Message-ID: <2D253AD4-3A98-4482-B347-379299466B26@sandia.gov> (Replying back to the ParaView mailing list so others can benefit from the conversation or fill in my knowledge gaps.) I admit that I have found the Temporal Particles To Pathlines filter sometimes temperamental. I have to guess what might be going wrong. Here are some possibilities: ? The filter draws lines of data as points move around over time. No lines will be drawn unless you hit that play button. ? The filter needs to have consistent ids to know how to attach points from one time step to another. ? The filter has a mask points feature that by default tracks only 1 out of every 100 points. You might need to lower that (possibly down to 1) to make things visible. ? The filter has a max step distance option that will ignore connections of particles that move more than a certain distance between time steps. By default, that distance is 1 unit in every direction. If you have data that covers a large space, it might be the particles are moving too far to be tracked. You might need to bump that up. ? The filter relies on time metadata in its input dataset to track when time advances. If this metadata is not there, you will probably get some errors in the output message window (with one about DATA_TIME_STEPS), and you will get no output data. Without seeing your data, I don?t think I can narrow down the problem any further. -Ken From: "David I. Robinson" Date: Tuesday, November 15, 2016 at 2:32 AM To: "Moreland, Kenneth" Subject: RE: [EXTERNAL] [Paraview] animating particle pathlines Hi Ken, Do you know how to make that work? I?ve have wrestled with that filter endlessly with no success. I just get a blank screen, or it crashes. Dave From: Moreland, Kenneth [mailto:kmorel at sandia.gov] Sent: Monday, November 14, 2016 10:30 PM To: David I. Robinson Cc: paraview at paraview.org Subject: Re: [EXTERNAL] [Paraview] animating particle pathlines That sounds like a job for the "Temporal Particles To Pathlines" filter. -Ken Sent from my iPad so blame autocorrect. On Nov 14, 2016, at 10:54 AM, David I. Robinson > wrote: Hello, I?m trying to visualise lagrangian particle pathlines. I have run an openFoam simulation with particle tracking and would like to view the paths that the particles take. I have read lots of discussion of this on the internet, but without much success. I can load the data in Paraview and assign glyphs, but I can?t visualise the pathlines taken by the particles. I am cautious that Paraview might have some functionality for interpolating particle tracking from the eulerian data. I might end-up visualising this approximation, rather than the lagrangian data calculated on a timestep-by-timestep basis by openFoam. (Although an ability to do either or both would be useful!) So far, my best luck seems to have come from masking my data and then using the particlepath filter, using the un-masked data as my input and the masked data as a seed. This is OK, but requires me to incrementally increase the finished time to observe the particle paths. Can you offer any help? Dr David Robinson Engineer, Coastal Structures E: d.robinson at hrwallingford.com T: +44 (0)1491 822397 ________________________________ [R Wallingford Logo] HR Wallingford Howbery Park, Wallingford, Oxfordshire OX10 8BA, United Kingdom T: +44 (0)1491 835381 F: +44 (0)1491 832233 www.hrwallingford.com [R Wallingford Secondary Logo] ________________________________ ________________________________ HR Wallingford and its subsidiaries uses faxes and emails for confidential and legally privileged business communications. They do not of themselves create legal commitments. Disclosure to parties other than addressees requires our specific consent. We are not liable for unauthorised disclosures nor reliance upon them. If you have received this message in error please advise us immediately and destroy all copies of it. HR Wallingford Limited Howbery Park, Wallingford, Oxfordshire, OX10 8BA, United Kingdom Registered in England No. 02562099 ________________________________ _______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview This message has been scanned for viruses by MailControl, a service from BlackSpider Technology Click here to report this email as spam. ________________________________ HR Wallingford and its subsidiaries uses faxes and emails for confidential and legally privileged business communications. They do not of themselves create legal commitments. Disclosure to parties other than addressees requires our specific consent. We are not liable for unauthorised disclosures nor reliance upon them. If you have received this message in error please advise us immediately and destroy all copies of it. HR Wallingford Limited Howbery Park, Wallingford, Oxfordshire, OX10 8BA, United Kingdom Registered in England No. 02562099 ________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Tue Nov 15 14:39:24 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Tue, 15 Nov 2016 14:39:24 -0500 Subject: [Paraview] ANN: ParaView 5.2.0 now available for download Message-ID: We are pleased to announce that ParaView 5.2.0 is now available for download [1]. Release notes for ParaView 5.2.0 are on the Kitware blog [2]. For updates on features coming in future releases, please follow the Kitware Blog [3]. You can also let us know what you would like to see in ParaView [4]. - The ParaView Team [1] http://www.paraview.org/download [2] https://blog.kitware.com/paraview-5-2-0-release-notes/ [3] https://blog.kitware.com/tag/ParaView/ [4] http://paraview.uservoice.com From cornelis.bockemuehl at gmail.com Tue Nov 15 15:07:40 2016 From: cornelis.bockemuehl at gmail.com (=?UTF-8?Q?Cornelis_Bockem=C3=BChl?=) Date: Tue, 15 Nov 2016 21:07:40 +0100 Subject: [Paraview] Optional input ports Message-ID: Looks like I may have to provide an example that everybody can follow!? The "Multicorrelative Statistics" filter is already such an example! Reading the docs and looking into the server XML it is obvious that you can optionally provide a model as a second input port. However, I cannot find any way how to specify this second input: - Directly selecting it (next to the primary input) has the effect that the filter is greyed out in Paraview - no chance! - Selecting only the primary data input allows to choose the "Multicorrelative Statistics" filter just fine. I would expect that before pressing "Apply" I should still specify the second input (the model thus), but no chance: In the context menu, the "Change Input" option is greyed out - and I cannot find any other way to enter any second input data. - Pressing "Apply" does apply the filter, but without the optional model data. Now the "Change Input" would be avaliable in the context menu, but specifying any additional input NOW has no effect: the calculation is not redone any more... Bottom line: My first example was from a self-written filter, so there is still the possibility that I have done something wrong. But with the standard filter that comes with every Paraview installation I would expect that there MUST be some way to provide that second input data item!? I am simply lost here! Regards, Cornelis >Dear Parview users, > >This question seems trivial - but I do not find any solution on my own! > >I have a filter with one mandatory and two optional input ports, and this >is how I proceed with it: > >- Select some data object, then call that filter. It does not open the >input port item selection dialog because the one mandatory input is already >satisfied. > >- I want to add one of the optional inputs (or both) - but the "change >input" option is greyed! Strange - because for me this would be the logical >moment to specify additional input, i.e.: BEFORE pressing the Apply >button... > >- Ok, I press the Apply button thus. Of course the output is not what I >want because the optional inputs were missing... > >- However, now I can choose also the "change input" option - and I do so. I >select the two optional inputs. But now nothing happens any more - and now >the Apply button is grey, so no way to trigger an update of the output! > >To me this does not look very logical, so I assume that I am missing some >point... > >The other "intuitive option" would be to select all the desired input >items, and only then open the filter. However this is impossible from the >beginning because now the filter is already greyed in the menu as being >"not applicable"! > >Thanks for any helpful hints! > >Regards, >Cornelis Bockem?hl -- Cornelis Bockem?hl Basel, Schweiz -------------- next part -------------- An HTML attachment was scrubbed... URL: From mathieu.westphal at kitware.com Tue Nov 15 15:12:53 2016 From: mathieu.westphal at kitware.com (Mathieu Westphal) Date: Tue, 15 Nov 2016 21:12:53 +0100 Subject: [Paraview] Optional input ports In-Reply-To: References: Message-ID: Hello Can you provide your xml file ? Regards, Mathieu Westphal On Tue, Nov 15, 2016 at 9:07 PM, Cornelis Bockem?hl < cornelis.bockemuehl at gmail.com> wrote: > Looks like I may have to provide an example that everybody can follow!? > > The "Multicorrelative Statistics" filter is already such an example! > > Reading the docs and looking into the server XML it is obvious that you > can optionally provide a model as a second input port. However, I cannot > find any way how to specify this second input: > > - Directly selecting it (next to the primary input) has the effect that > the filter is greyed out in Paraview - no chance! > > - Selecting only the primary data input allows to choose the > "Multicorrelative Statistics" filter just fine. I would expect that before > pressing "Apply" I should still specify the second input (the model thus), > but no chance: In the context menu, the "Change Input" option is greyed out > - and I cannot find any other way to enter any second input data. > > - Pressing "Apply" does apply the filter, but without the optional model > data. Now the "Change Input" would be avaliable in the context menu, but > specifying any additional input NOW has no effect: the calculation is not > redone any more... > > Bottom line: My first example was from a self-written filter, so there is > still the possibility that I have done something wrong. But with the > standard filter that comes with every Paraview installation I would expect > that there MUST be some way to provide that second input data item!? > > I am simply lost here! > > Regards, > Cornelis > > >Dear Parview users, > > > >This question seems trivial - but I do not find any solution on my own! > > > >I have a filter with one mandatory and two optional input ports, and this > >is how I proceed with it: > > > >- Select some data object, then call that filter. It does not open the > >input port item selection dialog because the one mandatory input is already > >satisfied. > > > >- I want to add one of the optional inputs (or both) - but the "change > >input" option is greyed! Strange - because for me this would be the logical > >moment to specify additional input, i.e.: BEFORE pressing the Apply > >button... > > > >- Ok, I press the Apply button thus. Of course the output is not what I > >want because the optional inputs were missing... > > > >- However, now I can choose also the "change input" option - and I do so. I > >select the two optional inputs. But now nothing happens any more - and now > >the Apply button is grey, so no way to trigger an update of the output! > > > >To me this does not look very logical, so I assume that I am missing some > >point... > > > >The other "intuitive option" would be to select all the desired input > >items, and only then open the filter. However this is impossible from the > >beginning because now the filter is already greyed in the menu as being > >"not applicable"! > > > >Thanks for any helpful hints! > > > >Regards, > >Cornelis Bockem?hl > > > -- > Cornelis Bockem?hl > Basel, Schweiz > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cornelis.bockemuehl at gmail.com Tue Nov 15 16:19:06 2016 From: cornelis.bockemuehl at gmail.com (=?UTF-8?Q?Cornelis_Bockem=C3=BChl?=) Date: Tue, 15 Nov 2016 22:19:06 +0100 Subject: [Paraview] Optional input ports In-Reply-To: References: Message-ID: Dear Mathieu, As I said I do not think it is a problem in my XML or C++ code, but a "simple user question"! Which is why I explained that it also happens with the "standard filter" from the standard package: Multicorrelative Statistics. For this reason I am now providing also simply the XML for that filter which is from the following file in the paraview sources: ParaViewCore/ServerManager/SMApplication/Resources/filter.xml """"""""""""""""""""""""""""" This filter either computes a statistical model of a dataset or takes such a model as its second input. Then, the model (however it is obtained) may optionally be used to assess the input dataset.<p> This filter computes the covariance matrix for all the arrays you select plus the mean of each array. The model is thus a multivariate Gaussian distribution with the mean vector and variances provided. Data is assessed using this model by computing the Mahalanobis distance for each input point. This distance will always be positive.<p> The learned model output format is rather dense and can be confusing, so it is discussed here. The first filter output is a multiblock dataset consisting of 2 tables: <ol> <li> Raw covariance data. <li> Covariance matrix and its Cholesky decomposition. </ol> The raw covariance table has 3 meaningful columns: 2 titled "Column1" and "Column2" whose entries generally refer to the N arrays you selected when preparing the filter and 1 column titled "Entries" that contains numeric values. The first row will always contain the number of observations in the statistical analysis. The next N rows contain the mean for each of the N arrays you selected. The remaining rows contain covariances of pairs of arrays.<p> The second table (covariance matrix and Cholesky decomposition) contains information derived from the raw covariance data of the first table. The first N rows of the first column contain the name of one array you selected for analysis. These rows are followed by a single entry labeled "Cholesky" for a total of N+1 rows. The second column, Mean contains the mean of each variable in the first N entries and the number of observations processed in the final (N+1) row.<p> The remaining columns (there are N, one for each array) contain 2 matrices in triangular format. The upper right triangle contains the covariance matrix (which is symmetric, so its lower triangle may be inferred). The lower left triangle contains the Cholesky decomposition of the covariance matrix (which is triangular, so its upper triangle is zero). Because the diagonal must be stored for both matrices, an additional row is required — hence the N+1 rows and the final entry of the column named "Column". The input to the filter. Arrays from this dataset will be used for computing statistics and/or assessed by a statistical model. A previously-calculated model with which to assess a separate dataset. This input is optional. Specify which type of field data the arrays will be drawn from. Choose arrays whose entries will be used to form observations for statistical analysis. Specify the task to be performed: modeling and/or assessment. <ol> <li> "Detailed model of input data," creates a set of output tables containing a calculated statistical model of the <b>entire</b> input dataset;</li> <li> "Model a subset of the data," creates an output table (or tables) summarizing a <b>randomly-chosen subset</b> of the input dataset;</li> <li> "Assess the data with a model," adds attributes to the first input dataset using a model provided on the second input port; and</li> <li> "Model and assess the same data," is really just operations 2 and 3 above applied to the same input dataset. The model is first trained using a fraction of the input data and then the entire dataset is assessed using that model.</li> </ol> When the task includes creating a model (i.e., tasks 2, and 4), you may adjust the fraction of the input dataset used for training. You should avoid using a large fraction of the input data for training as you will then not be able to detect overfitting. The <i>Training fraction</i> setting will be ignored for tasks 1 and 3. Specify the fraction of values from the input dataset to be used for model fitting. The exact set of values is chosen at random from the dataset. """"""""""""""""""""""""""""" You find the explanation about the "optional" model input, and also the second "InputProperty" tag, with the name "ModelInput", and the "Hint" "optional". My problem is that if I am running ParaView just normally and try to provide a first and second input to that filter, I do not find a way to provide the second one that is "optional"! With my own filter I found now some stupid workaround: just drop the "optional" in the "Hints": then it is not any more optional, but a window pops up that asks for the inputs. In this case I can of course specify the second input - or leave it: It is then a question of the RequestData function in the C++ to handle this case properly: a second input with a null pointer. But this is a) probably not how it SHOULD work, and b) not an option for the standard filters (such as Multicorrelative Statistics) - if I do not want to change all the paraview sources (xml) and recompile... Sorry to bother this list at all because I am afraid that the solution is in some very simple and "almost obvious" little thing that I have overlooked in the paraview GUI... ;-) Regards, Cornelis 2016-11-15 21:12 GMT+01:00 Mathieu Westphal : > Hello > > Can you provide your xml file ? > > Regards, > > Mathieu Westphal > > On Tue, Nov 15, 2016 at 9:07 PM, Cornelis Bockem?hl < > cornelis.bockemuehl at gmail.com> wrote: > >> Looks like I may have to provide an example that everybody can follow!? >> >> The "Multicorrelative Statistics" filter is already such an example! >> >> Reading the docs and looking into the server XML it is obvious that you >> can optionally provide a model as a second input port. However, I cannot >> find any way how to specify this second input: >> >> - Directly selecting it (next to the primary input) has the effect that >> the filter is greyed out in Paraview - no chance! >> >> - Selecting only the primary data input allows to choose the >> "Multicorrelative Statistics" filter just fine. I would expect that before >> pressing "Apply" I should still specify the second input (the model thus), >> but no chance: In the context menu, the "Change Input" option is greyed out >> - and I cannot find any other way to enter any second input data. >> >> - Pressing "Apply" does apply the filter, but without the optional model >> data. Now the "Change Input" would be avaliable in the context menu, but >> specifying any additional input NOW has no effect: the calculation is not >> redone any more... >> >> Bottom line: My first example was from a self-written filter, so there is >> still the possibility that I have done something wrong. But with the >> standard filter that comes with every Paraview installation I would expect >> that there MUST be some way to provide that second input data item!? >> >> I am simply lost here! >> >> Regards, >> Cornelis >> >> >Dear Parview users, >> > >> >This question seems trivial - but I do not find any solution on my own! >> > >> >I have a filter with one mandatory and two optional input ports, and this >> >is how I proceed with it: >> > >> >- Select some data object, then call that filter. It does not open the >> >input port item selection dialog because the one mandatory input is already >> >satisfied. >> > >> >- I want to add one of the optional inputs (or both) - but the "change >> >input" option is greyed! Strange - because for me this would be the logical >> >moment to specify additional input, i.e.: BEFORE pressing the Apply >> >button... >> > >> >- Ok, I press the Apply button thus. Of course the output is not what I >> >want because the optional inputs were missing... >> > >> >- However, now I can choose also the "change input" option - and I do so. I >> >select the two optional inputs. But now nothing happens any more - and now >> >the Apply button is grey, so no way to trigger an update of the output! >> > >> >To me this does not look very logical, so I assume that I am missing some >> >point... >> > >> >The other "intuitive option" would be to select all the desired input >> >items, and only then open the filter. However this is impossible from the >> >beginning because now the filter is already greyed in the menu as being >> >"not applicable"! >> > >> >Thanks for any helpful hints! >> > >> >Regards, >> >Cornelis Bockem?hl >> >> >> -- >> Cornelis Bockem?hl >> Basel, Schweiz >> >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > -- Cornelis Bockem?hl Basel, Schweiz -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcmendez at aggies.ncat.edu Tue Nov 15 16:35:01 2016 From: jcmendez at aggies.ncat.edu (Julio Mendez) Date: Tue, 15 Nov 2016 16:35:01 -0500 Subject: [Paraview] Problem with plot over line in 2D data sets Message-ID: Dear all; I wrote my own subroutine to export my CFD data to Paraview using ensight gold format. I have two different subroutines. One for 3D datasets and another for 2D datasets. I did this because in Paraview although the vector field is 2D, the 3D subroutine allowed me to rotate a 2D datasets, which does not make sense. When I use the 2D subroutine the contour plot is a plane and it does not rotate. Ok. so far everything works perfect. I can obtain my contour plots and so forth. But, when I apply the filer: plot over line, the plot does not shown anything. It seems like paraview does not read anything., However, when I use the probe filter , the probe retrieve data from the dataset. What might be the problem? Thanks Julio Mendez -------------- next part -------------- An HTML attachment was scrubbed... URL: From mathieu.westphal at kitware.com Tue Nov 15 17:18:09 2016 From: mathieu.westphal at kitware.com (Mathieu Westphal) Date: Tue, 15 Nov 2016 23:18:09 +0100 Subject: [Paraview] Optional input ports In-Reply-To: References: Message-ID: Hello Sorry i missed the part when you said that a standard filter showed this behavior. Indeed, the behavior you are seeing is normal, considering the input management greyed out. One could argue the that it should be authorized to change input before applying but it is not supported. However, this part | Now the "Change Input" would be avaliable in the context menu, but specifying any additional input NOW has no effect: the calculation is not redone any more... Looks like a bug in your filter. I know nothing about statistics, but a tried specifying the optional model input this way with multicorelative, and it seems to change trigger a recomputation of the filter with different results. Regards, Mathieu Westphal On Tue, Nov 15, 2016 at 10:19 PM, Cornelis Bockem?hl < cornelis.bockemuehl at gmail.com> wrote: > Dear Mathieu, > > As I said I do not think it is a problem in my XML or C++ code, but a > "simple user question"! Which is why I explained that it also happens with > the "standard filter" from the standard package: Multicorrelative > Statistics. > > For this reason I am now providing also simply the XML for that filter > which is from the following file in the paraview sources: > > ParaViewCore/ServerManager/SMApplication/Resources/filter.xml > > """"""""""""""""""""""""""""" > label="Multicorrelative Statistics" > name="MulticorrelativeStatistics"> > short_help="Compute a statistical model of a dataset > and/or assess the dataset with a statistical model."> > This filter either computes a statistical model of a dataset or takes > such a model as its second input. Then, the model (however it is > obtained) may optionally be used to assess the input > dataset.<p> > This filter computes the covariance matrix for all the arrays you > select > plus the mean of each array. The model is thus a multivariate > Gaussian > distribution with the mean vector and variances provided. Data is > assessed using this model by computing the Mahalanobis distance for > each > input point. This distance will always be positive.<p> The > learned > model output format is rather dense and can be confusing, so it is > discussed here. The first filter output is a multiblock dataset > consisting of 2 tables: <ol> <li> Raw covariance data. > <li> Covariance matrix and its Cholesky decomposition. > </ol> > The raw covariance table has 3 meaningful columns: 2 titled > "Column1" and > "Column2" whose entries generally refer to the N arrays you selected > when > preparing the filter and 1 column titled "Entries" that contains > numeric > values. The first row will always contain the number of observations > in > the statistical analysis. The next N rows contain the mean for each > of > the N arrays you selected. The remaining rows contain covariances of > pairs of arrays.<p> The second table (covariance matrix and > Cholesky decomposition) contains information derived from the raw > covariance data of the first table. The first N rows of the first > column > contain the name of one array you selected for analysis. These rows > are > followed by a single entry labeled "Cholesky" for a total of N+1 > rows. > The second column, Mean contains the mean of each variable in the > first N > entries and the number of observations processed in the final (N+1) > row.<p> The remaining columns (there are N, one for each array) > contain 2 matrices in triangular format. The upper right triangle > contains the covariance matrix (which is symmetric, so its lower > triangle > may be inferred). The lower left triangle contains the Cholesky > decomposition of the covariance matrix (which is triangular, so its > upper > triangle is zero). Because the diagonal must be stored for both > matrices, > an additional row is required — hence the N+1 > rows and > the final entry of the column named "Column". > name="Input" > port_index="0"> > > > > > > > > > > > > > > The input to the filter. Arrays from this dataset > will > be used for computing statistics and/or assessed by a statistical > model. > > name="ModelInput" > null_on_empty="1" > port_index="1"> > > > > > > > > > > > > > A previously-calculated model with which to assess a > separate dataset. This input is optional. > > default_values="0" > name="AttributeMode" > number_of_elements="1"> > name="enum"> > > name="Input" /> > > > Specify which type of field data the arrays will be > drawn from. > > command="EnableAttributeArray" > label="Variables of Interest" > name="SelectArrays" > number_of_elements_per_command="1" > repeat_command="1"> > > > name="Input" /> > name="AttributeMode" /> > > > Choose arrays whose entries will be used to form > observations for statistical analysis. > > command="SetTask" > default_values="3" > name="Task" > number_of_elements="1"> > > value="0" /> > value="1" /> > value="2" /> > value="3" /> > > Specify the task to be performed: modeling and/or > assessment. <ol> <li> "Detailed model of input data," > creates a set of output tables containing a calculated statistical > model of the <b>entire</b> input dataset;</li> > <li> "Model a subset of the data," creates an output table > (or > tables) summarizing a <b>randomly-chosen subset</b> of > the > input dataset;</li> <li> "Assess the data with a > model," > adds attributes to the first input dataset using a model provided > on > the second input port; and</li> <li> "Model and assess > the > same data," is really just operations 2 and 3 above applied to the > same > input dataset. The model is first trained using a fraction of the > input > data and then the entire dataset is assessed using that > model.</li> </ol> When the task includes creating a > model > (i.e., tasks 2, and 4), you may adjust the fraction of the input > dataset used for training. You should avoid using a large fraction > of > the input data for training as you will then not be able to detect > overfitting. The <i>Training fraction</i> setting will > be > ignored for tasks 1 and 3. > > command="SetTrainingFraction" > default_values="0.1" > name="TrainingFraction" > number_of_elements="1"> > min="0" > name="training_range" /> > Specify the fraction of values from the input > dataset to > be used for model fitting. The exact set of values is chosen at > random > from the dataset. > > name="Statistical Model" /> > name="Assessed Data" /> > > > > > > > > > """"""""""""""""""""""""""""" > > You find the explanation about the "optional" model input, and also the > second "InputProperty" tag, with the name "ModelInput", and the "Hint" > "optional". > > My problem is that if I am running ParaView just normally and try to > provide a first and second input to that filter, I do not find a way to > provide the second one that is "optional"! > > With my own filter I found now some stupid workaround: just drop the > "optional" in the "Hints": then it is not any more optional, but a window > pops up that asks for the inputs. In this case I can of course specify the > second input - or leave it: It is then a question of the RequestData > function in the C++ to handle this case properly: a second input with a > null pointer. > > But this is > > a) probably not how it SHOULD work, and > b) not an option for the standard filters (such as Multicorrelative > Statistics) - if I do not want to change all the paraview sources (xml) and > recompile... > > Sorry to bother this list at all because I am afraid that the solution is > in some very simple and "almost obvious" little thing that I have > overlooked in the paraview GUI... ;-) > > Regards, > Cornelis > > > 2016-11-15 21:12 GMT+01:00 Mathieu Westphal > : > >> Hello >> >> Can you provide your xml file ? >> >> Regards, >> >> Mathieu Westphal >> >> On Tue, Nov 15, 2016 at 9:07 PM, Cornelis Bockem?hl < >> cornelis.bockemuehl at gmail.com> wrote: >> >>> Looks like I may have to provide an example that everybody can follow!? >>> >>> The "Multicorrelative Statistics" filter is already such an example! >>> >>> Reading the docs and looking into the server XML it is obvious that you >>> can optionally provide a model as a second input port. However, I cannot >>> find any way how to specify this second input: >>> >>> - Directly selecting it (next to the primary input) has the effect that >>> the filter is greyed out in Paraview - no chance! >>> >>> - Selecting only the primary data input allows to choose the >>> "Multicorrelative Statistics" filter just fine. I would expect that before >>> pressing "Apply" I should still specify the second input (the model thus), >>> but no chance: In the context menu, the "Change Input" option is greyed out >>> - and I cannot find any other way to enter any second input data. >>> >>> - Pressing "Apply" does apply the filter, but without the optional model >>> data. Now the "Change Input" would be avaliable in the context menu, but >>> specifying any additional input NOW has no effect: the calculation is not >>> redone any more... >>> >>> Bottom line: My first example was from a self-written filter, so there >>> is still the possibility that I have done something wrong. But with the >>> standard filter that comes with every Paraview installation I would expect >>> that there MUST be some way to provide that second input data item!? >>> >>> I am simply lost here! >>> >>> Regards, >>> Cornelis >>> >>> >Dear Parview users, >>> > >>> >This question seems trivial - but I do not find any solution on my own! >>> > >>> >I have a filter with one mandatory and two optional input ports, and this >>> >is how I proceed with it: >>> > >>> >- Select some data object, then call that filter. It does not open the >>> >input port item selection dialog because the one mandatory input is already >>> >satisfied. >>> > >>> >- I want to add one of the optional inputs (or both) - but the "change >>> >input" option is greyed! Strange - because for me this would be the logical >>> >moment to specify additional input, i.e.: BEFORE pressing the Apply >>> >button... >>> > >>> >- Ok, I press the Apply button thus. Of course the output is not what I >>> >want because the optional inputs were missing... >>> > >>> >- However, now I can choose also the "change input" option - and I do so. I >>> >select the two optional inputs. But now nothing happens any more - and now >>> >the Apply button is grey, so no way to trigger an update of the output! >>> > >>> >To me this does not look very logical, so I assume that I am missing some >>> >point... >>> > >>> >The other "intuitive option" would be to select all the desired input >>> >items, and only then open the filter. However this is impossible from the >>> >beginning because now the filter is already greyed in the menu as being >>> >"not applicable"! >>> > >>> >Thanks for any helpful hints! >>> > >>> >Regards, >>> >Cornelis Bockem?hl >>> >>> >>> -- >>> Cornelis Bockem?hl >>> Basel, Schweiz >>> >>> _______________________________________________ >>> 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 >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >>> >> > > > -- > Cornelis Bockem?hl > Basel, Schweiz > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cornelis.bockemuehl at gmail.com Tue Nov 15 17:41:11 2016 From: cornelis.bockemuehl at gmail.com (=?UTF-8?Q?Cornelis_Bockem=C3=BChl?=) Date: Tue, 15 Nov 2016 23:41:11 +0100 Subject: [Paraview] Optional input ports In-Reply-To: References: Message-ID: Hello Mathieu, Right: also for me "something" is changing - just after adding the second input: I will have to check whether it is indeed the right thing! So maybe this is indeed the way how it should operate - and I have to see that it does it the same way also for my own filter. I was fixed on the expectation that I would have to at least press "Apply" again - or even be able to define the second input already before doing a first "Apply" - but maybe this is not what the Paraview designers had in mind... However, just reasoning: In a simple case (like also mine) it may not be a big deal to do the calculation twice, but if it is more "serious", this extra "Apply" (once without then once more with the second input) looks a bit weird to me!? Anyway, let's try to play according to the rules - and change them only with very serious reasons! Thanks and regards, Cornelis 2016-11-15 23:18 GMT+01:00 Mathieu Westphal : > Hello > > Sorry i missed the part when you said that a standard filter showed this > behavior. > Indeed, the behavior you are seeing is normal, considering the input > management greyed out. One could argue the that it should be authorized to > change input before applying but it is not supported. > > However, this part > | Now the "Change Input" would be avaliable in the context menu, but > specifying any additional input NOW has no effect: the calculation is not > redone any more... > > Looks like a bug in your filter. I know nothing about statistics, but a > tried specifying the optional model input this way with multicorelative, > and it seems to change trigger a recomputation of the filter with different > results. > > Regards, > > Mathieu Westphal > > On Tue, Nov 15, 2016 at 10:19 PM, Cornelis Bockem?hl < > cornelis.bockemuehl at gmail.com> wrote: > >> Dear Mathieu, >> >> As I said I do not think it is a problem in my XML or C++ code, but a >> "simple user question"! Which is why I explained that it also happens with >> the "standard filter" from the standard package: Multicorrelative >> Statistics. >> >> For this reason I am now providing also simply the XML for that filter >> which is from the following file in the paraview sources: >> >> ParaViewCore/ServerManager/SMApplication/Resources/filter.xml >> >> """"""""""""""""""""""""""""" >> > label="Multicorrelative Statistics" >> name="MulticorrelativeStatistics"> >> > short_help="Compute a statistical model of a dataset >> and/or assess the dataset with a statistical model."> >> This filter either computes a statistical model of a dataset or >> takes >> such a model as its second input. Then, the model (however it is >> obtained) may optionally be used to assess the input >> dataset.<p> >> This filter computes the covariance matrix for all the arrays you >> select >> plus the mean of each array. The model is thus a multivariate >> Gaussian >> distribution with the mean vector and variances provided. Data is >> assessed using this model by computing the Mahalanobis distance for >> each >> input point. This distance will always be positive.<p> The >> learned >> model output format is rather dense and can be confusing, so it is >> discussed here. The first filter output is a multiblock dataset >> consisting of 2 tables: <ol> <li> Raw covariance data. >> <li> Covariance matrix and its Cholesky decomposition. >> </ol> >> The raw covariance table has 3 meaningful columns: 2 titled >> "Column1" and >> "Column2" whose entries generally refer to the N arrays you >> selected when >> preparing the filter and 1 column titled "Entries" that contains >> numeric >> values. The first row will always contain the number of >> observations in >> the statistical analysis. The next N rows contain the mean for each >> of >> the N arrays you selected. The remaining rows contain covariances of >> pairs of arrays.<p> The second table (covariance matrix and >> Cholesky decomposition) contains information derived from the raw >> covariance data of the first table. The first N rows of the first >> column >> contain the name of one array you selected for analysis. These rows >> are >> followed by a single entry labeled "Cholesky" for a total of N+1 >> rows. >> The second column, Mean contains the mean of each variable in the >> first N >> entries and the number of observations processed in the final (N+1) >> row.<p> The remaining columns (there are N, one for each >> array) >> contain 2 matrices in triangular format. The upper right triangle >> contains the covariance matrix (which is symmetric, so its lower >> triangle >> may be inferred). The lower left triangle contains the Cholesky >> decomposition of the covariance matrix (which is triangular, so its >> upper >> triangle is zero). Because the diagonal must be stored for both >> matrices, >> an additional row is required — hence the N+1 >> rows and >> the final entry of the column named "Column". >> > name="Input" >> port_index="0"> >> >> >> >> >> >> >> >> >> >> >> >> >> >> The input to the filter. Arrays from this dataset >> will >> be used for computing statistics and/or assessed by a statistical >> model. >> >> > name="ModelInput" >> null_on_empty="1" >> port_index="1"> >> >> >> >> >> >> >> >> >> >> >> >> >> A previously-calculated model with which to assess >> a >> separate dataset. This input is optional. >> >> > default_values="0" >> name="AttributeMode" >> number_of_elements="1"> >> > name="enum"> >> >> > name="Input" /> >> >> >> Specify which type of field data the arrays will be >> drawn from. >> >> > command="EnableAttributeArray" >> label="Variables of Interest" >> name="SelectArrays" >> number_of_elements_per_command="1" >> repeat_command="1"> >> >> >> > name="Input" /> >> > name="AttributeMode" /> >> >> >> Choose arrays whose entries will be used to form >> observations for statistical analysis. >> >> > command="SetTask" >> default_values="3" >> name="Task" >> number_of_elements="1"> >> >> > value="0" /> >> > value="1" /> >> > value="2" /> >> > value="3" /> >> >> Specify the task to be performed: modeling and/or >> assessment. <ol> <li> "Detailed model of input data," >> creates a set of output tables containing a calculated statistical >> model of the <b>entire</b> input dataset;</li> >> <li> "Model a subset of the data," creates an output table >> (or >> tables) summarizing a <b>randomly-chosen subset</b> >> of the >> input dataset;</li> <li> "Assess the data with a >> model," >> adds attributes to the first input dataset using a model provided >> on >> the second input port; and</li> <li> "Model and >> assess the >> same data," is really just operations 2 and 3 above applied to >> the same >> input dataset. The model is first trained using a fraction of the >> input >> data and then the entire dataset is assessed using that >> model.</li> </ol> When the task includes creating a >> model >> (i.e., tasks 2, and 4), you may adjust the fraction of the input >> dataset used for training. You should avoid using a large >> fraction of >> the input data for training as you will then not be able to detect >> overfitting. The <i>Training fraction</i> setting >> will be >> ignored for tasks 1 and 3. >> >> > command="SetTrainingFraction" >> default_values="0.1" >> name="TrainingFraction" >> number_of_elements="1"> >> > min="0" >> name="training_range" /> >> Specify the fraction of values from the input >> dataset to >> be used for model fitting. The exact set of values is chosen at >> random >> from the dataset. >> >> > name="Statistical Model" /> >> > name="Assessed Data" /> >> >> >> >> >> >> >> >> >> """"""""""""""""""""""""""""" >> >> You find the explanation about the "optional" model input, and also the >> second "InputProperty" tag, with the name "ModelInput", and the "Hint" >> "optional". >> >> My problem is that if I am running ParaView just normally and try to >> provide a first and second input to that filter, I do not find a way to >> provide the second one that is "optional"! >> >> With my own filter I found now some stupid workaround: just drop the >> "optional" in the "Hints": then it is not any more optional, but a window >> pops up that asks for the inputs. In this case I can of course specify the >> second input - or leave it: It is then a question of the RequestData >> function in the C++ to handle this case properly: a second input with a >> null pointer. >> >> But this is >> >> a) probably not how it SHOULD work, and >> b) not an option for the standard filters (such as Multicorrelative >> Statistics) - if I do not want to change all the paraview sources (xml) and >> recompile... >> >> Sorry to bother this list at all because I am afraid that the solution is >> in some very simple and "almost obvious" little thing that I have >> overlooked in the paraview GUI... ;-) >> >> Regards, >> Cornelis >> >> >> 2016-11-15 21:12 GMT+01:00 Mathieu Westphal > >: >> >>> Hello >>> >>> Can you provide your xml file ? >>> >>> Regards, >>> >>> Mathieu Westphal >>> >>> On Tue, Nov 15, 2016 at 9:07 PM, Cornelis Bockem?hl < >>> cornelis.bockemuehl at gmail.com> wrote: >>> >>>> Looks like I may have to provide an example that everybody can follow!? >>>> >>>> The "Multicorrelative Statistics" filter is already such an example! >>>> >>>> Reading the docs and looking into the server XML it is obvious that you >>>> can optionally provide a model as a second input port. However, I cannot >>>> find any way how to specify this second input: >>>> >>>> - Directly selecting it (next to the primary input) has the effect that >>>> the filter is greyed out in Paraview - no chance! >>>> >>>> - Selecting only the primary data input allows to choose the >>>> "Multicorrelative Statistics" filter just fine. I would expect that before >>>> pressing "Apply" I should still specify the second input (the model thus), >>>> but no chance: In the context menu, the "Change Input" option is greyed out >>>> - and I cannot find any other way to enter any second input data. >>>> >>>> - Pressing "Apply" does apply the filter, but without the optional >>>> model data. Now the "Change Input" would be avaliable in the context menu, >>>> but specifying any additional input NOW has no effect: the calculation is >>>> not redone any more... >>>> >>>> Bottom line: My first example was from a self-written filter, so there >>>> is still the possibility that I have done something wrong. But with the >>>> standard filter that comes with every Paraview installation I would expect >>>> that there MUST be some way to provide that second input data item!? >>>> >>>> I am simply lost here! >>>> >>>> Regards, >>>> Cornelis >>>> >>>> >Dear Parview users, >>>> > >>>> >This question seems trivial - but I do not find any solution on my own! >>>> > >>>> >I have a filter with one mandatory and two optional input ports, and this >>>> >is how I proceed with it: >>>> > >>>> >- Select some data object, then call that filter. It does not open the >>>> >input port item selection dialog because the one mandatory input is already >>>> >satisfied. >>>> > >>>> >- I want to add one of the optional inputs (or both) - but the "change >>>> >input" option is greyed! Strange - because for me this would be the logical >>>> >moment to specify additional input, i.e.: BEFORE pressing the Apply >>>> >button... >>>> > >>>> >- Ok, I press the Apply button thus. Of course the output is not what I >>>> >want because the optional inputs were missing... >>>> > >>>> >- However, now I can choose also the "change input" option - and I do so. I >>>> >select the two optional inputs. But now nothing happens any more - and now >>>> >the Apply button is grey, so no way to trigger an update of the output! >>>> > >>>> >To me this does not look very logical, so I assume that I am missing some >>>> >point... >>>> > >>>> >The other "intuitive option" would be to select all the desired input >>>> >items, and only then open the filter. However this is impossible from the >>>> >beginning because now the filter is already greyed in the menu as being >>>> >"not applicable"! >>>> > >>>> >Thanks for any helpful hints! >>>> > >>>> >Regards, >>>> >Cornelis Bockem?hl >>>> >>>> >>>> -- >>>> Cornelis Bockem?hl >>>> Basel, Schweiz >>>> >>>> _______________________________________________ >>>> 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 >>>> >>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/paraview >>>> >>>> >>> >> >> >> -- >> Cornelis Bockem?hl >> Basel, Schweiz >> > > -- Cornelis Bockem?hl Basel, Schweiz -------------- next part -------------- An HTML attachment was scrubbed... URL: From yzhou at math.colostate.edu Wed Nov 16 01:37:01 2016 From: yzhou at math.colostate.edu (Yongcheng Zhou) Date: Tue, 15 Nov 2016 23:37:01 -0700 (MST) Subject: [Paraview] color isosurface using another data file Message-ID: Hi there, I searched the maillist but found that this has never been completely answered. I have two scalar vtk files, one for generating isosurface and the other for coloring the isosurface. How can I make this out? Thank you! -yc From cory.quammen at kitware.com Wed Nov 16 10:11:59 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Wed, 16 Nov 2016 10:11:59 -0500 Subject: [Paraview] color isosurface using another data file In-Reply-To: References: Message-ID: You can combine two data sources with the Append Attributes filter in ParaView, but they must have the same topology (points and cells). The scalar arrays should also have different names. If this is the case for your two VTK files, you can Contour by one, then color by the other. HTH, Cory On Wed, Nov 16, 2016 at 1:37 AM, Yongcheng Zhou wrote: > > Hi there, I searched the maillist but found that this has never been > completely answered. I have two scalar vtk files, one for generating > isosurface and the other for coloring the isosurface. How can I make this > out? Thank you! -yc > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview -- Cory Quammen Staff R&D Engineer Kitware, Inc. From yzhou at math.colostate.edu Wed Nov 16 13:27:22 2016 From: yzhou at math.colostate.edu (Yongcheng Zhou) Date: Wed, 16 Nov 2016 11:27:22 -0700 (MST) Subject: [Paraview] color isosurface using another data file In-Reply-To: References: Message-ID: Thanks a lot Cory - you saved my day! While this must be trivial for experienced paraview users, I still want to share the detailed steps: (1) load two files one by one; make sure they have the same topology and different scalar array names; (2) select both files in the pipeline window by using Shift key and clicking two file names; (3) with two files selected, go to Filters and choose Append Attributes; This creates a new object AppendAttributes1; (4) using this new object to create contour and color it. Now there are options in Contour by and Coloring when creating contour. Choose the array at your choice. Thanks again. -yc On Wed, 16 Nov 2016, Cory Quammen wrote: > You can combine two data sources with the Append Attributes filter in > ParaView, but they must have the same topology (points and cells). The > scalar arrays should also have different names. If this is the case > for your two VTK files, you can Contour by one, then color by the > other. > > HTH, > Cory > > On Wed, Nov 16, 2016 at 1:37 AM, Yongcheng Zhou > wrote: >> >> Hi there, I searched the maillist but found that this has never been >> completely answered. I have two scalar vtk files, one for generating >> isosurface and the other for coloring the isosurface. How can I make this >> out? Thank you! -yc >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview > > > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. > From cory.quammen at kitware.com Wed Nov 16 13:31:04 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Wed, 16 Nov 2016 13:31:04 -0500 Subject: [Paraview] color isosurface using another data file In-Reply-To: References: Message-ID: Great, I'm glad it worked for you. Thanks for the followup and the detailed directions. Cory On Wed, Nov 16, 2016 at 1:27 PM, Yongcheng Zhou wrote: > > Thanks a lot Cory - you saved my day! > > While this must be trivial for experienced paraview users, I still want to > share the detailed steps: (1) load two files one by one; make sure they have > the same topology and different scalar array names; (2) select both files in > the pipeline window by using Shift key and clicking two file names; (3) with > two files selected, go to Filters and choose Append Attributes; This creates > a new object AppendAttributes1; (4) using this new object to create contour > and color it. Now there are options in Contour by and Coloring when creating > contour. Choose the array > at your choice. > > Thanks again. > > -yc > > > On Wed, 16 Nov 2016, Cory Quammen wrote: > >> You can combine two data sources with the Append Attributes filter in >> ParaView, but they must have the same topology (points and cells). The >> scalar arrays should also have different names. If this is the case >> for your two VTK files, you can Contour by one, then color by the >> other. >> >> HTH, >> Cory >> >> On Wed, Nov 16, 2016 at 1:37 AM, Yongcheng Zhou >> wrote: >>> >>> >>> Hi there, I searched the maillist but found that this has never been >>> completely answered. I have two scalar vtk files, one for generating >>> isosurface and the other for coloring the isosurface. How can I make this >>> out? Thank you! -yc >>> _______________________________________________ >>> 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 >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >> >> >> >> >> -- >> Cory Quammen >> Staff R&D Engineer >> Kitware, Inc. >> > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From chris.willing at iinet.net.au Wed Nov 16 17:47:28 2016 From: chris.willing at iinet.net.au (Christoph Willing) Date: Thu, 17 Nov 2016 08:47:28 +1000 Subject: [Paraview] PythonQt build error Message-ID: <31681a3f-d328-f5c0-8271-1bf84f259e72@iinet.net.au> Building PythonQt plugin for paraview-5.2.0 fails due to use of Qt4::moc command in the generated file (build)/Plugins/PythonQtPlugin/CMakeFiles/PythonQtPlugin.dir/build.make I can work around the problem locally by using sed in my build script to replace "Qt4::moc" in that file with plain "moc" just after cmake configuration, but it would be nicer not to have to do that. No such problem with previous building of paraview-5.1.2. I'm using x86_64 Linux with cmake-3.5.2, qt-4.8.7 and PythonQt from commontk git repo 20160810. chris From florian.blachere at univ-nantes.fr Thu Nov 17 04:22:33 2016 From: florian.blachere at univ-nantes.fr (=?UTF-8?Q?Florian_Blach=c3=a8re?=) Date: Thu, 17 Nov 2016 10:22:33 +0100 Subject: [Paraview] ANN: ParaView 5.2.0 now available for download In-Reply-To: References: Message-ID: On 15/11/16 20:39, Cory Quammen wrote: > We are pleased to announce that ParaView 5.2.0 is now available for > download [1]. Release notes for ParaView 5.2.0 are on the Kitware blog > [2]. > > For updates on features coming in future releases, please follow the > Kitware Blog [3]. You can also let us know what you would like to see > in ParaView [4]. > > - The ParaView Team > > [1] http://www.paraview.org/download > [2] https://blog.kitware.com/paraview-5-2-0-release-notes/ > [3] https://blog.kitware.com/tag/ParaView/ > [4] http://paraview.uservoice.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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview Hello, In the binary package of the 5.2.0 release for linux (ParaView-5.2.0-Qt4-OpenGL2-MPI-Linux-64bit.tar.gz) the python libraries are under: 'ParaView-5.2.0-Qt4-OpenGL2-MPI-Linux-64bit/lib/python2.7', whereas with the 5.1.2 release, the files are located under: 'ParaView-5.1.2-Qt4-OpenGL2-MPI-Linux-64bit/lib/paraview-5.1/lib/python2.7'. Is it an intentional change ? Because with this new location, there is many file conflicts with system python libraries located in '/usr/lib/python2.7'. Thanks by advance, Regards. From guillaume.jacquenot at gmail.com Thu Nov 17 06:22:51 2016 From: guillaume.jacquenot at gmail.com (Guillaume Jacquenot) Date: Thu, 17 Nov 2016 12:22:51 +0100 Subject: [Paraview] Bug with PV 5.2 with python max / min Message-ID: Dear all, I have just tested the new paraview 5.2 with a python script. With versions 4.4.0 and 5.1.2, this script worked fine. In this script, I have a ProgrammableSource where I compute the maximum values of two scalars with max function. The code looks like this in the Script of the ProgrammableSource maxValue = max(1,2) This instruction creates an error: instead of using built-in max function, ParaView5.2 uses a max function defined with vtk and numpy: ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\Lib\site- packages\vtk\numpy_interface\algorithms.py line 315 And apparently, it does not work (whereas in 4.4.0 and 5.1.2 it worked, maybe these versions did not use this function). For the time being, I have created a dirty workaround where I have defined new min / max functions fmin = lambda x,y:x if xy else y Below are the message error and a python script that reproduces the bug Traceback (most recent call last): File "", line 20, in File "", line 326, in RequestData File "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\ site-packages\vtk\numpy_interface\algorithms.py", line 354, in max return _global_func(MaxImpl(), array, axis, controller) File "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\ site-packages\vtk\numpy_interface\algorithms.py", line 182, in _global_func res = impl.op()(array, axis) File "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\ site-packages\vtk\numpy_interface\internal_algorithms.py", line 363, in max ans = numpy.max(narray, axis) File "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\ site-packages\numpy\core\fromnumeric.py", line 2125, in amax out=out, keepdims=keepdims) File "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\ site-packages\numpy\core\_methods.py", line 17, in _amax out=out, keepdims=keepdims) Test case reproducing the bug: from paraview.simple import * paraview.simple._DisableFirstRenderCameraReset() programmableSource1 = ProgrammableSource() programmableSource1.Script = \ """gg=max(5.0,6.0) #This script generates a helix curve. #This is intended as the script of a 'Programmable Source' import math numPts = 80 # Points along Helix length = 8.0 # Length of Helix rounds = 3.0 # Number of times around #Get a vtk.PolyData object for the output pdo = self.GetPolyDataOutput() #This will store the points for the Helix newPts = vtk.vtkPoints() for i in range(0, numPts): #Generate the Points along the Helix x = i*length/numPts y = math.sin(i*rounds*2*math.pi/numPts) z = math.cos(i*rounds*2*math.pi/numPts) #Insert the Points into the vtkPoints object #The first parameter indicates the reference. #value for the point. Here we add them sequentially. #Note that the first point is at index 0 (not 1). newPts.InsertPoint(i, x,y,z) #Add the points to the vtkPolyData object #Right now the points are not associated with a line - #it is just a set of unconnected points. We need to #create a 'cell' object that ties points together #to make a curve (in this case). This is done below. #A 'cell' is just an object that tells how points are #connected to make a 1D, 2D, or 3D object. pdo.SetPoints(newPts) #Make a vtkPolyLine which holds the info necessary #to create a curve composed of line segments. This #really just hold constructor data that will be passed #to vtkPolyData to add a new line. aPolyLine = vtk.vtkPolyLine() #Indicate the number of points along the line aPolyLine.GetPointIds().SetNumberOfIds(numPts) for i in range(0,numPts): #Add the points to the line. The first value indicates #the order of the point on the line. The second value #is a reference to a point in a vtkPoints object. Depends #on the order that Points were added to vtkPoints object. #Note that this will not be associated with actual points #until it is added to a vtkPolyData object which holds a #vtkPoints object. aPolyLine.GetPointIds().SetId(i, i) #Allocate the number of 'cells' that will be added. We are just #adding one vtkPolyLine 'cell' to the vtkPolyData object. pdo.Allocate(1, 1) #Add the poly line 'cell' to the vtkPolyData object. pdo.InsertNextCell(aPolyLine.GetCellType(), aPolyLine.GetPointIds()) #The Helix is ready to plot! Click 'Apply'. """ renderView1 = GetActiveViewOrCreate('RenderView') programmableSource1Display = Show(programmableSource1, renderView1) renderView1.ResetCamera() Render() Guillaume Jacquenot -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Thu Nov 17 09:36:12 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Thu, 17 Nov 2016 09:36:12 -0500 Subject: [Paraview] Bug with PV 5.2 with python max / min In-Reply-To: References: Message-ID: Hi Guillaume, Thanks for the report. As a workaround, you can still use the builtin min() function with from __builtin__ import min as min, max as max HTH, Cory On Thu, Nov 17, 2016 at 6:22 AM, Guillaume Jacquenot wrote: > Dear all, > > I have just tested the new paraview 5.2 with a python script. > > With versions 4.4.0 and 5.1.2, this script worked fine. > > In this script, I have a ProgrammableSource where I compute the maximum > values of two scalars with max function. > > The code looks like this in the Script of the ProgrammableSource > > maxValue = max(1,2) > > This instruction creates an error: instead of using built-in max function, > ParaView5.2 uses a max function defined with vtk and numpy: > > ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\Lib\site-packages\vtk\numpy_interface\algorithms.py > line 315 > > And apparently, it does not work (whereas in 4.4.0 and 5.1.2 it worked, > maybe these versions did not use this function). > > For the time being, I have created a dirty workaround where I have defined > new min / max functions > > fmin = lambda x,y:x if x fmax = lambda x,y:x if x>y else y > > > > Below are the message error and a python script that reproduces the bug > > > Traceback (most recent call last): > File "", line 20, in > File "", line 326, in RequestData > File > "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\site-packages\vtk\numpy_interface\algorithms.py", > line 354, in max > return _global_func(MaxImpl(), array, axis, controller) > File > "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\site-packages\vtk\numpy_interface\algorithms.py", > line 182, in _global_func > res = impl.op()(array, axis) > File > "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\site-packages\vtk\numpy_interface\internal_algorithms.py", > line 363, in max > ans = numpy.max(narray, axis) > File > "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\site-packages\numpy\core\fromnumeric.py", > line 2125, in amax > out=out, keepdims=keepdims) > File > "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\site-packages\numpy\core\_methods.py", > line 17, in _amax > out=out, keepdims=keepdims) > > > > > Test case reproducing the bug: > > > > from paraview.simple import * > paraview.simple._DisableFirstRenderCameraReset() > programmableSource1 = ProgrammableSource() > programmableSource1.Script = \ > """gg=max(5.0,6.0) > #This script generates a helix curve. > #This is intended as the script of a 'Programmable Source' > import math > > numPts = 80 # Points along Helix > length = 8.0 # Length of Helix > rounds = 3.0 # Number of times around > > #Get a vtk.PolyData object for the output > pdo = self.GetPolyDataOutput() > > #This will store the points for the Helix > newPts = vtk.vtkPoints() > for i in range(0, numPts): > #Generate the Points along the Helix > x = i*length/numPts > y = math.sin(i*rounds*2*math.pi/numPts) > z = math.cos(i*rounds*2*math.pi/numPts) > #Insert the Points into the vtkPoints object > #The first parameter indicates the reference. > #value for the point. Here we add them sequentially. > #Note that the first point is at index 0 (not 1). > newPts.InsertPoint(i, x,y,z) > > #Add the points to the vtkPolyData object > #Right now the points are not associated with a line - > #it is just a set of unconnected points. We need to > #create a 'cell' object that ties points together > #to make a curve (in this case). This is done below. > #A 'cell' is just an object that tells how points are > #connected to make a 1D, 2D, or 3D object. > pdo.SetPoints(newPts) > > #Make a vtkPolyLine which holds the info necessary > #to create a curve composed of line segments. This > #really just hold constructor data that will be passed > #to vtkPolyData to add a new line. > aPolyLine = vtk.vtkPolyLine() > > #Indicate the number of points along the line > aPolyLine.GetPointIds().SetNumberOfIds(numPts) > for i in range(0,numPts): > #Add the points to the line. The first value indicates > #the order of the point on the line. The second value > #is a reference to a point in a vtkPoints object. Depends > #on the order that Points were added to vtkPoints object. > #Note that this will not be associated with actual points > #until it is added to a vtkPolyData object which holds a > #vtkPoints object. > aPolyLine.GetPointIds().SetId(i, i) > > #Allocate the number of 'cells' that will be added. We are just > #adding one vtkPolyLine 'cell' to the vtkPolyData object. > pdo.Allocate(1, 1) > > #Add the poly line 'cell' to the vtkPolyData object. > pdo.InsertNextCell(aPolyLine.GetCellType(), aPolyLine.GetPointIds()) > > #The Helix is ready to plot! Click 'Apply'. > """ > renderView1 = GetActiveViewOrCreate('RenderView') > programmableSource1Display = Show(programmableSource1, renderView1) > renderView1.ResetCamera() > Render() > > > > Guillaume Jacquenot > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From cory.quammen at kitware.com Thu Nov 17 09:49:17 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Thu, 17 Nov 2016 09:49:17 -0500 Subject: [Paraview] Bug with PV 5.2 with python max / min In-Reply-To: References: Message-ID: > As a workaround, you can still use the builtin min() function with > > from __builtin__ import min as min, max as max Actually, you should be able to just use from __builtin__ import min, max Also, I filed a bug report here: https://gitlab.kitware.com/paraview/paraview/issues/17024 Cory > HTH, > Cory > > On Thu, Nov 17, 2016 at 6:22 AM, Guillaume Jacquenot > wrote: >> Dear all, >> >> I have just tested the new paraview 5.2 with a python script. >> >> With versions 4.4.0 and 5.1.2, this script worked fine. >> >> In this script, I have a ProgrammableSource where I compute the maximum >> values of two scalars with max function. >> >> The code looks like this in the Script of the ProgrammableSource >> >> maxValue = max(1,2) >> >> This instruction creates an error: instead of using built-in max function, >> ParaView5.2 uses a max function defined with vtk and numpy: >> >> ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\Lib\site-packages\vtk\numpy_interface\algorithms.py >> line 315 >> >> And apparently, it does not work (whereas in 4.4.0 and 5.1.2 it worked, >> maybe these versions did not use this function). >> >> For the time being, I have created a dirty workaround where I have defined >> new min / max functions >> >> fmin = lambda x,y:x if x> fmax = lambda x,y:x if x>y else y >> >> >> >> Below are the message error and a python script that reproduces the bug >> >> >> Traceback (most recent call last): >> File "", line 20, in >> File "", line 326, in RequestData >> File >> "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\site-packages\vtk\numpy_interface\algorithms.py", >> line 354, in max >> return _global_func(MaxImpl(), array, axis, controller) >> File >> "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\site-packages\vtk\numpy_interface\algorithms.py", >> line 182, in _global_func >> res = impl.op()(array, axis) >> File >> "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\site-packages\vtk\numpy_interface\internal_algorithms.py", >> line 363, in max >> ans = numpy.max(narray, axis) >> File >> "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\site-packages\numpy\core\fromnumeric.py", >> line 2125, in amax >> out=out, keepdims=keepdims) >> File >> "D:\ParaView-5.2.0-Qt4-OpenGL2-Windows-64bit\bin\lib\site-packages\numpy\core\_methods.py", >> line 17, in _amax >> out=out, keepdims=keepdims) >> >> >> >> >> Test case reproducing the bug: >> >> >> >> from paraview.simple import * >> paraview.simple._DisableFirstRenderCameraReset() >> programmableSource1 = ProgrammableSource() >> programmableSource1.Script = \ >> """gg=max(5.0,6.0) >> #This script generates a helix curve. >> #This is intended as the script of a 'Programmable Source' >> import math >> >> numPts = 80 # Points along Helix >> length = 8.0 # Length of Helix >> rounds = 3.0 # Number of times around >> >> #Get a vtk.PolyData object for the output >> pdo = self.GetPolyDataOutput() >> >> #This will store the points for the Helix >> newPts = vtk.vtkPoints() >> for i in range(0, numPts): >> #Generate the Points along the Helix >> x = i*length/numPts >> y = math.sin(i*rounds*2*math.pi/numPts) >> z = math.cos(i*rounds*2*math.pi/numPts) >> #Insert the Points into the vtkPoints object >> #The first parameter indicates the reference. >> #value for the point. Here we add them sequentially. >> #Note that the first point is at index 0 (not 1). >> newPts.InsertPoint(i, x,y,z) >> >> #Add the points to the vtkPolyData object >> #Right now the points are not associated with a line - >> #it is just a set of unconnected points. We need to >> #create a 'cell' object that ties points together >> #to make a curve (in this case). This is done below. >> #A 'cell' is just an object that tells how points are >> #connected to make a 1D, 2D, or 3D object. >> pdo.SetPoints(newPts) >> >> #Make a vtkPolyLine which holds the info necessary >> #to create a curve composed of line segments. This >> #really just hold constructor data that will be passed >> #to vtkPolyData to add a new line. >> aPolyLine = vtk.vtkPolyLine() >> >> #Indicate the number of points along the line >> aPolyLine.GetPointIds().SetNumberOfIds(numPts) >> for i in range(0,numPts): >> #Add the points to the line. The first value indicates >> #the order of the point on the line. The second value >> #is a reference to a point in a vtkPoints object. Depends >> #on the order that Points were added to vtkPoints object. >> #Note that this will not be associated with actual points >> #until it is added to a vtkPolyData object which holds a >> #vtkPoints object. >> aPolyLine.GetPointIds().SetId(i, i) >> >> #Allocate the number of 'cells' that will be added. We are just >> #adding one vtkPolyLine 'cell' to the vtkPolyData object. >> pdo.Allocate(1, 1) >> >> #Add the poly line 'cell' to the vtkPolyData object. >> pdo.InsertNextCell(aPolyLine.GetCellType(), aPolyLine.GetPointIds()) >> >> #The Helix is ready to plot! Click 'Apply'. >> """ >> renderView1 = GetActiveViewOrCreate('RenderView') >> programmableSource1Display = Show(programmableSource1, renderView1) >> renderView1.ResetCamera() >> Render() >> >> >> >> Guillaume Jacquenot >> >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> > > > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. -- Cory Quammen Staff R&D Engineer Kitware, Inc. From ben.boeckel at kitware.com Thu Nov 17 10:46:14 2016 From: ben.boeckel at kitware.com (Ben Boeckel) Date: Thu, 17 Nov 2016 10:46:14 -0500 Subject: [Paraview] ANN: ParaView 5.2.0 now available for download In-Reply-To: References: Message-ID: <20161117154614.GA3347@megas.kitware.com> On Thu, Nov 17, 2016 at 10:22:33 +0100, Florian Blach?re wrote: > In the binary package of the 5.2.0 release for linux > (ParaView-5.2.0-Qt4-OpenGL2-MPI-Linux-64bit.tar.gz) the python libraries > are under: > 'ParaView-5.2.0-Qt4-OpenGL2-MPI-Linux-64bit/lib/python2.7', whereas with > the 5.1.2 release, the files are located under: > 'ParaView-5.1.2-Qt4-OpenGL2-MPI-Linux-64bit/lib/paraview-5.1/lib/python2.7'. > > Is it an intentional change ? Because with this new location, there is > many file conflicts with system python libraries located in > '/usr/lib/python2.7'. Yes, it was done intentionally, though possibly in ignorance to use cases where it being separate is a benefit. The idea is to make the package look as much like you'd expect if ParaView were installed normally (i.e., a Python module would be put under the expected site-packages directory). You can create symlinks from anywhere to the paraview and vtk directories in the packaged binary and set PYTHONPATH to it if you'd like to use an external Python as a stopgap, but what is your reason for wanting an external Python? Would making those packages available to the packaged Python be sufficient? --Ben From utkarsh.ayachit at kitware.com Thu Nov 17 11:13:09 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 17 Nov 2016 11:13:09 -0500 Subject: [Paraview] PythonQt build error In-Reply-To: <31681a3f-d328-f5c0-8271-1bf84f259e72@iinet.net.au> References: <31681a3f-d328-f5c0-8271-1bf84f259e72@iinet.net.au> Message-ID: Chris, Thanks for reporting. Here's a fix: https://gitlab.kitware.com/paraview/paraview/merge_requests/1201 Utkarsh On Wed, Nov 16, 2016 at 5:47 PM, Christoph Willing wrote: > Building PythonQt plugin for paraview-5.2.0 fails due to use of Qt4::moc > command in the generated file > (build)/Plugins/PythonQtPlugin/CMakeFiles/PythonQtPlugin.dir/build.make > > I can work around the problem locally by using sed in my build script to > replace "Qt4::moc" in that file with plain "moc" just after cmake > configuration, but it would be nicer not to have to do that. > > No such problem with previous building of paraview-5.1.2. > > I'm using x86_64 Linux with cmake-3.5.2, qt-4.8.7 and PythonQt from commontk > git repo 20160810. > > chris > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview From utkarsh.ayachit at kitware.com Thu Nov 17 12:04:09 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 17 Nov 2016 12:04:09 -0500 Subject: [Paraview] Problem with plot over line in 2D data sets In-Reply-To: References: Message-ID: Julio, Plot Over Line can have some difficulty to probe line locations along a 2D plane, if the locations end up slightly above of below the plane. I suspect that what's you're seeing. When you say you use the probe, is that the "Probe Location" filter that you're using? Utkarsh On Tue, Nov 15, 2016 at 4:35 PM, Julio Mendez wrote: > Dear all; > I wrote my own subroutine to export my CFD data to Paraview using ensight > gold format. I have two different subroutines. One for 3D datasets and > another for 2D datasets. I did this because in Paraview although the vector > field is 2D, the 3D subroutine allowed me to rotate a 2D datasets, which > does not make sense. When I use the 2D subroutine the contour plot is a > plane and it does not rotate. Ok. so far everything works perfect. I can > obtain my contour plots and so forth. But, when I apply the filer: plot over > line, the plot does not shown anything. It seems like paraview does not read > anything., However, when I use the probe filter , the probe retrieve data > from the dataset. > What might be the problem? > > Thanks > Julio Mendez > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From S.D.Keyes at soton.ac.uk Thu Nov 17 10:30:09 2016 From: S.D.Keyes at soton.ac.uk (Keyes S.D.) Date: Thu, 17 Nov 2016 15:30:09 +0000 Subject: [Paraview] RAW (binary) file import issues Message-ID: <30A66172CB124E45B9646EE1B4567000A7DC6D42@SRV00046.soton.ac.uk> Dear all, I am encountering issues when trying to import large 8 bit RAW volumes to Paraview 5.1.2 (64 bit). The file I wish to import has xyz dimensions of 2000x2000x1920 voxels (Unsigned char), 7.5GB. I am running a machine with 192 GB RAM and 12 CPU cores. I can import up to a 2000x2000x1000 crop of this file, but I encounter the following message when I attempt larger z dimensions: ERROR: In C:\bbd\df0abce0\source-paraview\VTK\IO\Image\vtkImageReader2.cxx, line 592 vtkPVImageReader (0000000007767F90): Initialize: Could not open file \\cseg_2\ERC\SLS_201606\Myco_2\CT2PpR3h1_\Hyphalseg_Raw_2000_2000_1920_8bit_SKELETON_FILT_PARAVIEW_TEST.raw I cannot find an obvious memory ceiling within the paraview settings - any ideas as to whether there is some effective upper limit to import file size? Sam Samuel D Keyes, MEng, PhD New Frontiers Fellow Bioengineering / ?VIS Centre for Computed Tomography University of Southampton E: S.D.Keyes at soton.ac.uk T: 07898720248 From chris.willing at iinet.net.au Fri Nov 18 02:07:46 2016 From: chris.willing at iinet.net.au (Christoph Willing) Date: Fri, 18 Nov 2016 17:07:46 +1000 Subject: [Paraview] PythonQt build error In-Reply-To: References: <31681a3f-d328-f5c0-8271-1bf84f259e72@iinet.net.au> Message-ID: <7a8f5c94-49ec-4ac0-0fca-43669c2afcae@iinet.net.au> Thanks for looking at it so quickly. However that change doesn't fix it for me. Here's some of the session: - first confirm that change (addition of "include(ParaViewQt)" is applied: root at sl64-142-vmbuilder:/tmp/SBo/ParaView-v5.2.0/build# head -13 /tmp/SBo/ParaView-v5.2.0/Plugins/PythonQtPlugin/CMakeLists.txt if (ParaView_SOURCE_DIR) else() cmake_minimum_required(VERSION 3.3) project(PythonQtPlugin) find_package(ParaView REQUIRED) include(${PARAVIEW_USE_FILE}) endif() include(ParaViewQt) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}) find_package(PythonQt REQUIRED) - yes, patch applied so try make: root at sl64-142-vmbuilder:/tmp/SBo/ParaView-v5.2.0/build# make -j1 ..... [ 99%] Generating moc_pqPythonQtPluginImplementation.cxx /bin/sh: Qt4::moc: command not found Plugins/PythonQtPlugin/CMakeFiles/PythonQtPlugin.dir/build.make:62: recipe for target 'Plugins/PythonQtPlugin/moc_pqPythonQtPluginImplementation.cxx' failed make[2]: *** [Plugins/PythonQtPlugin/moc_pqPythonQtPluginImplementation.cxx] Error 127 CMakeFiles/Makefile2:45361: recipe for target 'Plugins/PythonQtPlugin/CMakeFiles/PythonQtPlugin.dir/all' failed make[1]: *** [Plugins/PythonQtPlugin/CMakeFiles/PythonQtPlugin.dir/all] Error 2 Makefile:149: recipe for target 'all' failed make: *** [all] Error 2 So I still have a failure, even with the change in place. If I edit the offending file Plugins/PythonQtPlugin/CMakeFiles/PythonQtPlugin.dir/build.make and change all instances of "Qt4::moc" to plain "moc", then compilation carries on to completion: root at sl64-142-vmbuilder:/tmp/SBo/ParaView-v5.2.0/build# make -j1 [ 99%] Generating moc_PythonQtPlugin_Plugin.cxx Scanning dependencies of target PythonQtPlugin [ 99%] Building CXX object Plugins/PythonQtPlugin/CMakeFiles/PythonQtPlugin.dir/pqPythonQtPluginImplementation.cxx.o [ 99%] Building CXX object Plugins/PythonQtPlugin/CMakeFiles/PythonQtPlugin.dir/moc_pqPythonQtPluginImplementation.cxx.o [ 99%] Building CXX object Plugins/PythonQtPlugin/CMakeFiles/PythonQtPlugin.dir/moc_pqPythonQtPlugin.cxx.o [ 99%] Building CXX object Plugins/PythonQtPlugin/CMakeFiles/PythonQtPlugin.dir/moc_pqPythonQtMethodHelpers.cxx.o [ 99%] Building CXX object Plugins/PythonQtPlugin/CMakeFiles/PythonQtPlugin.dir/moc_pqPythonEventFilter.cxx.o [ 99%] Building CXX object Plugins/PythonQtPlugin/CMakeFiles/PythonQtPlugin.dir/moc_pqPluginDecorators.cxx.o [ 99%] Building CXX object Plugins/PythonQtPlugin/CMakeFiles/PythonQtPlugin.dir/pqPythonQtPlugin.cxx.o [ 99%] Building CXX object Plugins/PythonQtPlugin/CMakeFiles/PythonQtPlugin.dir/pqPythonQtWrapperFactory.cxx.o [ 99%] Building CXX object Plugins/PythonQtPlugin/CMakeFiles/PythonQtPlugin.dir/PythonQtPlugin_Plugin.cxx.o [ 99%] Building CXX object Plugins/PythonQtPlugin/CMakeFiles/PythonQtPlugin.dir/moc_PythonQtPlugin_Plugin.cxx.o [ 99%] Linking CXX shared library ../../lib/libPythonQtPlugin.so [ 99%] Built target PythonQtPlugin .... (continues to end) chris On 18/11/16 02:13, Utkarsh Ayachit wrote: > Chris, > > Thanks for reporting. Here's a fix: > https://gitlab.kitware.com/paraview/paraview/merge_requests/1201 > > Utkarsh > > On Wed, Nov 16, 2016 at 5:47 PM, Christoph Willing > wrote: >> Building PythonQt plugin for paraview-5.2.0 fails due to use of Qt4::moc >> command in the generated file >> (build)/Plugins/PythonQtPlugin/CMakeFiles/PythonQtPlugin.dir/build.make >> >> I can work around the problem locally by using sed in my build script to >> replace "Qt4::moc" in that file with plain "moc" just after cmake >> configuration, but it would be nicer not to have to do that. >> >> No such problem with previous building of paraview-5.1.2. >> >> I'm using x86_64 Linux with cmake-3.5.2, qt-4.8.7 and PythonQt from commontk >> git repo 20160810. >> >> chris >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview > From florian.blachere at univ-nantes.fr Fri Nov 18 04:59:55 2016 From: florian.blachere at univ-nantes.fr (=?UTF-8?Q?Florian_Blach=c3=a8re?=) Date: Fri, 18 Nov 2016 10:59:55 +0100 Subject: [Paraview] ANN: ParaView 5.2.0 now available for download In-Reply-To: <20161117154614.GA3347@megas.kitware.com> References: <20161117154614.GA3347@megas.kitware.com> Message-ID: On 17/11/16 16:46, Ben Boeckel wrote: > On Thu, Nov 17, 2016 at 10:22:33 +0100, Florian Blach?re wrote: >> In the binary package of the 5.2.0 release for linux >> (ParaView-5.2.0-Qt4-OpenGL2-MPI-Linux-64bit.tar.gz) the python libraries >> are under: >> 'ParaView-5.2.0-Qt4-OpenGL2-MPI-Linux-64bit/lib/python2.7', whereas with >> the 5.1.2 release, the files are located under: >> 'ParaView-5.1.2-Qt4-OpenGL2-MPI-Linux-64bit/lib/paraview-5.1/lib/python2.7'. >> >> Is it an intentional change ? Because with this new location, there is >> many file conflicts with system python libraries located in >> '/usr/lib/python2.7'. > Yes, it was done intentionally, though possibly in ignorance to use > cases where it being separate is a benefit. The idea is to make the > package look as much like you'd expect if ParaView were installed > normally (i.e., a Python module would be put under the expected > site-packages directory). > > You can create symlinks from anywhere to the paraview and vtk > directories in the packaged binary and set PYTHONPATH to it if you'd > like to use an external Python as a stopgap, but what is your reason for > wanting an external Python? Would making those packages available to the > packaged Python be sufficient? > > --Ben Ok, I saw the issue #16870 after sending my question. There is also some conflicts with binary files (for instance mpiexec). I think I will drop everything in /opt instead of /usr to avoid those conflicts with system files. Florian -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Fri Nov 18 10:33:56 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Fri, 18 Nov 2016 10:33:56 -0500 Subject: [Paraview] PythonQt build error In-Reply-To: <7a8f5c94-49ec-4ac0-0fca-43669c2afcae@iinet.net.au> References: <31681a3f-d328-f5c0-8271-1bf84f259e72@iinet.net.au> <7a8f5c94-49ec-4ac0-0fca-43669c2afcae@iinet.net.au> Message-ID: Oops, I should have tested with Qt 4. It worked for some reason with Qt 5. I've updated the MR, it was indeed missing essential components. https://gitlab.kitware.com/paraview/paraview/merge_requests/1201/diffs Utkarsh On Fri, Nov 18, 2016 at 2:07 AM, Christoph Willing < chris.willing at iinet.net.au> wrote: > Thanks for looking at it so quickly. However that change doesn't fix it > for me. Here's some of the session: > > - first confirm that change (addition of "include(ParaViewQt)" is applied: > root at sl64-142-vmbuilder:/tmp/SBo/ParaView-v5.2.0/build# head -13 > /tmp/SBo/ParaView-v5.2.0/Plugins/PythonQtPlugin/CMakeLists.txt > if (ParaView_SOURCE_DIR) > else() > cmake_minimum_required(VERSION 3.3) > project(PythonQtPlugin) > > find_package(ParaView REQUIRED) > include(${PARAVIEW_USE_FILE}) > endif() > > > include(ParaViewQt) > set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}) > find_package(PythonQt REQUIRED) > > - yes, patch applied so try make: > root at sl64-142-vmbuilder:/tmp/SBo/ParaView-v5.2.0/build# make -j1 > ..... > [ 99%] Generating moc_pqPythonQtPluginImplementation.cxx > /bin/sh: Qt4::moc: command not found > Plugins/PythonQtPlugin/CMakeFiles/PythonQtPlugin.dir/build.make:62: > recipe for target 'Plugins/PythonQtPlugin/moc_pq > PythonQtPluginImplementation.cxx' failed > make[2]: *** [Plugins/PythonQtPlugin/moc_pqPythonQtPluginImplementation.cxx] > Error 127 > CMakeFiles/Makefile2:45361: recipe for target > 'Plugins/PythonQtPlugin/CMakeFiles/PythonQtPlugin.dir/all' failed > make[1]: *** [Plugins/PythonQtPlugin/CMakeFiles/PythonQtPlugin.dir/all] > Error 2 > Makefile:149: recipe for target 'all' failed > make: *** [all] Error 2 > > > So I still have a failure, even with the change in place. If I edit the > offending file Plugins/PythonQtPlugin/CMakeFiles/PythonQtPlugin.dir/build.make > and change all instances of "Qt4::moc" to plain "moc", then compilation > carries on to completion: > > root at sl64-142-vmbuilder:/tmp/SBo/ParaView-v5.2.0/build# make -j1 > [ 99%] Generating moc_PythonQtPlugin_Plugin.cxx > Scanning dependencies of target PythonQtPlugin > [ 99%] Building CXX object Plugins/PythonQtPlugin/CMakeFi > les/PythonQtPlugin.dir/pqPythonQtPluginImplementation.cxx.o > [ 99%] Building CXX object Plugins/PythonQtPlugin/CMakeFi > les/PythonQtPlugin.dir/moc_pqPythonQtPluginImplementation.cxx.o > [ 99%] Building CXX object Plugins/PythonQtPlugin/CMakeFi > les/PythonQtPlugin.dir/moc_pqPythonQtPlugin.cxx.o > [ 99%] Building CXX object Plugins/PythonQtPlugin/CMakeFi > les/PythonQtPlugin.dir/moc_pqPythonQtMethodHelpers.cxx.o > [ 99%] Building CXX object Plugins/PythonQtPlugin/CMakeFi > les/PythonQtPlugin.dir/moc_pqPythonEventFilter.cxx.o > [ 99%] Building CXX object Plugins/PythonQtPlugin/CMakeFi > les/PythonQtPlugin.dir/moc_pqPluginDecorators.cxx.o > [ 99%] Building CXX object Plugins/PythonQtPlugin/CMakeFi > les/PythonQtPlugin.dir/pqPythonQtPlugin.cxx.o > [ 99%] Building CXX object Plugins/PythonQtPlugin/CMakeFi > les/PythonQtPlugin.dir/pqPythonQtWrapperFactory.cxx.o > [ 99%] Building CXX object Plugins/PythonQtPlugin/CMakeFi > les/PythonQtPlugin.dir/PythonQtPlugin_Plugin.cxx.o > [ 99%] Building CXX object Plugins/PythonQtPlugin/CMakeFi > les/PythonQtPlugin.dir/moc_PythonQtPlugin_Plugin.cxx.o > [ 99%] Linking CXX shared library ../../lib/libPythonQtPlugin.so > [ 99%] Built target PythonQtPlugin > .... (continues to end) > > > chris > > > > On 18/11/16 02:13, Utkarsh Ayachit wrote: > >> Chris, >> >> Thanks for reporting. Here's a fix: >> https://gitlab.kitware.com/paraview/paraview/merge_requests/1201 >> >> Utkarsh >> >> On Wed, Nov 16, 2016 at 5:47 PM, Christoph Willing >> wrote: >> >>> Building PythonQt plugin for paraview-5.2.0 fails due to use of Qt4::moc >>> command in the generated file >>> (build)/Plugins/PythonQtPlugin/CMakeFiles/PythonQtPlugin.dir/build.make >>> >>> I can work around the problem locally by using sed in my build script to >>> replace "Qt4::moc" in that file with plain "moc" just after cmake >>> configuration, but it would be nicer not to have to do that. >>> >>> No such problem with previous building of paraview-5.1.2. >>> >>> I'm using x86_64 Linux with cmake-3.5.2, qt-4.8.7 and PythonQt from >>> commontk >>> git repo 20160810. >>> >>> chris >>> _______________________________________________ >>> 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 >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris.willing at iinet.net.au Fri Nov 18 18:10:41 2016 From: chris.willing at iinet.net.au (Christoph Willing) Date: Sat, 19 Nov 2016 09:10:41 +1000 Subject: [Paraview] PythonQt build error In-Reply-To: References: <31681a3f-d328-f5c0-8271-1bf84f259e72@iinet.net.au> <7a8f5c94-49ec-4ac0-0fca-43669c2afcae@iinet.net.au> Message-ID: <834885c5-6d32-97c8-0a1a-486854496107@iinet.net.au> On 19/11/16 01:33, Utkarsh Ayachit wrote: > Oops, I should have tested with Qt 4. It worked for some reason with Qt > 5. I've updated the MR, it was indeed missing essential components. > > https://gitlab.kitware.com/paraview/paraview/merge_requests/1201/diffs > Thanks Utkarsh, That change has fixed it. chris From f_magician at mac.com Sun Nov 20 00:16:34 2016 From: f_magician at mac.com (Magician) Date: Sun, 20 Nov 2016 14:16:34 +0900 Subject: [Paraview] Find Data does not work on MPI Message-ID: <6C2F7839-E53B-42BD-BF89-7A59893D29AE@mac.com> Hi all, When I operating ParaView on MPI mode, Find Data function does not work correctly. The dialog is just opened, but the 'Run Selection Query' always returns no cell or point. How to select specific cells or points on parallel ParaView? My PV is v5.2.0-RC1 on Windows 8 64bit, and MPI is Microsoft HPC Pack 2008 R2. Magician From fdkong.jd at gmail.com Sun Nov 20 11:18:41 2016 From: fdkong.jd at gmail.com (Fande Kong) Date: Sun, 20 Nov 2016 09:18:41 -0700 Subject: [Paraview] a reproducible procedure Message-ID: Hi All, I manually import data for NS equations, create filter, and finally save some pictures. I was wondering if paraview can reproduce exactly the same things I have done before by using scripts? In CUBIT, anythings users did will be saved a jour file, and this file can be used to reproduce what have done before. Does paraview have a similar thing? Fande, -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Sun Nov 20 11:45:50 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Sun, 20 Nov 2016 11:45:50 -0500 Subject: [Paraview] a reproducible procedure In-Reply-To: References: Message-ID: ParaView has extensive Python scripting capabilities that will do what you are looking for. Usually the easiest way to get started is to create a Python trace, which is a script generated from actions you take in the GUI. Launch ParaView, then select the menu item "Tools -> Start Trace". Do the actions you want, then select "Tools -> Stop Trace". You'll see the generated Python script in a window that pops up. You can save that script and then run it with pvpython or through the Python console in the ParaView application. You can of course modify the Python script to open different input files and save images to different file names. Please consult the ParaView Guide [1] for additional details on Python scripting in ParaView. HTH, Cory [1] http://www.paraview.org/documentation/ On Sun, Nov 20, 2016 at 11:18 AM, Fande Kong wrote: > Hi All, > > I manually import data for NS equations, create filter, and finally save > some pictures. I was wondering if paraview can reproduce exactly the same > things I have done before by using scripts? > > In CUBIT, anythings users did will be saved a jour file, and this file can > be used to reproduce what have done before. Does paraview have a similar > thing? > > > Fande, > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From fdkong.jd at gmail.com Sun Nov 20 12:34:15 2016 From: fdkong.jd at gmail.com (Fande Kong) Date: Sun, 20 Nov 2016 10:34:15 -0700 Subject: [Paraview] a reproducible procedure In-Reply-To: References: Message-ID: Thanks Cory, It is what I want. I will take a try, and will come back if you have more questions. Fande, On Sun, Nov 20, 2016 at 9:45 AM, Cory Quammen wrote: > ParaView has extensive Python scripting capabilities that will do what > you are looking for. Usually the easiest way to get started is to > create a Python trace, which is a script generated from actions you > take in the GUI. Launch ParaView, then select the menu item "Tools -> > Start Trace". Do the actions you want, then select "Tools -> Stop > Trace". You'll see the generated Python script in a window that pops > up. You can save that script and then run it with pvpython or through > the Python console in the ParaView application. You can of course > modify the Python script to open different input files and save images > to different file names. > > Please consult the ParaView Guide [1] for additional details on Python > scripting in ParaView. > > HTH, > Cory > > [1] http://www.paraview.org/documentation/ > > On Sun, Nov 20, 2016 at 11:18 AM, Fande Kong wrote: > > Hi All, > > > > I manually import data for NS equations, create filter, and finally save > > some pictures. I was wondering if paraview can reproduce exactly the same > > things I have done before by using scripts? > > > > In CUBIT, anythings users did will be saved a jour file, and this file > can > > be used to reproduce what have done before. Does paraview have a similar > > thing? > > > > > > Fande, > > > > _______________________________________________ > > 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 > > > > Search the list archives at: http://markmail.org/search/?q=ParaView > > > > Follow this link to subscribe/unsubscribe: > > http://public.kitware.com/mailman/listinfo/paraview > > > > > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From chaitanyaraj108 at gmail.com Sun Nov 20 12:41:24 2016 From: chaitanyaraj108 at gmail.com (Chaitanya Raj Goyal) Date: Sun, 20 Nov 2016 12:41:24 -0500 Subject: [Paraview] Plotting solution vector from Matlab in Paraview Message-ID: Hello fellow members, I am solving a 2D hyperbolic PDE, which gives me a solution in 'x' and 'y' direction for each node on the mesh, for each time step. Therefore, if I freeze the time step, I have a solution vector in 'x', and 'y', for the whole mesh, i.e., a single value in both 'x' and 'y' direction, for each node on mesh. It looks like this when the solution is initially viewed in Paraview. Observe any one of the below. ? You can notice the 'x' and 'y' solution for all points (nodes). The no. of rows is the total no. of nodes on mesh. Then, I convert this vtk file to .csv, and import it to MATLAB, where I run some post processing on the 'x' and 'y' solution vectors. Now, I have replaced the originally imported solution vectors 'x' and 'y', with some new values. I wanted to take back these new solutions to Paraview again for plotting. So I used a tool called vtktrisurf in MATLAB. The problem was that this tool only takes 1 solution vector, i.e., I can either give the 'x' solution vector or 'y'. So, I used pythagoras theorem on respective elements of 'x' and 'y' solutions, to generate a single vector. The vtk was created, and the simulation in PARAVIEW was exactly what I was hoping to see. However, when I use pythagoras theorem, I convert all negative components of the solution to positive. It will show me what I want to see when there is no scalar warping. However, when I warp it with scalar in Paraview, it shows the entire profile in positive values. That is not actually true, because there were negative values in the solution. Long story short, how can I view the correct simulation. Maybe the answer goes back to the point where I convert my matrix in MATLAB to vtk. I also have the option of creating a separate vtk for 'x' solution and separate for 'y'. In that case, is there a way to superpose them in Paraview to view the correct profile? Thanks a lot for your time and help! Sincerely, Chaitanya -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: wave.png Type: image/png Size: 384191 bytes Desc: not available URL: From samuelkey at bresnan.net Sun Nov 20 16:30:36 2016 From: samuelkey at bresnan.net (Samuel Key) Date: Sun, 20 Nov 2016 14:30:36 -0700 Subject: [Paraview] Plotting solution vector from Matlab in Paraview In-Reply-To: References: Message-ID: <14398789-e7b5-db76-507f-93edbe9c194a@bresnan.net> An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 384191 bytes Desc: not available URL: From gotofd at gmail.com Mon Nov 21 04:25:45 2016 From: gotofd at gmail.com (Ji Zhang) Date: Mon, 21 Nov 2016 17:25:45 +0800 Subject: [Paraview] Dose pvpython work with python 3.x ? Message-ID: Dear all, I have checked the paraview mail list, as far as I know, pvpython do not work with python 3 until last year. However, a year past, dose it work with python 3 now? The document said it works, *ParaView is working towards full Python 3 support. To that end, python code should be written so it is compatible with Python 2.7 and Python 3.5. * See http://www.paraview.org/ParaView3/Doc/Nightly/www/py-doc/python-2-vs-3.html If it works, what should I do to use it? Thanks. ?? ?? ????????? ?????????? ???????????10????9?? ?100193? Best, Regards, Zhang Ji, PhD student Beijing Computational Science Research Center Zhongguancun Software Park II, No. 10 Dongbeiwang West Road, Haidian District, Beijing 100193, China -------------- next part -------------- An HTML attachment was scrubbed... URL: From Tommy.Andersson at fcc.chalmers.se Mon Nov 21 07:58:33 2016 From: Tommy.Andersson at fcc.chalmers.se (Tommy Andersson) Date: Mon, 21 Nov 2016 13:58:33 +0100 Subject: [Paraview] empty xdmf-file causes paraview crash Message-ID: <82c7b233-d064-5128-0ab9-3a8125f3cc54@fcc.chalmers.se> Hi All, I'm trying to get Paraview (5.0.0) to read *.xmf-files and encounter difficulties when the geometry is "empty". Paraview is then crashing. The example I'm using to encounter the error looks as follows: How is an empty xdmf geometry supposed to be specified? One workaround is to add a dummy point e.g. 0 0 0 Will I have to settle with this workaround? How is an empty geometry supposed to be specified? -- *Tommy Andersson* Computational Engineering and Design Fraunhofer-Chalmers Centre (FCC) Phone: +46 (0)31 772 4288 tommy.andersson at fcc.chalmers.se www.fcc.chalmers.se -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Mon Nov 21 10:15:29 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Mon, 21 Nov 2016 10:15:29 -0500 Subject: [Paraview] Dose pvpython work with python 3.x ? In-Reply-To: References: Message-ID: Python 3 support should be officially supported in the next release, sometime in spring 2017. You can experimentally build ParaView's development version with Python 3 using the following settings (taken from a build on Ubuntu): PYTHON_EXECUTABLE /usr/bin/python3 PYTHON_EXTRA_LIBS PYTHON_INCLUDE_DIR /usr/include/python3.5m PYTHON_LIBRARY /usr/lib/x86_64-linux-gnu/libpython3.5m.so PYTHON_UTIL_LIBRARY /usr/lib/x86_64-linux-gnu/libutil.so VTK_PYTHON_VERSION 3 ParaViewWeb won't work, because it depends on Twisted server which is still python2, so make sure ParaViewWeb is disabled. You may also need to install on Ubuntu the following: sudo apt-get install python2-dev python3-dev python3.5m gets installed by python3 package Thanks, Cory On Mon, Nov 21, 2016 at 4:25 AM, Ji Zhang wrote: > Dear all, > > I have checked the paraview mail list, as far as I know, pvpython do not > work with python 3 until last year. However, a year past, dose it work with > python 3 now? > > The document said it works, > ParaView is working towards full Python 3 support. To that end, python code > should be written so it is compatible with Python 2.7 and Python 3.5. See > http://www.paraview.org/ParaView3/Doc/Nightly/www/py-doc/python-2-vs-3.html > > If it works, what should I do to use it? > > Thanks. > > ?? > ?? > ????????? > ?????????? > ???????????10????9?? ?100193? > > Best, > Regards, > Zhang Ji, PhD student > Beijing Computational Science Research Center > Zhongguancun Software Park II, No. 10 Dongbeiwang West Road, Haidian > District, Beijing 100193, China > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From gotofd at gmail.com Mon Nov 21 10:53:06 2016 From: gotofd at gmail.com (Ji Zhang) Date: Mon, 21 Nov 2016 23:53:06 +0800 Subject: [Paraview] Dose pvpython work with python 3.x ? In-Reply-To: References: Message-ID: Dear Cory, Thanks very much for your reply. I have tried what you said, however, I got some error report, *[ 2%] Compiling Python package 'twisted'* *Listing '/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web'...* *Compiling '/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/dataset_builder.py'...* **** File "/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/dataset_builder.py", line 267* * print 'Compress', root* * ^* *SyntaxError: Missing parentheses in call to 'print'* *Compiling '/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/launcher.py'...* **** File "/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/launcher.py", line 155* * print "ERROR: %s is missing %s key." % (object_name, key)* * ^* *SyntaxError: invalid syntax* It looks like that python 2 have been used when I make the code. The configure commands I used associated with python are showing below, I think I told the compiler use a python 3 environment. [image: Inline image 1] Thanks. ?? ?? ????????? ?????????? ???????????10????9?? ?100193? Best, Regards, Zhang Ji, PhD student Beijing Computational Science Research Center Zhongguancun Software Park II, No. 10 Dongbeiwang West Road, Haidian District, Beijing 100193, China On Mon, Nov 21, 2016 at 11:15 PM, Cory Quammen wrote: > Python 3 support should be officially supported in the next release, > sometime in spring 2017. > > You can experimentally build ParaView's development version with > Python 3 using the following settings (taken from a build on Ubuntu): > > PYTHON_EXECUTABLE /usr/bin/python3 > PYTHON_EXTRA_LIBS > PYTHON_INCLUDE_DIR /usr/include/python3.5m > PYTHON_LIBRARY /usr/lib/x86_64-linux-gnu/libpython3.5m.so > PYTHON_UTIL_LIBRARY /usr/lib/x86_64-linux-gnu/libutil.so > VTK_PYTHON_VERSION 3 > > ParaViewWeb won't work, because it depends on Twisted server which is > still python2, so make sure ParaViewWeb is disabled. > > You may also need to install on Ubuntu the following: > > sudo apt-get install python2-dev python3-dev > > python3.5m gets installed by python3 package > > Thanks, > Cory > > On Mon, Nov 21, 2016 at 4:25 AM, Ji Zhang wrote: > > Dear all, > > > > I have checked the paraview mail list, as far as I know, pvpython do not > > work with python 3 until last year. However, a year past, dose it work > with > > python 3 now? > > > > The document said it works, > > ParaView is working towards full Python 3 support. To that end, python > code > > should be written so it is compatible with Python 2.7 and Python 3.5. See > > http://www.paraview.org/ParaView3/Doc/Nightly/www/py- > doc/python-2-vs-3.html > > > > If it works, what should I do to use it? > > > > Thanks. > > > > ?? > > ?? > > ????????? > > ?????????? > > ???????????10????9?? ?100193? > > > > Best, > > Regards, > > Zhang Ji, PhD student > > Beijing Computational Science Research Center > > Zhongguancun Software Park II, No. 10 Dongbeiwang West Road, Haidian > > District, Beijing 100193, China > > > > _______________________________________________ > > 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 > > > > Search the list archives at: http://markmail.org/search/?q=ParaView > > > > Follow this link to subscribe/unsubscribe: > > http://public.kitware.com/mailman/listinfo/paraview > > > > > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 238078 bytes Desc: not available URL: From cory.quammen at kitware.com Mon Nov 21 11:00:10 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Mon, 21 Nov 2016 11:00:10 -0500 Subject: [Paraview] Dose pvpython work with python 3.x ? In-Reply-To: References: Message-ID: Yep, as I mentioned the version of twisted ParaViewWeb uses is not compatible with Python 3. Set PARAVIEW_ENABLE_WEB to OFF and try again. The twisted package needs to be updated to work with Python 3, but that has not happened yet. On Mon, Nov 21, 2016 at 10:53 AM, Ji Zhang wrote: > Dear Cory, > > Thanks very much for your reply. > > I have tried what you said, however, I got some error report, > *[ 2%] Compiling Python package 'twisted'* > *Listing > '/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web'...* > *Compiling > '/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/dataset_builder.py'...* > **** File > "/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/dataset_builder.py", > line 267* > * print 'Compress', root* > * ^* > *SyntaxError: Missing parentheses in call to 'print'* > > *Compiling > '/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/launcher.py'...* > **** File > "/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/launcher.py", > line 155* > * print "ERROR: %s is missing %s key." % (object_name, key)* > * ^* > *SyntaxError: invalid syntax* > > It looks like that python 2 have been used when I make the code. > > The configure commands I used associated with python are showing below, I > think I told the compiler use a python 3 environment. > [image: Inline image 1] > > Thanks. > > > ?? > ?? > ????????? > ?????????? > ???????????10????9?? ?100193? > > Best, > Regards, > Zhang Ji, PhD student > Beijing Computational Science Research Center > Zhongguancun Software Park II, No. 10 Dongbeiwang West Road, Haidian > District, Beijing 100193, China > > On Mon, Nov 21, 2016 at 11:15 PM, Cory Quammen > wrote: > >> Python 3 support should be officially supported in the next release, >> sometime in spring 2017. >> >> You can experimentally build ParaView's development version with >> Python 3 using the following settings (taken from a build on Ubuntu): >> >> PYTHON_EXECUTABLE /usr/bin/python3 >> PYTHON_EXTRA_LIBS >> PYTHON_INCLUDE_DIR /usr/include/python3.5m >> PYTHON_LIBRARY /usr/lib/x86_64-linux-gnu/libpython3.5m.so >> PYTHON_UTIL_LIBRARY /usr/lib/x86_64-linux-gnu/libutil.so >> VTK_PYTHON_VERSION 3 >> >> ParaViewWeb won't work, because it depends on Twisted server which is >> still python2, so make sure ParaViewWeb is disabled. >> >> You may also need to install on Ubuntu the following: >> >> sudo apt-get install python2-dev python3-dev >> >> python3.5m gets installed by python3 package >> >> Thanks, >> Cory >> >> On Mon, Nov 21, 2016 at 4:25 AM, Ji Zhang wrote: >> > Dear all, >> > >> > I have checked the paraview mail list, as far as I know, pvpython do not >> > work with python 3 until last year. However, a year past, dose it work >> with >> > python 3 now? >> > >> > The document said it works, >> > ParaView is working towards full Python 3 support. To that end, python >> code >> > should be written so it is compatible with Python 2.7 and Python 3.5. >> See >> > http://www.paraview.org/ParaView3/Doc/Nightly/www/py-doc/ >> python-2-vs-3.html >> > >> > If it works, what should I do to use it? >> > >> > Thanks. >> > >> > ?? >> > ?? >> > ????????? >> > ?????????? >> > ???????????10????9?? ?100193? >> > >> > Best, >> > Regards, >> > Zhang Ji, PhD student >> > Beijing Computational Science Research Center >> > Zhongguancun Software Park II, No. 10 Dongbeiwang West Road, Haidian >> > District, Beijing 100193, China >> > >> > _______________________________________________ >> > 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 >> > >> > Search the list archives at: http://markmail.org/search/?q=ParaView >> > >> > Follow this link to subscribe/unsubscribe: >> > http://public.kitware.com/mailman/listinfo/paraview >> > >> >> >> >> -- >> Cory Quammen >> Staff R&D Engineer >> Kitware, Inc. >> > > -- Cory Quammen Staff R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 238078 bytes Desc: not available URL: From gotofd at gmail.com Mon Nov 21 11:17:24 2016 From: gotofd at gmail.com (Ji Zhang) Date: Tue, 22 Nov 2016 00:17:24 +0800 Subject: [Paraview] Dose pvpython work with python 3.x ? In-Reply-To: References: Message-ID: Dear Cory, I tried to set PARAVIEW_ENABLE_WEB to OFF, and now the error messages are as follow. *[ 7%] Built target vtkCommonMiscCS* *Scanning dependencies of target paraview_pyc* *[ 7%] Generating pv_copy_and_compile_py_files_complete* *copying paraview/*.py to .../site-paraview/paraview* *[ 7%] Building CXX object VTK/Wrapping/Python/CMakeFiles/vtkCommonCorePythonD.dir/vtkArraySortPython.cxx.o* *copying VTKs py files to .../site-packages/paraview/vtk* *copy minimized __init__.py to .../site-packages/paraview/vtk* *also copying VTKs py to .../site-packages/vtk* *[ 7%] Building CXX object Wrapping/ClientServer/CMakeFiles/vtkCommonCoreCS.dir/vtkDataArrayClientServer.cxx.o* *[ 7%] Building CXX object VTK/Wrapping/Python/CMakeFiles/vtkCommonCorePythonD.dir/vtkArrayWeightsPython.cxx.o* *[ 7%] Building CXX object Wrapping/ClientServer/CMakeFiles/vtkCommonCoreCS.dir/vtkDataArraySelectionClientServer.cxx.o* **** Error compiling '/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/dataset_builder.py'...* * File "/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/dataset_builder.py", line 267* * print 'Compress', root* * ^* *SyntaxError: Missing parentheses in call to 'print'* **** Error compiling '/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/launcher.py'...* * File "/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/launcher.py", line 155* * print "ERROR: %s is missing %s key." % (object_name, key)* * ^* *SyntaxError: invalid syntax* **** Error compiling '/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/protocols.py'...* * File "/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/protocols.py", line 139* * print "FIXME"* * ^* *SyntaxError: Missing parentheses in call to 'print'* **** Error compiling '/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/testing.py'...* * File "/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/testing.py", line 149* * print "WARNING: Some tests may have unmet dependencies"* * ^* *SyntaxError: Missing parentheses in call to 'print'* What can I do now? Thanks. ?? ?? ????????? ?????????? ???????????10????9?? ?100193? Best, Regards, Zhang Ji, PhD student Beijing Computational Science Research Center Zhongguancun Software Park II, No. 10 Dongbeiwang West Road, Haidian District, Beijing 100193, China On Tue, Nov 22, 2016 at 12:00 AM, Cory Quammen wrote: > Yep, as I mentioned the version of twisted ParaViewWeb uses is not > compatible with Python 3. Set PARAVIEW_ENABLE_WEB to OFF and try again. > > The twisted package needs to be updated to work with Python 3, but that > has not happened yet. > > On Mon, Nov 21, 2016 at 10:53 AM, Ji Zhang wrote: > >> Dear Cory, >> >> Thanks very much for your reply. >> >> I have tried what you said, however, I got some error report, >> *[ 2%] Compiling Python package 'twisted'* >> *Listing >> '/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web'...* >> *Compiling >> '/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/dataset_builder.py'...* >> **** File >> "/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/dataset_builder.py", >> line 267* >> * print 'Compress', root* >> * ^* >> *SyntaxError: Missing parentheses in call to 'print'* >> >> *Compiling >> '/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/launcher.py'...* >> **** File >> "/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/launcher.py", >> line 155* >> * print "ERROR: %s is missing %s key." % (object_name, key)* >> * ^* >> *SyntaxError: invalid syntax* >> >> It looks like that python 2 have been used when I make the code. >> >> The configure commands I used associated with python are showing below, I >> think I told the compiler use a python 3 environment. >> [image: Inline image 1] >> >> Thanks. >> >> >> ?? >> ?? >> ????????? >> ?????????? >> ???????????10????9?? ?100193? >> >> Best, >> Regards, >> Zhang Ji, PhD student >> Beijing Computational Science Research Center >> Zhongguancun Software Park II, No. 10 Dongbeiwang West Road, Haidian >> District, Beijing 100193, China >> >> On Mon, Nov 21, 2016 at 11:15 PM, Cory Quammen >> wrote: >> >>> Python 3 support should be officially supported in the next release, >>> sometime in spring 2017. >>> >>> You can experimentally build ParaView's development version with >>> Python 3 using the following settings (taken from a build on Ubuntu): >>> >>> PYTHON_EXECUTABLE /usr/bin/python3 >>> PYTHON_EXTRA_LIBS >>> PYTHON_INCLUDE_DIR /usr/include/python3.5m >>> PYTHON_LIBRARY /usr/lib/x86_64-linux-gnu/libpython3.5m.so >>> PYTHON_UTIL_LIBRARY /usr/lib/x86_64-linux-gnu/libutil.so >>> VTK_PYTHON_VERSION 3 >>> >>> ParaViewWeb won't work, because it depends on Twisted server which is >>> still python2, so make sure ParaViewWeb is disabled. >>> >>> You may also need to install on Ubuntu the following: >>> >>> sudo apt-get install python2-dev python3-dev >>> >>> python3.5m gets installed by python3 package >>> >>> Thanks, >>> Cory >>> >>> On Mon, Nov 21, 2016 at 4:25 AM, Ji Zhang wrote: >>> > Dear all, >>> > >>> > I have checked the paraview mail list, as far as I know, pvpython do >>> not >>> > work with python 3 until last year. However, a year past, dose it work >>> with >>> > python 3 now? >>> > >>> > The document said it works, >>> > ParaView is working towards full Python 3 support. To that end, python >>> code >>> > should be written so it is compatible with Python 2.7 and Python 3.5. >>> See >>> > http://www.paraview.org/ParaView3/Doc/Nightly/www/py-doc/pyt >>> hon-2-vs-3.html >>> > >>> > If it works, what should I do to use it? >>> > >>> > Thanks. >>> > >>> > ?? >>> > ?? >>> > ????????? >>> > ?????????? >>> > ???????????10????9?? ?100193? >>> > >>> > Best, >>> > Regards, >>> > Zhang Ji, PhD student >>> > Beijing Computational Science Research Center >>> > Zhongguancun Software Park II, No. 10 Dongbeiwang West Road, Haidian >>> > District, Beijing 100193, China >>> > >>> > _______________________________________________ >>> > 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 >>> > >>> > Search the list archives at: http://markmail.org/search/?q=ParaView >>> > >>> > Follow this link to subscribe/unsubscribe: >>> > http://public.kitware.com/mailman/listinfo/paraview >>> > >>> >>> >>> >>> -- >>> Cory Quammen >>> Staff R&D Engineer >>> Kitware, Inc. >>> >> >> > > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 238078 bytes Desc: not available URL: From cory.quammen at kitware.com Mon Nov 21 11:22:55 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Mon, 21 Nov 2016 11:22:55 -0500 Subject: [Paraview] Dose pvpython work with python 3.x ? In-Reply-To: References: Message-ID: Is VTK_Group_Web ON? Try turning it off. Also make sure all the Module_vtkWeb* options are off. On Mon, Nov 21, 2016 at 11:17 AM, Ji Zhang wrote: > Dear Cory, > > I tried to set PARAVIEW_ENABLE_WEB to OFF, and now the error messages are > as follow. > > *[ 7%] Built target vtkCommonMiscCS* > *Scanning dependencies of target paraview_pyc* > *[ 7%] Generating pv_copy_and_compile_py_files_complete* > *copying paraview/*.py to .../site-paraview/paraview* > *[ 7%] Building CXX object > VTK/Wrapping/Python/CMakeFiles/vtkCommonCorePythonD.dir/vtkArraySortPython.cxx.o* > *copying VTKs py files to .../site-packages/paraview/vtk* > *copy minimized __init__.py to .../site-packages/paraview/vtk* > *also copying VTKs py to .../site-packages/vtk* > *[ 7%] Building CXX object > Wrapping/ClientServer/CMakeFiles/vtkCommonCoreCS.dir/vtkDataArrayClientServer.cxx.o* > *[ 7%] Building CXX object > VTK/Wrapping/Python/CMakeFiles/vtkCommonCorePythonD.dir/vtkArrayWeightsPython.cxx.o* > *[ 7%] Building CXX object > Wrapping/ClientServer/CMakeFiles/vtkCommonCoreCS.dir/vtkDataArraySelectionClientServer.cxx.o* > **** Error compiling > '/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/dataset_builder.py'...* > * File > "/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/dataset_builder.py", > line 267* > * print 'Compress', root* > * ^* > *SyntaxError: Missing parentheses in call to 'print'* > > **** Error compiling > '/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/launcher.py'...* > * File > "/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/launcher.py", > line 155* > * print "ERROR: %s is missing %s key." % (object_name, key)* > * ^* > *SyntaxError: invalid syntax* > > **** Error compiling > '/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/protocols.py'...* > * File > "/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/protocols.py", > line 139* > * print "FIXME"* > * ^* > *SyntaxError: Missing parentheses in call to 'print'* > > **** Error compiling > '/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/testing.py'...* > * File > "/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/testing.py", > line 149* > * print "WARNING: Some tests may have unmet dependencies"* > * ^* > *SyntaxError: Missing parentheses in call to 'print'* > > What can I do now? Thanks. > > > ?? > ?? > ????????? > ?????????? > ???????????10????9?? ?100193? > > Best, > Regards, > Zhang Ji, PhD student > Beijing Computational Science Research Center > Zhongguancun Software Park II, No. 10 Dongbeiwang West Road, Haidian > District, Beijing 100193, China > > On Tue, Nov 22, 2016 at 12:00 AM, Cory Quammen > wrote: > >> Yep, as I mentioned the version of twisted ParaViewWeb uses is not >> compatible with Python 3. Set PARAVIEW_ENABLE_WEB to OFF and try again. >> >> The twisted package needs to be updated to work with Python 3, but that >> has not happened yet. >> >> On Mon, Nov 21, 2016 at 10:53 AM, Ji Zhang wrote: >> >>> Dear Cory, >>> >>> Thanks very much for your reply. >>> >>> I have tried what you said, however, I got some error report, >>> *[ 2%] Compiling Python package 'twisted'* >>> *Listing >>> '/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web'...* >>> *Compiling >>> '/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/dataset_builder.py'...* >>> **** File >>> "/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/dataset_builder.py", >>> line 267* >>> * print 'Compress', root* >>> * ^* >>> *SyntaxError: Missing parentheses in call to 'print'* >>> >>> *Compiling >>> '/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/launcher.py'...* >>> **** File >>> "/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/launcher.py", >>> line 155* >>> * print "ERROR: %s is missing %s key." % (object_name, key)* >>> * ^* >>> *SyntaxError: invalid syntax* >>> >>> It looks like that python 2 have been used when I make the code. >>> >>> The configure commands I used associated with python are showing below, >>> I think I told the compiler use a python 3 environment. >>> [image: Inline image 1] >>> >>> Thanks. >>> >>> >>> ?? >>> ?? >>> ????????? >>> ?????????? >>> ???????????10????9?? ?100193? >>> >>> Best, >>> Regards, >>> Zhang Ji, PhD student >>> Beijing Computational Science Research Center >>> Zhongguancun Software Park II, No. 10 Dongbeiwang West Road, Haidian >>> District, Beijing 100193, China >>> >>> On Mon, Nov 21, 2016 at 11:15 PM, Cory Quammen >> > wrote: >>> >>>> Python 3 support should be officially supported in the next release, >>>> sometime in spring 2017. >>>> >>>> You can experimentally build ParaView's development version with >>>> Python 3 using the following settings (taken from a build on Ubuntu): >>>> >>>> PYTHON_EXECUTABLE /usr/bin/python3 >>>> PYTHON_EXTRA_LIBS >>>> PYTHON_INCLUDE_DIR /usr/include/python3.5m >>>> PYTHON_LIBRARY /usr/lib/x86_64-linux-gnu/libp >>>> ython3.5m.so >>>> PYTHON_UTIL_LIBRARY /usr/lib/x86_64-linux-gnu/libutil.so >>>> VTK_PYTHON_VERSION 3 >>>> >>>> ParaViewWeb won't work, because it depends on Twisted server which is >>>> still python2, so make sure ParaViewWeb is disabled. >>>> >>>> You may also need to install on Ubuntu the following: >>>> >>>> sudo apt-get install python2-dev python3-dev >>>> >>>> python3.5m gets installed by python3 package >>>> >>>> Thanks, >>>> Cory >>>> >>>> On Mon, Nov 21, 2016 at 4:25 AM, Ji Zhang wrote: >>>> > Dear all, >>>> > >>>> > I have checked the paraview mail list, as far as I know, pvpython do >>>> not >>>> > work with python 3 until last year. However, a year past, dose it >>>> work with >>>> > python 3 now? >>>> > >>>> > The document said it works, >>>> > ParaView is working towards full Python 3 support. To that end, >>>> python code >>>> > should be written so it is compatible with Python 2.7 and Python 3.5. >>>> See >>>> > http://www.paraview.org/ParaView3/Doc/Nightly/www/py-doc/pyt >>>> hon-2-vs-3.html >>>> > >>>> > If it works, what should I do to use it? >>>> > >>>> > Thanks. >>>> > >>>> > ?? >>>> > ?? >>>> > ????????? >>>> > ?????????? >>>> > ???????????10????9?? ?100193? >>>> > >>>> > Best, >>>> > Regards, >>>> > Zhang Ji, PhD student >>>> > Beijing Computational Science Research Center >>>> > Zhongguancun Software Park II, No. 10 Dongbeiwang West Road, Haidian >>>> > District, Beijing 100193, China >>>> > >>>> > _______________________________________________ >>>> > 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 >>>> > >>>> > Search the list archives at: http://markmail.org/search/?q=ParaView >>>> > >>>> > Follow this link to subscribe/unsubscribe: >>>> > http://public.kitware.com/mailman/listinfo/paraview >>>> > >>>> >>>> >>>> >>>> -- >>>> Cory Quammen >>>> Staff R&D Engineer >>>> Kitware, Inc. >>>> >>> >>> >> >> >> -- >> Cory Quammen >> Staff R&D Engineer >> Kitware, Inc. >> > > -- Cory Quammen Staff R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 238078 bytes Desc: not available URL: From gotofd at gmail.com Mon Nov 21 11:52:41 2016 From: gotofd at gmail.com (Ji Zhang) Date: Tue, 22 Nov 2016 00:52:41 +0800 Subject: [Paraview] Dose pvpython work with python 3.x ? In-Reply-To: References: Message-ID: Dear Cory, I have checked, and any option include WEB have been turned OFF. I setted options BUILD_EXAMPLES, BUILD_SHARED_LIBS, BUILD_DOCUMENTATION, BUILD_TESTING, and PARAVIEW_ENABLE_CATALYST off, and now the error information changs. I'm not sure which one works actually. Now the message is: *In file included from /home/zhangji/PycharmProjects/ParaView-v5.2.0/VTK/Wrapping/Python/vtkPythonAppInit.cxx:29:0:* */home/zhangji/PycharmProjects/ParaView-v5.2.0/build/VTK/Wrapping/Python/vtkpythonmodules.h: In function ?void vtkpythonmodulesPythonLoadAllPythonModules()?:* */home/zhangji/PycharmProjects/ParaView-v5.2.0/build/VTK/Wrapping/Python/vtkpythonmodules.h:149:68: error: invalid conversion from ?void (*)()? to ?PyObject* (*)() {aka _object* (*)()}? [-fpermissive]* * PyImport_AppendInittab(namevtkCommonCore, initvtkCommonCorePython);* * ^* *In file included from /home/zhangji/anaconda3/include/python3.5m/Python.h:120:0,* * from /home/zhangji/PycharmProjects/ParaView-v5.2.0/VTK/Utilities/Python/vtkPython.h:80,* * from /home/zhangji/PycharmProjects/ParaView-v5.2.0/VTK/Wrapping/Python/vtkPythonAppInit.cxx:18:* */home/zhangji/anaconda3/include/python3.5m/import.h:109:17: note: initializing argument 2 of ?int PyImport_AppendInittab(const char*, PyObject* (*)())?* * PyAPI_FUNC(int) PyImport_AppendInittab(* * ^* Thanks. ?? ?? ????????? ?????????? ???????????10????9?? ?100193? Best, Regards, Zhang Ji, PhD student Beijing Computational Science Research Center Zhongguancun Software Park II, No. 10 Dongbeiwang West Road, Haidian District, Beijing 100193, China On Tue, Nov 22, 2016 at 12:22 AM, Cory Quammen wrote: > Is VTK_Group_Web ON? Try turning it off. Also make sure all the > Module_vtkWeb* options are off. > > On Mon, Nov 21, 2016 at 11:17 AM, Ji Zhang wrote: > >> Dear Cory, >> >> I tried to set PARAVIEW_ENABLE_WEB to OFF, and now the error messages >> are as follow. >> >> *[ 7%] Built target vtkCommonMiscCS* >> *Scanning dependencies of target paraview_pyc* >> *[ 7%] Generating pv_copy_and_compile_py_files_complete* >> *copying paraview/*.py to .../site-paraview/paraview* >> *[ 7%] Building CXX object >> VTK/Wrapping/Python/CMakeFiles/vtkCommonCorePythonD.dir/vtkArraySortPython.cxx.o* >> *copying VTKs py files to .../site-packages/paraview/vtk* >> *copy minimized __init__.py to .../site-packages/paraview/vtk* >> *also copying VTKs py to .../site-packages/vtk* >> *[ 7%] Building CXX object >> Wrapping/ClientServer/CMakeFiles/vtkCommonCoreCS.dir/vtkDataArrayClientServer.cxx.o* >> *[ 7%] Building CXX object >> VTK/Wrapping/Python/CMakeFiles/vtkCommonCorePythonD.dir/vtkArrayWeightsPython.cxx.o* >> *[ 7%] Building CXX object >> Wrapping/ClientServer/CMakeFiles/vtkCommonCoreCS.dir/vtkDataArraySelectionClientServer.cxx.o* >> **** Error compiling >> '/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/dataset_builder.py'...* >> * File >> "/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/dataset_builder.py", >> line 267* >> * print 'Compress', root* >> * ^* >> *SyntaxError: Missing parentheses in call to 'print'* >> >> **** Error compiling >> '/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/launcher.py'...* >> * File >> "/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/launcher.py", >> line 155* >> * print "ERROR: %s is missing %s key." % (object_name, key)* >> * ^* >> *SyntaxError: invalid syntax* >> >> **** Error compiling >> '/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/protocols.py'...* >> * File >> "/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/protocols.py", >> line 139* >> * print "FIXME"* >> * ^* >> *SyntaxError: Missing parentheses in call to 'print'* >> >> **** Error compiling >> '/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/testing.py'...* >> * File >> "/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/testing.py", >> line 149* >> * print "WARNING: Some tests may have unmet dependencies"* >> * ^* >> *SyntaxError: Missing parentheses in call to 'print'* >> >> What can I do now? Thanks. >> >> >> ?? >> ?? >> ????????? >> ?????????? >> ???????????10????9?? ?100193? >> >> Best, >> Regards, >> Zhang Ji, PhD student >> Beijing Computational Science Research Center >> Zhongguancun Software Park II, No. 10 Dongbeiwang West Road, Haidian >> District, Beijing 100193, China >> >> On Tue, Nov 22, 2016 at 12:00 AM, Cory Quammen >> wrote: >> >>> Yep, as I mentioned the version of twisted ParaViewWeb uses is not >>> compatible with Python 3. Set PARAVIEW_ENABLE_WEB to OFF and try again. >>> >>> The twisted package needs to be updated to work with Python 3, but that >>> has not happened yet. >>> >>> On Mon, Nov 21, 2016 at 10:53 AM, Ji Zhang wrote: >>> >>>> Dear Cory, >>>> >>>> Thanks very much for your reply. >>>> >>>> I have tried what you said, however, I got some error report, >>>> *[ 2%] Compiling Python package 'twisted'* >>>> *Listing >>>> '/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web'...* >>>> *Compiling >>>> '/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/dataset_builder.py'...* >>>> **** File >>>> "/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/dataset_builder.py", >>>> line 267* >>>> * print 'Compress', root* >>>> * ^* >>>> *SyntaxError: Missing parentheses in call to 'print'* >>>> >>>> *Compiling >>>> '/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/launcher.py'...* >>>> **** File >>>> "/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/launcher.py", >>>> line 155* >>>> * print "ERROR: %s is missing %s key." % (object_name, key)* >>>> * ^* >>>> *SyntaxError: invalid syntax* >>>> >>>> It looks like that python 2 have been used when I make the code. >>>> >>>> The configure commands I used associated with python are showing below, >>>> I think I told the compiler use a python 3 environment. >>>> [image: Inline image 1] >>>> >>>> Thanks. >>>> >>>> >>>> ?? >>>> ?? >>>> ????????? >>>> ?????????? >>>> ???????????10????9?? ?100193? >>>> >>>> Best, >>>> Regards, >>>> Zhang Ji, PhD student >>>> Beijing Computational Science Research Center >>>> Zhongguancun Software Park II, No. 10 Dongbeiwang West Road, Haidian >>>> District, Beijing 100193, China >>>> >>>> On Mon, Nov 21, 2016 at 11:15 PM, Cory Quammen < >>>> cory.quammen at kitware.com> wrote: >>>> >>>>> Python 3 support should be officially supported in the next release, >>>>> sometime in spring 2017. >>>>> >>>>> You can experimentally build ParaView's development version with >>>>> Python 3 using the following settings (taken from a build on Ubuntu): >>>>> >>>>> PYTHON_EXECUTABLE /usr/bin/python3 >>>>> PYTHON_EXTRA_LIBS >>>>> PYTHON_INCLUDE_DIR /usr/include/python3.5m >>>>> PYTHON_LIBRARY /usr/lib/x86_64-linux-gnu/libp >>>>> ython3.5m.so >>>>> PYTHON_UTIL_LIBRARY /usr/lib/x86_64-linux-gnu/libutil.so >>>>> VTK_PYTHON_VERSION 3 >>>>> >>>>> ParaViewWeb won't work, because it depends on Twisted server which is >>>>> still python2, so make sure ParaViewWeb is disabled. >>>>> >>>>> You may also need to install on Ubuntu the following: >>>>> >>>>> sudo apt-get install python2-dev python3-dev >>>>> >>>>> python3.5m gets installed by python3 package >>>>> >>>>> Thanks, >>>>> Cory >>>>> >>>>> On Mon, Nov 21, 2016 at 4:25 AM, Ji Zhang wrote: >>>>> > Dear all, >>>>> > >>>>> > I have checked the paraview mail list, as far as I know, pvpython do >>>>> not >>>>> > work with python 3 until last year. However, a year past, dose it >>>>> work with >>>>> > python 3 now? >>>>> > >>>>> > The document said it works, >>>>> > ParaView is working towards full Python 3 support. To that end, >>>>> python code >>>>> > should be written so it is compatible with Python 2.7 and Python >>>>> 3.5. See >>>>> > http://www.paraview.org/ParaView3/Doc/Nightly/www/py-doc/pyt >>>>> hon-2-vs-3.html >>>>> > >>>>> > If it works, what should I do to use it? >>>>> > >>>>> > Thanks. >>>>> > >>>>> > ?? >>>>> > ?? >>>>> > ????????? >>>>> > ?????????? >>>>> > ???????????10????9?? ?100193? >>>>> > >>>>> > Best, >>>>> > Regards, >>>>> > Zhang Ji, PhD student >>>>> > Beijing Computational Science Research Center >>>>> > Zhongguancun Software Park II, No. 10 Dongbeiwang West Road, Haidian >>>>> > District, Beijing 100193, China >>>>> > >>>>> > _______________________________________________ >>>>> > 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 >>>>> > >>>>> > Search the list archives at: http://markmail.org/search/?q=ParaView >>>>> > >>>>> > Follow this link to subscribe/unsubscribe: >>>>> > http://public.kitware.com/mailman/listinfo/paraview >>>>> > >>>>> >>>>> >>>>> >>>>> -- >>>>> Cory Quammen >>>>> Staff R&D Engineer >>>>> Kitware, Inc. >>>>> >>>> >>>> >>> >>> >>> -- >>> Cory Quammen >>> Staff R&D Engineer >>> Kitware, Inc. >>> >> >> > > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 238078 bytes Desc: not available URL: From cory.quammen at kitware.com Mon Nov 21 13:24:30 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Mon, 21 Nov 2016 13:24:30 -0500 Subject: [Paraview] Dose pvpython work with python 3.x ? In-Reply-To: References: Message-ID: I'm not sure what the problem is. We've barely tested building against Python 3, and I personally have never built with Python 3, so it's quite possible you have uncovered a problem. Unfortunately, I don't have time to investigate further at the moment. If you figure it out, please let us know. Best, Cory On Mon, Nov 21, 2016 at 11:52 AM, Ji Zhang wrote: > Dear Cory, > > I have checked, and any option include WEB have been turned OFF. > > I setted options BUILD_EXAMPLES, BUILD_SHARED_LIBS, BUILD_DOCUMENTATION, > BUILD_TESTING, and PARAVIEW_ENABLE_CATALYST off, and now the error > information changs. I'm not sure which one works actually. > Now the message is: > *In file included from > /home/zhangji/PycharmProjects/ParaView-v5.2.0/VTK/Wrapping/Python/vtkPythonAppInit.cxx:29:0:* > */home/zhangji/PycharmProjects/ParaView-v5.2.0/build/VTK/Wrapping/Python/vtkpythonmodules.h: > In function ?void vtkpythonmodulesPythonLoadAllPythonModules()?:* > */home/zhangji/PycharmProjects/ParaView-v5.2.0/build/VTK/Wrapping/Python/vtkpythonmodules.h:149:68: > error: invalid conversion from ?void (*)()? to ?PyObject* (*)() {aka > _object* (*)()}? [-fpermissive]* > * PyImport_AppendInittab(namevtkCommonCore, initvtkCommonCorePython);* > * ^* > *In file included from > /home/zhangji/anaconda3/include/python3.5m/Python.h:120:0,* > * from > /home/zhangji/PycharmProjects/ParaView-v5.2.0/VTK/Utilities/Python/vtkPython.h:80,* > * from > /home/zhangji/PycharmProjects/ParaView-v5.2.0/VTK/Wrapping/Python/vtkPythonAppInit.cxx:18:* > */home/zhangji/anaconda3/include/python3.5m/import.h:109:17: note: > initializing argument 2 of ?int PyImport_AppendInittab(const char*, > PyObject* (*)())?* > * PyAPI_FUNC(int) PyImport_AppendInittab(* > * ^* > > > Thanks. > > ?? > ?? > ????????? > ?????????? > ???????????10????9?? ?100193? > > Best, > Regards, > Zhang Ji, PhD student > Beijing Computational Science Research Center > Zhongguancun Software Park II, No. 10 Dongbeiwang West Road, Haidian > District, Beijing 100193, China > > On Tue, Nov 22, 2016 at 12:22 AM, Cory Quammen > wrote: > >> Is VTK_Group_Web ON? Try turning it off. Also make sure all the >> Module_vtkWeb* options are off. >> >> On Mon, Nov 21, 2016 at 11:17 AM, Ji Zhang wrote: >> >>> Dear Cory, >>> >>> I tried to set PARAVIEW_ENABLE_WEB to OFF, and now the error messages >>> are as follow. >>> >>> *[ 7%] Built target vtkCommonMiscCS* >>> *Scanning dependencies of target paraview_pyc* >>> *[ 7%] Generating pv_copy_and_compile_py_files_complete* >>> *copying paraview/*.py to .../site-paraview/paraview* >>> *[ 7%] Building CXX object >>> VTK/Wrapping/Python/CMakeFiles/vtkCommonCorePythonD.dir/vtkArraySortPython.cxx.o* >>> *copying VTKs py files to .../site-packages/paraview/vtk* >>> *copy minimized __init__.py to .../site-packages/paraview/vtk* >>> *also copying VTKs py to .../site-packages/vtk* >>> *[ 7%] Building CXX object >>> Wrapping/ClientServer/CMakeFiles/vtkCommonCoreCS.dir/vtkDataArrayClientServer.cxx.o* >>> *[ 7%] Building CXX object >>> VTK/Wrapping/Python/CMakeFiles/vtkCommonCorePythonD.dir/vtkArrayWeightsPython.cxx.o* >>> *[ 7%] Building CXX object >>> Wrapping/ClientServer/CMakeFiles/vtkCommonCoreCS.dir/vtkDataArraySelectionClientServer.cxx.o* >>> **** Error compiling >>> '/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/dataset_builder.py'...* >>> * File >>> "/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/dataset_builder.py", >>> line 267* >>> * print 'Compress', root* >>> * ^* >>> *SyntaxError: Missing parentheses in call to 'print'* >>> >>> **** Error compiling >>> '/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/launcher.py'...* >>> * File >>> "/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/launcher.py", >>> line 155* >>> * print "ERROR: %s is missing %s key." % (object_name, key)* >>> * ^* >>> *SyntaxError: invalid syntax* >>> >>> **** Error compiling >>> '/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/protocols.py'...* >>> * File >>> "/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/protocols.py", >>> line 139* >>> * print "FIXME"* >>> * ^* >>> *SyntaxError: Missing parentheses in call to 'print'* >>> >>> **** Error compiling >>> '/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/testing.py'...* >>> * File >>> "/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/testing.py", >>> line 149* >>> * print "WARNING: Some tests may have unmet dependencies"* >>> * ^* >>> *SyntaxError: Missing parentheses in call to 'print'* >>> >>> What can I do now? Thanks. >>> >>> >>> ?? >>> ?? >>> ????????? >>> ?????????? >>> ???????????10????9?? ?100193? >>> >>> Best, >>> Regards, >>> Zhang Ji, PhD student >>> Beijing Computational Science Research Center >>> Zhongguancun Software Park II, No. 10 Dongbeiwang West Road, Haidian >>> District, Beijing 100193, China >>> >>> On Tue, Nov 22, 2016 at 12:00 AM, Cory Quammen >> > wrote: >>> >>>> Yep, as I mentioned the version of twisted ParaViewWeb uses is not >>>> compatible with Python 3. Set PARAVIEW_ENABLE_WEB to OFF and try again. >>>> >>>> The twisted package needs to be updated to work with Python 3, but that >>>> has not happened yet. >>>> >>>> On Mon, Nov 21, 2016 at 10:53 AM, Ji Zhang wrote: >>>> >>>>> Dear Cory, >>>>> >>>>> Thanks very much for your reply. >>>>> >>>>> I have tried what you said, however, I got some error report, >>>>> *[ 2%] Compiling Python package 'twisted'* >>>>> *Listing >>>>> '/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web'...* >>>>> *Compiling >>>>> '/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/dataset_builder.py'...* >>>>> **** File >>>>> "/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/dataset_builder.py", >>>>> line 267* >>>>> * print 'Compress', root* >>>>> * ^* >>>>> *SyntaxError: Missing parentheses in call to 'print'* >>>>> >>>>> *Compiling >>>>> '/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/launcher.py'...* >>>>> **** File >>>>> "/home/zhangji/PycharmProjects/ParaView-v5.2.0/build/lib/site-packages/vtk/web/launcher.py", >>>>> line 155* >>>>> * print "ERROR: %s is missing %s key." % (object_name, key)* >>>>> * ^* >>>>> *SyntaxError: invalid syntax* >>>>> >>>>> It looks like that python 2 have been used when I make the code. >>>>> >>>>> The configure commands I used associated with python are showing >>>>> below, I think I told the compiler use a python 3 environment. >>>>> [image: Inline image 1] >>>>> >>>>> Thanks. >>>>> >>>>> >>>>> ?? >>>>> ?? >>>>> ????????? >>>>> ?????????? >>>>> ???????????10????9?? ?100193? >>>>> >>>>> Best, >>>>> Regards, >>>>> Zhang Ji, PhD student >>>>> Beijing Computational Science Research Center >>>>> Zhongguancun Software Park II, No. 10 Dongbeiwang West Road, Haidian >>>>> District, Beijing 100193, China >>>>> >>>>> On Mon, Nov 21, 2016 at 11:15 PM, Cory Quammen < >>>>> cory.quammen at kitware.com> wrote: >>>>> >>>>>> Python 3 support should be officially supported in the next release, >>>>>> sometime in spring 2017. >>>>>> >>>>>> You can experimentally build ParaView's development version with >>>>>> Python 3 using the following settings (taken from a build on Ubuntu): >>>>>> >>>>>> PYTHON_EXECUTABLE /usr/bin/python3 >>>>>> PYTHON_EXTRA_LIBS >>>>>> PYTHON_INCLUDE_DIR /usr/include/python3.5m >>>>>> PYTHON_LIBRARY /usr/lib/x86_64-linux-gnu/libp >>>>>> ython3.5m.so >>>>>> PYTHON_UTIL_LIBRARY /usr/lib/x86_64-linux-gnu/libutil.so >>>>>> VTK_PYTHON_VERSION 3 >>>>>> >>>>>> ParaViewWeb won't work, because it depends on Twisted server which is >>>>>> still python2, so make sure ParaViewWeb is disabled. >>>>>> >>>>>> You may also need to install on Ubuntu the following: >>>>>> >>>>>> sudo apt-get install python2-dev python3-dev >>>>>> >>>>>> python3.5m gets installed by python3 package >>>>>> >>>>>> Thanks, >>>>>> Cory >>>>>> >>>>>> On Mon, Nov 21, 2016 at 4:25 AM, Ji Zhang wrote: >>>>>> > Dear all, >>>>>> > >>>>>> > I have checked the paraview mail list, as far as I know, pvpython >>>>>> do not >>>>>> > work with python 3 until last year. However, a year past, dose it >>>>>> work with >>>>>> > python 3 now? >>>>>> > >>>>>> > The document said it works, >>>>>> > ParaView is working towards full Python 3 support. To that end, >>>>>> python code >>>>>> > should be written so it is compatible with Python 2.7 and Python >>>>>> 3.5. See >>>>>> > http://www.paraview.org/ParaView3/Doc/Nightly/www/py-doc/pyt >>>>>> hon-2-vs-3.html >>>>>> > >>>>>> > If it works, what should I do to use it? >>>>>> > >>>>>> > Thanks. >>>>>> > >>>>>> > ?? >>>>>> > ?? >>>>>> > ????????? >>>>>> > ?????????? >>>>>> > ???????????10????9?? ?100193? >>>>>> > >>>>>> > Best, >>>>>> > Regards, >>>>>> > Zhang Ji, PhD student >>>>>> > Beijing Computational Science Research Center >>>>>> > Zhongguancun Software Park II, No. 10 Dongbeiwang West Road, Haidian >>>>>> > District, Beijing 100193, China >>>>>> > >>>>>> > _______________________________________________ >>>>>> > 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 >>>>>> > >>>>>> > Search the list archives at: http://markmail.org/search/?q=ParaView >>>>>> > >>>>>> > Follow this link to subscribe/unsubscribe: >>>>>> > http://public.kitware.com/mailman/listinfo/paraview >>>>>> > >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Cory Quammen >>>>>> Staff R&D Engineer >>>>>> Kitware, Inc. >>>>>> >>>>> >>>>> >>>> >>>> >>>> -- >>>> Cory Quammen >>>> Staff R&D Engineer >>>> Kitware, Inc. >>>> >>> >>> >> >> >> -- >> Cory Quammen >> Staff R&D Engineer >> Kitware, Inc. >> > > -- Cory Quammen Staff R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 238078 bytes Desc: not available URL: From marcus.hanwell at kitware.com Mon Nov 21 14:21:01 2016 From: marcus.hanwell at kitware.com (Marcus D. Hanwell) Date: Mon, 21 Nov 2016 14:21:01 -0500 Subject: [Paraview] Dose pvpython work with python 3.x ? In-Reply-To: References: Message-ID: On Mon, Nov 21, 2016 at 1:24 PM, Cory Quammen wrote: > > I'm not sure what the problem is. We've barely tested building against Python 3, and I personally have never built with Python 3, so it's quite possible you have uncovered a problem. Unfortunately, I don't have time to investigate further at the moment. > > If you figure it out, please let us know. > Just to add one small data point, I was able to compile ParaView master against Python 3 on my Linux system. Right now it looks like opening the Python shell causes a segfault (at least for me). Tomviz is a ParaView based GUI, and it also hits a compile failure at the moment. Hopefully we will have more time to look at this in December/January, but it is not a high priority right now (although I don't want to wait too long). From gotofd at gmail.com Mon Nov 21 22:13:41 2016 From: gotofd at gmail.com (Ji Zhang) Date: Tue, 22 Nov 2016 11:13:41 +0800 Subject: [Paraview] Dose pvpython work with python 3.x ? In-Reply-To: References: Message-ID: Thanks for both of you. I think the best way for me is waiting the new version. ?? ?? ????????? ?????????? ???????????10????9?? ?100193? Best, Regards, Zhang Ji, PhD student Beijing Computational Science Research Center Zhongguancun Software Park II, No. 10 Dongbeiwang West Road, Haidian District, Beijing 100193, China On Tue, Nov 22, 2016 at 3:21 AM, Marcus D. Hanwell < marcus.hanwell at kitware.com> wrote: > On Mon, Nov 21, 2016 at 1:24 PM, Cory Quammen > wrote: > > > > I'm not sure what the problem is. We've barely tested building against > Python 3, and I personally have never built with Python 3, so it's quite > possible you have uncovered a problem. Unfortunately, I don't have time to > investigate further at the moment. > > > > If you figure it out, please let us know. > > > Just to add one small data point, I was able to compile ParaView > master against Python 3 on my Linux system. Right now it looks like > opening the Python shell causes a segfault (at least for me). Tomviz > is a ParaView based GUI, and it also hits a compile failure at the > moment. > > Hopefully we will have more time to look at this in December/January, > but it is not a high priority right now (although I don't want to wait > too long). > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Gerald.Lodron at joanneum.at Tue Nov 22 03:10:06 2016 From: Gerald.Lodron at joanneum.at (Lodron, Gerald) Date: Tue, 22 Nov 2016 08:10:06 +0000 Subject: [Paraview] Migration from Paraview 4.4 to 5.2 Message-ID: <0da0698187434febb207fbc6a460d89b@RZJMBX2.jr1.local> Hi I currently updated my paraview and saw that my custom filter object panels which are inherited from pqObjectPanel and pqNamedObjectPanel seems to be deprecated.. I googled but could not find a migration guide. Can you give me a hint where to look? thanks ------------------------------------------------------------------------------------ Gerald Lodron ? Researcher of Machine Vision Applications Group DIGITAL - Institute for Information and Communication Technologies ? JOANNEUM RESEARCH Forschungsgesellschaft mbH Steyrergasse 17, 8010 Graz, AUSTRIA ? phone:?? +43-316-876-1751??? general fax: +43-316-876-1751 web: http://www.joanneum.at/digital e-mail: gerald.lodron at joanneum.at From utkarsh.ayachit at kitware.com Tue Nov 22 08:17:18 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 22 Nov 2016 08:17:18 -0500 Subject: [Paraview] Migration from Paraview 4.4 to 5.2 In-Reply-To: <0da0698187434febb207fbc6a460d89b@RZJMBX2.jr1.local> References: <0da0698187434febb207fbc6a460d89b@RZJMBX2.jr1.local> Message-ID: Gerald, The pqObjectPanel/pqNamedObjectPanel have been long deprecated -- ~4.0. This page covers the new design: http://www.paraview.org/Wiki/ParaView/Properties_Panel This covers the changes to the plugins: http://www.paraview.org/Wiki/Plugin_HowTo#Adding_Customizations_for_Properties_Panel Utkarsh On Tue, Nov 22, 2016 at 3:10 AM, Lodron, Gerald wrote: > Hi > > I currently updated my paraview and saw that my custom filter object panels which are inherited from pqObjectPanel and pqNamedObjectPanel seems to be deprecated.. I googled but could not find a migration guide. Can you give me a hint where to look? > > thanks > ------------------------------------------------------------------------------------ > Gerald Lodron > > Researcher of Machine Vision Applications Group > DIGITAL - Institute for Information and Communication Technologies > > JOANNEUM RESEARCH Forschungsgesellschaft mbH > Steyrergasse 17, 8010 Graz, AUSTRIA > > phone: +43-316-876-1751 > general fax: +43-316-876-1751 > web: http://www.joanneum.at/digital > e-mail: gerald.lodron at joanneum.at > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview From utkarsh.ayachit at kitware.com Tue Nov 22 08:46:35 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 22 Nov 2016 08:46:35 -0500 Subject: [Paraview] Automatic connect to Catalyst In-Reply-To: References: Message-ID: Arno, > I tried to generate a PV Python script using the trace option, but it did > not show me any output related to connecting to the Catalyst simulation. Is > it at all possible to do this via a Python script? Not currently, I am afraid. The connect-to-live functionality is currently not exposed to Python and hence not scriptable or accessible via Python API alone. > I also have not found any command line options that would allow me to > connect to a certain Catalyst port, did I miss something here? Correct, they don't exist either. Feel free to add a feature request for the case or put together a merge-request to add support for this. > And finally if none of the above works, would a custom plug-in that is auto > loaded allow me to perform this small piece of magic? Or any other ways of > doing this? Yes, that may be possible. Follow the code path starting with pqCatalystConnectReaction::connect()[1]. That will tell you how ParaView connects to insitu. You can mimic parts of that in your plugin's auto-start method. Utkarsh [1] https://gitlab.kitware.com/paraview/paraview/blob/master/Qt/ApplicationComponents/pqCatalystConnectReaction.cxx#L61-72 From Gerald.Lodron at joanneum.at Tue Nov 22 09:02:50 2016 From: Gerald.Lodron at joanneum.at (Lodron, Gerald) Date: Tue, 22 Nov 2016 14:02:50 +0000 Subject: [Paraview] Migration from Paraview 4.4 to 5.2 In-Reply-To: References: <0da0698187434febb207fbc6a460d89b@RZJMBX2.jr1.local> Message-ID: thanks -----Urspr?ngliche Nachricht----- Von: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] Gesendet: Dienstag, 22. November 2016 14:17 An: Lodron, Gerald Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview] Migration from Paraview 4.4 to 5.2 Gerald, The pqObjectPanel/pqNamedObjectPanel have been long deprecated -- ~4.0. This page covers the new design: http://www.paraview.org/Wiki/ParaView/Properties_Panel This covers the changes to the plugins: http://www.paraview.org/Wiki/Plugin_HowTo#Adding_Customizations_for_Properties_Panel Utkarsh On Tue, Nov 22, 2016 at 3:10 AM, Lodron, Gerald wrote: > Hi > > I currently updated my paraview and saw that my custom filter object panels which are inherited from pqObjectPanel and pqNamedObjectPanel seems to be deprecated.. I googled but could not find a migration guide. Can you give me a hint where to look? > > thanks > ---------------------------------------------------------------------- > -------------- > Gerald Lodron > > Researcher of Machine Vision Applications Group DIGITAL - Institute > for Information and Communication Technologies > > JOANNEUM RESEARCH Forschungsgesellschaft mbH Steyrergasse 17, 8010 > Graz, AUSTRIA > > phone: +43-316-876-1751 > general fax: +43-316-876-1751 > web: http://www.joanneum.at/digital > e-mail: gerald.lodron at joanneum.at > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview From arno.mayrhofer at dcs-computing.com Tue Nov 22 09:47:15 2016 From: arno.mayrhofer at dcs-computing.com (Arno Mayrhofer) Date: Tue, 22 Nov 2016 15:47:15 +0100 Subject: [Paraview] Automatic connect to Catalyst In-Reply-To: References: Message-ID: <5d694f75-6395-776a-8241-4d2feba7bb69@dcs-computing.com> Utkarsh, thanks for your reply. As you suggested I opened the following issue on your gitlab page: https://gitlab.kitware.com/paraview/paraview/issues/17037 Unfortunately I do not have time to devote to resolving this issue myself currently. Whether or not that will change is unclear at the moment. Thanks, Arno >> I tried to generate a PV Python script using the trace option, but it did >> not show me any output related to connecting to the Catalyst simulation. Is >> it at all possible to do this via a Python script? > Not currently, I am afraid. The connect-to-live functionality is > currently not exposed to Python and hence not scriptable or accessible > via Python API alone. > >> I also have not found any command line options that would allow me to >> connect to a certain Catalyst port, did I miss something here? > Correct, they don't exist either. Feel free to add a feature request > for the case or put together a merge-request to add support for this. From utkarsh.ayachit at kitware.com Tue Nov 22 09:55:51 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 22 Nov 2016 09:55:51 -0500 Subject: [Paraview] Automatic connect to Catalyst In-Reply-To: <5d694f75-6395-776a-8241-4d2feba7bb69@dcs-computing.com> References: <5d694f75-6395-776a-8241-4d2feba7bb69@dcs-computing.com> Message-ID: Thanks for reporting, Arno. On Tue, Nov 22, 2016 at 9:47 AM, Arno Mayrhofer wrote: > Utkarsh, > > thanks for your reply. As you suggested I opened the following issue on your > gitlab page: > > https://gitlab.kitware.com/paraview/paraview/issues/17037 > > Unfortunately I do not have time to devote to resolving this issue myself > currently. Whether or not that will change is unclear at the moment. > > Thanks, > Arno > > > >>> I tried to generate a PV Python script using the trace option, but it did >>> not show me any output related to connecting to the Catalyst simulation. >>> Is >>> it at all possible to do this via a Python script? >> >> Not currently, I am afraid. The connect-to-live functionality is >> currently not exposed to Python and hence not scriptable or accessible >> via Python API alone. >> >>> I also have not found any command line options that would allow me to >>> connect to a certain Catalyst port, did I miss something here? >> >> Correct, they don't exist either. Feel free to add a feature request >> for the case or put together a merge-request to add support for this. From berk.geveci at kitware.com Tue Nov 22 14:20:46 2016 From: berk.geveci at kitware.com (Berk Geveci) Date: Tue, 22 Nov 2016 14:20:46 -0500 Subject: [Paraview] RAW (binary) file import issues In-Reply-To: <30A66172CB124E45B9646EE1B4567000A7DC6D42@SRV00046.soton.ac.uk> References: <30A66172CB124E45B9646EE1B4567000A7DC6D42@SRV00046.soton.ac.uk> Message-ID: Hmmm that happens to be around 4 GB which makes me wonder if there is a limit somewhere in that reader... Any chance you can try this on a Linux machine? On Thu, Nov 17, 2016 at 10:30 AM, Keyes S.D. wrote: > Dear all, > > I am encountering issues when trying to import large 8 bit RAW volumes to > Paraview 5.1.2 (64 bit). > > The file I wish to import has xyz dimensions of 2000x2000x1920 voxels > (Unsigned char), 7.5GB. I am running a machine with 192 GB RAM and 12 CPU > cores. > > I can import up to a 2000x2000x1000 crop of this file, but I encounter the > following message when I attempt larger z dimensions: > > ERROR: In C:\bbd\df0abce0\source-paraview\VTK\IO\Image\vtkImageReader2.cxx, > line 592 > > vtkPVImageReader (0000000007767F90): Initialize: Could not open file > \\cseg_2\ERC\SLS_201606\Myco_2\CT2PpR3h1_\Hyphalseg_Raw_ > 2000_2000_1920_8bit_SKELETON_FILT_PARAVIEW_TEST.raw > > > I cannot find an obvious memory ceiling within the paraview settings - any > ideas as to whether there is some effective upper limit to import file size? > > Sam > > Samuel D Keyes, MEng, PhD > New Frontiers Fellow > Bioengineering / ?VIS Centre for Computed Tomography > University of Southampton > E: S.D.Keyes at soton.ac.uk redir.aspx?SURL=dhUg3da8XR77LeItLDzJQwhAwmH0Wx > 6PHrXeKfxx2tOD3LCr737TCG0AYQBpAGwAdABvADoAUwAuAEQALgBLAGUAeQ > BlAHMAQABzAG8AdABvAG4ALgBhAGMALgB1AGsA&URL=mailto%3aS.D. > Keyes%40soton.ac.uk> > T: 07898720248 > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From burlen.loring at gmail.com Tue Nov 22 14:55:23 2016 From: burlen.loring at gmail.com (Burlen Loring) Date: Tue, 22 Nov 2016 11:55:23 -0800 Subject: [Paraview] RAW (binary) file import issues In-Reply-To: References: <30A66172CB124E45B9646EE1B4567000A7DC6D42@SRV00046.soton.ac.uk> Message-ID: I've hit that before. the RAW reader uses MPI-I/O, and MPI uses signed int everywhere in its API, so there are limits that you end up hitting. For instance to partition the data among processors one must give MPI-I/O the starting offset of the data in the file as a signed int, and that is limited to 2^31. Burlen On 11/22/2016 11:20 AM, Berk Geveci wrote: > Hmmm that happens to be around 4 GB which makes me wonder if there is > a limit somewhere in that reader... Any chance you can try this on a > Linux machine? > > On Thu, Nov 17, 2016 at 10:30 AM, Keyes S.D. > wrote: > > Dear all, > > I am encountering issues when trying to import large 8 bit RAW > volumes to Paraview 5.1.2 (64 bit). > > The file I wish to import has xyz dimensions of 2000x2000x1920 > voxels (Unsigned char), 7.5GB. I am running a machine with 192 GB > RAM and 12 CPU cores. > > I can import up to a 2000x2000x1000 crop of this file, but I > encounter the following message when I attempt larger z dimensions: > > ERROR: In > C:\bbd\df0abce0\source-paraview\VTK\IO\Image\vtkImageReader2.cxx, > line 592 > > vtkPVImageReader (0000000007767F90): Initialize: Could not open > file > \\cseg_2\ERC\SLS_201606\Myco_2\CT2PpR3h1_\Hyphalseg_Raw_2000_2000_1920_8bit_SKELETON_FILT_PARAVIEW_TEST.raw > > > I cannot find an obvious memory ceiling within the paraview > settings - any ideas as to whether there is some effective upper > limit to import file size? > > Sam > > Samuel D Keyes, MEng, PhD > New Frontiers Fellow > Bioengineering / ?VIS Centre for Computed Tomography > University of Southampton > E: S.D.Keyes at soton.ac.uk > > > T: 07898720248 > _______________________________________________ > 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 > > Search the list archives at: > http://markmail.org/search/?q=ParaView > > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From leonardopessanha74 at gmail.com Tue Nov 22 15:56:56 2016 From: leonardopessanha74 at gmail.com (=?UTF-8?Q?L=C3=A9o_Pessanha?=) Date: Tue, 22 Nov 2016 18:56:56 -0200 Subject: [Paraview] Warning Exporting VRML Files Message-ID: Hi! After version 5.0 of paraview for Windows x64 everytime I export a Scene in VRML format I get the warning Warning: In > C:\bbd\df0abce0\source-paraview\VTK\Filters\Geometry\vtkDataSetSurfaceFilter.cxx, > line 166 > vtkDataSetSurfaceFilter (000001A2CFB3E6E0): Number of cells is zero, no > data to process. It happens with any data, even a Box from Source. The data seems to be exported correctly though. Is that a bug? Can anyone help me turning it off? My macros won't work because of that. Thanks in advance! Leonardo Pessanha COPPE/UFRJ -------------- next part -------------- An HTML attachment was scrubbed... URL: From kmorel at sandia.gov Tue Nov 22 17:11:02 2016 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Tue, 22 Nov 2016 22:11:02 +0000 Subject: [Paraview] RAW (binary) file import issues Message-ID: <44db108eb6024280b31a555bdbc95754@ES08AMSNLNT.srn.sandia.gov> Although we have certainly run into issues with communicating large messages, I?m not sure this is the issue with MPI-I/O. File sizes and linear offsets use a type MPI_Offset, which according to the specification should be large enough to hold the size of any file supported by the file system. Although it is true that creating the 3D subarray uses 32-bit indices, those are for each of the separate dimensions, and 2000 falls well below that limit. Besides, it looks like that error happens when checking an ifstream object, so it looks like the reader is bypassing the MPI-I/O path anyway. I would follow Berk?s suggesting of looking into the filesystem before diving into the guts of MPI-I/O. -Ken From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Burlen Loring Sent: Tuesday, November 22, 2016 12:55 PM To: Geveci, Berk (External Contact) ; Keyes S.D. Cc: paraview at paraview.org Subject: [EXTERNAL] Re: [Paraview] RAW (binary) file import issues I've hit that before. the RAW reader uses MPI-I/O, and MPI uses signed int everywhere in its API, so there are limits that you end up hitting. For instance to partition the data among processors one must give MPI-I/O the starting offset of the data in the file as a signed int, and that is limited to 2^31. Burlen On 11/22/2016 11:20 AM, Berk Geveci wrote: Hmmm that happens to be around 4 GB which makes me wonder if there is a limit somewhere in that reader... Any chance you can try this on a Linux machine? On Thu, Nov 17, 2016 at 10:30 AM, Keyes S.D. > wrote: Dear all, I am encountering issues when trying to import large 8 bit RAW volumes to Paraview 5.1.2 (64 bit). The file I wish to import has xyz dimensions of 2000x2000x1920 voxels (Unsigned char), 7.5GB. I am running a machine with 192 GB RAM and 12 CPU cores. I can import up to a 2000x2000x1000 crop of this file, but I encounter the following message when I attempt larger z dimensions: ERROR: In C:\bbd\df0abce0\source-paraview\VTK\IO\Image\vtkImageReader2.cxx, line 592 vtkPVImageReader (0000000007767F90): Initialize: Could not open file \\cseg_2\ERC\SLS_201606\Myco_2\CT2PpR3h1_\Hyphalseg_Raw_2000_2000_1920_8bit_SKELETON_FILT_PARAVIEW_TEST.raw I cannot find an obvious memory ceiling within the paraview settings - any ideas as to whether there is some effective upper limit to import file size? Sam Samuel D Keyes, MEng, PhD New Frontiers Fellow Bioengineering / ?VIS Centre for Computed Tomography University of Southampton E: S.D.Keyes at soton.ac.ukredir.aspx?SURL=dhUg3da8XR77LeItLDzJQwhAwmH0Wx6PHrXeKfxx2tOD3LCr737TCG0AYQBpAGwAdABvADoAUwAuAEQALgBLAGUAeQBlAHMAQABzAG8AdABvAG4ALgBhAGMALgB1AGsA&URL=mailto%3aS.D.Keyes%40soton.ac.uk> T: 07898720248 _______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview _______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From ken.martin at kitware.com Tue Nov 22 17:33:06 2016 From: ken.martin at kitware.com (Ken Martin) Date: Tue, 22 Nov 2016 17:33:06 -0500 Subject: [Paraview] RAW (binary) file import issues In-Reply-To: <44db108eb6024280b31a555bdbc95754@ES08AMSNLNT.srn.sandia.gov> References: <44db108eb6024280b31a555bdbc95754@ES08AMSNLNT.srn.sandia.gov> Message-ID: I believe Visual studio 2010 does not properly handle file seeks/etc beyond 32 bit even on 64 bit builds. If you are using VS 2010 or earlier that is possibly the issue. I believe it is fixed in VS 2013 and later. On Tue, Nov 22, 2016 at 5:11 PM, Moreland, Kenneth wrote: > Although we have certainly run into issues with communicating large > messages, I?m not sure this is the issue with MPI-I/O. File sizes and > linear offsets use a type MPI_Offset, which according to the specification > should be large enough to hold the size of any file supported by the file > system. Although it is true that creating the 3D subarray uses 32-bit > indices, those are for each of the separate dimensions, and 2000 falls well > below that limit. > > > > Besides, it looks like that error happens when checking an ifstream > object, so it looks like the reader is bypassing the MPI-I/O path anyway. > > > > I would follow Berk?s suggesting of looking into the filesystem before > diving into the guts of MPI-I/O. > > > > -Ken > > > > *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Burlen > Loring > *Sent:* Tuesday, November 22, 2016 12:55 PM > *To:* Geveci, Berk (External Contact) ; Keyes > S.D. > *Cc:* paraview at paraview.org > *Subject:* [EXTERNAL] Re: [Paraview] RAW (binary) file import issues > > > > I've hit that before. the RAW reader uses MPI-I/O, and MPI uses signed int > everywhere in its API, so there are limits that you end up hitting. For > instance to partition the data among processors one must give MPI-I/O the > starting offset of the data in the file as a signed int, and that is > limited to 2^31. > > Burlen > > On 11/22/2016 11:20 AM, Berk Geveci wrote: > > Hmmm that happens to be around 4 GB which makes me wonder if there is a > limit somewhere in that reader... Any chance you can try this on a Linux > machine? > > > > On Thu, Nov 17, 2016 at 10:30 AM, Keyes S.D. > wrote: > > Dear all, > > I am encountering issues when trying to import large 8 bit RAW volumes to > Paraview 5.1.2 (64 bit). > > The file I wish to import has xyz dimensions of 2000x2000x1920 voxels > (Unsigned char), 7.5GB. I am running a machine with 192 GB RAM and 12 CPU > cores. > > I can import up to a 2000x2000x1000 crop of this file, but I encounter the > following message when I attempt larger z dimensions: > > ERROR: In C:\bbd\df0abce0\source-paraview\VTK\IO\Image\vtkImageReader2.cxx, > line 592 > > vtkPVImageReader (0000000007767F90): Initialize: Could not open file > \\cseg_2\ERC\SLS_201606\Myco_2\CT2PpR3h1_\Hyphalseg_Raw_ > 2000_2000_1920_8bit_SKELETON_FILT_PARAVIEW_TEST.raw > > > I cannot find an obvious memory ceiling within the paraview settings - any > ideas as to whether there is some effective upper limit to import file size? > > Sam > > Samuel D Keyes, MEng, PhD > New Frontiers Fellow > Bioengineering / ?VIS Centre for Computed Tomography > University of Southampton > E: S.D.Keyes at soton.ac.uk dir.aspx?SURL=dhUg3da8XR77LeItLDzJQwhAwmH0Wx6PHrXeKfxx2tOD3LCr737TCG0AYQBp > AGwAdABvADoAUwAuAEQALgBLAGUAeQBlAHMAQABzAG8AdABvAG4ALgBhAGMA > LgB1AGsA&URL=mailto%3aS.D.Keyes%40soton.ac.uk> > T: 07898720248 > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensou > rce/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > > > > _______________________________________________ > > 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 > > > > Search the list archives at: http://markmail.org/search/?q=ParaView > > > > Follow this link to subscribe/unsubscribe: > > http://public.kitware.com/mailman/listinfo/paraview > > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -- Ken Martin PhD Chairman & CFO Kitware Inc. 28 Corporate Drive Clifton Park NY 12065 518 371 3971 This communication, including all attachments, contains confidential and legally privileged information, and it is intended only for the use of the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you received this communication in error please notify us immediately and destroy the original message. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Tue Nov 22 21:06:10 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 22 Nov 2016 21:06:10 -0500 Subject: [Paraview] Warning Exporting VRML Files In-Reply-To: References: Message-ID: Leo, I can certainly reproduce the issue. I'll try to track it down tomorrow and get back to you. Utkarsh On Tue, Nov 22, 2016 at 3:56 PM, L?o Pessanha wrote: > Hi! > > After version 5.0 of paraview for Windows x64 everytime I export a Scene > in VRML format I get the warning > > Warning: In C:\bbd\df0abce0\source-paraview\VTK\Filters\Geometry\vtkDataSetSurfaceFilter.cxx, >> line 166 >> vtkDataSetSurfaceFilter (000001A2CFB3E6E0): Number of cells is zero, no >> data to process. > > > It happens with any data, even a Box from Source. > > The data seems to be exported correctly though. > > Is that a bug? > > Can anyone help me turning it off? My macros won't work because of that. > > Thanks in advance! > > Leonardo Pessanha > COPPE/UFRJ > > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Wed Nov 23 12:03:11 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 23 Nov 2016 12:03:11 -0500 Subject: [Paraview] Warning Exporting VRML Files In-Reply-To: References: Message-ID: Leo, The issue was that the exporer was warning unnecessarily when exporting empty datasets. At the same time, it would end up modifying the exported file partially for the empty dataset. This MR should fix both issues: https://gitlab.kitware.com/vtk/vtk/merge_requests/2197 Do you think you can test it out before we merge this in? Thanks Utkarsh On Tue, Nov 22, 2016 at 9:06 PM, Utkarsh Ayachit < utkarsh.ayachit at kitware.com> wrote: > Leo, > > I can certainly reproduce the issue. I'll try to track it down tomorrow > and get back to you. > > Utkarsh > > On Tue, Nov 22, 2016 at 3:56 PM, L?o Pessanha < > leonardopessanha74 at gmail.com> wrote: > >> Hi! >> >> After version 5.0 of paraview for Windows x64 everytime I export a Scene >> in VRML format I get the warning >> >> Warning: In C:\bbd\df0abce0\source-paraview\VTK\Filters\Geometry\vtkDataSetSurfaceFilter.cxx, >>> line 166 >>> vtkDataSetSurfaceFilter (000001A2CFB3E6E0): Number of cells is zero, no >>> data to process. >> >> >> It happens with any data, even a Box from Source. >> >> The data seems to be exported correctly though. >> >> Is that a bug? >> >> Can anyone help me turning it off? My macros won't work because of that. >> >> Thanks in advance! >> >> Leonardo Pessanha >> COPPE/UFRJ >> >> >> >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From leonardopessanha74 at gmail.com Wed Nov 23 13:18:32 2016 From: leonardopessanha74 at gmail.com (=?UTF-8?Q?L=C3=A9o_Pessanha?=) Date: Wed, 23 Nov 2016 16:18:32 -0200 Subject: [Paraview] Warning Exporting VRML Files In-Reply-To: References: Message-ID: Hi! In order to test I would have to build Paraview, right? I'm not used to build quickly for testing, I did it only a few times with the porpuse of using Paraview for VR(MPI + VRPN) in a CAVE. It may take a considerable amount of time for me to learn. I would be glad to do it but I'm not sure I can. Sorry Utkarsh. Best Regards, Leonardo Pessanha COPPE/UFRJ 2016-11-23 15:03 GMT-02:00 Utkarsh Ayachit : > Leo, > > The issue was that the exporer was warning unnecessarily when exporting > empty datasets. At the same time, it would end up modifying the exported > file partially for the empty dataset. This MR should fix both issues: > https://gitlab.kitware.com/vtk/vtk/merge_requests/2197 > > Do you think you can test it out before we merge this in? > > Thanks > Utkarsh > > On Tue, Nov 22, 2016 at 9:06 PM, Utkarsh Ayachit < > utkarsh.ayachit at kitware.com> wrote: > >> Leo, >> >> I can certainly reproduce the issue. I'll try to track it down tomorrow >> and get back to you. >> >> Utkarsh >> >> On Tue, Nov 22, 2016 at 3:56 PM, L?o Pessanha < >> leonardopessanha74 at gmail.com> wrote: >> >>> Hi! >>> >>> After version 5.0 of paraview for Windows x64 everytime I export a Scene >>> in VRML format I get the warning >>> >>> Warning: In C:\bbd\df0abce0\source-paraview\VTK\Filters\Geometry\vtkDataSetSurfaceFilter.cxx, >>>> line 166 >>>> vtkDataSetSurfaceFilter (000001A2CFB3E6E0): Number of cells is zero, no >>>> data to process. >>> >>> >>> It happens with any data, even a Box from Source. >>> >>> The data seems to be exported correctly though. >>> >>> Is that a bug? >>> >>> Can anyone help me turning it off? My macros won't work because of that. >>> >>> Thanks in advance! >>> >>> Leonardo Pessanha >>> COPPE/UFRJ >>> >>> >>> >>> _______________________________________________ >>> 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 >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From adershowitz at exponent.com Wed Nov 23 13:20:00 2016 From: adershowitz at exponent.com (Adam Dershowitz) Date: Wed, 23 Nov 2016 18:20:00 +0000 Subject: [Paraview] Project polygon onto surface In-Reply-To: References: <011BB2FD7D33AB49936FD297F594AEB801531B2443@SFMB02.exponent.com> <1272572751.3188.1477408411498.JavaMail.open-xchange@app06.ox.hosteurope.de> <011BB2FD7D33AB49936FD297F594AEB801531B24BA@SFMB02.exponent.com> <107998029.3521.1477458075119.JavaMail.open-xchange@app07.ox.hosteurope.de> Message-ID: <57E5A32C-02DA-4CD3-9438-EBB502E9BAAC@exponent.com> The problem I was having is that I was planning and trying to use a polygon. It seems that if you try to use that Slice Along Polyline, but select a polygon for the input, it crashes paraview (it should probably bring up an error, or only allow a polyline!). I realized that it actually wants a polyline, and once I created one for my region, the filter does what I had been looking for. But, that leads to another question? If I want a whole region to be another color, is there a way to fill the output of SliceAlongPolyLine? So, instead of just an outline, I can get the inside to also be a certain color? Thanks for the help. -- Adam On 10/26/16, 10:10 AM, "Adam Dershowitz" wrote: I tried it a few times, and it kept crashing Paraview. So, then I read up on, it and seemed, from the description, that it was not what I wanted anyway. But, if you think it is, I will see if I can get it to work. -- Adam On 10/26/16, 1:01 AM, "postgurke at web.de" wrote: >Adam, > >Have you actually tried the filter? Because I think the output is exactly what >you're asking for: the "section" of the surface is the part of the surface where >the polyline is proceted onto it, hence a polyline with the regarding topography >values for the respective z coordinates. > >Cheers >Venke > > > >> Adam Dershowitz hat am 25. Oktober 2016 um 17:29 >> geschrieben: >> >> >> I don't think that will do it. Because, I don't want to slice anything. >> I just want to show the boundaries on the 3D surface. I want to project the >> polygon that marks the edges of a region, onto the 3D topography. >> It seems that Slice Along Polyline uses a laser to cut a section of the >> surface, according to the instructions. Instead I want to see each spot where >> the laser hits on the surface. >> >> ________________________________________ >> From: postgurke at web.de [postgurke at web.de] >> Sent: Tuesday, October 25, 2016 11:13 AM >> To: Adam Dershowitz; paraview at paraview.org >> Subject: Re: [Paraview] Project polygon onto surface >> >> Hi Adam >> >> I think the Slice Along Polyline Filter is what you need. Just select the data >> set and the poly line in the window popping up and then proceed in the >> properties section as usual. >> >> Cheers >> Venke >> >> >> >> > Adam Dershowitz hat am 25. Oktober 2016 um 16:01 >> > geschrieben: >> > >> > >> > Is there a way to project a 2D, or 3D polygon onto a surface. >> > Specifically I have some elevation data, that is displaying fine. But the >> > data has a lot of vertical variation. I have a polygon that represents the >> > boundaries of different regions. So, the polygon is effectively 2D. >> > Although, I can give it a 3D values as well. >> > The difficulty is that I can know the elevation of the corners, but the >> > lines >> > between those corners often drop "underground". >> > So I would like to project the 2D (or 3D) polygon region onto the 3D ground >> > elevation. >> > You can think of this as having a topo map and I want to show the lines >> > around >> > an individual piece of property. >> > Is there a filter that can do this? >> > >> > Thanks, >> > >> > --Adam >> > >> > _______________________________________________ >> > Powered by www.kitware.com >> > >> > Visit other Kitware open-source projects at >> > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.kitware.com_opensource_opensource.html&d=DQICaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=vWssSXYtyX0Fwvwsvi4PGgQ70jWW8djJYXqUQvS2j3I&s=sMm99lDyK40nLEagq8PC0lEbloTvtFPCU5aOI3LyDaw&e= >> > >> > Please keep messages on-topic and check the ParaView Wiki at: >> > https://urldefense.proofpoint.com/v2/url?u=http-3A__paraview.org_Wiki_ParaView&d=DQICaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=vWssSXYtyX0Fwvwsvi4PGgQ70jWW8djJYXqUQvS2j3I&s=iD69Hj5cpbD6ykFT4IC2HpA0Sg7i0PZKI0Kvkkk-KA4&e= >> > >> > Search the list archives at: >> > https://urldefense.proofpoint.com/v2/url?u=http-3A__markmail.org_search_-3Fq-3DParaView&d=DQICaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=vWssSXYtyX0Fwvwsvi4PGgQ70jWW8djJYXqUQvS2j3I&s=wjB_o3N2yOaMlHQwkRubVtOQaONIFgjXLZgGkSCsfmk&e= >> > >> > Follow this link to subscribe/unsubscribe: >> > https://urldefense.proofpoint.com/v2/url?u=http-3A__public.kitware.com_mailman_listinfo_paraview&d=DQICaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=vWssSXYtyX0Fwvwsvi4PGgQ70jWW8djJYXqUQvS2j3I&s=zor1PXNvekBliiJOtZ5T0cocWkfwUd4H6OxmHTvbCDk&e= From marcus.hanwell at kitware.com Wed Nov 23 15:22:23 2016 From: marcus.hanwell at kitware.com (Marcus D. Hanwell) Date: Wed, 23 Nov 2016 15:22:23 -0500 Subject: [Paraview] Dose pvpython work with python 3.x ? In-Reply-To: References: Message-ID: On Mon, Nov 21, 2016 at 2:21 PM, Marcus D. Hanwell wrote: > > On Mon, Nov 21, 2016 at 1:24 PM, Cory Quammen wrote: > > > > I'm not sure what the problem is. We've barely tested building against Python 3, and I personally have never built with Python 3, so it's quite possible you have uncovered a problem. Unfortunately, I don't have time to investigate further at the moment. > > > > If you figure it out, please let us know. > > > Just to add one small data point, I was able to compile ParaView > master against Python 3 on my Linux system. Right now it looks like > opening the Python shell causes a segfault (at least for me). Tomviz > is a ParaView based GUI, and it also hits a compile failure at the > moment. > > Hopefully we will have more time to look at this in December/January, > but it is not a high priority right now (although I don't want to wait > too long). I just realized that my test was a little unfair, I used the build parameters for ParaView that Tomviz uses to enable threaded Python support, VTK_PYTHON_FULL_THREADSAFE:BOOL=ON VTK_NO_PYTHON_THREADS:BOOL=OFF If I switch that to VTK_NO_PYTHON_THREADS:BOOL=ON then ParaView seems to work quite well, and I can start the Python shell without issue. This is obviously a concern for us as we would like to use threaded Python to execute workloads on a worker thread that doesn't freeze the user interface, but if you leave these CMake flags at their default it would appear to be a usable ParaView build in my limited testing. From herbalifeottawa at gmail.com Wed Nov 23 22:35:23 2016 From: herbalifeottawa at gmail.com (Herbalife Ottawa) Date: Wed, 23 Nov 2016 22:35:23 -0500 Subject: [Paraview] Need urgent help: Edit Color Bar: How to revert to default Message-ID: Hello Fellow Members, I was playing with the Paraview Color bar editor and I messed up the Color Scale bar. I just kept clicking and new points were created and I kept moving them here and there. Initially, the color space was set to 'diverging', and the initial color bar was ranging from red to navy blue color. I was doing all this under the assumption that the "Make default" button at the bottom will set everything to default again. But it doesn't work. I even uninstalled Paraview and reinstalled again, but the changes I made remain. Can any one please tell me how to get rid of this and revert back to my original red to blue scale. I tried reading how to edit the bar but I couldn't revert back to the original colors. Some what close but not original. Please help. Thanks! Marc -------------- next part -------------- An HTML attachment was scrubbed... URL: From chaitanyaraj108 at gmail.com Thu Nov 24 09:46:50 2016 From: chaitanyaraj108 at gmail.com (Chaitanya Raj Goyal) Date: Thu, 24 Nov 2016 09:46:50 -0500 Subject: [Paraview] Need urgent help: Edit Color Bar: How to revert to default In-Reply-To: References: Message-ID: Please note that there is a preset button, where you can choose the original scale. Best, Raj On Wed, Nov 23, 2016 at 10:35 PM, Herbalife Ottawa < herbalifeottawa at gmail.com> wrote: > Hello Fellow Members, > > I was playing with the Paraview Color bar editor and I messed up the Color > Scale bar. I just kept clicking and new points were created and I kept > moving them here and there. Initially, the color space was set to > 'diverging', and the initial color bar was ranging from red to navy blue > color. > > I was doing all this under the assumption that the "Make default" button > at the bottom will set everything to default again. But it doesn't work. > > I even uninstalled Paraview and reinstalled again, but the changes I made > remain. > > Can any one please tell me how to get rid of this and revert back to my > original red to blue scale. I tried reading how to edit the bar but I > couldn't revert back to the original colors. Some what close but not > original. > > Please help. > > Thanks! > Marc > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From joachim.pouderoux at kitware.com Thu Nov 24 15:17:10 2016 From: joachim.pouderoux at kitware.com (Joachim Pouderoux) Date: Thu, 24 Nov 2016 16:17:10 -0400 Subject: [Paraview] Big data set very slow to load (over 500Mb, Gb...) In-Reply-To: <98aa57f0-e635-cb11-b299-20e437a766cf@uvsq.fr> References: <98aa57f0-e635-cb11-b299-20e437a766cf@uvsq.fr> Message-ID: Hi Cindy! Could you please give us more information about the type of dataset you are working with (structured or unstructured, multiblock or not) and the total number of points & cells of those models? Is your input stored in a paralle data format (eg.PVT*, xdmf, hdf5 etc)? If not, and data is unstructured, there is pretty good chances that all the data will be loaded only on the first rank of your server and then processing only performed with real data on this rank (other will just pass through empty dataset). You can check if data is distributed by applying the "Process Id Scalars" and color the grid with this field, it will show data partitionning over the processors (1 color per rank). If it is all blue, data is only on first rank, bad news. In this last case, you can indeed use D3 to redistribute the data over all the processors, then all processors (apply Process Id Scalars) should show better result. Problem is that D3 takes time to perform and if your data is temporal, it will be run at every timestep! Hope it helps! A+ et bon courage :) Joachim *Joachim Pouderoux*, PhD *Technical Expert - Scientific Computing Team* *Kitware SAS * 2016-11-15 13:13 GMT-04:00 Cindy Castro : > > Hello, >> >> I have the following question: commonly we do have large data set to be >> run under paraview 5.0 installed over a cluster of 4 computers (64Gb RAM, >> NVIDIA graphic cards for each, intel xeon CPU) connected to 8 screens >> (interactive/immersive 3D wall with tracking). >> >> For instance one data is 1.5- 2 Go (fortran files converted in VTK, hdf, >> netcdf). We do have strong difficultues to manage such a large data. >> Apparently the loading and the tracking is extremely slow; Any animation is >> extremely slow too. >> >> I tried to use filters like D3 and Decimation which improve but only very >> slightly the situtation; still it takes some time when applied. Maybe my >> settings are not optimized? >> >> Could someone help me : >> >> - to understand why my final configuration is still so slow ? >> >> - is there any other solution to improve the situation ? >> >> With my anticipated thanks for any help. >> >> Sincerely. >> >> > > --- > L'absence de virus dans ce courrier ?lectronique a ?t? v?rifi?e par le > logiciel antivirus Avast. > https://www.avast.com/antivirus > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensou > rce/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From joachim.pouderoux at kitware.com Thu Nov 24 16:43:44 2016 From: joachim.pouderoux at kitware.com (Joachim Pouderoux) Date: Thu, 24 Nov 2016 17:43:44 -0400 Subject: [Paraview] empty xdmf-file causes paraview crash In-Reply-To: <82c7b233-d064-5128-0ab9-3a8125f3cc54@fcc.chalmers.se> References: <82c7b233-d064-5128-0ab9-3a8125f3cc54@fcc.chalmers.se> Message-ID: Hi Tommy, I have tested with ParaView 5.2 and it works as expected, no crash. Xdmf reader has been patched at different places since 5.0 and ParaView also comes with an optional Xdmf3 reader. Thus I would recommend that you update your ParaView to 5.2. Best, *Joachim Pouderoux*, PhD *Technical Expert - Scientific Computing Team* *Kitware SAS * 2016-11-21 8:58 GMT-04:00 Tommy Andersson : > Hi All, > > I'm trying to get Paraview (5.0.0) to read *.xmf-files and encounter > difficulties when the geometry is "empty". Paraview is then crashing. The > example I'm using to encounter the error looks as follows: > > > > Version="2.2"> > > > > > > > > > > > How is an empty xdmf geometry supposed to be specified? > > One workaround is to add a dummy point e.g. > > > > Version="2.2"> > > > > > > Format="XML"> > 0 0 0 > > > > > > > Will I have to settle with this workaround? How is an empty geometry > supposed to be specified? > -- > *Tommy Andersson* > Computational Engineering and Design > Fraunhofer-Chalmers Centre (FCC) > > Phone: +46 (0)31 772 4288 > tommy.andersson at fcc.chalmers.se > www.fcc.chalmers.se > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gabriel.alvarez at usc.es Thu Nov 24 10:41:40 2016 From: gabriel.alvarez at usc.es (=?iso-8859-1?Q?Gabriel_=C1lvarez_Castro?=) Date: Thu, 24 Nov 2016 16:41:40 +0100 Subject: [Paraview] Customized buttonbar Message-ID: <000901d24669$41963880$c4c2a980$@usc.es> Hi, Can someone tell us how to customize the Paraview Web buttonbar, please? Exactly we would be interested in hiding Show File List and Show Save Options buttons. Can someone say to us which section of code could we edit to do this? Thank you in advance, regards, Gabriel. Gabriel ?lvarez Castro T?cnico de apoyo, Unidad Mixta de Investigaci?n Repsol - ITMATI Instituto Tecnol?gico de Matem?tica Industrial (ITMATI) Edif. Instituto de Investigaci?ns Tecnol?xicas, planta -1 R?a Constantino Candeira, s/n. 15782 Santiago de Compostela E-mail: gabriel.alvarez at usc.es // Tfno. 881 812 984 -------------- next part -------------- An HTML attachment was scrubbed... URL: From chaitanyaraj108 at gmail.com Thu Nov 24 20:44:52 2016 From: chaitanyaraj108 at gmail.com (Chaitanya Raj Goyal) Date: Thu, 24 Nov 2016 20:44:52 -0500 Subject: [Paraview] Need node numbers and element node connectivity Message-ID: Dear All, I run a FEM simulation in FEniCS to obtain two output files. One is of .vtu format and the other is of .xdmf format. However, because I do parallel processing, in the former case, I actually obtain different .vtu files for different processors, a single .pvtu file and a single .pvd file. In the latter case, I obtain a single .xdmf and a .h5 file. Both simulations are 2D, and if you open the spreadsheet format in Paraview, you see something like this: ? I need to do some post processing on the solution vectors 'u' and 'v'. You may also refer to them as 'ux' and 'uy' OR "f_18_1" and "f_18_2". Therefore, I need to import it in MATLAB. To do that, in ParaView, I first go to menu >> save data >> save file in CSV format for all points. The csv file I am looking at gives me 6 columns - Coordinate X, Y, Z, Solution ux, uy, uz. Here Z and uz are zero vectors. How can I also get the node number for the given node coordinates, and how can I get the elemental nodal connectivity? Any help is greatly appreciated! Thanks in advance! Chaitanya -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: wave2.png Type: image/png Size: 54989 bytes Desc: not available URL: From stan1313 at hotmail.fr Fri Nov 25 10:54:14 2016 From: stan1313 at hotmail.fr (Fred Fred) Date: Fri, 25 Nov 2016 15:54:14 +0000 Subject: [Paraview] Paraview and ITK Message-ID: Hello, is there any work on integrating ITK filters into PV? What is the easiest way to do it? Is there other 2D images filters available? Thx in advance for your help. S. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bloring at lbl.gov Fri Nov 25 13:05:30 2016 From: bloring at lbl.gov (Burlen Loring) Date: Fri, 25 Nov 2016 10:05:30 -0800 Subject: [Paraview] RAW (binary) file import issues In-Reply-To: <44db108eb6024280b31a555bdbc95754@ES08AMSNLNT.srn.sandia.gov> References: <44db108eb6024280b31a555bdbc95754@ES08AMSNLNT.srn.sandia.gov> Message-ID: > File sizes and linear offsets use a type MPI_Offset, which according > to the specification should be large enough to hold the size of any > file supported by the file system. hmm, that may be but there are places in MPI I/O that limit to size of signed int, here is cut direct from the mpi 3 standard: int MPI_File_read_all(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Status *status) the count argument is a signed int, so one can't read more than INT_MAX in one go, and here is the VTK code where that is used 291 // Figure out how many bytes to read. 292 vtkIdType length = this->GetDataScalarTypeSize(); 293 length *= this->NumberOfScalarComponents; 294 length *= extent[1]-extent[0]+1; 295 length *= extent[3]-extent[2]+1; 296 if (this->GetFileDimensionality() == 3) length *= extent[5]-extent[4]+1; 297 298 if (length > VTK_INT_MAX) 299 { 300 vtkErrorMacro(<< "Cannot read more than " << VTK_INT_MAX 301 << " bytes at a time."); 302 } 303 304 // Do the read. This is a coordinated parallel operation for efficiency. 305 MPICall(MPI_File_read_all(file.Handle, buffer, static_cast(length), 306 MPI_BYTE, MPI_STATUS_IGNORE)); the VTK code checks for over flow. however as that is not the error reported by the user, I have to admit that I am wrong about Sam's problem. Sorry about that. Burlen On 11/22/2016 02:11 PM, Moreland, Kenneth wrote: > > Although we have certainly run into issues with communicating large > messages, I?m not sure this is the issue with MPI-I/O. File sizes and > linear offsets use a type MPI_Offset, which according to the > specification should be large enough to hold the size of any file > supported by the file system. Although it is true that creating the 3D > subarray uses 32-bit indices, those are for each of the separate > dimensions, and 2000 falls well below that limit. > > Besides, it looks like that error happens when checking an ifstream > object, so it looks like the reader is bypassing the MPI-I/O path anyway. > > I would follow Berk?s suggesting of looking into the filesystem before > diving into the guts of MPI-I/O. > > -Ken > > *From:*ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of > *Burlen Loring > *Sent:* Tuesday, November 22, 2016 12:55 PM > *To:* Geveci, Berk (External Contact) ; Keyes > S.D. > *Cc:* paraview at paraview.org > *Subject:* [EXTERNAL] Re: [Paraview] RAW (binary) file import issues > > I've hit that before. the RAW reader uses MPI-I/O, and MPI uses signed > int everywhere in its API, so there are limits that you end up > hitting. For instance to partition the data among processors one must > give MPI-I/O the starting offset of the data in the file as a signed > int, and that is limited to 2^31. > > Burlen > > On 11/22/2016 11:20 AM, Berk Geveci wrote: > > Hmmm that happens to be around 4 GB which makes me wonder if there > is a limit somewhere in that reader... Any chance you can try this > on a Linux machine? > > On Thu, Nov 17, 2016 at 10:30 AM, Keyes S.D. > > wrote: > > Dear all, > > I am encountering issues when trying to import large 8 bit RAW > volumes to Paraview 5.1.2 (64 bit). > > The file I wish to import has xyz dimensions of 2000x2000x1920 > voxels (Unsigned char), 7.5GB. I am running a machine with > 192 GB RAM and 12 CPU cores. > > I can import up to a 2000x2000x1000 crop of this file, but I > encounter the following message when I attempt larger z > dimensions: > > ERROR: In > C:\bbd\df0abce0\source-paraview\VTK\IO\Image\vtkImageReader2.cxx, > line 592 > > vtkPVImageReader (0000000007767F90): Initialize: Could not > open file > \\cseg_2\ERC\SLS_201606\Myco_2\CT2PpR3h1_\Hyphalseg_Raw_2000_2000_1920_8bit_SKELETON_FILT_PARAVIEW_TEST.raw > > > > I cannot find an obvious memory ceiling within the paraview > settings - any ideas as to whether there is some effective > upper limit to import file size? > > Sam > > Samuel D Keyes, MEng, PhD > New Frontiers Fellow > Bioengineering / ?VIS Centre for Computed Tomography > University of Southampton > E: S.D.Keyes at soton.ac.uk > redir.aspx?SURL=dhUg3da8XR77LeItLDzJQwhAwmH0Wx6PHrXeKfxx2tOD3LCr737TCG0AYQBpAGwAdABvADoAUwAuAEQALgBLAGUAeQBlAHMAQABzAG8AdABvAG4ALgBhAGMALgB1AGsA&URL=mailto%3aS.D.Keyes%40soton.ac.uk> > T: 07898720248 > _______________________________________________ > 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 > > > Search the list archives at: > http://markmail.org/search/?q=ParaView > > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > > _______________________________________________ > > Powered bywww.kitware.com > > Visit other Kitware open-source projects athttp://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at:http://paraview.org/Wiki/ParaView > > Search the list archives at:http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > > http://public.kitware.com/mailman/listinfo/paraview > > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From f_magician at mac.com Sun Nov 27 10:41:36 2016 From: f_magician at mac.com (Magician) Date: Mon, 28 Nov 2016 00:41:36 +0900 Subject: [Paraview] Find Data does not work on MPI In-Reply-To: <6C2F7839-E53B-42BD-BF89-7A59893D29AE@mac.com> References: <6C2F7839-E53B-42BD-BF89-7A59893D29AE@mac.com> Message-ID: <8AA1DD28-BB3C-4A52-B4D1-37B2063557C8@mac.com> Does anyone use Find Data function on MPI? > On Nov 20, 2016, at 14:16, Magician wrote: > > Hi all, > > > When I operating ParaView on MPI mode, Find Data function does not work correctly. > The dialog is just opened, but the 'Run Selection Query' always returns no cell or point. > > How to select specific cells or points on parallel ParaView? > My PV is v5.2.0-RC1 on Windows 8 64bit, and MPI is Microsoft HPC Pack 2008 R2. > > > Magician From 128 at gmx.us Sun Nov 27 12:58:16 2016 From: 128 at gmx.us (128 at gmx.us) Date: Sun, 27 Nov 2016 18:58:16 +0100 Subject: [Paraview] vtm file reader and writer Message-ID: Hi, Is there an API in C++/Python, to read and write *.vtm multiblock files? Ideally I expect this to be there in the VTK library. If not, it should at least be there in Paraview. Thank you. From 128 at gmx.us Sun Nov 27 14:27:43 2016 From: 128 at gmx.us (128 at gmx.us) Date: Sun, 27 Nov 2016 20:27:43 +0100 Subject: [Paraview] vtm file reader and writer Message-ID: vtkXMLMultiBlockDataWriter can be used for this > Sent: Sunday, November 27, 2016 at 6:58 PM > From: 128 at gmx.us > To: paraview at paraview.org > Subject: [Paraview] vtm file reader and writer > > Hi, > > Is there an API in C++/Python, to read and write *.vtm multiblock files? > > Ideally I expect this to be there in the VTK library. If not, it should at least be there in Paraview. > > Thank you. > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From nicoguarin at gmail.com Sun Nov 27 15:42:53 2016 From: nicoguarin at gmail.com (=?UTF-8?B?Tmljb2zDoXMgR3VhcsOtbi1aYXBhdGE=?=) Date: Sun, 27 Nov 2016 15:42:53 -0500 Subject: [Paraview] Modify Orientation Axes Message-ID: Hello, It seems that it was possible to change Orientation Axes in the past. Is it possible to do it now? I can't find a way to do it. I attach an image and a Paraview Session file to illustrate different styles that I would like to have. It would be cool to have these styles by default, but being able to add them afterward might work as well. Thanks, -- Nicol?s Guar?n-Zapata PhD Student - Purdue University Computational Multi-Scale Material Modeling Lab https://engineering.purdue.edu/~zavattie/ Linux user #514760 -------------- next part -------------- A non-text attachment was scrubbed... Name: orientation_axes.png Type: image/png Size: 6613 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Orientation_axes.pvsm Type: application/octet-stream Size: 554485 bytes Desc: not available URL: From cory.quammen at kitware.com Sun Nov 27 16:29:39 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Sun, 27 Nov 2016 16:29:39 -0500 Subject: [Paraview] Find Data does not work on MPI In-Reply-To: <8AA1DD28-BB3C-4A52-B4D1-37B2063557C8@mac.com> References: <6C2F7839-E53B-42BD-BF89-7A59893D29AE@mac.com> <8AA1DD28-BB3C-4A52-B4D1-37B2063557C8@mac.com> Message-ID: > Does anyone use Find Data function on MPI? I just tried it with 5.2.0 in parallel and the Find Data dialog works fine for the queries I tried. Could you provide more information about what you are trying to get to work? Listing the steps you take before running into the problem is helpful. For example, telling us which data file you loaded, what your Find Data query is, etc. Thanks, Cory >> On Nov 20, 2016, at 14:16, Magician wrote: >> >> Hi all, >> >> >> When I operating ParaView on MPI mode, Find Data function does not work correctly. >> The dialog is just opened, but the 'Run Selection Query' always returns no cell or point. >> >> How to select specific cells or points on parallel ParaView? >> My PV is v5.2.0-RC1 on Windows 8 64bit, and MPI is Microsoft HPC Pack 2008 R2. >> >> >> Magician > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview -- Cory Quammen Staff R&D Engineer Kitware, Inc. From fdkong.jd at gmail.com Sun Nov 27 17:17:42 2016 From: fdkong.jd at gmail.com (Fande Kong) Date: Sun, 27 Nov 2016 15:17:42 -0700 Subject: [Paraview] how to compute the averaged value of variable on the whole domain? Message-ID: Hi ALL, There is question. I have a pressure variable named p defined on the whole domain. How can calculate a averaged value for p? I think mathematically we should integrate p on the whole domain, then and divide by the volume of the domain. Thanks so much. Fande, -------------- next part -------------- An HTML attachment was scrubbed... URL: From kmorel at sandia.gov Sun Nov 27 19:03:59 2016 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Mon, 28 Nov 2016 00:03:59 +0000 Subject: [Paraview] how to compute the averaged value of variable on the whole domain? Message-ID: <0C0A6CF1-BB94-4718-B6EB-9706A733B25F@sandia.gov> Fande, I think you may be looking for the ?Integrate Variables? filter. -Ken From: ParaView on behalf of Fande Kong Date: Sunday, November 27, 2016 at 3:17 PM To: ParaView Subject: [EXTERNAL] [Paraview] how to compute the averaged value of variable on the whole domain? Hi ALL, There is question. I have a pressure variable named p defined on the whole domain. How can calculate a averaged value for p? I think mathematically we should integrate p on the whole domain, then and divide by the volume of the domain. Thanks so much. Fande, -------------- next part -------------- An HTML attachment was scrubbed... URL: From kmorel at sandia.gov Sun Nov 27 19:20:35 2016 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Mon, 28 Nov 2016 00:20:35 +0000 Subject: [Paraview] Need node numbers and element node connectivity Message-ID: Chaitanya, If I understand your question correctly, you should be able to solve your problem by running the Generate Ids filter before writing out the CSV file. -Ken From: ParaView on behalf of Chaitanya Raj Goyal Date: Thursday, November 24, 2016 at 6:44 PM To: "paraview at paraview.org" Subject: [EXTERNAL] [Paraview] Need node numbers and element node connectivity Dear All, I run a FEM simulation in FEniCS to obtain two output files. One is of .vtu format and the other is of .xdmf format. However, because I do parallel processing, in the former case, I actually obtain different .vtu files for different processors, a single .pvtu file and a single .pvd file. In the latter case, I obtain a single .xdmf and a .h5 file. Both simulations are 2D, and if you open the spreadsheet format in Paraview, you see something like this: [cid:image001.png at 01D248D2.926E9B60] ? I need to do some post processing on the solution vectors 'u' and 'v'. You may also refer to them as 'ux' and 'uy' OR "f_18_1" and "f_18_2". Therefore, I need to import it in MATLAB. To do that, in ParaView, I first go to menu >> save data >> save file in CSV format for all points. The csv file I am looking at gives me 6 columns - Coordinate X, Y, Z, Solution ux, uy, uz. Here Z and uz are zero vectors. How can I also get the node number for the given node coordinates, and how can I get the elemental nodal connectivity? Any help is greatly appreciated! Thanks in advance! Chaitanya -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 100500 bytes Desc: image001.png URL: From kmorel at sandia.gov Sun Nov 27 19:34:54 2016 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Mon, 28 Nov 2016 00:34:54 +0000 Subject: [Paraview] Need urgent help: Edit Color Bar: How to revert to default Message-ID: Marc, Sorry for the low response on this question. Your question came in right as Thanksgiving holiday weekend started in the US. If you scroll down to the bottom of the Color Map Editor you will see a row of buttons on the bottom. The leftmost of these buttons is a circle of two arrows. If you press that button, the current color map will be restored to ParaView defaults. Then you should press the button that is two over with the same icon as save data (a folder with a green arrow pointing down into it). When you click that button, the current color map becomes the default color map. If you are still having trouble, you should be able to get around the problem by simply deleting your ParaView configuration files, which will restore all of ParaView settings to their defaults. The location of these configuration files is documented here: http://www.paraview.org/Wiki/ParaView_Settings_Files -Ken From: ParaView on behalf of Herbalife Ottawa Date: Wednesday, November 23, 2016 at 8:35 PM To: "paraview at paraview.org" Subject: [EXTERNAL] [Paraview] Need urgent help: Edit Color Bar: How to revert to default Hello Fellow Members, I was playing with the Paraview Color bar editor and I messed up the Color Scale bar. I just kept clicking and new points were created and I kept moving them here and there. Initially, the color space was set to 'diverging', and the initial color bar was ranging from red to navy blue color. I was doing all this under the assumption that the "Make default" button at the bottom will set everything to default again. But it doesn't work. I even uninstalled Paraview and reinstalled again, but the changes I made remain. Can any one please tell me how to get rid of this and revert back to my original red to blue scale. I tried reading how to edit the bar but I couldn't revert back to the original colors. Some what close but not original. Please help. Thanks! Marc -------------- next part -------------- An HTML attachment was scrubbed... URL: From joachim.pouderoux at kitware.com Mon Nov 28 10:04:04 2016 From: joachim.pouderoux at kitware.com (Joachim Pouderoux) Date: Mon, 28 Nov 2016 11:04:04 -0400 Subject: [Paraview] Modify Orientation Axes In-Reply-To: References: Message-ID: Hi Nicolas, Unfortunately, in recent versions ParaView does not offer (in the GUI) the possibility to customize the orientation axes (except label color). I am curious, in which version did you have to possibility to change more options? Best, *Joachim Pouderoux*, PhD *Technical Expert - Scientific Computing Team* *Kitware SAS * 2016-11-27 16:42 GMT-04:00 Nicol?s Guar?n-Zapata : > Hello, > > It seems that it was possible to change Orientation Axes in the past. > Is it possible to do it now? I can't find a way to do it. I attach an > image and a Paraview Session file to illustrate different styles that > I would like to have. > > It would be cool to have these styles by default, but being able to > add them afterward might work as well. > > Thanks, > > -- > Nicol?s Guar?n-Zapata > PhD Student - Purdue University > Computational Multi-Scale Material Modeling Lab > https://engineering.purdue.edu/~zavattie/ > > Linux user #514760 > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nicoguarin at gmail.com Mon Nov 28 10:24:25 2016 From: nicoguarin at gmail.com (=?UTF-8?B?Tmljb2zDoXMgR3VhcsOtbi1aYXBhdGE=?=) Date: Mon, 28 Nov 2016 10:24:25 -0500 Subject: [Paraview] Modify Orientation Axes Message-ID: Hello Joachim, > Unfortunately, in recent versions ParaView does not offer (in the GUI) the > possibility to customize the orientation axes (except label color). Is it possible to add more options in this direction? Most of the time I don't use the orientation axes, but in the cases I do I would like to have options. Each visualization is different and requires different treatment. I think that a set of predefined options and some edition possibilities would be really useful. > I am curious, in which version did you have to possibility to change more > options? I don't remember, but I remember more options in previous versions (maybe 3.x?). Thanks, -- Nicol?s Guar?n-Zapata PhD Student - Purdue University Computational Multi-Scale Material Modeling Lab https://engineering.purdue.edu/~zavattie/ Linux user #514760 From wascott at sandia.gov Mon Nov 28 13:42:22 2016 From: wascott at sandia.gov (Scott, W Alan) Date: Mon, 28 Nov 2016 18:42:22 +0000 Subject: [Paraview] [EXTERNAL] Modify Orientation Axes In-Reply-To: References: Message-ID: Nicolas, If this was possible, it was a long time ago. At present, ParaView does not have the ability to change orientation axes as you specify. You could add the request to the User Voice. You can add these from Paraview's front page, under "Request a New Feature". The orientation axis is somewhat customizable with regards to color. In the Properties tab, search for Axes. Alan -----Original Message----- From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Nicol?s Guar?n-Zapata Sent: Sunday, November 27, 2016 1:43 PM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Modify Orientation Axes Hello, It seems that it was possible to change Orientation Axes in the past. Is it possible to do it now? I can't find a way to do it. I attach an image and a Paraview Session file to illustrate different styles that I would like to have. It would be cool to have these styles by default, but being able to add them afterward might work as well. Thanks, -- Nicol?s Guar?n-Zapata PhD Student - Purdue University Computational Multi-Scale Material Modeling Lab https://engineering.purdue.edu/~zavattie/ Linux user #514760 From joachim.pouderoux at kitware.com Mon Nov 28 12:46:08 2016 From: joachim.pouderoux at kitware.com (Joachim Pouderoux) Date: Mon, 28 Nov 2016 13:46:08 -0400 Subject: [Paraview] Modify Orientation Axes In-Reply-To: References: Message-ID: Nicolas, ParaView is an open-source project and everybody is welcome to participate. At Kitware we lead the project and develop the tool and new features according our customer's need. Unless a customer request (and pay for) this feature and unless a good Samaritan develop it and share, you can only count on yourself here. Of course if you want to do it, you will certainly get help on the developers mailing list (paraview-dev). There is one chance however to have this done by us one day: talk loud enough on ParaView's uservoice and ... cross your fingers ;) Best, Joachim *Joachim Pouderoux*, PhD *Technical Expert - Scientific Computing Team* *Kitware SAS * 2016-11-28 11:24 GMT-04:00 Nicol?s Guar?n-Zapata : > Hello Joachim, > > > > Unfortunately, in recent versions ParaView does not offer (in the GUI) > the > > possibility to customize the orientation axes (except label color). > > Is it possible to add more options in this direction? Most of the time > I don't use the orientation axes, but in the cases I do I would like > to have options. Each visualization is different and requires > different treatment. > > I think that a set of predefined options and some edition > possibilities would be really useful. > > > I am curious, in which version did you have to possibility to change more > > options? > > I don't remember, but I remember more options in previous versions (maybe > 3.x?). > > Thanks, > > -- > Nicol?s Guar?n-Zapata > PhD Student - Purdue University > Computational Multi-Scale Material Modeling Lab > https://engineering.purdue.edu/~zavattie/ > > Linux user #514760 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Mon Nov 28 15:16:25 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Mon, 28 Nov 2016 15:16:25 -0500 Subject: [Paraview] Paraview and ITK In-Reply-To: References: Message-ID: In the past, I have used ITK in custom ParaView plugins written in C++. That's a fairly straightforward approach when you use the VtkGlue module from ITK to transfer data between VTK and ITK image data types. See http://www.paraview.org/Wiki/ParaView/Plugin_HowTo for information about ParaView plugins. Another approached used by Tomviz, a ParaView-based application, involves using ITK in some filtering operations. It uses ITK's Python bindings and imports the itk package in the ITK-based Python filters. See https://github.com/OpenChemistry/tomviz for the Tomviz source code. HTH, Cory On Fri, Nov 25, 2016 at 10:54 AM, Fred Fred wrote: > Hello, > > is there any work on integrating ITK filters into PV? > > What is the easiest way to do it? > > Is there other 2D images filters available? > > Thx in advance for your help. > > > S. > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From dinu.patirniche at gmail.com Mon Nov 28 19:19:23 2016 From: dinu.patirniche at gmail.com (Dinu Patirniche) Date: Tue, 29 Nov 2016 01:19:23 +0100 Subject: [Paraview] Paraview and Space Mouse Pro Message-ID: Hi there, I was trying to follow the instructions on this wiki (http://www.paraview.org/Wiki/Space_Navigator) to make my Space Mouse Pro work with Paraview 5.2.0. I succeeded in doing the first step, but then the wiki says the following: "NOTE: You have to manually build ParaView from source with PARAVIEW_BUILD_PLUGIN_VRPNPlugin set to ON. We are looking into packing the plugin with distributed binaries onwards." Somehow this option is not available in cmake file although the VR Plugin is in the Plugins directory. Two questions: 1. That page was last updated in 2014; did since then the plan succeed to include it in the binaries (I guess not, as I could not locate it) 2. If it is not included in the binaries, what should I add to the CMakeList to correctly install the plugin? Thanks, D. From cory.quammen at kitware.com Mon Nov 28 21:50:03 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Mon, 28 Nov 2016 21:50:03 -0500 Subject: [Paraview] Paraview and Space Mouse Pro In-Reply-To: References: Message-ID: > Two questions: > 1. That page was last updated in 2014; did since then the plan succeed > to include it in the binaries (I guess not, as I could not locate it) I believe this plugin is shipped with the Linux binaries only. > 2. If it is not included in the binaries, what should I add to the > CMakeList to correctly install the plugin? You should just enable PARAVIEW_BUILD_PLUGIN_VRPlugin as the instructions say. It is an advanced CMakeLists.txt option, so make sure you have the advanced mode enabled in the CMake user interface. HTH, Cory > Thanks, > D. > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview -- Cory Quammen Staff R&D Engineer Kitware, Inc. From kmorel at sandia.gov Mon Nov 28 22:13:53 2016 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Tue, 29 Nov 2016 03:13:53 +0000 Subject: [Paraview] Modify Orientation Axes Message-ID: <57EC9AED-15D0-436D-9787-D4CBA5CA9A7D@sandia.gov> If I may, I?ll soften Joachim?s response a bit. Kitware, Sandia, and many other stakeholders care a lot about the stability, usability, and features of ParaView. But as with any software product, we have limited resources for development and must prioritize the work that we do. There are several independent developers contributing changes most important to them, but we also want to make sure ParaView satisfies the needs of as many users as possible. As multiple people have already stated, we use https://paraview.uservoice.com as a tool to gauge how important new features are to multiple users. Those features that are upvoted by the most users are prioritized to be implemented. Thus if you would like to see a new feature in ParaView, going to its uservoice page is your best bet. -Ken From: ParaView on behalf of Joachim Pouderoux Date: Monday, November 28, 2016 at 11:46 AM To: Nicol?s Guar?n-Zapata Cc: ParaView Subject: [EXTERNAL] Re: [Paraview] Modify Orientation Axes Nicolas, ParaView is an open-source project and everybody is welcome to participate. At Kitware we lead the project and develop the tool and new features according our customer's need. Unless a customer request (and pay for) this feature and unless a good Samaritan develop it and share, you can only count on yourself here. Of course if you want to do it, you will certainly get help on the developers mailing list (paraview-dev). There is one chance however to have this done by us one day: talk loud enough on ParaView's uservoice<%20https:/paraview.uservoice.com/forums/11350-general> and ... cross your fingers ;) Best, Joachim Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS 2016-11-28 11:24 GMT-04:00 Nicol?s Guar?n-Zapata >: Hello Joachim, > Unfortunately, in recent versions ParaView does not offer (in the GUI) the > possibility to customize the orientation axes (except label color). Is it possible to add more options in this direction? Most of the time I don't use the orientation axes, but in the cases I do I would like to have options. Each visualization is different and requires different treatment. I think that a set of predefined options and some edition possibilities would be really useful. > I am curious, in which version did you have to possibility to change more > options? I don't remember, but I remember more options in previous versions (maybe 3.x?). Thanks, -- Nicol?s Guar?n-Zapata PhD Student - Purdue University Computational Multi-Scale Material Modeling Lab https://engineering.purdue.edu/~zavattie/ Linux user #514760 -------------- next part -------------- An HTML attachment was scrubbed... URL: From dinu.patirniche at gmail.com Tue Nov 29 03:05:28 2016 From: dinu.patirniche at gmail.com (Dinu Patirniche) Date: Tue, 29 Nov 2016 09:05:28 +0100 Subject: [Paraview] Paraview and Space Mouse Pro In-Reply-To: References: Message-ID: Hi Cory, Ah Yeah, I forgot to mention that I'm compiling on OSx. This option is not available neither in Paraview 5.2.0 nor in 5.0.0 (both of which I compiled from source). Have a look at the screenshot. Thanks, D. On 11/29/16, Cory Quammen wrote: >> Two questions: >> 1. That page was last updated in 2014; did since then the plan succeed >> to include it in the binaries (I guess not, as I could not locate it) > > I believe this plugin is shipped with the Linux binaries only. > >> 2. If it is not included in the binaries, what should I add to the >> CMakeList to correctly install the plugin? > > You should just enable PARAVIEW_BUILD_PLUGIN_VRPlugin as the > instructions say. It is an advanced CMakeLists.txt option, so make > sure you have the advanced mode enabled in the CMake user interface. > > HTH, > Cory > >> Thanks, >> D. >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview > > > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. > -------------- next part -------------- A non-text attachment was scrubbed... Name: Screen Shot 2016-11-29 at 09.04.19.png Type: image/png Size: 248328 bytes Desc: not available URL: From cory.quammen at kitware.com Tue Nov 29 09:34:54 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Tue, 29 Nov 2016 09:34:54 -0500 Subject: [Paraview] Paraview and Space Mouse Pro In-Reply-To: References: Message-ID: Dinu, I do my main development on a Mac and the option is indeed listed in the ccmake. The option variable is not defined in the top-level CMakeLists.txt file, but that doesn't mean it doesn't exist. There is some CMake code that looks in the plugins directory and creates the option variable for each plugin during CMake configuration. Try this: In your ParaView build directory, run ccmake . Toggle the advanced options on by pressing the 't' key. Now type '/' and search for PARAVIEW_BUILD_PLUGIN_VRPlugin. It should be listed, with a default setting to off. Let us know how it goes, Cory On Tue, Nov 29, 2016 at 3:05 AM, Dinu Patirniche wrote: > Hi Cory, > > Ah Yeah, I forgot to mention that I'm compiling on OSx. This option is > not available neither in Paraview 5.2.0 nor in 5.0.0 (both of which I > compiled from source). Have a look at the screenshot. > > Thanks, > D. > > On 11/29/16, Cory Quammen wrote: >>> Two questions: >>> 1. That page was last updated in 2014; did since then the plan succeed >>> to include it in the binaries (I guess not, as I could not locate it) >> >> I believe this plugin is shipped with the Linux binaries only. >> >>> 2. If it is not included in the binaries, what should I add to the >>> CMakeList to correctly install the plugin? >> >> You should just enable PARAVIEW_BUILD_PLUGIN_VRPlugin as the >> instructions say. It is an advanced CMakeLists.txt option, so make >> sure you have the advanced mode enabled in the CMake user interface. >> >> HTH, >> Cory >> >>> Thanks, >>> D. >>> _______________________________________________ >>> 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 >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >> >> >> >> -- >> Cory Quammen >> Staff R&D Engineer >> Kitware, Inc. >> -- Cory Quammen Staff R&D Engineer Kitware, Inc. From demaio.a at gmail.com Tue Nov 29 11:09:46 2016 From: demaio.a at gmail.com (Alessandro De Maio) Date: Tue, 29 Nov 2016 17:09:46 +0100 Subject: [Paraview] Segfault reading polyhedral cells xdmf3 file Message-ID: Dear All, I would like to use xdmf file format for exporting polyhedral mesh results from a CFD code to be opened with Paraview. If I'm not wrong Paraview 5.2.0 should be able to read/write such kind o files. Just to understand the format of the xmf file, I've been trying to open a very easy example taken from the post by Armin Wehrfritz (Tue Sep 27 09:03:00 EDT 2016) in this mailing list (the title of the post was "Combination of polygonal-data and unstructured grid") named polyhedron.xmf (that I put in attach to this post). But using Paraview 5.2.0 (Windows 64bit) binary, it gives segmentation fault immediately after the "Apply" button click. I've tried also to read the vtu version of the same geometry (polyhedron.vtu taken from the same post of Armin and in attach) and to save it from Paraview in xdmf3 file format. Once I try to re-read the xmf generated file, the behaviour is the same and Paraview crashes. Has anyone of you experience with xdmf polyhedral files in Paraview? Thank you in advance for any suggestion Alessandro De Maio -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: polyhedron.xmf Type: application/octet-stream Size: 1786 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: polyhedron.vtu Type: application/octet-stream Size: 2193 bytes Desc: not available URL: From dinu.patirniche at gmail.com Tue Nov 29 11:33:42 2016 From: dinu.patirniche at gmail.com (Dinu Patirniche) Date: Tue, 29 Nov 2016 17:33:42 +0100 Subject: [Paraview] Paraview and Space Mouse Pro In-Reply-To: References: Message-ID: Dear Cory, You were of right. The option was there - I needed to set the correct path for the QT directory for all modules to show up. I ignored at the beginning the QT error, and tried to see whether this plugin is available to start with. Solved. Thanks! P.S. Looking fwd. for having this feature shipped with the binaries. On 11/29/16, Cory Quammen wrote: > Dinu, > > I do my main development on a Mac and the option is indeed listed in > the ccmake. The option variable is not defined in the top-level > CMakeLists.txt file, but that doesn't mean it doesn't exist. There is > some CMake code that looks in the plugins directory and creates the > option variable for each plugin during CMake configuration. > > Try this: > > In your ParaView build directory, run > > ccmake . > > Toggle the advanced options on by pressing the 't' key. Now type '/' > and search for PARAVIEW_BUILD_PLUGIN_VRPlugin. It should be listed, > with a default setting to off. > > Let us know how it goes, > Cory > > On Tue, Nov 29, 2016 at 3:05 AM, Dinu Patirniche > wrote: >> Hi Cory, >> >> Ah Yeah, I forgot to mention that I'm compiling on OSx. This option is >> not available neither in Paraview 5.2.0 nor in 5.0.0 (both of which I >> compiled from source). Have a look at the screenshot. >> >> Thanks, >> D. >> >> On 11/29/16, Cory Quammen wrote: >>>> Two questions: >>>> 1. That page was last updated in 2014; did since then the plan succeed >>>> to include it in the binaries (I guess not, as I could not locate it) >>> >>> I believe this plugin is shipped with the Linux binaries only. >>> >>>> 2. If it is not included in the binaries, what should I add to the >>>> CMakeList to correctly install the plugin? >>> >>> You should just enable PARAVIEW_BUILD_PLUGIN_VRPlugin as the >>> instructions say. It is an advanced CMakeLists.txt option, so make >>> sure you have the advanced mode enabled in the CMake user interface. >>> >>> HTH, >>> Cory >>> >>>> Thanks, >>>> D. >>>> _______________________________________________ >>>> 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 >>>> >>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/paraview >>> >>> >>> >>> -- >>> Cory Quammen >>> Staff R&D Engineer >>> Kitware, Inc. >>> > > > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. > From shawn.waldon at kitware.com Tue Nov 29 12:28:48 2016 From: shawn.waldon at kitware.com (Shawn Waldon) Date: Tue, 29 Nov 2016 12:28:48 -0500 Subject: [Paraview] Project polygon onto surface In-Reply-To: <57E5A32C-02DA-4CD3-9438-EBB502E9BAAC@exponent.com> References: <011BB2FD7D33AB49936FD297F594AEB801531B2443@SFMB02.exponent.com> <1272572751.3188.1477408411498.JavaMail.open-xchange@app06.ox.hosteurope.de> <011BB2FD7D33AB49936FD297F594AEB801531B24BA@SFMB02.exponent.com> <107998029.3521.1477458075119.JavaMail.open-xchange@app07.ox.hosteurope.de> <57E5A32C-02DA-4CD3-9438-EBB502E9BAAC@exponent.com> Message-ID: Hi Adam, The Slice Along PolyLine filter looks for a vtkPolyLine type cell. But there is no reason the algorithm itself can't work with a polygon (the current implementation just doesn't look for one and may not handle it the way you want if you pass a polyline that happens to have a first and last point that are the same). You would have to modify vtkPolyPlane to handle a polygon input rather than assuming the first and last segments go off to infinity (add an option for this). If you want to color the inside, you have to get into how the algorithm works a bit. Internally I am using a vtkImplicitFunciton (vtkPolyPlane) to compute the distance of each point in the dataset (or its projection into the plane of the polyline) from the polyline. Then I run a Contour filter (vtkCutter), contouring where that filter's value is 0 and the output is the slice along the polyline. But if you directly applied the vtkPolyPlane implicit function to your dataset and appended that as a data array rather than contouring by it and throwing it away, you could get colors for distance from the line. You could then use the Calculator filter to scale and color this however you wanted since the distance will be negative for one side of the line. HTH, Shawn On Wed, Nov 23, 2016 at 1:20 PM, Adam Dershowitz wrote: > The problem I was having is that I was planning and trying to use a > polygon. It seems that if you try to use that Slice Along Polyline, but > select a polygon for the input, it crashes paraview (it should probably > bring up an error, or only allow a polyline!). I realized that it actually > wants a polyline, and once I created one for my region, the filter does > what I had been looking for. > But, that leads to another question? If I want a whole region to be > another color, is there a way to fill the output of SliceAlongPolyLine? > So, instead of just an outline, I can get the inside to also be a certain > color? > > Thanks for the help. > > > -- Adam > > > On 10/26/16, 10:10 AM, "Adam Dershowitz" wrote: > > I tried it a few times, and it kept crashing Paraview. So, then I > read up on, it and seemed, from the description, that it was not what I > wanted anyway. But, if you think it is, I will see if I can get it to work. > > -- Adam > > > > > > > > > > On 10/26/16, 1:01 AM, "postgurke at web.de" wrote: > > >Adam, > > > >Have you actually tried the filter? Because I think the output is > exactly what > >you're asking for: the "section" of the surface is the part of the > surface where > >the polyline is proceted onto it, hence a polyline with the regarding > topography > >values for the respective z coordinates. > > > >Cheers > >Venke > > > > > > > >> Adam Dershowitz hat am 25. Oktober 2016 > um 17:29 > >> geschrieben: > >> > >> > >> I don't think that will do it. Because, I don't want to slice > anything. > >> I just want to show the boundaries on the 3D surface. I want to > project the > >> polygon that marks the edges of a region, onto the 3D topography. > >> It seems that Slice Along Polyline uses a laser to cut a section of > the > >> surface, according to the instructions. Instead I want to see each > spot where > >> the laser hits on the surface. > >> > >> ________________________________________ > >> From: postgurke at web.de [postgurke at web.de] > >> Sent: Tuesday, October 25, 2016 11:13 AM > >> To: Adam Dershowitz; paraview at paraview.org > >> Subject: Re: [Paraview] Project polygon onto surface > >> > >> Hi Adam > >> > >> I think the Slice Along Polyline Filter is what you need. Just > select the data > >> set and the poly line in the window popping up and then proceed in > the > >> properties section as usual. > >> > >> Cheers > >> Venke > >> > >> > >> > >> > Adam Dershowitz hat am 25. Oktober > 2016 um 16:01 > >> > geschrieben: > >> > > >> > > >> > Is there a way to project a 2D, or 3D polygon onto a surface. > >> > Specifically I have some elevation data, that is displaying > fine. But the > >> > data has a lot of vertical variation. I have a polygon that > represents the > >> > boundaries of different regions. So, the polygon is effectively > 2D. > >> > Although, I can give it a 3D values as well. > >> > The difficulty is that I can know the elevation of the corners, > but the > >> > lines > >> > between those corners often drop "underground". > >> > So I would like to project the 2D (or 3D) polygon region onto the > 3D ground > >> > elevation. > >> > You can think of this as having a topo map and I want to show the > lines > >> > around > >> > an individual piece of property. > >> > Is there a filter that can do this? > >> > > >> > Thanks, > >> > > >> > --Adam > >> > > >> > _______________________________________________ > >> > Powered by www.kitware.com > >> > > >> > Visit other Kitware open-source projects at > >> > https://urldefense.proofpoint.com/v2/url?u=http-3A__www. > kitware.com_opensource_opensource.html&d=DQICaQ&c= > t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m= > vWssSXYtyX0Fwvwsvi4PGgQ70jWW8djJYXqUQvS2j3I&s= > sMm99lDyK40nLEagq8PC0lEbloTvtFPCU5aOI3LyDaw&e= > >> > > >> > Please keep messages on-topic and check the ParaView Wiki at: > >> > https://urldefense.proofpoint.com/v2/url?u=http-3A__ > paraview.org_Wiki_ParaView&d=DQICaQ&c=t0wRGL5ICVzH157W8C8Wew&r= > 5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m= > vWssSXYtyX0Fwvwsvi4PGgQ70jWW8djJYXqUQvS2j3I&s= > iD69Hj5cpbD6ykFT4IC2HpA0Sg7i0PZKI0Kvkkk-KA4&e= > >> > > >> > Search the list archives at: > >> > https://urldefense.proofpoint.com/v2/url?u=http-3A__ > markmail.org_search_-3Fq-3DParaView&d=DQICaQ&c=t0wRGL5ICVzH157W8C8Wew&r= > 5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m= > vWssSXYtyX0Fwvwsvi4PGgQ70jWW8djJYXqUQvS2j3I&s=wjB_ > o3N2yOaMlHQwkRubVtOQaONIFgjXLZgGkSCsfmk&e= > >> > > >> > Follow this link to subscribe/unsubscribe: > >> > https://urldefense.proofpoint.com/v2/url?u=http-3A__public. > kitware.com_mailman_listinfo_paraview&d=DQICaQ&c=t0wRGL5ICVzH157W8C8Wew&r= > 5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m= > vWssSXYtyX0Fwvwsvi4PGgQ70jWW8djJYXqUQvS2j3I&s= > zor1PXNvekBliiJOtZ5T0cocWkfwUd4H6OxmHTvbCDk&e= > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From adershowitz at exponent.com Tue Nov 29 13:37:17 2016 From: adershowitz at exponent.com (Adam Dershowitz) Date: Tue, 29 Nov 2016 18:37:17 +0000 Subject: [Paraview] Project polygon onto surface In-Reply-To: References: <011BB2FD7D33AB49936FD297F594AEB801531B2443@SFMB02.exponent.com> <1272572751.3188.1477408411498.JavaMail.open-xchange@app06.ox.hosteurope.de> <011BB2FD7D33AB49936FD297F594AEB801531B24BA@SFMB02.exponent.com> <107998029.3521.1477458075119.JavaMail.open-xchange@app07.ox.hosteurope.de> <57E5A32C-02DA-4CD3-9438-EBB502E9BAAC@exponent.com> Message-ID: I may mess with it some. FYI, I did convert my polygon to a polyline, and got it to work. But, if I have two polylines (actually two completely separate regions) the slice along polyline filter then connects them even though they should not be connected. Perhaps this is just what you mentioned below about having the same first and last point? I appreciate both the filter and the feedback below. Thank you, -- Adam From: Shawn Waldon Date: Tuesday, November 29, 2016 at 12:28 PM To: Dershowitz Adam Cc: "postgurke at web.de" , "paraview at paraview.org" Subject: Re: [Paraview] Project polygon onto surface Hi Adam, The Slice Along PolyLine filter looks for a vtkPolyLine type cell. But there is no reason the algorithm itself can't work with a polygon (the current implementation just doesn't look for one and may not handle it the way you want if you pass a polyline that happens to have a first and last point that are the same). You would have to modify vtkPolyPlane to handle a polygon input rather than assuming the first and last segments go off to infinity (add an option for this). If you want to color the inside, you have to get into how the algorithm works a bit. Internally I am using a vtkImplicitFunciton (vtkPolyPlane) to compute the distance of each point in the dataset (or its projection into the plane of the polyline) from the polyline. Then I run a Contour filter (vtkCutter), contouring where that filter's value is 0 and the output is the slice along the polyline. But if you directly applied the vtkPolyPlane implicit function to your dataset and appended that as a data array rather than contouring by it and throwing it away, you could get colors for distance from the line. You could then use the Calculator filter to scale and color this however you wanted since the distance will be negative for one side of the line. HTH, Shawn On Wed, Nov 23, 2016 at 1:20 PM, Adam Dershowitz > wrote: The problem I was having is that I was planning and trying to use a polygon. It seems that if you try to use that Slice Along Polyline, but select a polygon for the input, it crashes paraview (it should probably bring up an error, or only allow a polyline!). I realized that it actually wants a polyline, and once I created one for my region, the filter does what I had been looking for. But, that leads to another question? If I want a whole region to be another color, is there a way to fill the output of SliceAlongPolyLine? So, instead of just an outline, I can get the inside to also be a certain color? Thanks for the help. -- Adam On 10/26/16, 10:10 AM, "Adam Dershowitz" > wrote: I tried it a few times, and it kept crashing Paraview. So, then I read up on, it and seemed, from the description, that it was not what I wanted anyway. But, if you think it is, I will see if I can get it to work. -- Adam On 10/26/16, 1:01 AM, "postgurke at web.de" > wrote: >Adam, > >Have you actually tried the filter? Because I think the output is exactly what >you're asking for: the "section" of the surface is the part of the surface where >the polyline is proceted onto it, hence a polyline with the regarding topography >values for the respective z coordinates. > >Cheers >Venke > > > >> Adam Dershowitz > hat am 25. Oktober 2016 um 17:29 >> geschrieben: >> >> >> I don't think that will do it. Because, I don't want to slice anything. >> I just want to show the boundaries on the 3D surface. I want to project the >> polygon that marks the edges of a region, onto the 3D topography. >> It seems that Slice Along Polyline uses a laser to cut a section of the >> surface, according to the instructions. Instead I want to see each spot where >> the laser hits on the surface. >> >> ________________________________________ >> From: postgurke at web.de [postgurke at web.de] >> Sent: Tuesday, October 25, 2016 11:13 AM >> To: Adam Dershowitz; paraview at paraview.org >> Subject: Re: [Paraview] Project polygon onto surface >> >> Hi Adam >> >> I think the Slice Along Polyline Filter is what you need. Just select the data >> set and the poly line in the window popping up and then proceed in the >> properties section as usual. >> >> Cheers >> Venke >> >> >> >> > Adam Dershowitz > hat am 25. Oktober 2016 um 16:01 >> > geschrieben: >> > >> > >> > Is there a way to project a 2D, or 3D polygon onto a surface. >> > Specifically I have some elevation data, that is displaying fine. But the >> > data has a lot of vertical variation. I have a polygon that represents the >> > boundaries of different regions. So, the polygon is effectively 2D. >> > Although, I can give it a 3D values as well. >> > The difficulty is that I can know the elevation of the corners, but the >> > lines >> > between those corners often drop "underground". >> > So I would like to project the 2D (or 3D) polygon region onto the 3D ground >> > elevation. >> > You can think of this as having a topo map and I want to show the lines >> > around >> > an individual piece of property. >> > Is there a filter that can do this? >> > >> > Thanks, >> > >> > --Adam >> > >> > _______________________________________________ >> > Powered by www.kitware.com >> > >> > Visit other Kitware open-source projects at >> > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.kitware.com_opensource_opensource.html&d=DQICaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=vWssSXYtyX0Fwvwsvi4PGgQ70jWW8djJYXqUQvS2j3I&s=sMm99lDyK40nLEagq8PC0lEbloTvtFPCU5aOI3LyDaw&e= >> > >> > Please keep messages on-topic and check the ParaView Wiki at: >> > https://urldefense.proofpoint.com/v2/url?u=http-3A__paraview.org_Wiki_ParaView&d=DQICaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=vWssSXYtyX0Fwvwsvi4PGgQ70jWW8djJYXqUQvS2j3I&s=iD69Hj5cpbD6ykFT4IC2HpA0Sg7i0PZKI0Kvkkk-KA4&e= >> > >> > Search the list archives at: >> > https://urldefense.proofpoint.com/v2/url?u=http-3A__markmail.org_search_-3Fq-3DParaView&d=DQICaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=vWssSXYtyX0Fwvwsvi4PGgQ70jWW8djJYXqUQvS2j3I&s=wjB_o3N2yOaMlHQwkRubVtOQaONIFgjXLZgGkSCsfmk&e= >> > >> > Follow this link to subscribe/unsubscribe: >> > https://urldefense.proofpoint.com/v2/url?u=http-3A__public.kitware.com_mailman_listinfo_paraview&d=DQICaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=vWssSXYtyX0Fwvwsvi4PGgQ70jWW8djJYXqUQvS2j3I&s=zor1PXNvekBliiJOtZ5T0cocWkfwUd4H6OxmHTvbCDk&e= _______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From shawn.waldon at kitware.com Tue Nov 29 13:52:08 2016 From: shawn.waldon at kitware.com (Shawn Waldon) Date: Tue, 29 Nov 2016 13:52:08 -0500 Subject: [Paraview] Project polygon onto surface In-Reply-To: References: <011BB2FD7D33AB49936FD297F594AEB801531B2443@SFMB02.exponent.com> <1272572751.3188.1477408411498.JavaMail.open-xchange@app06.ox.hosteurope.de> <011BB2FD7D33AB49936FD297F594AEB801531B24BA@SFMB02.exponent.com> <107998029.3521.1477458075119.JavaMail.open-xchange@app07.ox.hosteurope.de> <57E5A32C-02DA-4CD3-9438-EBB502E9BAAC@exponent.com> Message-ID: On Tue, Nov 29, 2016 at 1:37 PM, Adam Dershowitz wrote: > I may mess with it some. > > FYI, I did convert my polygon to a polyline, and got it to work. But, if > I have two polylines (actually two completely separate regions) the slice > along polyline filter then connects them even though they should not be > connected. Perhaps this is just what you mentioned below about having the > same first and last point? > No, that another issue and was done intentionally. When running ParaView in client-server mode with multiple MPI server processes, it is possible the input polyline could be spread across the servers. So it gathers them from all the processes and merges all the polylines into one long line before executing the filter. I don't think there is a good way (other than running multiple Slice Along Polyline filters) to get two separate regions to work. Also, the math for the implicit function you have to write gets more complicated with two regions. The current vtkPolyPlane won't handle it. HTH, Shawn > I appreciate both the filter and the feedback below. > > > > Thank you, > > > > > > > > -- Adam > > > > > > *From: *Shawn Waldon > *Date: *Tuesday, November 29, 2016 at 12:28 PM > *To: *Dershowitz Adam > *Cc: *"postgurke at web.de" , "paraview at paraview.org" < > paraview at paraview.org> > > *Subject: *Re: [Paraview] Project polygon onto surface > > > > Hi Adam, > > The Slice Along PolyLine filter looks for a vtkPolyLine type cell. But > there is no reason the algorithm itself can't work with a polygon (the > current implementation just doesn't look for one and may not handle it the > way you want if you pass a polyline that happens to have a first and last > point that are the same). You would have to modify vtkPolyPlane to handle > a polygon input rather than assuming the first and last segments go off to > infinity (add an option for this). > > If you want to color the inside, you have to get into how the algorithm > works a bit. Internally I am using a vtkImplicitFunciton (vtkPolyPlane) to > compute the distance of each point in the dataset (or its projection into > the plane of the polyline) from the polyline. Then I run a Contour filter > (vtkCutter), contouring where that filter's value is 0 and the output is > the slice along the polyline. But if you directly applied the vtkPolyPlane > implicit function to your dataset and appended that as a data array rather > than contouring by it and throwing it away, you could get colors for > distance from the line. You could then use the Calculator filter to scale > and color this however you wanted since the distance will be negative for > one side of the line. > > HTH, > > Shawn > > > > On Wed, Nov 23, 2016 at 1:20 PM, Adam Dershowitz > wrote: > > The problem I was having is that I was planning and trying to use a > polygon. It seems that if you try to use that Slice Along Polyline, but > select a polygon for the input, it crashes paraview (it should probably > bring up an error, or only allow a polyline!). I realized that it actually > wants a polyline, and once I created one for my region, the filter does > what I had been looking for. > But, that leads to another question? If I want a whole region to be > another color, is there a way to fill the output of SliceAlongPolyLine? > So, instead of just an outline, I can get the inside to also be a certain > color? > > Thanks for the help. > > > -- Adam > > > > On 10/26/16, 10:10 AM, "Adam Dershowitz" wrote: > > I tried it a few times, and it kept crashing Paraview. So, then I > read up on, it and seemed, from the description, that it was not what I > wanted anyway. But, if you think it is, I will see if I can get it to work. > > -- Adam > > > > > > > > > > On 10/26/16, 1:01 AM, "postgurke at web.de" wrote: > > >Adam, > > > >Have you actually tried the filter? Because I think the output is > exactly what > >you're asking for: the "section" of the surface is the part of the > surface where > >the polyline is proceted onto it, hence a polyline with the regarding > topography > >values for the respective z coordinates. > > > >Cheers > >Venke > > > > > > > >> Adam Dershowitz hat am 25. Oktober 2016 > um 17:29 > >> geschrieben: > >> > >> > >> I don't think that will do it. Because, I don't want to slice > anything. > >> I just want to show the boundaries on the 3D surface. I want to > project the > >> polygon that marks the edges of a region, onto the 3D topography. > >> It seems that Slice Along Polyline uses a laser to cut a section of > the > >> surface, according to the instructions. Instead I want to see each > spot where > >> the laser hits on the surface. > >> > >> ________________________________________ > >> From: postgurke at web.de [postgurke at web.de] > >> Sent: Tuesday, October 25, 2016 11:13 AM > >> To: Adam Dershowitz; paraview at paraview.org > >> Subject: Re: [Paraview] Project polygon onto surface > >> > >> Hi Adam > >> > >> I think the Slice Along Polyline Filter is what you need. Just > select the data > >> set and the poly line in the window popping up and then proceed in > the > >> properties section as usual. > >> > >> Cheers > >> Venke > >> > >> > >> > >> > Adam Dershowitz hat am 25. Oktober > 2016 um 16:01 > >> > geschrieben: > >> > > >> > > >> > Is there a way to project a 2D, or 3D polygon onto a surface. > >> > Specifically I have some elevation data, that is displaying > fine. But the > >> > data has a lot of vertical variation. I have a polygon that > represents the > >> > boundaries of different regions. So, the polygon is effectively > 2D. > >> > Although, I can give it a 3D values as well. > >> > The difficulty is that I can know the elevation of the corners, > but the > >> > lines > >> > between those corners often drop "underground". > >> > So I would like to project the 2D (or 3D) polygon region onto the > 3D ground > >> > elevation. > >> > You can think of this as having a topo map and I want to show the > lines > >> > around > >> > an individual piece of property. > >> > Is there a filter that can do this? > >> > > >> > Thanks, > >> > > >> > --Adam > >> > > >> > _______________________________________________ > >> > Powered by www.kitware.com > > >> > > >> > Visit other Kitware open-source projects at > >> > https://urldefense.proofpoint.com/v2/url?u=http-3A__www. > kitware.com_opensource_opensource.html&d=DQICaQ&c= > t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m= > vWssSXYtyX0Fwvwsvi4PGgQ70jWW8djJYXqUQvS2j3I&s= > sMm99lDyK40nLEagq8PC0lEbloTvtFPCU5aOI3LyDaw&e= > >> > > >> > Please keep messages on-topic and check the ParaView Wiki at: > >> > https://urldefense.proofpoint.com/v2/url?u=http-3A__ > paraview.org_Wiki_ParaView&d=DQICaQ&c=t0wRGL5ICVzH157W8C8Wew&r= > 5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m= > vWssSXYtyX0Fwvwsvi4PGgQ70jWW8djJYXqUQvS2j3I&s= > iD69Hj5cpbD6ykFT4IC2HpA0Sg7i0PZKI0Kvkkk-KA4&e= > >> > > >> > Search the list archives at: > >> > https://urldefense.proofpoint.com/v2/url?u=http-3A__ > markmail.org_search_-3Fq-3DParaView&d=DQICaQ&c=t0wRGL5ICVzH157W8C8Wew&r= > 5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m= > vWssSXYtyX0Fwvwsvi4PGgQ70jWW8djJYXqUQvS2j3I&s=wjB_ > o3N2yOaMlHQwkRubVtOQaONIFgjXLZgGkSCsfmk&e= > >> > > >> > Follow this link to subscribe/unsubscribe: > >> > https://urldefense.proofpoint.com/v2/url?u=http-3A__public. > kitware.com_mailman_listinfo_paraview&d=DQICaQ&c=t0wRGL5ICVzH157W8C8Wew&r= > 5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m= > vWssSXYtyX0Fwvwsvi4PGgQ70jWW8djJYXqUQvS2j3I&s= > zor1PXNvekBliiJOtZ5T0cocWkfwUd4H6OxmHTvbCDk&e= > > > _______________________________________________ > 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 > > > Search the list archives at: http://markmail.org/search/?q=ParaView > > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Tue Nov 29 20:41:18 2016 From: wascott at sandia.gov (Scott, W Alan) Date: Wed, 30 Nov 2016 01:41:18 +0000 Subject: [Paraview] fontconfig warnings Message-ID: I downloaded the Linux tarball from Kitware, and am getting a bazillion warnings about the fontconfig. It looks like this. Any ideas? Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 84: Having multiple in isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 84: Having multiple in isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 93: Having multiple in isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 93: Having multiple in isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 102: Having multiple in isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 102: Having multiple in isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 33: Having multiple in isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 59: Having multiple in isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 68: Having multiple in isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 68: Having multiple in isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 79: Having multiple in isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 79: Having multiple in isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 88: Having multiple in isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/41-ttf-arphic-uming.conf", line 16: Having multiple in isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/41-ttf-arphic-uming.conf", line 28: Having multiple in isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/41-ttf-arphic-uming.conf", line 40: Having multiple in isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/44-wqy-zenhei.conf", line 11: Having multiple values in isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/45-latin.conf", line 23: Having multiple in isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/45-latin.conf", line 39: Having multiple in isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/45-latin.conf", line 39: Having multiple in isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/45-latin.conf", line 56: Having multiple in isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/45-latin.conf", line 56: Having multiple in isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/45-latin.conf", line 66: Having multiple in isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/45-latin.conf", line 66: Having multiple in isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/45-latin.conf", line 66: Having multiple in isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/45-latin.conf", line 75: Having multiple in isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/45-latin.conf", line 75: Having multiple in isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/65-0-khmeros-base.conf", line 29: Having multiple values in isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/65-0-khmeros-base.conf", line 41: Having multiple values in isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/65-0-un-core-dotum.conf", line 8: Having multiple values in isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/65-1-vlgothic-gothic.conf", line 23: Having multiple values in isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/65-1-vlgothic-gothic.conf", line 36: Having multiple values in isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/65-kurdit-unikurd-web.conf", line 16: Having multiple values in isn't supported and may not work as expected Thanks, alan -------------- next part -------------- An HTML attachment was scrubbed... URL: From dkxls23 at gmail.com Wed Nov 30 09:59:28 2016 From: dkxls23 at gmail.com (Armin Wehrfritz) Date: Wed, 30 Nov 2016 16:59:28 +0200 Subject: [Paraview] Segfault reading polyhedral cells xdmf3 file In-Reply-To: References: Message-ID: <504a30ae-040e-dd58-d0d0-25bdd51772b5@gmail.com> Hi Alessandro, I just tested the .xmf file on my Linux work-station using the ParaView 5.2 binaries from the Kitware webpage and everything works as expected. Also, reading the .vtu file and saving the data as xdmf works correctly on my machine. I don't have a Windows PC and have never tested this functionality anywhere else than under Linux. However, IIRC, the implementation of the polyhedral cell support doesn't have any operating system specific code. Just to note though, you need to use the Xdmf3 reader/writer in ParaView for xdmf files with polyhedral cells. Can you check that the .xmf file you generated from the .vtu file has the same topology information as the original .xmf file? Cheers, Armin On 11/29/2016 06:09 PM, Alessandro De Maio wrote: > Dear All, > I would like to use xdmf file format for exporting polyhedral mesh > results from a CFD code to be opened with Paraview. If I'm not wrong > Paraview 5.2.0 should be able to read/write such kind o files. > > Just to understand the format of the xmf file, I've been trying to open > a very easy example taken from the post by Armin Wehrfritz (Tue Sep 27 > 09:03:00 EDT 2016) in this mailing list (the title of the post was > "Combination of polygonal-data and unstructured grid") named > polyhedron.xmf (that I put in attach to this post). But using Paraview > 5.2.0 (Windows 64bit) binary, it gives segmentation fault immediately > after the "Apply" button click. > > I've tried also to read the vtu version of the same geometry > (polyhedron.vtu taken from the same post of Armin and in attach) and to > save it from Paraview in xdmf3 file format. Once I try to re-read the > xmf generated file, the behaviour is the same and Paraview crashes. > > Has anyone of you experience with xdmf polyhedral files in Paraview? > > Thank you in advance for any suggestion > > Alessandro De Maio > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From chrisneal at snumerics.com Wed Nov 30 10:42:49 2016 From: chrisneal at snumerics.com (Christopher Neal) Date: Wed, 30 Nov 2016 10:42:49 -0500 Subject: [Paraview] Include grid surface data in vtk file Message-ID: Hi, Is it possible to write a grid file that contains 3D mesh information as well as separate blocks for each surface(defined by a unique marker), such that a user could extract each individual surface from the data set? For example, a 3D cube filled with an unstructured grid. A user could extract one of the 6 surfaces of the cube based on picking a particular block in a data set. Thank you, -- Christopher Neal Research Engineer Streamline Numerics, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Tobias.Mondry at pfinder.de Wed Nov 30 10:38:32 2016 From: Tobias.Mondry at pfinder.de (Mondry, Tobias) Date: Wed, 30 Nov 2016 15:38:32 +0000 Subject: [Paraview] Duplicate Layouts Message-ID: <5DAD8FF59D3EC8419A9CCA1EC08C66754E5CF8B5@SRV-EXCHANGE.Pfinder-GER.lan> Hi, do you know a way to duplicate a Layout, in GUI or python? This would be useful when you want to have different Layouts with slightly different color bar settings, for example. Kind regards Tobias ________________________________ Pfinder KG Rudolf-Diesel-Strasse 14 71032 B?blingen / Germany Telefon: + 49 (7031) 27 01 0 / Telefax: + 49 (7031) 28 05 00 / Internet: www.pfinder.de Handelsregister: Amtsgericht Stuttgart, Registergericht HRA 240702 Diese E-Mail kann Betriebs- und Gesch?ftsgeheimnisse oder sonstige vertrauliche und /oder rechtlich gesch?tzte Informationen enthalten. Sollten Sie diese eMail irrt?mlich erhalten haben, ist Ihnen eine Kenntnisnahme des Inhalts, eine Vervielf?ltigung oder Weitergabe der eMail ausdr?cklich untersagt. Bitte benachrichtigen Sie uns und vernichten Sie die eMail. Der Absender hat alle erdenklichen Vorsichtsma?nahmen getroffen, dass die Anlagen dieser eMail frei von Computerviren o.?. sind. Gleichwohl schlie?en wir die Haftung f?r jeden Schaden aus, der durch Computerviren o.?. verursacht wurde, soweit wir nicht vors?tzlich oder grob fahrl?ssig gehandelt haben. Wir raten Ihnen, dass Sie in jedem Fall Ihre eigene Virenpr?fung vornehmen, bevor Sie die Anlagen ?ffnen. Vielen Dank ! The information contained in this email message may be confidential, and may also be the subject of legal professional privilege. If you are not the intended recipient, any use, interference with, disclosure or copying of this material is unauthorised and prohibited. Please inform us immediately and destroy the email. We have taken every reasonable precaution to ensure that any attachment to this email has been swept for viruses. However, we cannot accept liability for any damage sustained as a result of software viruses and would advise that you carry out your own virus checks before opening any attachment. Thank you for your cooperation ! -------------- next part -------------- An HTML attachment was scrubbed... URL: From demaio.a at gmail.com Wed Nov 30 10:58:02 2016 From: demaio.a at gmail.com (Alessandro De Maio) Date: Wed, 30 Nov 2016 16:58:02 +0100 Subject: [Paraview] Fwd: Segfault reading polyhedral cells xdmf3 file In-Reply-To: References: <504a30ae-040e-dd58-d0d0-25bdd51772b5@gmail.com> Message-ID: Hi Armin, thank you for your reply. I've used both for reading and writing the Xdmf3 choose. In attach you can find the output of the saving of the polyhedron.vtu (saved.xmf and saved.h5) from the Windows machine. I've tried also to repeat the procedure (reading of your xmf file) on a Linux workstation and the behaviour is different: it seems that randomically the crash happens again (once on about ten tries) and sometimes it seems that the topology has a connectivity error (see the image in attachment), while for the most of the times it seems to do the right job. I've tried also another case, a little bit heavier: a polyhedral mesh read from the vtu in attach (cube.vtu) and saved with the Xdmf3 writer. Trying to re-read the xmf version of this geometry always produces a crash also on the Linux machine. Thank again for your help. Cheers Alessandro [image: Inline image 1] On Wed, Nov 30, 2016 at 3:59 PM, Armin Wehrfritz wrote: > Hi Alessandro, > > I just tested the .xmf file on my Linux work-station using the ParaView > 5.2 binaries from the Kitware webpage and everything works as expected. > > Also, reading the .vtu file and saving the data as xdmf works correctly > on my machine. > > I don't have a Windows PC and have never tested this functionality > anywhere else than under Linux. However, IIRC, the implementation of the > polyhedral cell support doesn't have any operating system specific code. > Just to note though, you need to use the Xdmf3 reader/writer in ParaView > for xdmf files with polyhedral cells. > > Can you check that the .xmf file you generated from the .vtu file has > the same topology information as the original .xmf file? > > Cheers, > Armin > > > > > > > > > On 11/29/2016 06:09 PM, Alessandro De Maio wrote: > >> Dear All, >> I would like to use xdmf file format for exporting polyhedral mesh >> results from a CFD code to be opened with Paraview. If I'm not wrong >> Paraview 5.2.0 should be able to read/write such kind o files. >> >> Just to understand the format of the xmf file, I've been trying to open >> a very easy example taken from the post by Armin Wehrfritz (Tue Sep 27 >> 09:03:00 EDT 2016) in this mailing list (the title of the post was >> "Combination of polygonal-data and unstructured grid") named >> polyhedron.xmf (that I put in attach to this post). But using Paraview >> 5.2.0 (Windows 64bit) binary, it gives segmentation fault immediately >> after the "Apply" button click. >> >> I've tried also to read the vtu version of the same geometry >> (polyhedron.vtu taken from the same post of Armin and in attach) and to >> save it from Paraview in xdmf3 file format. Once I try to re-read the >> xmf generated file, the behaviour is the same and Paraview crashes. >> >> Has anyone of you experience with xdmf polyhedral files in Paraview? >> >> Thank you in advance for any suggestion >> >> Alessandro De Maio >> >> >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensou > rce/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: xdmf3_error.png Type: image/png Size: 17278 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: saved.h5 Type: application/octet-stream Size: 7496 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: saved.xmf Type: application/octet-stream Size: 855 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: cube.vtu Type: application/octet-stream Size: 50086 bytes Desc: not available URL: From martin.huartee at gmail.com Wed Nov 30 12:15:27 2016 From: martin.huartee at gmail.com (Martin Huarte Espinosa) Date: Wed, 30 Nov 2016 11:15:27 -0600 Subject: [Paraview] Unable to load binary or vplot files Message-ID: Dear Paraview enthusiasts: good day. We are trying to visualize madagascar-created (http://www.ahay.org/wiki/Main_Page) data files using paraview (4.3.1). These output files are either binaries or .vpl ( http://www.ahay.org/wiki/Tutorial#VPLOT). When using madagascar's viz tool they look "like a movie"; 2D representation of a moving field. We are however unable to visualize this using paraview but we really would like to. Has any of you encountered this problem? Any suggestions will be very appreciated. Thank you very much. My best, Mart?n *Mart?n Huarte-Espinosa, Ph.D.* *Physicist * *Expert Numerical Modeler and Code Developer* *High Performance Computing Specialist* * * -------------- next part -------------- An HTML attachment was scrubbed... URL: From dkxls23 at gmail.com Wed Nov 30 12:35:15 2016 From: dkxls23 at gmail.com (Armin Wehrfritz) Date: Wed, 30 Nov 2016 19:35:15 +0200 Subject: [Paraview] Fwd: Segfault reading polyhedral cells xdmf3 file In-Reply-To: References: <504a30ae-040e-dd58-d0d0-25bdd51772b5@gmail.com> Message-ID: <7395e9fa-3e3d-c3e7-62ab-b0fbcb41a6dd@gmail.com> > In attach you can find the output of the saving of the polyhedron.vtu > (saved.xmf and saved.h5) from the Windows machine. OK, I tested the "saved.xmf" file and I can open it on my Linux machine without issues. Also, I compared the files generated on windows and linux machines, and the topology data is the same for both of them. The datatype in the h5 file is different (H5T_STD_I32LE for the file from the Windows machine vs. H5T_STD_I64LE for the file from the Linux machine). The end of line in the xmf file is different, but I don't think either one of them should cause an issue. > I've tried also to repeat the procedure (reading of your xmf file) on a > Linux workstation and the behaviour is different: it seems that > randomically the crash happens again (once on about ten tries) and > sometimes it seems that the topology has a connectivity error (see the > image in attachment), while for the most of the times it seems to do the > right job. As said, on my Linux machine it works consistently. > I've tried also another case, a little bit heavier: a polyhedral mesh > read from the vtu in attach (cube.vtu) and saved with the Xdmf3 writer. > Trying to re-read the xmf version of this geometry always produces a > crash also on the Linux machine. I can confirm that the xmf file produce from the cube.vtu (using the Xdmf3 writer in ParaView 5.2) leads consistently to seg fault. However, even though the .vtu file works correctly, I'm not entirely sure if this is xmf specific problem. To be more precise, the implementation of polyhedral cells requires the face polygons to be planar (see http://www.vtk.org/Wiki/VTK/Polyhedron_Support). The example file you send has a whole lot of faces that are not planar. I extracted a single cell with several non-planar faces from your example and saved it as .xmf file (attached). I can read this particular file without issues on my Linux machine, whereas the original data file leads to a seg fault. One reason why the cube.vtu file works and the respective .xmf doesn't, could be related to the different approaches polyhedral cells are stored in vtu and xdmf files, but debugging this would require quite a bit of work... Maybe somebody else has an idea here. -Armin -------------- next part -------------- A non-text attachment was scrubbed... Name: non_planar_faces.xmf Type: audio/x-xmf Size: 1030 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: non_planar_faces.h5 Type: application/octet-stream Size: 18032 bytes Desc: not available URL: From wascott at sandia.gov Wed Nov 30 12:48:43 2016 From: wascott at sandia.gov (Scott, W Alan) Date: Wed, 30 Nov 2016 17:48:43 +0000 Subject: [Paraview] [EXTERNAL] Duplicate Layouts In-Reply-To: <5DAD8FF59D3EC8419A9CCA1EC08C66754E5CF8B5@SRV-EXCHANGE.Pfinder-GER.lan> References: <5DAD8FF59D3EC8419A9CCA1EC08C66754E5CF8B5@SRV-EXCHANGE.Pfinder-GER.lan> Message-ID: <6ee93918e6a846048900a47f0f25ae3b@ES01AMSNLNT.srn.sandia.gov> You mean link the cameras for two views? Right click on the background, then left click in the other view. Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Mondry, Tobias Sent: Wednesday, November 30, 2016 8:39 AM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Duplicate Layouts Hi, do you know a way to duplicate a Layout, in GUI or python? This would be useful when you want to have different Layouts with slightly different color bar settings, for example. Kind regards Tobias ________________________________ Pfinder KG Rudolf-Diesel-Strasse 14 71032 B?blingen / Germany Telefon: + 49 (7031) 27 01 0 / Telefax: + 49 (7031) 28 05 00 / Internet: www.pfinder.de Handelsregister: Amtsgericht Stuttgart, Registergericht HRA 240702 Diese E-Mail kann Betriebs- und Gesch?ftsgeheimnisse oder sonstige vertrauliche und /oder rechtlich gesch?tzte Informationen enthalten. Sollten Sie diese eMail irrt?mlich erhalten haben, ist Ihnen eine Kenntnisnahme des Inhalts, eine Vervielf?ltigung oder Weitergabe der eMail ausdr?cklich untersagt. Bitte benachrichtigen Sie uns und vernichten Sie die eMail. Der Absender hat alle erdenklichen Vorsichtsma?nahmen getroffen, dass die Anlagen dieser eMail frei von Computerviren o.?. sind. Gleichwohl schlie?en wir die Haftung f?r jeden Schaden aus, der durch Computerviren o.?. verursacht wurde, soweit wir nicht vors?tzlich oder grob fahrl?ssig gehandelt haben. Wir raten Ihnen, dass Sie in jedem Fall Ihre eigene Virenpr?fung vornehmen, bevor Sie die Anlagen ?ffnen. Vielen Dank ! The information contained in this email message may be confidential, and may also be the subject of legal professional privilege. If you are not the intended recipient, any use, interference with, disclosure or copying of this material is unauthorised and prohibited. Please inform us immediately and destroy the email. We have taken every reasonable precaution to ensure that any attachment to this email has been swept for viruses. However, we cannot accept liability for any damage sustained as a result of software viruses and would advise that you carry out your own virus checks before opening any attachment. Thank you for your cooperation ! -------------- next part -------------- An HTML attachment was scrubbed... URL: From demaio.a at gmail.com Wed Nov 30 13:19:58 2016 From: demaio.a at gmail.com (Alessandro De Maio) Date: Wed, 30 Nov 2016 19:19:58 +0100 Subject: [Paraview] Fwd: Segfault reading polyhedral cells xdmf3 file In-Reply-To: <7395e9fa-3e3d-c3e7-62ab-b0fbcb41a6dd@gmail.com> References: <504a30ae-040e-dd58-d0d0-25bdd51772b5@gmail.com> <7395e9fa-3e3d-c3e7-62ab-b0fbcb41a6dd@gmail.com> Message-ID: You're right: the polyhedral cells of the cube.vtu example do not guarantee the planarity of faces, but this is a typical case of a polyhedral mesh automatically generated starting from a tetrahedral one (this example has been built using the Ansys-Fluent converter) and I think it's quite a usual situation. But I'm not sure this could generate a segfault as the problem could be in the algorythms applied by Paraview after the reading of the file that could consider this hypothesis (as you remarked), while the VTK topological description of a polyhedral cell doesn't seem to need it, and the reading phase should only build the data structure compliant with VTK data representation, as actually happens for vtu file format. But this is only my opinion and of course it could be wrong as I don't have a deep knowledge of all the involved procedures. My idea is that the problem could be due to a memory error, as it's only unfrequent with a small case (by the way the one cell mesh you attached can be read also on the windows machine although with a randomic connectivity error as the one I showed in the image attached to the previous message) but very frequent with a quite bigger case as the cube. Is it possible to use something like valgrind to check for memory errors in Paraview ? On Wed, Nov 30, 2016 at 6:35 PM, Armin Wehrfritz wrote: > In attach you can find the output of the saving of the polyhedron.vtu >> (saved.xmf and saved.h5) from the Windows machine. >> > OK, I tested the "saved.xmf" file and I can open it on my Linux machine > without issues. Also, I compared the files generated on windows and > linux machines, and the topology data is the same for both of them. The > datatype in the h5 file is different (H5T_STD_I32LE for the file from > the Windows machine vs. H5T_STD_I64LE for the file from the Linux > machine). The end of line in the xmf file is different, but I don't > think either one of them should cause an issue. > > I've tried also to repeat the procedure (reading of your xmf file) on a >> Linux workstation and the behaviour is different: it seems that >> randomically the crash happens again (once on about ten tries) and >> sometimes it seems that the topology has a connectivity error (see the >> image in attachment), while for the most of the times it seems to do the >> right job. >> > As said, on my Linux machine it works consistently. > > I've tried also another case, a little bit heavier: a polyhedral mesh >> read from the vtu in attach (cube.vtu) and saved with the Xdmf3 writer. >> Trying to re-read the xmf version of this geometry always produces a >> crash also on the Linux machine. >> > I can confirm that the xmf file produce from the cube.vtu (using the > Xdmf3 writer in ParaView 5.2) leads consistently to seg fault. > However, even though the .vtu file works correctly, I'm not entirely > sure if this is xmf specific problem. To be more precise, the > implementation of polyhedral cells requires the face polygons to be > planar (see http://www.vtk.org/Wiki/VTK/Polyhedron_Support). The example > file you send has a whole lot of faces that are not planar. > > I extracted a single cell with several non-planar faces from your > example and saved it as .xmf file (attached). I can read this particular > file without issues on my Linux machine, whereas the original data file > leads to a seg fault. One reason why the cube.vtu file works and the > respective .xmf doesn't, could be related to the different approaches > polyhedral cells are stored in vtu and xdmf files, but debugging this > would require quite a bit of work... > > Maybe somebody else has an idea here. > > -Armin > -------------- next part -------------- An HTML attachment was scrubbed... URL: From joachim.pouderoux at kitware.com Wed Nov 30 13:20:58 2016 From: joachim.pouderoux at kitware.com (Joachim Pouderoux) Date: Wed, 30 Nov 2016 14:20:58 -0400 Subject: [Paraview] Unable to load binary or vplot files In-Reply-To: References: Message-ID: Hi Martin, Unfortunately there is no reader for this format in VTK/ParaView. Moreoever, VPL looks like a vector graphics format and there is no such similar reader in VTK. However it looks like Madagascar can convert them to raster format (PNG, JPEG etc). i) A way to go would be to develop a new C++ or Python reader for VPL that wiil on the fly convert them to a raster file and load them as a 2D image. As this is a animated file the reader will have to declare the number of frames in the animation as the number time steps of the data and then be able to provide the conversion of the frame requested by the pipeline. ii) Simpler : if conversion cannot be performed on the fly or if you can create a series of PNG/JPG files from Madagascar, you can just load them as a time series with ParaView (all files should be suffixed with the frame id (eg: frame0.png, frame1.png etc.) then in the Open File dialog of ParaView just select "frame*.png" item. Thus each file will be considered as a timestep of the time serie. Hope it is clear, Best *Joachim Pouderoux*, PhD *Technical Expert - Scientific Computing Team* *Kitware SAS * 2016-11-30 13:15 GMT-04:00 Martin Huarte Espinosa : > Dear Paraview enthusiasts: good day. We are trying to visualize > madagascar-created (http://www.ahay.org/wiki/Main_Page) data files using > paraview (4.3.1). These output files are either binaries or .vpl ( > http://www.ahay.org/wiki/Tutorial#VPLOT). When using madagascar's viz > tool they look "like a movie"; 2D representation of a moving field. We are > however unable to visualize this using paraview but we really would like to. > > Has any of you encountered this problem? Any suggestions will be very > appreciated. > > Thank you very much. > > My best, Mart?n > > > *Mart?n Huarte-Espinosa, Ph.D.* > *Physicist * > *Expert Numerical Modeler and Code Developer* > *High Performance Computing Specialist* > > * > * > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From achyptra at hotmail.com Wed Nov 30 18:40:20 2016 From: achyptra at hotmail.com (Bing Ha) Date: Wed, 30 Nov 2016 23:40:20 +0000 Subject: [Paraview] Save a state with data labels using Python Message-ID: Hello all, I'm trying to create and save a state that includes points with data labels using the Python interface. Past answers from Utkarsh and Menno Deij have been helpful in generating the data labels in the viewer either via a selection source or using servermanager.rendering.DataLabelRepresentation(), but neither approach successfully exports the labels. If I reload the state file, the labels have disappeared. Is there a way to export a state including data labels using just Python? Do I need to do something to the labels so the exporter will "see" them? Thanks, Bing -------------- next part -------------- An HTML attachment was scrubbed... URL: From andersd at riseup.net Wed Nov 30 19:06:34 2016 From: andersd at riseup.net (Anders Damsgaard) Date: Wed, 30 Nov 2016 16:06:34 -0800 Subject: [Paraview] Changes in grid spacing in ImageData time series not reflected in Paraview Message-ID: <20161201000634.GO31784@riseup.net> Hi all, I have generated a time series of ImageData files (.vti), where the grid spacing changes over time. If I load for example the first and last file separately into Paraview 5.2.0 for OSX, it correctly renders the two grids in differing sizes. However, if I open the entire time series into Paraview the grid retains the spacing from the first file as I step through the time. Am I using the wrong data/file type for the job, or is this a bug? The files can be downloaded from here: https://adamsgaard.dk/files/image-data-files.tar.gz [36.6 MB] Let me know if you have any further questions, and thanks for any help. Cheers, Anders -- Anders Damsgaard, Ph.D. https://adamsgaard.dk Institute of Geophysics and Planetary Physics Scripps Institution of Oceanography University of California, San Diego PGP public key: https://adamsgaard.dk/adc.gpg Fingerprint: 4B20 FFE8 CE37 0CB5 4E2C 3282 7601 823F AC65 17CA -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 473 bytes Desc: not available URL: