From andrealphus at gmail.com Wed Nov 1 13:07:58 2017 From: andrealphus at gmail.com (A) Date: Wed, 1 Nov 2017 10:07:58 -0700 Subject: [Paraview] basal surfaces to 3D volume Message-ID: Alright, bare with me... I have a series of 3D surfaces that represent the base of specific, discrete, layers in a 3D volume. I have a top surface which bounds the volume. Specifically, I'm trying to create a 3D model of a mountain. The top surface defines the topography, and all those basal surfaces define the bottoms of specific rock-units. I can load all these into paraview (they're just individual netcdf files now), and visualize the separate surfaces. What I want to do is to, for each basal surface, interpolate this unit vertically-upward until it reaches the next overlying surface. So I can go from a series of surfaces to an actual populated 3D structured/unstructured grid. I could do this by brute force in python, (interpolating all planes as points into a 3D volume then, starting at the base of the model, looping through each cell in the volume and extending it upwards) but was curious if there might be a more elegant way (either in paraview or VTK). Did that make any sense? -------------- next part -------------- An HTML attachment was scrubbed... URL: From pei at Knights.ucf.edu Wed Nov 1 15:13:15 2017 From: pei at Knights.ucf.edu (Pei) Date: Wed, 1 Nov 2017 19:13:15 +0000 Subject: [Paraview] About Visualization Issue in Circle In-Reply-To: References: Message-ID: To whom it may concern, I hope you are well. My name is Zhenlin Pei. Now I want to plot structural evolution in circle via Paraview 5.4.1 64-bit. I have a question about visualization in Paraview. I find your contact information online: https://www.paraview.org/services/ 1. Paraview can open the file time_phi_50_Square.vtk whose shape is square. But Paraview has stopped working when I try to open the file time_phi_50_Circle.vtk whose shape is circle. 2. Actually, I apply Vim diff to check the difference between the 2 files. The difference between 2 files are the coordinates and number of points, one file is for shape square, the other file is for shape circle. Value in LOOKUP_TABLE is the same: 0.5. 3. I apply Excel to plot the shape based on the coordinates from time_phi_50_Circle.vtk. 4. Please refer to the captures below or onedrive online (including the full *.vtk files): https://1drv.ms/f/s!AJ_QiTly3Pr5gWY 5. Can you help me to find the reason or solution, please? Thank you very much. [cid:image001.png at 01D35323.A2A995A0] [cid:image002.png at 01D35323.A2A995A0] [cid:image003.png at 01D35323.A2A995A0] [cid:image007.png at 01D35323.C82735D0] [cid:image008.png at 01D35323.C82735D0] [cid:image009.png at 01D35323.C82735D0] Best Regards, Pei -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 70226 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 70756 bytes Desc: image002.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 66222 bytes Desc: image003.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image007.png Type: image/png Size: 95568 bytes Desc: image007.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image008.png Type: image/png Size: 132387 bytes Desc: image008.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image009.png Type: image/png Size: 97172 bytes Desc: image009.png URL: From shawn.waldon at kitware.com Wed Nov 1 15:22:45 2017 From: shawn.waldon at kitware.com (Shawn Waldon) Date: Wed, 1 Nov 2017 15:22:45 -0400 Subject: [Paraview] About Visualization Issue in Circle In-Reply-To: References: Message-ID: Hi Pei, It is very likely that your circle.vtk file is an invalid/corrupt VTK file. That reader doesn't always handle bad files gracefully and often when you have a crash reading a .vtk file it means that the file itself is bad. Can you share the file with the mailing list? Maybe someone will have time to debug through and find out why it is crashing (aka what part of the file is bad). Shawn On Wed, Nov 1, 2017 at 3:13 PM, Pei wrote: > To whom it may concern, > > > > I hope you are well. My name is Zhenlin Pei. Now I want to plot > structural evolution in circle via Paraview 5.4.1 64-bit. > > > > I have a question about visualization in Paraview. I find your > contact information online: https://www.paraview.org/services/ > > > > 1. Paraview can open the file *time_phi_50_Square.vtk* whose shape is > square. But Paraview has stopped working when I try to open the file > *time_phi_50_Circle.vtk* whose shape is circle. > 2. Actually, I apply *Vim diff* to check the difference between the 2 > files. The difference between 2 files are the coordinates and number of > points, one file is for shape square, the other file is for shape circle. > Value in LOOKUP_TABLE is the same: 0.5. > 3. I apply Excel to plot the shape based on the coordinates from > *time_phi_50_Circle.vtk.* > 4. Please refer to the captures below or onedrive online (including > the full *.vtk files): https://1drv.ms/f/s!AJ_QiTly3Pr5gWY > 5. Can you help me to find the reason or solution, please? > > > > Thank you very much. > > > > > > > > > > > > > > > > > > > > Best Regards, > > Pei > > > > _______________________________________________ > 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: image002.png Type: image/png Size: 70756 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 66222 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image008.png Type: image/png Size: 132387 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image007.png Type: image/png Size: 95568 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image009.png Type: image/png Size: 97172 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 70226 bytes Desc: not available URL: From pei at Knights.ucf.edu Wed Nov 1 15:38:39 2017 From: pei at Knights.ucf.edu (Pei) Date: Wed, 1 Nov 2017 19:38:39 +0000 Subject: [Paraview] About Visualization Issue in Circle In-Reply-To: References: Message-ID: Hi Shawn, Thank you for your reply. I shared the *.vtk files from OneDrive in the previous message: https://1drv.ms/f/s!AJ_QiTly3Pr5gWY. Actually, I tried to attached the full *.vtk files to the message, but I received the auto message, please refer to the capture below. How do I share the *.vtk via mailing list directly, please? It is my first time to use Paraview mailing list. I try to familiar with the skills asap. Thank you very much. [cid:image009.png at 01D35327.7A0452D0] Best Regards, Pei From: Shawn Waldon [mailto:shawn.waldon at kitware.com] Sent: Wednesday, November 1, 2017 3:23 PM To: Pei Cc: paraview at paraview.org Subject: Re: [Paraview] About Visualization Issue in Circle Hi Pei, It is very likely that your circle.vtk file is an invalid/corrupt VTK file. That reader doesn't always handle bad files gracefully and often when you have a crash reading a .vtk file it means that the file itself is bad. Can you share the file with the mailing list? Maybe someone will have time to debug through and find out why it is crashing (aka what part of the file is bad). Shawn On Wed, Nov 1, 2017 at 3:13 PM, Pei > wrote: To whom it may concern, I hope you are well. My name is Zhenlin Pei. Now I want to plot structural evolution in circle via Paraview 5.4.1 64-bit. I have a question about visualization in Paraview. I find your contact information online: https://www.paraview.org/services/ 1. Paraview can open the file time_phi_50_Square.vtk whose shape is square. But Paraview has stopped working when I try to open the file time_phi_50_Circle.vtk whose shape is circle. 2. Actually, I apply Vim diff to check the difference between the 2 files. The difference between 2 files are the coordinates and number of points, one file is for shape square, the other file is for shape circle. Value in LOOKUP_TABLE is the same: 0.5. 3. I apply Excel to plot the shape based on the coordinates from time_phi_50_Circle.vtk. 4. Please refer to the captures below or onedrive online (including the full *.vtk files): https://1drv.ms/f/s!AJ_QiTly3Pr5gWY 5. Can you help me to find the reason or solution, please? Thank you very much. [cid:image001.png at 01D35326.26C1BCD0] [cid:image002.png at 01D35326.26C1BCD0] [cid:image003.png at 01D35326.26C1BCD0] [cid:image004.png at 01D35326.26C1BCD0] [cid:image005.png at 01D35326.26C1BCD0] [cid:image006.png at 01D35326.26C1BCD0] Best Regards, Pei _______________________________________________ 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: 70226 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 70756 bytes Desc: image002.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 66222 bytes Desc: image003.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.png Type: image/png Size: 95568 bytes Desc: image004.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image005.png Type: image/png Size: 132387 bytes Desc: image005.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image006.png Type: image/png Size: 97172 bytes Desc: image006.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image009.png Type: image/png Size: 73672 bytes Desc: image009.png URL: From shawn.waldon at kitware.com Wed Nov 1 16:05:26 2017 From: shawn.waldon at kitware.com (Shawn Waldon) Date: Wed, 1 Nov 2017 16:05:26 -0400 Subject: [Paraview] About Visualization Issue in Circle In-Reply-To: References: Message-ID: Utkarsh, So apparenly that limit is so low that a 32KB screenshot will trigger it. I think something is messed up with the list. Pei, Here is the screenshot I was trying to send: https://drive.google.com/file/d/0B6wtdhIJ3POwQ1ZRc21FblZRT00/view?usp=sharing Shawn On Wed, Nov 1, 2017 at 3:55 PM, Shawn Waldon wrote: > Hi Pei, > > I think the file size was too big to share on the list (very likely the > size restriction is low, or it may disallow large files on your first > post). I loaded your file in the a ParaView build from a few weeks ago (I > had it on hand). It didn't crash for me, but I don't think your file is > correct, and I wouldn't be surprised if I just got lucky. I'm attaching a > screenshot of what it looked like. > > My recommendation would be to make a much smaller file and make sure you > have the exporting to VTK working right before going back to your large > dataset. > > Shawn > > > > On Wed, Nov 1, 2017 at 3:38 PM, Pei wrote: > >> Hi Shawn, >> >> >> >> Thank you for your reply. I shared the *.vtk files from OneDrive in >> the previous message: https://1drv.ms/f/s!AJ_QiTly3Pr5gWY >> . >> Actually, I tried to attached the full *.vtk files to the message, but I >> received the auto message, please refer to the capture below. >> >> How do I share the *.vtk via mailing list directly, please? It is my >> first time to use Paraview mailing list. I try to familiar with the skills >> asap. Thank you very much. >> >> >> >> >> >> Best Regards, >> >> Pei >> >> >> >> *From:* Shawn Waldon [mailto:shawn.waldon at kitware.com] >> *Sent:* Wednesday, November 1, 2017 3:23 PM >> *To:* Pei >> *Cc:* paraview at paraview.org >> *Subject:* Re: [Paraview] About Visualization Issue in Circle >> >> >> >> Hi Pei, >> >> It is very likely that your circle.vtk file is an invalid/corrupt VTK >> file. That reader doesn't always handle bad files gracefully and often >> when you have a crash reading a .vtk file it means that the file itself is >> bad. Can you share the file with the mailing list? Maybe someone will >> have time to debug through and find out why it is crashing (aka what part >> of the file is bad). >> >> Shawn >> >> >> >> On Wed, Nov 1, 2017 at 3:13 PM, Pei wrote: >> >> To whom it may concern, >> >> >> >> I hope you are well. My name is Zhenlin Pei. Now I want to plot >> structural evolution in circle via Paraview 5.4.1 64-bit. >> >> >> >> I have a question about visualization in Paraview. I find your >> contact information online: https://www.paraview.org/services/ >> >> >> >> >> 1. Paraview can open the file *time_phi_50_Square.vtk* whose shape is >> square. But Paraview has stopped working when I try to open the file >> *time_phi_50_Circle.vtk* whose shape is circle. >> 2. Actually, I apply *Vim diff* to check the difference between the 2 >> files. The difference between 2 files are the coordinates and number of >> points, one file is for shape square, the other file is for shape circle. >> Value in LOOKUP_TABLE is the same: 0.5. >> 3. I apply Excel to plot the shape based on the coordinates from >> *time_phi_50_Circle.vtk.* >> 4. Please refer to the captures below or onedrive online (including >> the full *.vtk files): https://1drv.ms/f/s!AJ_QiTly3Pr5gWY >> >> 5. Can you help me to find the reason or solution, please? >> >> >> >> Thank you very much. >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> Best Regards, >> >> Pei >> >> >> >> >> _______________________________________________ >> 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: image009.png Type: image/png Size: 73672 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 70226 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 66222 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 70756 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image006.png Type: image/png Size: 97172 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.png Type: image/png Size: 95568 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image005.png Type: image/png Size: 132387 bytes Desc: not available URL: From klara.schevenels at kuleuven.be Fri Nov 3 06:39:06 2017 From: klara.schevenels at kuleuven.be (Klara Schevenels) Date: Fri, 3 Nov 2017 10:39:06 +0000 Subject: [Paraview] quantifying overlap between two volumes Message-ID: <2ebe1d42f4aa4f9586fe2a2aca5dcc94@ICTS-S-EXMBX17.luna.kuleuven.be> To whom it may concern, I just started working with Paraview for making 3D-images of the brain. More specifically, I want to quantify the overlap between the brain activation there is for some fMRI-task (one .vtk file) and some coordinates I have (separate .vtk files). Does anyone can advise how to start with this? I've been searching on the internet but I cannot find a clear answer to this question. Many many thanks in advance! Best Klara Schevenels -------------- next part -------------- An HTML attachment was scrubbed... URL: From samuelkey at bresnan.net Fri Nov 3 09:41:56 2017 From: samuelkey at bresnan.net (Samuel Key) Date: Fri, 3 Nov 2017 07:41:56 -0600 Subject: [Paraview] quantifying overlap between two volumes In-Reply-To: <2ebe1d42f4aa4f9586fe2a2aca5dcc94@ICTS-S-EXMBX17.luna.kuleuven.be> References: <2ebe1d42f4aa4f9586fe2a2aca5dcc94@ICTS-S-EXMBX17.luna.kuleuven.be> Message-ID: <711b9a11-b19b-2190-9328-3ce81205edf5@bresnan.net> Klara-- Have you tried to load both one.vtk and separate.vtk into a single render window? ParaView is quite capable of doing this.? If the "reference file" separate.vtk image needs to be shifted, the transform filter will let you re-position the image. Hope this helps. --Sam On 11/3/2017 4:39 AM, Klara Schevenels wrote: > > To whom it may concern, > > I just started working with Paraview for making 3D-images of the > brain. More specifically, I want to quantify the overlap between the > brain activation there is for some fMRI-task (one .vtk file) and some > coordinates I have (separate .vtk files). Does anyone can advise how > to start with this? I?ve been searching on the internet but I cannot > find a clear answer to this question. > > Many many thanks in advance! > > Best > > Klara Schevenels > > > > _______________________________________________ > 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 rgonzalez at ou.edu Fri Nov 3 11:11:30 2017 From: rgonzalez at ou.edu (Gonzalez Lopez, Ruben A.) Date: Fri, 3 Nov 2017 15:11:30 +0000 Subject: [Paraview] Information tag in xdmf file crashes paraview Message-ID: Hi there, I would like to include some additional information about the parameters that I'm using in my simulation in the file, I thought that the Information tag was useful in this scenario. but when I try to use them Paraview crashes. is there any other technique that I could use? I already try for comments but Paraview will crash anyway. Thank you very much for your help -------------- next part -------------- An HTML attachment was scrubbed... URL: From pei at Knights.ucf.edu Fri Nov 3 14:00:00 2017 From: pei at Knights.ucf.edu (Pei) Date: Fri, 3 Nov 2017 18:00:00 +0000 Subject: [Paraview] About Visualization Issue in Circle In-Reply-To: References: Message-ID: Hi Shawn, Thank you for your reply. Now I have one more question besides the issue ?stop working?. I don?t know why the circle has some ?sawtooth edge? ? Best Regards, Pei From: Shawn Waldon [mailto:shawn.waldon at kitware.com] Sent: Wednesday, November 1, 2017 4:05 PM To: Pei ; Utkarsh Ayachit Cc: paraview at paraview.org Subject: Re: [Paraview] About Visualization Issue in Circle Utkarsh, So apparenly that limit is so low that a 32KB screenshot will trigger it. I think something is messed up with the list. Pei, Here is the screenshot I was trying to send: https://drive.google.com/file/d/0B6wtdhIJ3POwQ1ZRc21FblZRT00/view?usp=sharing Shawn On Wed, Nov 1, 2017 at 3:55 PM, Shawn Waldon > wrote: Hi Pei, I think the file size was too big to share on the list (very likely the size restriction is low, or it may disallow large files on your first post). I loaded your file in the a ParaView build from a few weeks ago (I had it on hand). It didn't crash for me, but I don't think your file is correct, and I wouldn't be surprised if I just got lucky. I'm attaching a screenshot of what it looked like. My recommendation would be to make a much smaller file and make sure you have the exporting to VTK working right before going back to your large dataset. Shawn On Wed, Nov 1, 2017 at 3:38 PM, Pei > wrote: Hi Shawn, Thank you for your reply. I shared the *.vtk files from OneDrive in the previous message: https://1drv.ms/f/s!AJ_QiTly3Pr5gWY. Actually, I tried to attached the full *.vtk files to the message, but I received the auto message, please refer to the capture below. How do I share the *.vtk via mailing list directly, please? It is my first time to use Paraview mailing list. I try to familiar with the skills asap. Thank you very much. [cid:image007.png at 01D354AB.D71FE990] Best Regards, Pei From: Shawn Waldon [mailto:shawn.waldon at kitware.com] Sent: Wednesday, November 1, 2017 3:23 PM To: Pei > Cc: paraview at paraview.org Subject: Re: [Paraview] About Visualization Issue in Circle Hi Pei, It is very likely that your circle.vtk file is an invalid/corrupt VTK file. That reader doesn't always handle bad files gracefully and often when you have a crash reading a .vtk file it means that the file itself is bad. Can you share the file with the mailing list? Maybe someone will have time to debug through and find out why it is crashing (aka what part of the file is bad). Shawn On Wed, Nov 1, 2017 at 3:13 PM, Pei > wrote: To whom it may concern, I hope you are well. My name is Zhenlin Pei. Now I want to plot structural evolution in circle via Paraview 5.4.1 64-bit. I have a question about visualization in Paraview. I find your contact information online: https://www.paraview.org/services/ 1. Paraview can open the file time_phi_50_Square.vtk whose shape is square. But Paraview has stopped working when I try to open the file time_phi_50_Circle.vtk whose shape is circle. 2. Actually, I apply Vim diff to check the difference between the 2 files. The difference between 2 files are the coordinates and number of points, one file is for shape square, the other file is for shape circle. Value in LOOKUP_TABLE is the same: 0.5. 3. I apply Excel to plot the shape based on the coordinates from time_phi_50_Circle.vtk. 4. Please refer to the captures below or onedrive online (including the full *.vtk files): https://1drv.ms/f/s!AJ_QiTly3Pr5gWY 5. Can you help me to find the reason or solution, please? Thank you very much. [cid:image008.png at 01D354AB.D71FE990] [cid:image009.png at 01D354AB.D71FE990] [cid:image010.png at 01D354AB.D71FE990] [cid:image011.png at 01D354AB.D71FE990] [cid:image012.png at 01D354AB.D71FE990] [cid:image013.png at 01D354AB.D71FE990] Best Regards, Pei _______________________________________________ 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: image007.png Type: image/png Size: 73672 bytes Desc: image007.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image008.png Type: image/png Size: 70226 bytes Desc: image008.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image009.png Type: image/png Size: 70756 bytes Desc: image009.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image010.png Type: image/png Size: 66222 bytes Desc: image010.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image011.png Type: image/png Size: 95568 bytes Desc: image011.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image012.png Type: image/png Size: 132387 bytes Desc: image012.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image013.png Type: image/png Size: 97172 bytes Desc: image013.png URL: From the.1.lily at hotmail.com Fri Nov 3 15:49:26 2017 From: the.1.lily at hotmail.com (the lily) Date: Fri, 3 Nov 2017 19:49:26 +0000 Subject: [Paraview] No module named paraview.simple on MacOs sierra Message-ID: Hello, I'm trying to run the following example https://github.com/Kitware/ParaViewCatalystExampleCode-MOVED-/blob/master/PythonFullExample/cpscript.py on MacOs sierra using Paraview 5.4.1, I'm getting the following error File "cpstate.py", line 1, in from paraview.simple import * ImportError: No module named paraview.simple I tried doing the following: export PYTHONPATH=$PYTHONPATH:/Applications/ParaView-5.4.1.app/Contents/bin But that did not fix it, are there are other paths I should include? or anyway to get around this error? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben.boeckel at kitware.com Fri Nov 3 17:42:40 2017 From: ben.boeckel at kitware.com (Ben Boeckel) Date: Fri, 3 Nov 2017 17:42:40 -0400 Subject: [Paraview] No module named paraview.simple on MacOs sierra In-Reply-To: References: Message-ID: <20171103214240.GA27523@rotor.kitware.com> On Fri, Nov 03, 2017 at 19:49:26 +0000, the lily wrote: > export PYTHONPATH=$PYTHONPATH:/Applications/ParaView-5.4.1.app/Contents/bin The modules should be in /path/to/.app/Contents/Python. Try: export PYTHONPATH=$PYTHONPATH:/Applications/ParaView-5.4.1.app/Contents/Python --Ben From robertsawko at gmail.com Fri Nov 3 18:15:11 2017 From: robertsawko at gmail.com (Robert Sawko) Date: Fri, 3 Nov 2017 22:15:11 +0000 Subject: [Paraview] Python tracing doesn't work for opacity time frames? In-Reply-To: References: <20170419140917.GA7480@avignon> Message-ID: <20171103221511.GA31531@avignon> Utkarsh, Really sorry but this dropped off my radar. Thanks for raising an issue and sharing this code snippet below. Robert > You can get access to the opacity track using the API similar to getting > track for any other attribute as "Radius" for SPhere Source. > > a = GetAnimationTrack('Opacity', index=0, proxy=sphere1) > > Now you can add keyframes etc to the track. -- One, among many reasons to visit Australia! http://en.wikipedia.org/wiki/Morning_Glory_cloud From robertsawko at gmail.com Fri Nov 3 18:22:08 2017 From: robertsawko at gmail.com (Robert Sawko) Date: Fri, 3 Nov 2017 22:22:08 +0000 Subject: [Paraview] Remote rendering through reverse SSH breaks with a GLX error In-Reply-To: References: <20170928154348.GA17161@avignon> Message-ID: <20171103222208.GB31531@avignon> Utkarsh, Again, thanks again for the comment and sorry for missing the email. I am checking my filter rules as this didn't get through to my inbox. Your insight was quite right: it's all down to drivers. I've been working on PV with EGL since then and I can get it all work under Ubuntu POWER8 NVIDIA driver but not under RHEL. There seems to be a packaging problem in RHEL where presumably an older or flawed version of EGL is shipped. I've been promised a fix soon so I am waiting for this. I've got access to two clusters with K80s and P100s and my intention is to run EGL enabled PV on both of them. X-less config is ideal as I could make any node act as a PV server. I'll keep you posted. Robert -- P-hacking again... https://www.youtube.com/watch?v=42QuXLucH3Q Sorry, but I think p-values are important. From the.1.lily at hotmail.com Fri Nov 3 19:06:29 2017 From: the.1.lily at hotmail.com (the lily) Date: Fri, 3 Nov 2017 23:06:29 +0000 Subject: [Paraview] PythonFullExample Error: Must use ParaView v4.2 or greater Message-ID: Hello, I built paraview 5.4 from the repo https://gitlab.kitware.com/paraview/paraview/blob/master/Documentation/dev/git/download.md on MacOS Sierra I'm trying to run the PythonFullExample downloaded from here https://gitlab.kitware.com/paraview/paraview/tree/master/Examples/Catalyst/PythonFullExample I run it as the following: export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/Users/a/ParaView/paraview_build/lib export PYTHONPATH=/Users/a/ParaView/paraview_build/lib/site-packages /Users/a/ParaView/paraview_build/bin/pvpython fedriver.py cpscript.py I connect to Catalyst, then I get an error 'Must use ParaView v4.2 or greater' Any guide on how to solve this? -------------- next part -------------- An HTML attachment was scrubbed... URL: From klara.schevenels at kuleuven.be Sat Nov 4 05:58:09 2017 From: klara.schevenels at kuleuven.be (Klara Schevenels) Date: Sat, 4 Nov 2017 09:58:09 +0000 Subject: [Paraview] quantifying overlap between two volumes In-Reply-To: References: <2ebe1d42f4aa4f9586fe2a2aca5dcc94@ICTS-S-EXMBX17.luna.kuleuven.be> <711b9a11-b19b-2190-9328-3ce81205edf5@bresnan.net> Message-ID: <29f37f4d40de41c39a0e928702ce163c@ICTS-S-EXMBX17.luna.kuleuven.be> Hi Sam, Thanks again for your answer! I included a printscreen of an image I have been working on to clear things up. The purple regions are brain activations for a fMRI-task and are all combined into one vtk file. The coordinates are the spheres in different colors and each have their own vtk file. Enjoy your weekend! Best, Klara [cid:image001.png at 01D3555B.2AC8BD60] From: Samuel Key [mailto:samuelkey at bresnan.net] Sent: vrijdag 3 november 2017 20:14 To: Klara Schevenels Subject: Re: [Paraview] quantifying overlap between two volumes Klara-- I am sure there are several ways to do this, unfortunately you will need to supply the list with more information about the nature of the datum set. If your two *.vtk files have matching points (same number and same coordinates) you can use the Append Data filter to combine the two datum sets. However the two datum sets will have to have different variable names for the POINT values. Use either a text editor on one of the *.vtk files to change the variable name, or use the Calculator filter to rename the variables from one of the *.vtk datum sets before you use the Append Data filter. With the merged datum sets, you can then use the Calculator filter to computer the difference in the two values and give the difference a new name. Hope this helps. --Sam On 11/3/2017 8:15 AM, Klara Schevenels wrote: Hi Sam Thank you very much for your response! I loaded all of the files in the same window, so the visualization is quite good. But I'd like to become a quantification of how much overlap there is between the reference activation and the coordinates I have (like a % or something). You think you have any ideas on that? Best Klara From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Samuel Key Sent: vrijdag 3 november 2017 14:42 To: paraview at paraview.org Subject: Re: [Paraview] quantifying overlap between two volumes Klara-- Have you tried to load both one.vtk and separate.vtk into a single render window? ParaView is quite capable of doing this. If the "reference file" separate.vtk image needs to be shifted, the transform filter will let you re-position the image. Hope this helps. --Sam On 11/3/2017 4:39 AM, Klara Schevenels wrote: To whom it may concern, I just started working with Paraview for making 3D-images of the brain. More specifically, I want to quantify the overlap between the brain activation there is for some fMRI-task (one .vtk file) and some coordinates I have (separate .vtk files). Does anyone can advise how to start with this? I've been searching on the internet but I cannot find a clear answer to this question. Many many thanks in advance! Best Klara Schevenels _______________________________________________ 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: 143568 bytes Desc: image001.png URL: From samuelkey at bresnan.net Sat Nov 4 11:43:37 2017 From: samuelkey at bresnan.net (Samuel Key) Date: Sat, 4 Nov 2017 09:43:37 -0600 Subject: [Paraview] quantifying overlap between two volumes In-Reply-To: <29f37f4d40de41c39a0e928702ce163c@ICTS-S-EXMBX17.luna.kuleuven.be> References: <2ebe1d42f4aa4f9586fe2a2aca5dcc94@ICTS-S-EXMBX17.luna.kuleuven.be> <711b9a11-b19b-2190-9328-3ce81205edf5@bresnan.net> <29f37f4d40de41c39a0e928702ce163c@ICTS-S-EXMBX17.luna.kuleuven.be> Message-ID: <1903211e-fb6f-6a74-2a7b-ccaf46eedf28@bresnan.net> Klara-- If you want to get all of this information into one datum set so that you can use PV's Calculator filter, one possibility is use the PV's Resample With Dataset. (I am not a heavy user of this filter, but I tried it once and it work like a charm.) It would be best if you consulted the on-line? documentation (at least easily accessed in PV version 5.2.0 by F1), PDF page 93. If you use a fairly fine background mesh, it should serve your needs. You may have to use the Group Datasets filter first? You might consider using a ParaView *.pvd file (pvd is short for 'ParaView Data'). It should make your file handling a little easier. I have attached a sample *.pvd file that could make the task easier. However, your individual VTK files will have to have an XML-format for this to work. --Sam On 11/4/2017 3:58 AM, Klara Schevenels wrote: > > Hi Sam, > > Thanks again for your answer! I included a printscreen of an image I > have been working on to clear things up. The purple regions are brain > activations for a fMRI-task and are all combined into one vtk file. > The coordinates are the spheres in different colors and each have > their own vtk file. > > Enjoy your weekend! > > Best, > > Klara > > *From:*Samuel Key [mailto:samuelkey at bresnan.net] > *Sent:* vrijdag 3 november 2017 20:14 > *To:* Klara Schevenels > *Subject:* Re: [Paraview] quantifying overlap between two volumes > > Klara-- > > I am sure there are several ways to do this, unfortunately you will > need to supply the list with more information about the nature of the > datum set. > > If your two *.vtk files have matching points (same number and same > coordinates) you can use the Append Data filter to combine the two > datum sets. However the two datum sets will have to have different > variable names for the POINT values. Use either a text editor on one > of the *.vtk files to change the variable name, or use the Calculator > filter to rename the variables from one of the *.vtk datum sets before > you use the Append Data filter. > > With the merged datum sets, you can then use the Calculator filter to > computer the difference in the two values and give the difference a > new name. > > Hope this helps. > > --Sam > > On 11/3/2017 8:15 AM, Klara Schevenels wrote: > > Hi Sam > > Thank you very much for your response! I loaded all of the files > in the same window, so the visualization is quite good. But I?d > like to become a quantification of how much overlap there is > between the reference activation and the coordinates I have (like > a % or something). > > You think you have any ideas on that? > > Best > > Klara > > *From:*ParaView [mailto:paraview-bounces at paraview.org] *On Behalf > Of *Samuel Key > *Sent:* vrijdag 3 november 2017 14:42 > *To:* paraview at paraview.org > *Subject:* Re: [Paraview] quantifying overlap between two volumes > > Klara-- > > Have you tried to load both one.vtk and separate.vtk into a single > render window? ParaView is quite capable of doing this.? If the > "reference file" separate.vtk image needs to be shifted, the > transform filter will let you re-position the image. > > Hope this helps. > > --Sam > > On 11/3/2017 4:39 AM, Klara Schevenels wrote: > > To whom it may concern, > > I just started working with Paraview for making 3D-images of > the brain. More specifically, I want to quantify the overlap > between the brain activation there is for some fMRI-task (one > .vtk file) and some coordinates I have (separate .vtk files). > Does anyone can advise how to start with this? I?ve been > searching on the internet but I cannot find a clear answer to > this question. > > Many many thanks in advance! > > Best > > Klara Schevenels > > > > > > _______________________________________________ > > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 143568 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: fmavto.pvd Type: text/xml Size: 5708 bytes Desc: not available URL: From dennis_conklin at goodyear.com Mon Nov 6 08:30:11 2017 From: dennis_conklin at goodyear.com (Dennis Conklin) Date: Mon, 6 Nov 2017 13:30:11 +0000 Subject: [Paraview] quantifying overlap between two volumes Message-ID: Klara, I have an idea but it's pretty rough - see what you can make of it. Assume the MRI volume is highly refined - let's use this as the base mesh - I think for this both the MRI and the circles have to be volume meshed, not just surfaces. Take your purple regions and assign a Point variable of MRI and assign a value of 1 For each of your circles, assign a Point variable - let's assign a variable of "circle" and assign a value of 1 - n, where n is number of circles Now use Resample with Dataset using one of your meshed spheres as input and MRI as source - now you have a MRI cloud that has some elements with a circle value of 0 and some with a circle value of 1 (for circle #1). Threshold on circle value between .5 and 1 and you will get a subset of elements in circle 1 that are enclosed by the MRI cloud. Calculate the volume in the python calculator. Compare to volume of entire sphere (they all look like the same size, so you probably know total volume of sphere). This gives you % of circle that is inclosed by MRI cloud. I haven't tried it but you can probably combine all the circles and the MRI cloud using resample - maybe try Group Datasets on the spheres first. You could then get volume of MRI cloud with circle > 0 and compare to total volume of MRI cloud if you wanted that percentage. Part I don't know at all is how to volume mesh these parts if you have them only as surfaces. Not a polished answer, but food for thought. Hope this helps Dennis -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Mon Nov 6 11:09:52 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 6 Nov 2017 09:09:52 -0700 Subject: [Paraview] Remote rendering through reverse SSH breaks with a GLX error In-Reply-To: <20171103222208.GB31531@avignon> References: <20170928154348.GA17161@avignon> <20171103222208.GB31531@avignon> Message-ID: Thanks for the update, Robert. Utkarsh On Fri, Nov 3, 2017 at 4:22 PM, Robert Sawko wrote: > Utkarsh, > > Again, thanks again for the comment and sorry for missing the email. I am > checking my filter rules as this didn't get through to my inbox. > > Your insight was quite right: it's all down to drivers. I've been working on > PV with EGL since then and I can get it all work under Ubuntu POWER8 NVIDIA > driver but not under RHEL. There seems to be a packaging problem in RHEL where > presumably an older or flawed version of EGL is shipped. I've been promised a > fix soon so I am waiting for this. > > I've got access to two clusters with K80s and P100s and my intention is to run > EGL enabled PV on both of them. X-less config is ideal as I could make any node > act as a PV server. I'll keep you posted. > > Robert > -- > P-hacking again... > https://www.youtube.com/watch?v=42QuXLucH3Q > Sorry, but I think p-values are important. From phsiao at cs.unc.edu Mon Nov 6 11:21:08 2017 From: phsiao at cs.unc.edu (Joe Ping-Lin Hsiao) Date: Mon, 6 Nov 2017 11:21:08 -0500 Subject: [Paraview] Create 4D Animation from sets of 3D Data In-Reply-To: References: <53D66B54.9040802@cam.ac.uk> Message-ID: Hi Ken, I I can load a bunch of .nrrd volume scans into ParaView as one unit. But when I play the animation, the animation only stays at the first volume and would not proceed. The reason may be that the files do not have time step information. In the "information" tab, the "Time" table of my 4d stack is empty. Is there an easy way to fix this? I used ImageJ to create those images. -Joe On Mon, Jul 28, 2014 at 5:02 PM, Moreland, Kenneth wrote: > Image segmentation is not my specialty, but I don't think there is an easy > answer. You might be able to use a level set method that starts with the > mesh from the first image and constrains the topology to be the same, but > that would probably create artifacts that compound over time. > > -Ken > > From: Quang Ha > Date: Monday, July 28, 2014 9:25 AM > To: Kenneth Moreland , David E DeMarle < > dave.demarle at kitware.com> > > Cc: paraview-help , "paraview at paraview.org" < > paraview at paraview.org> > Subject: [EXTERNAL] Re: [Paraview] Create 4D Animation from sets of 3D > Data > > Hi, > > Thank you very much for your reply. It seems that I would have to deal > with the input data once again. > > Is there a way for the surface to be modified in such way that you have > stated? Would you suggested starting to look at vtk/CGAL codes or something > similar? > > Best regards, > Quang > > On 28/07/14 15:46, Moreland, Kenneth wrote: > > Quang, > > First before answering your question, let me alert you to an easier way to > load your data into ParaView. First, name your files with numbers just > before the extension (e.g. left_ventricle_00.stl, left_ventricle_01.stl, > left_ventricle_02.stl, etc.). Then just load this file series as one unit > (they will be grouped in the ParaView file browser) and ParaView will > automatically animate them; no need to add them manually with the Animation > View. > > Now the bad news. I don't think the Temporal Interpolator is going to work > with your data. The Temporal Interpolator needs a way to register where a > point in one time step goes to in the next time step. It does this in a > very simplistic way by assuming the topology is consistent across time > steps. That is, each data set has the exact same triangles listed in the > same order connected the same way but at different positions. The surface > from your segmentation is surely not of this nature. > > -Ken > > From: Quang-Thinh Ha > Date: Friday, July 25, 2014 11:34 PM > To: David E DeMarle > Cc: paraview-help , "paraview at paraview.org" < > paraview at paraview.org> > Subject: [EXTERNAL] Re: [Paraview] Create 4D Animation from sets of 3D > Data > > Hi, > > Thanks for your reply. > > 1) The data sets are all in STL format. > > 2) I am not very sure about this. After using text editor to open the mesh > file I can say that they are not... Is there anyway to change this? > > Quang > On 26 Jul 2014 04:17, David E DeMarle wrote: > > 1) What file format are the 10 data sets in? > 2) do all meshes have the same number of points and cells and do the come > in the same order in every timstep? temporal interpolation requires a 1:1 > correspondence so that it knows what to interpolate between. > > > On Friday, July 25, 2014, Quang Ha wrote: > >> Hi, >> >> I have a group of 10 data sets of the left ventricle at different cardiac >> phases. They have been 3D reconstructed using segmentation method. Now I am >> trying to use ParaView to see the dynamic changes over different cardiac >> phases. >> >> I have been able to get to the View -> Animation mode and add each 3D >> data at different time, but they only show me a jump from one data to >> another, rather than 'deforming' into another. I have done some searches on >> the internet and found someone suggesting the use of 'Temporal >> Interpolator' but failed to utilise it. >> >> Would anyone be kind enough to give me some advices on this, please? >> >> Thanks, >> Quang >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at http://www.kitware.com/ >> opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> > > > -- > David E DeMarle > Kitware, Inc. > R&D Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4909 <(518)%20881-4909> > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kmorel at sandia.gov Mon Nov 6 11:51:29 2017 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Mon, 6 Nov 2017 16:51:29 +0000 Subject: [Paraview] Create 4D Animation from sets of 3D Data Message-ID: It looks like the NRRD reader does not support time series. I wrote up a bug (https://gitlab.kitware.com/paraview/paraview/issues/17820), but in the mean time you could try a different image format. You could try either raw or tiff format. -Ken From: Joe Ping-Lin Hsiao [mailto:phsiao at cs.unc.edu] Sent: Monday, November 6, 2017 9:21 AM To: Moreland, Kenneth Cc: Quang Ha ; DeMarle, David E. (External Contacts) ; paraview at paraview.org Subject: [EXTERNAL] Re: [Paraview] Create 4D Animation from sets of 3D Data Hi Ken, I I can load a bunch of .nrrd volume scans into ParaView as one unit. But when I play the animation, the animation only stays at the first volume and would not proceed. The reason may be that the files do not have time step information. In the "information" tab, the "Time" table of my 4d stack is empty. Is there an easy way to fix this? I used ImageJ to create those images. -Joe On Mon, Jul 28, 2014 at 5:02 PM, Moreland, Kenneth > wrote: Image segmentation is not my specialty, but I don't think there is an easy answer. You might be able to use a level set method that starts with the mesh from the first image and constrains the topology to be the same, but that would probably create artifacts that compound over time. -Ken From: Quang Ha > Date: Monday, July 28, 2014 9:25 AM To: Kenneth Moreland >, David E DeMarle > Cc: paraview-help >, "paraview at paraview.org" > Subject: [EXTERNAL] Re: [Paraview] Create 4D Animation from sets of 3D Data Hi, Thank you very much for your reply. It seems that I would have to deal with the input data once again. Is there a way for the surface to be modified in such way that you have stated? Would you suggested starting to look at vtk/CGAL codes or something similar? Best regards, Quang On 28/07/14 15:46, Moreland, Kenneth wrote: Quang, First before answering your question, let me alert you to an easier way to load your data into ParaView. First, name your files with numbers just before the extension (e.g. left_ventricle_00.stl, left_ventricle_01.stl, left_ventricle_02.stl, etc.). Then just load this file series as one unit (they will be grouped in the ParaView file browser) and ParaView will automatically animate them; no need to add them manually with the Animation View. Now the bad news. I don't think the Temporal Interpolator is going to work with your data. The Temporal Interpolator needs a way to register where a point in one time step goes to in the next time step. It does this in a very simplistic way by assuming the topology is consistent across time steps. That is, each data set has the exact same triangles listed in the same order connected the same way but at different positions. The surface from your segmentation is surely not of this nature. -Ken From: Quang-Thinh Ha > Date: Friday, July 25, 2014 11:34 PM To: David E DeMarle > Cc: paraview-help >, "paraview at paraview.org" > Subject: [EXTERNAL] Re: [Paraview] Create 4D Animation from sets of 3D Data Hi, Thanks for your reply. 1) The data sets are all in STL format. 2) I am not very sure about this. After using text editor to open the mesh file I can say that they are not... Is there anyway to change this? Quang On 26 Jul 2014 04:17, David E DeMarle > wrote: 1) What file format are the 10 data sets in? 2) do all meshes have the same number of points and cells and do the come in the same order in every timstep? temporal interpolation requires a 1:1 correspondence so that it knows what to interpolate between. On Friday, July 25, 2014, Quang Ha > wrote: Hi, I have a group of 10 data sets of the left ventricle at different cardiac phases. They have been 3D reconstructed using segmentation method. Now I am trying to use ParaView to see the dynamic changes over different cardiac phases. I have been able to get to the View -> Animation mode and add each 3D data at different time, but they only show me a jump from one data to another, rather than 'deforming' into another. I have done some searches on the internet and found someone suggesting the use of 'Temporal Interpolator' but failed to utilise it. Would anyone be kind enough to give me some advices on this, please? Thanks, Quang _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -- David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Mon Nov 6 12:14:55 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Mon, 6 Nov 2017 12:14:55 -0500 Subject: [Paraview] PythonFullExample Error: Must use ParaView v4.2 or greater In-Reply-To: References: Message-ID: Hi, I'm not able to reproduce this issue on my Linux machine. Can you verify that the GUI version of ParaView that you're running is also v5.4? That's the only thing I can think of right now that could be causing the issue. Best, Andy On Fri, Nov 3, 2017 at 7:06 PM, the lily wrote: > Hello, > > > I built paraview 5.4 from the repo https://gitlab.kitware. > com/paraview/paraview/blob/master/Documentation/dev/git/download.md on > MacOS Sierra > > I'm trying to run the PythonFullExample downloaded from here > https://gitlab.kitware.com/paraview/paraview/tree/master/ > Examples/Catalyst/PythonFullExample > > > I run it as the following: > > > export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/Users/a/ParaView/ > paraview_build/lib > > export PYTHONPATH=/Users/a/ParaView/paraview_build/lib/site-packages > > /Users/a/ParaView/paraview_build/bin/pvpython fedriver.py cpscript.py > > I connect to Catalyst, then I get an error '*Must use ParaView v4.2 or > greater*' > > Any guide on how to solve this? > > > > > _______________________________________________ > 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 dennis_conklin at goodyear.com Mon Nov 6 15:10:51 2017 From: dennis_conklin at goodyear.com (Dennis Conklin) Date: Mon, 6 Nov 2017 20:10:51 +0000 Subject: [Paraview] Python calculator sum_per_block() Message-ID: All, Anyone know how this works? I have an element variable called "Volume", I tried: sum_per_block(Volume) and sum_per_block("Volume") and sum_per_block(inputs[0].CellData['Volume']) And all I got was errors. How should this work - and where will the results be - will each element in a block get the total volume for that block as a variable? Thanks for any hints. Dennis -------------- next part -------------- An HTML attachment was scrubbed... URL: From phsiao at cs.unc.edu Mon Nov 6 15:38:22 2017 From: phsiao at cs.unc.edu (Joe Ping-Lin Hsiao) Date: Mon, 6 Nov 2017 15:38:22 -0500 Subject: [Paraview] Create 4D Animation from sets of 3D Data In-Reply-To: References: Message-ID: Ken, Unfortunately neither raw or tiff format works. ParaView would crash from reading 4d tiff formats.For raw format, I couldn't get the volume to be displayed correctly, and the z-spacing does not work for raw files. I have 200 stacks. One way seems would work for me is to write a Python script and read each of the stack and set their visibility at different frames individually. On Mon, Nov 6, 2017 at 11:51 AM, Moreland, Kenneth wrote: > It looks like the NRRD reader does not support time series. I wrote up a > bug (https://gitlab.kitware.com/paraview/paraview/issues/17820), but in > the mean time you could try a different image format. You could try either > raw or tiff format. > > > > -Ken > > > > *From:* Joe Ping-Lin Hsiao [mailto:phsiao at cs.unc.edu] > *Sent:* Monday, November 6, 2017 9:21 AM > *To:* Moreland, Kenneth > *Cc:* Quang Ha ; DeMarle, David E. (External Contacts) < > dave.demarle at kitware.com>; paraview at paraview.org > > *Subject:* [EXTERNAL] Re: [Paraview] Create 4D Animation from sets of 3D > Data > > > > Hi Ken, > > > > I I can load a bunch of .nrrd volume scans into ParaView as one unit. But > when I play the animation, the animation only stays at the first volume and > would not proceed. > > > > The reason may be that the files do not have time step information. In the > "information" tab, the "Time" table of my 4d stack is empty. > > > > Is there an easy way to fix this? I used ImageJ to create those images. > > > > -Joe > > > > On Mon, Jul 28, 2014 at 5:02 PM, Moreland, Kenneth > wrote: > > Image segmentation is not my specialty, but I don't think there is an easy > answer. You might be able to use a level set method that starts with the > mesh from the first image and constrains the topology to be the same, but > that would probably create artifacts that compound over time. > > > > -Ken > > > > *From: *Quang Ha > *Date: *Monday, July 28, 2014 9:25 AM > *To: *Kenneth Moreland , David E DeMarle < > dave.demarle at kitware.com> > > > *Cc: *paraview-help , "paraview at paraview.org" < > paraview at paraview.org> > *Subject: *[EXTERNAL] Re: [Paraview] Create 4D Animation from sets of 3D > Data > > > > Hi, > > Thank you very much for your reply. It seems that I would have to deal > with the input data once again. > > Is there a way for the surface to be modified in such way that you have > stated? Would you suggested starting to look at vtk/CGAL codes or something > similar? > > Best regards, > Quang > > On 28/07/14 15:46, Moreland, Kenneth wrote: > > Quang, > > > > First before answering your question, let me alert you to an easier way to > load your data into ParaView. First, name your files with numbers just > before the extension (e.g. left_ventricle_00.stl, left_ventricle_01.stl, > left_ventricle_02.stl, etc.). Then just load this file series as one unit > (they will be grouped in the ParaView file browser) and ParaView will > automatically animate them; no need to add them manually with the Animation > View. > > > > Now the bad news. I don't think the Temporal Interpolator is going to work > with your data. The Temporal Interpolator needs a way to register where a > point in one time step goes to in the next time step. It does this in a > very simplistic way by assuming the topology is consistent across time > steps. That is, each data set has the exact same triangles listed in the > same order connected the same way but at different positions. The surface > from your segmentation is surely not of this nature. > > > > -Ken > > > > *From: *Quang-Thinh Ha > *Date: *Friday, July 25, 2014 11:34 PM > *To: *David E DeMarle > *Cc: *paraview-help , "paraview at paraview.org" < > paraview at paraview.org> > *Subject: *[EXTERNAL] Re: [Paraview] Create 4D Animation from sets of 3D > Data > > > > Hi, > > Thanks for your reply. > > 1) The data sets are all in STL format. > > 2) I am not very sure about this. After using text editor to open the mesh > file I can say that they are not... Is there anyway to change this? > > Quang > > On 26 Jul 2014 04:17, David E DeMarle wrote: > > 1) What file format are the 10 data sets in? > > 2) do all meshes have the same number of points and cells and do the come > in the same order in every timstep? temporal interpolation requires a 1:1 > correspondence so that it knows what to interpolate between. > > > > > On Friday, July 25, 2014, Quang Ha wrote: > > Hi, > > I have a group of 10 data sets of the left ventricle at different cardiac > phases. They have been 3D reconstructed using segmentation method. Now I am > trying to use ParaView to see the dynamic changes over different cardiac > phases. > > I have been able to get to the View -> Animation mode and add each 3D data > at different time, but they only show me a jump from one data to another, > rather than 'deforming' into another. I have done some searches on the > internet and found someone suggesting the use of 'Temporal Interpolator' > but failed to utilise it. > > Would anyone be kind enough to give me some advices on this, please? > > Thanks, > Quang > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > -- > David E DeMarle > Kitware, Inc. > R&D Engineer > 21 Corporate Drive > > Clifton Park, NY 12065-8662 > Phone: 518-881-4909 <(518)%20881-4909> > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From carterl1 at mskcc.org Mon Nov 6 16:39:01 2017 From: carterl1 at mskcc.org (carterl1 at mskcc.org) Date: Mon, 6 Nov 2017 21:39:01 +0000 Subject: [Paraview] Gaussian resampling Message-ID: Hi, I have an image volume I'd like to convolve with a Gaussian function, and I have a particular value for sigma that I need to use. I'm using the Gaussian resampling filter to do this, and it seems to work well; however, the editable parameters for this filter are not well defined - in particular, the "splat radius" , the "Gaussian exponential factor", and the "scale factor". Suppose my sampling volume is 56x116x39 voxels, and the voxel dimensions are x=y=z=1mm. If I want to blur the image with a Gaussian point spread function of sigma=1.5mm, what would I enter for "splat radius", "exponential factor", and "scale factor"? Any help would be most appreciated! Best, Luke ===================================================================== Please note that this e-mail and any files transmitted from Memorial Sloan Kettering Cancer Center may be privileged, confidential, and protected from disclosure under applicable law. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any reading, dissemination, distribution, copying, or other use of this communication or any of its attachments is strictly prohibited. If you have received this communication in error, please notify the sender immediately by replying to this message and deleting this message, any attachments, and all copies and backups from your computer. -------------- next part -------------- An HTML attachment was scrubbed... URL: From quentin at arrivo-loop.com Tue Nov 7 18:21:01 2017 From: quentin at arrivo-loop.com (Quentin d'Avout) Date: Tue, 7 Nov 2017 15:21:01 -0800 Subject: [Paraview] Python Annotations Message-ID: <0c047cd609c1d31ee6101f43e1bb8eee@mail.gmail.com> Hi All, I?d like to insert the freestream velocity stamp in a Python annotation on one of the animations I?m rendering (transient analysis ? U varies throughout the run). I can?t find help on the syntax, specifically on how to insert a variable (U at a point) in the middle of a string of text, and the syntax for special characters. Thanks for your help, Quentin -------------- next part -------------- An HTML attachment was scrubbed... URL: From izmiyati at novaglobal.com.sg Wed Nov 8 02:18:21 2017 From: izmiyati at novaglobal.com.sg (izmiyati razikin) Date: Wed, 8 Nov 2017 15:18:21 +0800 Subject: [Paraview] Windows Use 2 GPU Message-ID: Hi, I am using Windows 2012r2. I have an Nvidia K2 card on board which has dual GPU. How do I launch mpiexec to use 2 GPU? I have tried running mpiexec -n 4 pvserver -display :0.0 --use-offscreen-rendering : -n 4 pvserver -display :0.1 --use-offscreen-rendering , but it only uses 1 GPU. Thanking you in advance. Rgds, izraz From dammal.tk at gmail.com Wed Nov 8 03:34:45 2017 From: dammal.tk at gmail.com (Thomas Krug) Date: Wed, 8 Nov 2017 09:34:45 +0100 Subject: [Paraview] PCL Plugin for ParaView Message-ID: Hello everyone, I want to build the PCL-Plugin for ParaView 3.14.1 on Windows 10 64bit. Since I only found instructions for Linux, is it possible to build for windows? If so, can I extract the tar archives on windows and build them there or how do I do it? thanks in advance and best regards Thomas -------------- next part -------------- An HTML attachment was scrubbed... URL: From Amine.Aboufirass at deltares.nl Wed Nov 8 09:29:26 2017 From: Amine.Aboufirass at deltares.nl (Amine Aboufirass) Date: Wed, 8 Nov 2017 14:29:26 +0000 Subject: [Paraview] cutting unstructructured grid data with a plane Message-ID: Hello, I have a 3-dimensional unstructured grid containing points with vector, tensor and scalar data. I would like to cut this dataset with a plane of my choice and then select all points that occur within this plane. Kind of like a cross section. I've already been fooling around with the "clip" filter and this does cut the dataset with a plane of my choice. However I don't know how to go from there to actually selecting just the points that occur within that rectangle. Eventually I would like to achieve this using the vtk python library. Could anyone provide some guidance? Thanks DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited. The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dennis_conklin at goodyear.com Wed Nov 8 13:23:18 2017 From: dennis_conklin at goodyear.com (Dennis Conklin) Date: Wed, 8 Nov 2017 18:23:18 +0000 Subject: [Paraview] Python Annotations Message-ID: Quentin, Try this: * Example: Plot Total Vertical force (REACTZ_901+REACTZ_902) in animation * Form is "Label %g" %(expression) * Label is: "Vertical Force: %g" where %g is format and will be replaced by value of expression * Expression is: %(REACTZ_901[t_index]+REACTZ_902[t_index]) where t_index is for current time only * See next slide [cid:image001.png at 01D35894.BAC3E200] Dennis -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 31028 bytes Desc: image001.png URL: From dave.demarle at kitware.com Wed Nov 8 15:15:48 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Wed, 8 Nov 2017 15:15:48 -0500 Subject: [Paraview] About the SC17.5.5.preview binaries... Message-ID: Hey folks, As Utkarsh pointed out on Oct 23'rd "ParaView Release Roadmap", we decided to push the 5.5 ParaView release from just before IEEE SC17 out to the Spring of 2018. Still there are a lot of good things already in master that we want to show off at SC that we'd like to draw your attention to. So we decided to put these current master binaries up on the download page as a technology preview of what's coming in 5.5. * The OSPRay path tracing capability and the accompanying Light Inspector panel are pretty nice if I do say so myself. * The separate color maps option that makes it easy to have multiple color lookup tables for the same named array (on different representations of views for example) is quite handy in certain situations and frequently requested by users. * We moved Tools->Python Shell to View->Python Shell and made it a dockable widget. * The nvpipe image compressor option does a great job at speeding up server to client image delivery from nvpipe enabled servers. * The Cell Size filter is another very handy little addition as are the new Gradient Filter options. * The revamped zoom to box camera interaction is much more predictable than before. There is a lot more that I am omitting for brevity but the point is that there are a lot of good things to look forward to when 5.5 comes out in the Spring. So please do give the 5.5 technology preview binaries a whirl and let us know what you think of them via the mailing list and or issue tracker. That will help a lot as we finish up even more features and work to make the current ones even better. thanks, David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 -------------- next part -------------- An HTML attachment was scrubbed... URL: From chang.chih.hao at gmail.com Wed Nov 8 15:36:58 2017 From: chang.chih.hao at gmail.com (chang.chih.hao at gmail.com) Date: Wed, 8 Nov 2017 12:36:58 -0800 Subject: [Paraview] rendering window problem Message-ID: <029001d358d1$53bf6e20$fb3e4a60$@gmail.com> Hello all I recently switch to Paraview 5.4.1. It used to work well for a week. Then, every time I start Paraview, it only shows a part of the rendering window (as shown in the attached figure). I already un-install and re-install Paraview. But the problem persists. So how can I do to fix this? Thank you very much Chih-Hao -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 2017-11-08 (1).png Type: image/png Size: 161684 bytes Desc: not available URL: From andy.bauer at kitware.com Wed Nov 8 16:07:21 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Wed, 8 Nov 2017 16:07:21 -0500 Subject: [Paraview] rendering window problem In-Reply-To: <029001d358d1$53bf6e20$fb3e4a60$@gmail.com> References: <029001d358d1$53bf6e20$fb3e4a60$@gmail.com> Message-ID: I'm guessing your view size is locked in your settings. If that's the case you can change that by going to Tools and uncheck either "Lock View Size" or "Lock View Size Custom..." On Wed, Nov 8, 2017 at 3:36 PM, wrote: > Hello all > > > > I recently switch to Paraview 5.4.1. It used to work well for a week. > Then, every time I start Paraview, it only shows a part of the rendering > window (as shown in the attached figure). I already un-install and > re-install Paraview. But the problem persists. So how can I do to fix this? > > > > Thank you very much > > > > Chih-Hao > > _______________________________________________ > 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 8 16:13:13 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 8 Nov 2017 16:13:13 -0500 Subject: [Paraview] Python calculator sum_per_block() In-Reply-To: References: Message-ID: That sounds like a bug to me. `sum_per_block` should work as you expect `sum_per_block(Volume)`. Let me see what's going on. On Mon, Nov 6, 2017 at 3:10 PM, Dennis Conklin wrote: > All, > > > > Anyone know how this works? > > > > I have an element variable called ?Volume?, I tried: > > sum_per_block(Volume) and > > sum_per_block(?Volume?) and > > sum_per_block(inputs[0].CellData[?Volume?]) > > > > And all I got was errors. How should this work ? and where will the > results be ? will each element in a block get the total volume for that > block as a variable? > > > > Thanks for any hints. > > > > 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 > From utkarsh.ayachit at kitware.com Wed Nov 8 16:15:40 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 8 Nov 2017 16:15:40 -0500 Subject: [Paraview] Python calculator sum_per_block() In-Reply-To: References: Message-ID: I've reported an issue : https://gitlab.kitware.com/paraview/paraview/issues/17824 On Wed, Nov 8, 2017 at 4:13 PM, Utkarsh Ayachit wrote: > That sounds like a bug to me. `sum_per_block` should work as you > expect `sum_per_block(Volume)`. Let me see what's going on. > > On Mon, Nov 6, 2017 at 3:10 PM, Dennis Conklin > wrote: >> All, >> >> >> >> Anyone know how this works? >> >> >> >> I have an element variable called ?Volume?, I tried: >> >> sum_per_block(Volume) and >> >> sum_per_block(?Volume?) and >> >> sum_per_block(inputs[0].CellData[?Volume?]) >> >> >> >> And all I got was errors. How should this work ? and where will the >> results be ? will each element in a block get the total volume for that >> block as a variable? >> >> >> >> Thanks for any hints. >> >> >> >> 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 >> From antech777 at gmail.com Thu Nov 9 08:07:47 2017 From: antech777 at gmail.com (Andrew) Date: Thu, 9 Nov 2017 16:07:47 +0300 Subject: [Paraview] cutting unstructructured grid data with a plane In-Reply-To: References: Message-ID: Hello. If I get it right, the "Crincle slice" option of the Slice filter may be useful for you. Further clipping by coordinates is available with the Threshold filter. 2017-11-08 17:29 GMT+03:00 Amine Aboufirass : > Hello, > > > > I have a 3-dimensional unstructured grid containing points with vector, > tensor and scalar data. I would like to cut this dataset with a plane of my > choice and then select all points that occur within this plane. Kind of > like a cross section. > > > > I?ve already been fooling around with the ?clip? filter and this does cut > the dataset with a plane of my choice. However I don?t know how to go from > there to actually selecting just the points that occur within that > rectangle. > > > > Eventually I would like to achieve this using the vtk python library. > > > > Could anyone provide some guidance? > > > > Thanks > > > > > > > DISCLAIMER: This message is intended exclusively for the addressee(s) and > may contain confidential and privileged information. If you are not the > intended recipient please notify the sender immediately and destroy this > message. Unauthorized use, disclosure or copying of this message is > strictly prohibited. The foundation 'Stichting Deltares', which has its > seat at Delft, The Netherlands, Commercial Registration Number 41146461, is > not liable in any way whatsoever for consequences and/or damages resulting > from the improper, incomplete and untimely dispatch, receipt and/or content > of this e-mail. > > _______________________________________________ > 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 dan.lipsa at kitware.com Thu Nov 9 12:01:17 2017 From: dan.lipsa at kitware.com (Dan Lipsa) Date: Thu, 9 Nov 2017 12:01:17 -0500 Subject: [Paraview] ParaView not reading time in netcdf file In-Reply-To: References: <16707ABF-18FF-435C-9C20-651D212ED5B9@uwaterloo.ca> <041802D1-897A-41B3-9382-0FDD7E965985@uwaterloo.ca> <6300C6C1-1F21-4BDA-B543-8B36A08A2E64@uwaterloo.ca> <42811404-9790-4626-89F1-D63BF24160D5@uwaterloo.ca> <83C7DC4A-4297-4F18-A407-A9D75E89A853@uwaterloo.ca> Message-ID: David, I filed the following bug report https://gitlab.kitware.com/paraview/paraview/issues/17827 Thanks for reporting this. Best, Dan On Thu, Nov 9, 2017 at 11:36 AM, David Deepwell wrote: > Yay, we found a bug! > Yes, you can attach one (or both) of the files in a bug report. > > Thanks for your help, > David > > > On Nov 9, 2017, at 10:57 AM, Dan Lipsa wrote: > > I was just looking at that. Indeed, your variable did not depend on time. > So it seems that the reader does report the correct information: > > The following script: > import vtk > reader = vtk.vtkNetCDFCFReader() > reader.SetFileName('output_20.nc') > reader.UpdateInformation() > print reader.GetOutputInformation(0).Get(vtk. > vtkStreamingDemandDrivenPipeline.TIME_RANGE()) > reader.Update() > output = reader.GetOutput() > print output.GetClassName() > > prints: > (20.0, 20.0) > vtkImageData > > This is a ParaView bug. Is it OK to attach one of your files to the bug > report? > If not, I can file the report without it. > > Thanks, > Dan > > > > On Thu, Nov 9, 2017 at 10:36 AM, David Deepwell > wrote: > >> I think I was missing an important declaration in the creation of the >> netcdf file I gave you, so I?m not surprised that the time didn?t work for >> that file. I?ve fixed that, but the time is still not shown for a single >> file. Use these instead of the previous file. >> >> Cheers, >> David >> >> >> On Nov 9, 2017, at 9:50 AM, Dan Lipsa wrote: >> >> David, I was thinking this problem comes from the way ParaView loads time >> dependent datasets. However, I created a copy of the file with _51.nc >> postfix and ParaView still does not show me the correct time value. >> Can you send me two files where the time value is shown correctly? >> >> Thanks, >> Dan >> >> >> >> On Fri, Nov 3, 2017 at 2:39 PM, David Deepwell >> wrote: >> >> I?ve made another discovery. >> The correct time will be displayed if paraview loads multiple files (or a >> single file containing multiple times). Not sure why it displays zero for a >> single file containing a single time. >> >> David >> >> >> On Oct 31, 2017, at 3:50 PM, Dan Lipsa wrote: >> >> Hi David, >> Thanks for your patience. I did look at the vtk reader a little. Did not >> get to the bottom of it yet. I am trying to determine if the reader has >> this info and ParaView does not use it, or the reader is the problem. >> Do check back with me. >> >> Thanks, >> Dan >> >> >> On Tue, Oct 31, 2017 at 2:55 PM, David Deepwell >> wrote: >> >> I?m sure you are busy, but just checking in to see if there is any >> progress on reading the time. >> >> Cheers, >> David >> >> >> On Oct 23, 2017, at 9:54 AM, Dan Lipsa wrote: >> >> Hi David, >> I'll try to take a closer look at this today, at least to see if the >> problem is in the reader or in ParaView. >> >> Thanks for your patience, >> Dan >> >> >> On Mon, Oct 23, 2017 at 9:48 AM, Deepwell, David >> wrote: >> >> Sorry to bother you again, but have you found anything? >> >> David >> >> >> On Oct 17, 2017, at 4:34 PM, Dan Lipsa wrote: >> >> Actually, you are right, it does not work. I'll try to look closer at >> this in the next couple of days. >> >> On Tue, Oct 17, 2017 at 4:11 PM, Deepwell, David >> wrote: >> >> Hi Dan, >> >> That?s strange. I?m also using 5.4.1. Did you get a time of 5 s? >> >> Cheers, >> David >> >> >> On Oct 17, 2017, at 3:59 PM, Dan Lipsa wrote: >> >> David, >> What version of ParaView are you using? I tried your file with the latest >> release 5.4.1 and it works fine. >> >> Thanks, >> Dan >> >> >> On Mon, Oct 16, 2017 at 10:18 AM, Deepwell, David >> wrote: >> >> Ok, no problem. Just checking in. >> >> Thanks, >> David >> >> >> On Oct 16, 2017, at 9:29 AM, Dan Lipsa wrote: >> >> Sorry, no, I have not had a chance to look at this. I will do that in the >> next couple of days. >> >> Thanks, >> Dan >> >> >> On Mon, Oct 16, 2017 at 9:05 AM, Deepwell, David >> wrote: >> >> Hi Dan, >> Have you been able to see my problem, and find a solution? >> >> David >> >> >> On Oct 10, 2017, at 5:46 PM, David Deepwell >> wrote: >> >> Hi Dan! >> >> Thank you for taking a look at my file. >> >> David >> >> >> On Oct 6, 2017, at 1:38 PM, Dan Lipsa wrote: >> >> Hi David, >> If you send me the file I can take a look. >> >> Thanks, >> Dan >> >> >> On Fri, Oct 6, 2017 at 10:11 AM, Deepwell, David >> wrote: >> >> Hi, >> >> I have a netcdf file which I?d like to read in ParaView. The reading and >> rendering works fine, but the time is not displayed. I?ve declared the >> variable to be time through the axis attribute, and I?ve given it units >> since a certain day. Strangely enough, VisIt understands the time value >> (t=5s) while ParaView does not. >> >> Here?s the output from ncdump: >> >> netcdf output_50 { >> dimensions: >> x = 1024 ; >> z = 128 ; >> time = 1 ; >> variables: >> double x(x) ; >> x:units = "m" ; >> double z(z) ; >> z:units = "m" ; >> double time(time) ; >> time:units = "seconds since 2001-1-1" ; >> time:axis = "T" ; >> time:long_name = "time" ; >> double rho(time, x, z) ; >> rho:units = "kg/L" ; >> >> // global attributes: >> :description = "SPINS Output 50" ; >> } >> >> Any help will be appreciated. I also have a 1 MB file which I can pass on >> if needed. >> >> Thank you, >> David >> _______________________________________________ >> 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 petersenkolja at gmail.com Thu Nov 9 13:14:52 2017 From: petersenkolja at gmail.com (Kolja Petersen) Date: Thu, 9 Nov 2017 19:14:52 +0100 Subject: [Paraview] steps to add class with ClientServer and Python wrapping Message-ID: Heya, I'd like to add some custom classes to paraview that should also be accessible through proxies on the client side. And a Python interface is also needed. I found that the classes that should be wrapped need to be listed in a few different CMakeLists.txt files in the paraview sources, and again in the scripts that take care of generating the wrappers. But I must have missed more, as I am getting more and more errors the more I try to fix. Which steps do I have to follow to implement a new class with wrapping? Thank you Kolja Virenfrei. www.avast.com <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Thu Nov 9 13:38:03 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 9 Nov 2017 13:38:03 -0500 Subject: [Paraview] steps to add class with ClientServer and Python wrapping In-Reply-To: References: Message-ID: Where are you adding your classes? If you add them to one of the "modules" e.g. ParaViewCore/VTKExtensions/Default, you'd only need to add them to the CMakeLists.txt and they'd get wrapped. You'll then need to add a XML config for the proxy e.g in ParaViewCore/ServerManager/SMApplication/Resources/filters.xml. That should be it. Another option is to add a new module. You can also add a new "module". See `ParaViewCore/VTKExtensions/Points/`. You can have the source directory external to your ParaView source, and in your build simply set `PARAVIEW_EXTERNAL_MODULE_ROOTS` CMake cache variable in your ParaView build to include the directory containing your new module's dir. You will need to manually enable the module in CMakeLists.txt as well as ParaView wont' enable it by default. Utkarsh On Thu, Nov 9, 2017 at 1:14 PM, Kolja Petersen wrote: > Heya, > I'd like to add some custom classes to paraview that should also be > accessible through proxies on the client side. And a Python interface is > also needed. > > I found that the classes that should be wrapped need to be listed in a few > different CMakeLists.txt files in the paraview sources, and again in the > scripts that take care of generating the wrappers. But I must have missed > more, as I am getting more and more errors the more I try to fix. > > Which steps do I have to follow to implement a new class with wrapping? > Thank you > Kolja > > > Virenfrei. > www.avast.com > > <#m_-5312748509129356624_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > > _______________________________________________ > 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 petersenkolja at gmail.com Thu Nov 9 13:55:37 2017 From: petersenkolja at gmail.com (Kolja Petersen) Date: Thu, 9 Nov 2017 19:55:37 +0100 Subject: [Paraview] steps to add class with ClientServer and Python wrapping In-Reply-To: References: Message-ID: Thanks, I was missing those details about the modules system. I'll try your suggestions. Is the modules system documented somewhere? I don't remember reading anything about it in the ParaView Guide. Kolja On Thu, Nov 9, 2017 at 7:38 PM, Utkarsh Ayachit wrote: > Where are you adding your classes? If you add them to one of the "modules" > e.g. ParaViewCore/VTKExtensions/Default, you'd only need to add them to > the CMakeLists.txt and they'd get wrapped. You'll then need to add a XML > config for the proxy e.g in ParaViewCore/ServerManager/ > SMApplication/Resources/filters.xml. That should be it. > > Another option is to add a new module. You can also add a new "module". > See `ParaViewCore/VTKExtensions/Points/`. You can have the source > directory external to your ParaView source, and in your build simply set > `PARAVIEW_EXTERNAL_MODULE_ROOTS` CMake cache variable in your ParaView > build to include the directory containing your new module's dir. You will > need to manually enable the module in CMakeLists.txt as well as ParaView > wont' enable it by default. > > Utkarsh > > On Thu, Nov 9, 2017 at 1:14 PM, Kolja Petersen > wrote: > >> Heya, >> I'd like to add some custom classes to paraview that should also be >> accessible through proxies on the client side. And a Python interface is >> also needed. >> >> I found that the classes that should be wrapped need to be listed in a >> few different CMakeLists.txt files in the paraview sources, and again in >> the scripts that take care of generating the wrappers. But I must have >> missed more, as I am getting more and more errors the more I try to fix. >> >> Which steps do I have to follow to implement a new class with wrapping? >> Thank you >> Kolja >> >> >> Virenfrei. >> www.avast.com >> >> <#m_4958346466197006339_m_-5312748509129356624_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> >> >> _______________________________________________ >> 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 9 15:12:57 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 9 Nov 2017 15:12:57 -0500 Subject: [Paraview] steps to add class with ClientServer and Python wrapping In-Reply-To: References: Message-ID: I'd suggesting starting simple and just adding to existing modules in ParaView. Once you are familiar with the CMake code, you can experiment with adding separate modules. On Thu, Nov 9, 2017 at 1:55 PM, Kolja Petersen wrote: > Thanks, I was missing those details about the modules system. I'll try > your suggestions. > Is the modules system documented somewhere? I don't remember reading > anything about it in the ParaView Guide. > Kolja > > On Thu, Nov 9, 2017 at 7:38 PM, Utkarsh Ayachit < > utkarsh.ayachit at kitware.com> wrote: > >> Where are you adding your classes? If you add them to one of the >> "modules" e.g. ParaViewCore/VTKExtensions/Default, you'd only need to >> add them to the CMakeLists.txt and they'd get wrapped. You'll then need to >> add a XML config for the proxy e.g in ParaViewCore/ServerManager/ >> SMApplication/Resources/filters.xml. That should be it. >> >> Another option is to add a new module. You can also add a new "module". >> See `ParaViewCore/VTKExtensions/Points/`. You can have the source >> directory external to your ParaView source, and in your build simply set >> `PARAVIEW_EXTERNAL_MODULE_ROOTS` CMake cache variable in your ParaView >> build to include the directory containing your new module's dir. You will >> need to manually enable the module in CMakeLists.txt as well as ParaView >> wont' enable it by default. >> >> Utkarsh >> >> On Thu, Nov 9, 2017 at 1:14 PM, Kolja Petersen >> wrote: >> >>> Heya, >>> I'd like to add some custom classes to paraview that should also be >>> accessible through proxies on the client side. And a Python interface is >>> also needed. >>> >>> I found that the classes that should be wrapped need to be listed in a >>> few different CMakeLists.txt files in the paraview sources, and again in >>> the scripts that take care of generating the wrappers. But I must have >>> missed more, as I am getting more and more errors the more I try to fix. >>> >>> Which steps do I have to follow to implement a new class with wrapping? >>> Thank you >>> Kolja >>> >>> >>> Virenfrei. >>> www.avast.com >>> >>> <#m_-6224627429951704770_m_4958346466197006339_m_-5312748509129356624_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> >>> >>> _______________________________________________ >>> 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 quentin at arrivo-loop.com Thu Nov 9 21:24:55 2017 From: quentin at arrivo-loop.com (Quentin d'Avout) Date: Thu, 9 Nov 2017 18:24:55 -0800 Subject: [Paraview] Python Annotations In-Reply-To: References: Message-ID: <01bf0c84f6b566ffda3b2502e60d4228@mail.gmail.com> Thanks Dennis. That works great. Any chance there is a list of the useable variables? aAlso, Any good resource for special characters that we can insert in the string (e.g. infiniti sign)? Quentin *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Dennis Conklin *Sent:* Wednesday, November 8, 2017 10:23 AM *To:* Paraview (paraview at paraview.org) *Subject:* Re: [Paraview] Python Annotations Quentin, Try this: - Example: Plot Total Vertical force (REACTZ_901+REACTZ_902) in animation - Form is ?Label %g? %(expression) - Label is: ?Vertical Force: %g? where %g is format and will be replaced by value of expression - Expression is: %(REACTZ_901[t_index]+REACTZ_902[t_index]) where t_index is for current time only - See next slide [image: cid:image001.png at 01D35985.135BEBB0] Dennis -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 31028 bytes Desc: not available URL: From siggmoritz at gmail.com Fri Nov 10 04:52:50 2017 From: siggmoritz at gmail.com (Moritz Sigg) Date: Fri, 10 Nov 2017 10:52:50 +0100 Subject: [Paraview] Create SliderWidget in Python Shell Message-ID: Hello, I would like to add a slider widget to a RenderView in Paraview using python scripting. I already managed to create a new window containing a slider widget (vtkSliderWidget). I'm wondering how to add the Slider Widget to an existing RenderView inside Paraview. If I understood it correctly, I need references to Paraview?s RenderWindow and RenderWindowInteractor in order to connect the slider to Paraview?s current RenderView. I know that I can get the RenderView itself using GetRenderView(). Is there a way to get the RenderWindow und Interactor the RenderView is associated with? I'd be grateful if anyone could help. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dennis_conklin at goodyear.com Fri Nov 10 09:30:03 2017 From: dennis_conklin at goodyear.com (Dennis Conklin) Date: Fri, 10 Nov 2017 14:30:03 +0000 Subject: [Paraview] [EXT] RE: Python Annotations In-Reply-To: <01bf0c84f6b566ffda3b2502e60d4228@mail.gmail.com> References: <01bf0c84f6b566ffda3b2502e60d4228@mail.gmail.com> Message-ID: Quentin, Glad that helped. I think any Cell, Point or Field variable is available if you select the corresponding Array Association. I don?t know what special characters are allowed, maybe someone else can chime in here. Dennis From: Quentin d'Avout [mailto:quentin at arrivo-loop.com] Sent: Thursday, November 09, 2017 9:25 PM To: Dennis Conklin Cc: ParaView Subject: [EXT] RE: [Paraview] Python Annotations WARNING - External email; exercise caution. Thanks Dennis. That works great. Any chance there is a list of the useable variables? aAlso, Any good resource for special characters that we can insert in the string (e.g. infiniti sign)? Quentin From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Dennis Conklin Sent: Wednesday, November 8, 2017 10:23 AM To: Paraview (paraview at paraview.org) > Subject: Re: [Paraview] Python Annotations Quentin, Try this: * Example: Plot Total Vertical force (REACTZ_901+REACTZ_902) in animation * Form is ?Label %g? %(expression) * Label is: ?Vertical Force: %g? where %g is format and will be replaced by value of expression * Expression is: %(REACTZ_901[t_index]+REACTZ_902[t_index]) where t_index is for current time only * See next slide [cid:image001.png at 01D35985.135BEBB0] Dennis -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 31028 bytes Desc: image001.png URL: From grothausmann.roman at mh-hannover.de Fri Nov 10 10:28:20 2017 From: grothausmann.roman at mh-hannover.de (Grothausmann, Roman Dr.) Date: Fri, 10 Nov 2017 16:28:20 +0100 Subject: [Paraview] loading multiple state-files without hiding and resetting already loaded objects In-Reply-To: <5b4ae0e6-cb38-f305-cea5-ba8b1632c715@mh-hannover.de> References: <224968d6-0c63-b455-a190-366d6d39753d@mh-hannover.de> <5b4ae0e6-cb38-f305-cea5-ba8b1632c715@mh-hannover.de> Message-ID: <194fcd7d-aacd-8c74-ce21-dec670dc6e3e@mh-hannover.de> Dear Cory, On 15/09/17 15:27, Grothausmann, Roman Dr. wrote: > On 15/09/17 15:14, Cory Quammen wrote: >> Put a ** in front of reppro[i], e.g., >> >> pvs.SetProperties(repr, **reppro[i]) > Hm, I now get: > TypeError: SetProperties() argument after ** must be a mapping, not list > Do I have to store the dict of object properties in another dict instead of a list? With a dict of dicts https://github.com/romangrothausmann/ParaView_scripts/commit/3b309cc603433f02afc3e50656bd99f8b7cd0aa8#diff-2804420278bfff084788b82c715c452e I get: File "/net/home/grothama/paraview/scripts/pvsm-multi.py", line 64, in main pvs.SetProperties(repr, **reppro[i]); File "/opt/paraview-5.3.0_GL1/lib/paraview-5.3/site-packages/paraview/simple.py", line 568, in SetProperties setattr(proxy, param, params[param]) File "/opt/paraview-5.3.0_GL1/lib/paraview-5.3/site-packages/paraview/servermanager.py", line 317, in __setattr__ setter(self, value) File "/opt/paraview-5.3.0_GL1/lib/paraview-5.3/site-packages/paraview/servermanager.py", line 2528, in setProperty return self.SetPropertyWithName(propName, value) File "/opt/paraview-5.3.0_GL1/lib/paraview-5.3/site-packages/paraview/servermanager.py", line 375, in SetPropertyWithName prop.SetData(arg) File "/opt/paraview-5.3.0_GL1/lib/paraview-5.3/site-packages/paraview/servermanager.py", line 803, in SetData raise RuntimeError("This property requires %d values." % self.GetNumberOfElements()) RuntimeError: This property requires 3 values. Any ideas what could still be wrong? >>> On 07/09/17 23:37, Cory Quammen wrote: >>>> >>>> Hi Roman, >>>> >>>> It turns out ParaView was not designed for this use case because of >>>> certain difficulties discussed here: >>>> >>>> https://gitlab.kitware.com/paraview/paraview/issues/17442 >>>> >>>> In your Python script, you could manually cash all the properties of >>>> the existing representations and restore them after loading the most >>>> recent state file. >>>> >>>> The functions >>>> >>>> reprs = GetRepresentations() >>>> repr = reprs.values()[0] >>>> props = repr.ListProperties() >>>> GetProperty(repr, props[0]) >>>> >>>> would be helpful for this. >>>> >>>> Cory >>>> >>>> >>>> On Mon, Sep 4, 2017 at 8:42 AM, Grothausmann, Roman Dr. >>>> wrote: >>>>> >>>>> Dear mailing list members, >>>>> >>>>> >>>>> It seems that PV (and paraview.simple.LoadState) by default hides already >>>>> loaded objects (and resets e.g. their coloring) when another state-file >>>>> is >>>>> loaded. >>>>> Is there a way to load multiple state-files after one another without >>>>> hiding >>>>> and resetting already existent objects? I.e. a way to concatenate >>>>> multiple >>>>> state-files and leave their objects in the state as they got loaded (e.g. >>>>> colored, hidden/visible)? >>>>> I do understand that loading a new state-file will reset the camera, but >>>>> not >>>>> the rest. >>>>> Here's my initial attempt to achieve this with pvpython: >>>>> >>>>> https://github.com/romangrothausmann/ParaView_scripts/blob/90eb4ca8499070bed941d50b89ebea82fd6a9e23/pvsm-multi.py >>>>> >>>>> >>>>> Any help or hints are very much appreciated >>>>> Roman >>>>> >>>>> -- >>>>> Dr. Roman Grothausmann >>>>> >>>>> Tomographie und Digitale Bildverarbeitung >>>>> Tomography and Digital Image Analysis >>>>> >>>>> Medizinische Hochschule Hannover >>>>> Institut f?r Funktionelle und Angewandte Anatomie >>>>> OE 4120, Carl-Neuberg-Str. 1, 30625 Hannover, Deutschland >>>>> >>>>> Tel. +49 511 532-2900 >>>>> grothausmann.roman at mh-hannover.de >>>>> http://www.mh-hannover.de/anatomie.html >>>>> _______________________________________________ >>>>> 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 >>>> >>>> >>>> >>>> >>> >>> -- >>> Dr. Roman Grothausmann >>> >>> Tomographie und Digitale Bildverarbeitung >>> Tomography and Digital Image Analysis >>> >>> Medizinische Hochschule Hannover >>> Institut f?r Funktionelle und Angewandte Anatomie >>> OE 4120, Carl-Neuberg-Str. 1, 30625 Hannover, Deutschland >>> >>> Tel. +49 511 532-2900 >>> grothausmann.roman at mh-hannover.de >>> http://www.mh-hannover.de/anatomie.html >> >> >> > -- Dr. Roman Grothausmann Tomographie und Digitale Bildverarbeitung Tomography and Digital Image Analysis Medizinische Hochschule Hannover Institut f?r Funktionelle und Angewandte Anatomie OE 4120, Carl-Neuberg-Str. 1, 30625 Hannover, Deutschland Tel. +49 511 532-2900 grothausmann.roman at mh-hannover.de http://www.mh-hannover.de/anatomie.html From nikos.beratlis at gmail.com Sat Nov 11 13:31:51 2017 From: nikos.beratlis at gmail.com (Nikolaos Beratlis) Date: Sat, 11 Nov 2017 13:31:51 -0500 Subject: [Paraview] Error reading timeseries with spatial grid collection with XDMF Message-ID: Hi, I have a cartesian structured grid made of two sub-domains and a two snap shots in a time that I would like to read in Paraview. The data and grid files are stored in HDF5 file and I use a XDMF file to read them in a Paraview. The XDMF files looks like this: The file is read in Paraview. When I advance in to the second instant in time I get the following error: Failed to read attribute data. Paraview shows data from the first subset (zone0001), it can't read the data from the second subset (zone0002). When I read only on instant in time like this: the file is read successfully and no errors show up. Also when I read two time instants but with only one subset (zone0001) Paraview doesn't throw any errors. Does anyone see the problem in the code? Kind regards, Nikos -------------- next part -------------- An HTML attachment was scrubbed... URL: From ke.gao.ut at gmail.com Sat Nov 11 14:55:13 2017 From: ke.gao.ut at gmail.com (Ke Gao) Date: Sat, 11 Nov 2017 12:55:13 -0700 Subject: [Paraview] Importing paraview.simple in external python environment Message-ID: Does anyone know how to setup Windows in order to use Paraview python library under external python environmental such as Anaconda? Many thanks. -- .............................................................................................................................................. Ke Gao -------------- next part -------------- An HTML attachment was scrubbed... URL: From PESLAMI1 at mgh.harvard.edu Sun Nov 12 10:56:47 2017 From: PESLAMI1 at mgh.harvard.edu (Eslami, Parastou) Date: Sun, 12 Nov 2017 15:56:47 +0000 Subject: [Paraview] How to create a 2D map of a 3D shear stress calculation Message-ID: <939D83FF-5E3C-4F9F-9C9E-DADF1FDFA019@mgh.harvard.edu> Hi Everyone, I?m a newbie in Paraview and would like to show a 2D map of a 3D shear stress value in a curved coronary artery and I have no idea where to start! I have attached a similar graph in a paper and my goal is to reproduce a similar graph. Here, they have used arch angle (theta) in the y axis and the curve length or centerline length in the x axis. Any help will be appreciated. Thank you very much! Parastou [cid:image001.png at 01D35BA4.EE195C80] The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 279190 bytes Desc: image001.png URL: From petersenkolja at gmail.com Sun Nov 12 11:15:40 2017 From: petersenkolja at gmail.com (Kolja Petersen) Date: Sun, 12 Nov 2017 17:15:40 +0100 Subject: [Paraview] TimerEvents not fired while dragging mouse in vtkRenderWindow Message-ID: Heya, I paste some code below, which displays an empty vtkRenderWindow with an interactor. The interactor fires a TimerEvent every 100ms as printed by the Observer. The problem: when I press a mouse button in the vtkRenderWindow, the TimerEvents stop to be reported, although I need to process data periodically in my application as a reaction to those TimerEvents. Why are no TimerEvents fired when a button is pressed, and how can I change this behaviour? Thank you Kolja import vtk class Observer(object): def __init__(self): self.cnt=0 def __call__(self,caller,evt): self.cnt+=1 print "count %d %s" % (self.cnt,evt) ren1 = vtk.vtkRenderer() ren1.SetBackground(0.1, 0.2, 0.4) renWin = vtk.vtkRenderWindow() renWin.AddRenderer(ren1) renWin.SetSize(300, 300) iren = vtk.vtkRenderWindowInteractor() iren.SetRenderWindow(renWin) style = vtk.vtkInteractorStyleTrackballCamera() iren.SetInteractorStyle(style) iren.Initialize() observer=Observer() iren.AddObserver(vtk.vtkCommand.TimerEvent,observer) iren.AddObserver(vtk.vtkCommand.MouseMoveEvent,observer) iren.AddObserver(vtk.vtkCommand.InteractionEvent,observer) iren.CreateRepeatingTimer(100) iren.Start() -------------- next part -------------- An HTML attachment was scrubbed... URL: From aron.helser at kitware.com Sun Nov 12 15:23:36 2017 From: aron.helser at kitware.com (Aron Helser) Date: Sun, 12 Nov 2017 15:23:36 -0500 Subject: [Paraview] Importing paraview.simple in external python environment In-Reply-To: References: Message-ID: Hi, If you set your PYTHONPATH and PATH environment variables correctly, you'll be good. This wiki gives some pointers on how to do it: https://www.paraview.org/Wiki/ParaView/Python_Scripting#Getting_Started Regards, Aron On Sat, Nov 11, 2017 at 2:55 PM, Ke Gao wrote: > Does anyone know how to setup Windows in order to use Paraview python > library under external python environmental such as Anaconda? > > Many thanks. > > -- > ............................................................ > ............................................................ > ...................... > Ke Gao > > _______________________________________________ > 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 Sun Nov 12 17:42:29 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Sun, 12 Nov 2017 22:42:29 +0000 Subject: [Paraview] pvbatch Message-ID: <8CA9A7F0-865B-482D-B3F7-0B3084148DEE@sandia.gov> What are the magic cmake switches, for superbuild, that are used to build a non MPI, Mesa version of pvbatch? Where is this documented? Thanks, Alan -------------- next part -------------- An HTML attachment was scrubbed... URL: From joachim.pouderoux at kitware.com Sun Nov 12 23:00:22 2017 From: joachim.pouderoux at kitware.com (Joachim Pouderoux) Date: Mon, 13 Nov 2017 05:00:22 +0100 Subject: [Paraview] pvbatch In-Reply-To: <8CA9A7F0-865B-482D-B3F7-0B3084148DEE@sandia.gov> References: <8CA9A7F0-865B-482D-B3F7-0B3084148DEE@sandia.gov> Message-ID: Alan, pvbatch and pvpython are both built as long as PARAVIEW_ENABLE_PYTHON is turned ON in its CMake. So for the superbuild, it is just requires to enable Python. For Mesa, you are supposed to enable Mesa (only supported on Linux for sure). To summarize: $ cmake -DENABLE_python=ON -DENABLE_mpi=OFF -DENABLE_mesa=ON ** ../paraview-superbuild Do you encounter any issue with such kind of setup? Best, Joachim *Joachim Pouderoux*, PhD *Technical Expert - Scientific Computing Team* *Kitware SAS * 2017-11-12 23:42 GMT+01:00 Scott, W Alan : > What are the magic cmake switches, for superbuild, that are used to build > a non MPI, Mesa version of pvbatch? Where is this documented? > > > > Thanks, > > > > Alan > > _______________________________________________ > 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 Sun Nov 12 23:02:15 2017 From: joachim.pouderoux at kitware.com (Joachim Pouderoux) Date: Mon, 13 Nov 2017 05:02:15 +0100 Subject: [Paraview] TimerEvents not fired while dragging mouse in vtkRenderWindow In-Reply-To: References: Message-ID: Kolja, As it is a VTK Python related question, please address this issue to the VTK mailing list instead. Best, *Joachim Pouderoux*, PhD *Technical Expert - Scientific Computing Team* *Kitware SAS * 2017-11-12 17:15 GMT+01:00 Kolja Petersen : > Heya, > I paste some code below, which displays an empty vtkRenderWindow with an > interactor. The interactor fires a TimerEvent every 100ms as printed by the > Observer. > The problem: when I press a mouse button in the vtkRenderWindow, the > TimerEvents stop to be reported, although I need to process data > periodically in my application as a reaction to those TimerEvents. > > Why are no TimerEvents fired when a button is pressed, and how can I > change this behaviour? > Thank you > Kolja > > import vtk > > class Observer(object): > def __init__(self): > self.cnt=0 > def __call__(self,caller,evt): > self.cnt+=1 > print "count %d %s" % (self.cnt,evt) > > ren1 = vtk.vtkRenderer() > ren1.SetBackground(0.1, 0.2, 0.4) > > renWin = vtk.vtkRenderWindow() > renWin.AddRenderer(ren1) > renWin.SetSize(300, 300) > > iren = vtk.vtkRenderWindowInteractor() > iren.SetRenderWindow(renWin) > > style = vtk.vtkInteractorStyleTrackballCamera() > iren.SetInteractorStyle(style) > > iren.Initialize() > observer=Observer() > iren.AddObserver(vtk.vtkCommand.TimerEvent,observer) > iren.AddObserver(vtk.vtkCommand.MouseMoveEvent,observer) > iren.AddObserver(vtk.vtkCommand.InteractionEvent,observer) > iren.CreateRepeatingTimer(100) > iren.Start() > > > > > _______________________________________________ > 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 Sun Nov 12 23:09:58 2017 From: joachim.pouderoux at kitware.com (Joachim Pouderoux) Date: Mon, 13 Nov 2017 05:09:58 +0100 Subject: [Paraview] Information tag in xdmf file crashes paraview In-Reply-To: References: Message-ID: Hello, Could you provide more details on the issue you described? - What version of ParaView are you using? - Which version of the ParaView XMDF reader do you use (2 or 3)? Providing a data sample with an example of the tag you are trying to add could be very helpful too. Best, *Joachim Pouderoux*, PhD *Technical Expert - Scientific Computing Team* *Kitware SAS * 2017-11-03 16:11 GMT+01:00 Gonzalez Lopez, Ruben A. : > Hi there, I would like to include some additional information about the > parameters that I'm using in my simulation in the file, I thought that the Information > tag was useful in this scenario. but when I try to use them Paraview > crashes. is there any other technique that I could use? I already try for comments but Paraview will crash anyway. > > > Thank you very much for your help > > _______________________________________________ > 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 Sun Nov 12 23:15:49 2017 From: joachim.pouderoux at kitware.com (Joachim Pouderoux) Date: Mon, 13 Nov 2017 05:15:49 +0100 Subject: [Paraview] Error reading timeseries with spatial grid collection with XDMF In-Reply-To: References: Message-ID: Nikos, It looks like you are using the Xdmf2 based reader. Did you give a chance to the one based on Xdmf3? What version of ParaView are you using? Can you provide a full dataset we could use to reproduce the issue? Best, *Joachim Pouderoux*, PhD *Technical Expert - Scientific Computing Team* *Kitware SAS * 2017-11-11 19:31 GMT+01:00 Nikolaos Beratlis : > Hi, > > I have a cartesian structured grid made of two sub-domains and a two snap > shots in a time that I would like to read in Paraview. The data and grid > files are stored in HDF5 file and I use a XDMF file to read them in a > Paraview. The XDMF files looks like this: > > > > > > > > > > > > > > > > > > The file is read in Paraview. When I advance in to the second instant in > time I get the following error: > > Failed to read attribute data. > > Paraview shows data from the first subset (zone0001), it can't read the > data from the second subset (zone0002). > > > When I read only on instant in time like this: > > > > > > > > > > > > > > > the file is read successfully and no errors show up. > > Also when I read two time instants but with only one subset (zone0001) > Paraview doesn't throw any errors. > > > > > > > > > > > > > > Does anyone see the problem in the code? > > Kind regards, > > Nikos > > > _______________________________________________ > 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 kmorel at sandia.gov Mon Nov 13 00:12:54 2017 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Mon, 13 Nov 2017 05:12:54 +0000 Subject: [Paraview] How to create a 2D map of a 3D shear stress calculation Message-ID: <1F3AD11B-D687-4132-8E46-75442FF1FA89@sandia.gov> Parastou, Your question involves a rather complex and domain-specific visualization technique. I?m not sure I totally understand what your data look like, but I assume you have something like a 3D volume of sampled data such as CT scans that contain what can be identified as arterial tubes. I don?t know much about your problem domain, but it sounds like you are referring to a ?Curved Planar Reformation? technique, which I?ve read about in papers like this one by Michelle Borkin: https://vcglab.org/gvi-files/borkin-InfoVis2011_camera-ready.pdf. Curved Planar Reformation is a complex, multi-step process that involves identifying where the arteries are, extracting the centerline around the tubes, taking slices along the center line, and finding the arterial wall from there. Unfortunately, to the best of my knowledge ParaView does not contain an implementation of this process (unless someone else on the mailing list chimes in). My advice would be to contact the authors of the aforementioned paper or one of the others describing Curved Planar Reformation and ask them about the implementation. Perhaps they will have some software examples that can work. I suspect that to get this to work in ParaView you will have to introduce your own implementation of Curved Planar Reformation. If you want to pursue this route, you could implement it as a VTK filter and expose it as a ParaView plugin or cram the code into a programmable filter. -Ken From: ParaView on behalf of "Eslami, Parastou" Date: Sunday, November 12, 2017 at 8:57 AM To: "paraview at paraview.org" Subject: [EXTERNAL] [Paraview] How to create a 2D map of a 3D shear stress calculation Hi Everyone, I?m a newbie in Paraview and would like to show a 2D map of a 3D shear stress value in a curved coronary artery and I have no idea where to start! I have attached a similar graph in a paper and my goal is to reproduce a similar graph. Here, they have used arch angle (theta) in the y axis and the curve length or centerline length in the x axis. Any help will be appreciated. Thank you very much! Parastou [cid:image001.png at 01D35C03.624913D0] The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 279191 bytes Desc: image001.png URL: From 224252 at via.dk Mon Nov 13 08:48:32 2017 From: 224252 at via.dk (Doina Gumeniuc (224252 MAHS)) Date: Mon, 13 Nov 2017 13:48:32 +0000 Subject: [Paraview] NaN values Message-ID: Hi all, I have a file with NaN values in almost every column and row. The integer numbers represent which points should be connected by lines, therefor I can not replace NaN with zeros because it will interpret it as Point with ID 0. Is there any way I can replace this NaNs with something which paraview reads as blanks? Thank you! -------------- next part -------------- An HTML attachment was scrubbed... URL: From mathieu.westphal at kitware.com Mon Nov 13 08:53:19 2017 From: mathieu.westphal at kitware.com (Mathieu Westphal) Date: Mon, 13 Nov 2017 14:53:19 +0100 Subject: [Paraview] NaN values In-Reply-To: References: Message-ID: Hi ParaView understand NaN correctly as blanks. If you are reading a .csv file, the correct string that is interpreted as NaN is "nan" without the quotes. Best, Mathieu Westphal On Mon, Nov 13, 2017 at 2:48 PM, Doina Gumeniuc (224252 MAHS) <224252 at via.dk > wrote: > Hi all, > > > I have a file with NaN values in almost every column and row. The integer > numbers represent which points should be connected by lines, therefor I can > not replace NaN with zeros because it will interpret it as Point with ID 0. > > Is there any way I can replace this NaNs with something which paraview > reads as blanks? > > 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From 224252 at via.dk Mon Nov 13 10:10:19 2017 From: 224252 at via.dk (Doina Gumeniuc (224252 MAHS)) Date: Mon, 13 Nov 2017 15:10:19 +0000 Subject: [Paraview] NaN values In-Reply-To: References: , Message-ID: Hi Mathieu, I am using a vtk poly data file, which when I load in paraview, it gives me error (paraview just stops working). I was thinking it is because of my NaN values. ________________________________ From: Mathieu Westphal Sent: November 13, 2017 2:53:19 PM To: Doina Gumeniuc (224252 MAHS) Cc: paraview at paraview.org Subject: Re: [Paraview] NaN values Hi ParaView understand NaN correctly as blanks. If you are reading a .csv file, the correct string that is interpreted as NaN is "nan" without the quotes. Best, Mathieu Westphal On Mon, Nov 13, 2017 at 2:48 PM, Doina Gumeniuc (224252 MAHS) <224252 at via.dk> wrote: Hi all, I have a file with NaN values in almost every column and row. The integer numbers represent which points should be connected by lines, therefor I can not replace NaN with zeros because it will interpret it as Point with ID 0. Is there any way I can replace this NaNs with something which paraview reads as blanks? 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From mathieu.westphal at kitware.com Mon Nov 13 10:29:18 2017 From: mathieu.westphal at kitware.com (Mathieu Westphal) Date: Mon, 13 Nov 2017 16:29:18 +0100 Subject: [Paraview] NaN values In-Reply-To: References: Message-ID: Hi Can you share your dataset ? Thanks, Mathieu Westphal On Mon, Nov 13, 2017 at 4:10 PM, Doina Gumeniuc (224252 MAHS) <224252 at via.dk > wrote: > Hi Mathieu, > > > I am using a vtk poly data file, which when I load in paraview, it gives > me error (paraview just stops working). I was thinking it is because of my > NaN values. > ------------------------------ > *From:* Mathieu Westphal > *Sent:* November 13, 2017 2:53:19 PM > *To:* Doina Gumeniuc (224252 MAHS) > *Cc:* paraview at paraview.org > *Subject:* Re: [Paraview] NaN values > > Hi > > ParaView understand NaN correctly as blanks. > If you are reading a .csv file, the correct string that is interpreted as > NaN is "nan" without the quotes. > > Best, > > Mathieu Westphal > > On Mon, Nov 13, 2017 at 2:48 PM, Doina Gumeniuc (224252 MAHS) < > 224252 at via.dk> wrote: > > Hi all, > > > I have a file with NaN values in almost every column and row. The integer > numbers represent which points should be connected by lines, therefor I can > not replace NaN with zeros because it will interpret it as Point with ID 0. > > Is there any way I can replace this NaNs with something which paraview > reads as blanks? > > Thank you! > > _______________________________________________ > 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 ben.boeckel at kitware.com Mon Nov 13 11:04:43 2017 From: ben.boeckel at kitware.com (Ben Boeckel) Date: Mon, 13 Nov 2017 11:04:43 -0500 Subject: [Paraview] pvbatch In-Reply-To: <8CA9A7F0-865B-482D-B3F7-0B3084148DEE@sandia.gov> References: <8CA9A7F0-865B-482D-B3F7-0B3084148DEE@sandia.gov> Message-ID: <20171113160443.GA10302@megas.kitware.com> On Sun, Nov 12, 2017 at 22:42:29 +0000, Scott, W Alan wrote: > What are the magic cmake switches, for superbuild, that are used to > build a non MPI, Mesa version of pvbatch? Where is this documented? pvpython is the non-MPI version of pvbatch. The superbuild docs could probably be improved here. Currently, the mention is: ParaView supports multiple rendering engines including `egl`, `mesa`, `osmesa`, and `qt5`. All of these are incompatible with each other. If none of these are chosen, a UI-less ParaView will be built (basically just `pvpython`). On Windows and macOS, only the `qt5` rendering engine is available. --Ben From 224252 at via.dk Mon Nov 13 14:55:08 2017 From: 224252 at via.dk (Doina Gumeniuc (224252 MAHS)) Date: Mon, 13 Nov 2017 19:55:08 +0000 Subject: [Paraview] NaN values In-Reply-To: References: , Message-ID: Hi Mathieu, Sadly I can not import the whole file, but here is an example: LINES 4 13 2 0 1 NaN 3 1 2 3 2 3 4 NaN 2 4 5 NaN I make the vtk file in matlab by extracting the information from a .dat file. Originally, instead of NaN there are zeros, but I just need blanks without changing the shape of the matrix, which is why I use NaN, but it gives me error in paraview. I hope it explains what I mean. Thank you! ________________________________ From: Mathieu Westphal Sent: November 13, 2017 4:29:18 PM To: Doina Gumeniuc (224252 MAHS) Cc: paraview at paraview.org Subject: Re: [Paraview] NaN values Hi Can you share your dataset ? Thanks, Mathieu Westphal On Mon, Nov 13, 2017 at 4:10 PM, Doina Gumeniuc (224252 MAHS) <224252 at via.dk> wrote: Hi Mathieu, I am using a vtk poly data file, which when I load in paraview, it gives me error (paraview just stops working). I was thinking it is because of my NaN values. ________________________________ From: Mathieu Westphal > Sent: November 13, 2017 2:53:19 PM To: Doina Gumeniuc (224252 MAHS) Cc: paraview at paraview.org Subject: Re: [Paraview] NaN values Hi ParaView understand NaN correctly as blanks. If you are reading a .csv file, the correct string that is interpreted as NaN is "nan" without the quotes. Best, Mathieu Westphal On Mon, Nov 13, 2017 at 2:48 PM, Doina Gumeniuc (224252 MAHS) <224252 at via.dk> wrote: Hi all, I have a file with NaN values in almost every column and row. The integer numbers represent which points should be connected by lines, therefor I can not replace NaN with zeros because it will interpret it as Point with ID 0. Is there any way I can replace this NaNs with something which paraview reads as blanks? 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Mon Nov 13 17:04:19 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Mon, 13 Nov 2017 22:04:19 +0000 Subject: [Paraview] [EXTERNAL] Re: pvbatch In-Reply-To: <20171113160443.GA10302@megas.kitware.com> References: <8CA9A7F0-865B-482D-B3F7-0B3084148DEE@sandia.gov> <20171113160443.GA10302@megas.kitware.com> Message-ID: <88633292-5379-4EA3-8979-CCBF01E1C7EF@sandia.gov> Ben, I believe this is a change from the past. Here is what I desire ? how do I get it? I want to run pv(pythonScript). I want it to produce output. I want it to run off screen, not showing on the console display or current display. This is especially important on classified systems. MPI is not available. Not too long ago, my understanding was this was pvbatch. pvpython used either the console display or current display as it?s rendering space. This does not catch my needs. Alan On 11/13/17, 9:04 AM, "Ben Boeckel" wrote: On Sun, Nov 12, 2017 at 22:42:29 +0000, Scott, W Alan wrote: > What are the magic cmake switches, for superbuild, that are used to > build a non MPI, Mesa version of pvbatch? Where is this documented? pvpython is the non-MPI version of pvbatch. The superbuild docs could probably be improved here. Currently, the mention is: ParaView supports multiple rendering engines including `egl`, `mesa`, `osmesa`, and `qt5`. All of these are incompatible with each other. If none of these are chosen, a UI-less ParaView will be built (basically just `pvpython`). On Windows and macOS, only the `qt5` rendering engine is available. --Ben From kmorel at sandia.gov Mon Nov 13 18:24:03 2017 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Mon, 13 Nov 2017 23:24:03 +0000 Subject: [Paraview] NaN values Message-ID: <409A79FB-ACCE-49FC-853C-E603D4B50811@sandia.gov> Doina, vtk files support Nan?s in general. (I just tried it. It worked fine.) However, you are trying to introduce NaN?s in a list of integer connections, which is just wrong on many levels. However, I do not see why you need NaN at all. The LINES connectivity list allows you to vary the length of the line chain. It looks like you can solve your problem by simply not writing out the NaN?s in the fill. In the example you sent us, I presume that you mean to have 4 line cells with 2, 3, 2, and 2 vertices, respectively. The following should be the correct representation of that: LINES 4 13 2 0 1 3 1 2 3 2 3 4 2 4 5 -Ken From: ParaView on behalf of "Doina Gumeniuc (224252 MAHS)" <224252 at via.dk> Date: Monday, November 13, 2017 at 12:55 PM To: Mathieu Westphal , "paraview at paraview.org" Subject: [EXTERNAL] Re: [Paraview] NaN values Hi Mathieu, Sadly I can not import the whole file, but here is an example: LINES 4 13 2 0 1 NaN 3 1 2 3 2 3 4 NaN 2 4 5 NaN I make the vtk file in matlab by extracting the information from a .dat file. Originally, instead of NaN there are zeros, but I just need blanks without changing the shape of the matrix, which is why I use NaN, but it gives me error in paraview. I hope it explains what I mean. Thank you! ________________________________ From: Mathieu Westphal Sent: November 13, 2017 4:29:18 PM To: Doina Gumeniuc (224252 MAHS) Cc: paraview at paraview.org Subject: Re: [Paraview] NaN values Hi Can you share your dataset ? Thanks, Mathieu Westphal On Mon, Nov 13, 2017 at 4:10 PM, Doina Gumeniuc (224252 MAHS) <224252 at via.dk> wrote: Hi Mathieu, I am using a vtk poly data file, which when I load in paraview, it gives me error (paraview just stops working). I was thinking it is because of my NaN values. ________________________________ From: Mathieu Westphal > Sent: November 13, 2017 2:53:19 PM To: Doina Gumeniuc (224252 MAHS) Cc: paraview at paraview.org Subject: Re: [Paraview] NaN values Hi ParaView understand NaN correctly as blanks. If you are reading a .csv file, the correct string that is interpreted as NaN is "nan" without the quotes. Best, Mathieu Westphal On Mon, Nov 13, 2017 at 2:48 PM, Doina Gumeniuc (224252 MAHS) <224252 at via.dk> wrote: Hi all, I have a file with NaN values in almost every column and row. The integer numbers represent which points should be connected by lines, therefor I can not replace NaN with zeros because it will interpret it as Point with ID 0. Is there any way I can replace this NaNs with something which paraview reads as blanks? 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Mon Nov 13 19:12:58 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 13 Nov 2017 19:12:58 -0500 Subject: [Paraview] Supercomputing 2017: Schedule for talks at the Kitware Booth Message-ID: Folks, If you are attending Supercomputing 2017 (https://sc17.supercomputing.org/), please stop by the Kitware Booth #647 and say hello! It's always great to meet community members. Also, we are hosting short talks throughout the day Tue & Wed (schedule attached). See you there! Utkarsh -------------- next part -------------- A non-text attachment was scrubbed... Name: SC17_Schedule.jpg Type: image/jpeg Size: 412059 bytes Desc: not available URL: From 224252 at via.dk Tue Nov 14 02:42:38 2017 From: 224252 at via.dk (Doina Gumeniuc (224252 MAHS)) Date: Tue, 14 Nov 2017 07:42:38 +0000 Subject: [Paraview] NaN values In-Reply-To: <409A79FB-ACCE-49FC-853C-E603D4B50811@sandia.gov> References: <409A79FB-ACCE-49FC-853C-E603D4B50811@sandia.gov> Message-ID: Hi! Yes, I of course understand your point. There is a bit of a problem though: In reality, this file is much more bigger and deleting the NaNs by hand is not an option (also I am trying to make it all happen automatically). If I ask matlab to delete the zeros from my file, the shape of the matrix will change, so the only solution I found so far is to replace the zeros by NaNs in matlab, which gives me error in paraview, for the reason you, Moreland, explained. So my question would be again, is it possible to replace it with anything else? Thank you! ________________________________ From: Moreland, Kenneth Sent: November 14, 2017 12:24:03 AM To: Doina Gumeniuc (224252 MAHS); Mathieu Westphal; paraview at paraview.org Subject: Re: [Paraview] NaN values Doina, vtk files support Nan?s in general. (I just tried it. It worked fine.) However, you are trying to introduce NaN?s in a list of integer connections, which is just wrong on many levels. However, I do not see why you need NaN at all. The LINES connectivity list allows you to vary the length of the line chain. It looks like you can solve your problem by simply not writing out the NaN?s in the fill. In the example you sent us, I presume that you mean to have 4 line cells with 2, 3, 2, and 2 vertices, respectively. The following should be the correct representation of that: LINES 4 13 2 0 1 3 1 2 3 2 3 4 2 4 5 -Ken From: ParaView on behalf of "Doina Gumeniuc (224252 MAHS)" <224252 at via.dk> Date: Monday, November 13, 2017 at 12:55 PM To: Mathieu Westphal , "paraview at paraview.org" Subject: [EXTERNAL] Re: [Paraview] NaN values Hi Mathieu, Sadly I can not import the whole file, but here is an example: LINES 4 13 2 0 1 NaN 3 1 2 3 2 3 4 NaN 2 4 5 NaN I make the vtk file in matlab by extracting the information from a .dat file. Originally, instead of NaN there are zeros, but I just need blanks without changing the shape of the matrix, which is why I use NaN, but it gives me error in paraview. I hope it explains what I mean. Thank you! ________________________________ From: Mathieu Westphal Sent: November 13, 2017 4:29:18 PM To: Doina Gumeniuc (224252 MAHS) Cc: paraview at paraview.org Subject: Re: [Paraview] NaN values Hi Can you share your dataset ? Thanks, Mathieu Westphal On Mon, Nov 13, 2017 at 4:10 PM, Doina Gumeniuc (224252 MAHS) <224252 at via.dk> wrote: Hi Mathieu, I am using a vtk poly data file, which when I load in paraview, it gives me error (paraview just stops working). I was thinking it is because of my NaN values. ________________________________ From: Mathieu Westphal > Sent: November 13, 2017 2:53:19 PM To: Doina Gumeniuc (224252 MAHS) Cc: paraview at paraview.org Subject: Re: [Paraview] NaN values Hi ParaView understand NaN correctly as blanks. If you are reading a .csv file, the correct string that is interpreted as NaN is "nan" without the quotes. Best, Mathieu Westphal On Mon, Nov 13, 2017 at 2:48 PM, Doina Gumeniuc (224252 MAHS) <224252 at via.dk> wrote: Hi all, I have a file with NaN values in almost every column and row. The integer numbers represent which points should be connected by lines, therefor I can not replace NaN with zeros because it will interpret it as Point with ID 0. Is there any way I can replace this NaNs with something which paraview reads as blanks? 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From claudio.pascarelli at unisalento.it Tue Nov 14 04:10:47 2017 From: claudio.pascarelli at unisalento.it (claudio.pascarelli at unisalento.it) Date: Tue, 14 Nov 2017 10:10:47 +0100 Subject: [Paraview] Script for exporting multiple scenes In-Reply-To: References: Message-ID: Dear Utkarsh, sorry for the delay. Thank you very much for your help. With minor changes the code seems working very well. However the lines: # load all available point and cell arrays. reader.PointArrayStatus.SelectAll() reader.CellArrayStatus.SelectAll() seems to usefull if not followed by the "Apply" command. As I noticed, the two lines only check the relevant chekboxes. How can I simulate the "Apply" button? Also, what does display.RescaleTransferFunctionToDataRange() really do? Last but not least, do you know a way to also export the chromatic scale (legend) associated to each ContourPlot? I can't do it even manually. Best regards Claudio P.S. Here attached the files you sent me. > Claudio, > > Attached is an example script with a demo vtu file used for it. > > Hope that helps. > > Utkarsh > > On Mon, Oct 23, 2017 at 8:55 AM, Ing. Claudio Pascarelli < > claudio.pascarelli at unisalento.it> wrote: > >> Hi, >> >> these are the first times that I'm using Paraview and Python. >> >> >> I would like to create a script that: >> >> >> 1 - Read the number and name of properties (variables/contour plot) that >> I >> have in my .vtu file (for instance TEMPERATURE and TH_FLUX) >> >> 2 - Export every contour plot (Export Scenes) in vrml format, looping >> among them (like a "for" cycle), with the right name (for instance >> VtuName_TEMPERATURE.vrml and VtuName_TH_FLUX.vrml) >> >> >> A priori I do not know how many and which are these properties so I >> think >> that I need first lo list them in some way. >> >> >> If I record a trace this is what I obtain >> >> >> ************************************************************ >> *************** >> >> #### import the simple module from the paraview >> from paraview.simple import * >> #### disable automatic camera reset on 'Show' >> paraview.simple._DisableFirstRenderCameraReset() >> >> # get active source. >> valvola_XXX_termicovtu = GetActiveSource() >> >> # get active view >> renderView1 = GetActiveViewOrCreate('RenderView') >> # uncomment following to set a specific view size >> # renderView1.ViewSize = [763, 502] >> >> # get display properties >> valvola_XXX_termicovtuDisplay = >> GetDisplayProperties(valvola_XXX_termicovtu, >> view=renderView1) >> >> # set scalar coloring >> ColorBy(valvola_XXX_termicovtuDisplay, ('POINTS', 'TEMP')) >> >> # rescale color and/or opacity maps used to include current data range >> valvola_XXX_termicovtuDisplay.RescaleTransferFunctionToDataRange(True, >> False) >> >> # show color bar/color legend >> valvola_XXX_termicovtuDisplay.SetScalarBarVisibility(renderView1, True) >> >> # get color transfer function/color map for 'TEMP' >> tEMPLUT = GetColorTransferFunction('TEMP') >> >> # export view >> ExportView('C:/Users/User/Desktop/TEMP.vrml', view=renderView1) >> >> # set scalar coloring >> ColorBy(valvola_XXX_termicovtuDisplay, ('POINTS', 'TH_FLUX', >> 'Magnitude')) >> >> # Hide the scalar bar for this color map if no visible data is colored >> by >> it. >> HideScalarBarIfNotNeeded(tEMPLUT, renderView1) >> >> # rescale color and/or opacity maps used to include current data range >> valvola_XXX_termicovtuDisplay.RescaleTransferFunctionToDataRange(True, >> False) >> >> # show color bar/color legend >> valvola_XXX_termicovtuDisplay.SetScalarBarVisibility(renderView1, True) >> >> # get color transfer function/color map for 'TH_FLUX' >> tH_FLUXLUT = GetColorTransferFunction('TH_FLUX') >> >> # export view >> ExportView('C:/Users/User/Desktop/TH_FLUX.vrml', view=renderView1) >> >> #### saving camera placements for all active views >> >> # current camera placement for renderView1 >> renderView1.CameraPosition = [-0.09199999999789327, 0.0665, >> 0.7345691646101393] >> renderView1.CameraFocalPoint = [-0.09199999999789327, 0.0665, -0.05375] >> renderView1.CameraParallelScale = 0.2040320134204131 >> >> #### uncomment the following to render all views >> # RenderAllViews() >> # alternatively, if you want to write images, you can use >> SaveScreenshot(...). >> >> ******************************************************* >> >> >> Thank you!!!! >> >> >> Claudio Pascarelli >> >> >> >> >> _______________________________________________ >> 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: foo.vtu Type: application/octet-stream Size: 274442 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: script.py Type: application/octet-stream Size: 673 bytes Desc: not available URL: From u.utku.turuncoglu at be.itu.edu.tr Tue Nov 14 07:01:09 2017 From: u.utku.turuncoglu at be.itu.edu.tr (Ufuk Utku Turuncoglu (BE)) Date: Tue, 14 Nov 2017 15:01:09 +0300 Subject: [Paraview] surface construction with holes Message-ID: <0dad796b-1f35-b1c4-a0f2-45079eb2f86f@be.itu.edu.tr> Hi, I am trying to create surface for a poly data (see attached figure). In this case, if i use Delaunay2D filter, it creates surface but it also fills the holes. So, i just wonder that is it possible to create surface for it without filling holes. You could also find a simple dataset as attachment. Regards, --ufuk -------------- next part -------------- A non-text attachment was scrubbed... Name: data_45.vtp Type: text/xml Size: 276647 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: data_45.png Type: image/png Size: 32164 bytes Desc: not available URL: From kmorel at sandia.gov Tue Nov 14 09:45:15 2017 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Tue, 14 Nov 2017 14:45:15 +0000 Subject: [Paraview] NaN values Message-ID: <8E17D81D-8E7B-4C12-B686-AE3A42C5CC00@sandia.gov> Doina, I wasn?t trying to suggest removing all the NaN values by hand. I was saying that the file is being written incorrectly, and you need to change the way you are saving it. The simplest way should be to change the Matlab script that writes the file in the first place. I appreciate that the matrix you are storing the data in Matlab has to be dense, but why do you have to write every entry of the matrix into the file? Write a for loop over the dimensions of the matrix and conditionally write a number if it is not NaN. If for whatever reason you cannot do that (maybe you are using someone else?s Matlab file writing script and don?t want to or can?t change it), then you could probably automatically remove all the NaN?s with a script after the fact. For example, you should be able to use sed to remove all instances of the string NaN from the file. (This, of course, runs the danger of removing a NaN from elsewhere in the file that you want.) -Ken From: "Doina Gumeniuc (224252 MAHS)" <224252 at via.dk> Date: Tuesday, November 14, 2017 at 12:42 AM To: "Moreland, Kenneth" , Mathieu Westphal , "paraview at paraview.org" Subject: [EXTERNAL] Re: [Paraview] NaN values Hi! Yes, I of course understand your point. There is a bit of a problem though: In reality, this file is much more bigger and deleting the NaNs by hand is not an option (also I am trying to make it all happen automatically). If I ask matlab to delete the zeros from my file, the shape of the matrix will change, so the only solution I found so far is to replace the zeros by NaNs in matlab, which gives me error in paraview, for the reason you, Moreland, explained. So my question would be again, is it possible to replace it with anything else? Thank you! ________________________________ From: Moreland, Kenneth Sent: November 14, 2017 12:24:03 AM To: Doina Gumeniuc (224252 MAHS); Mathieu Westphal; paraview at paraview.org Subject: Re: [Paraview] NaN values Doina, vtk files support Nan?s in general. (I just tried it. It worked fine.) However, you are trying to introduce NaN?s in a list of integer connections, which is just wrong on many levels. However, I do not see why you need NaN at all. The LINES connectivity list allows you to vary the length of the line chain. It looks like you can solve your problem by simply not writing out the NaN?s in the fill. In the example you sent us, I presume that you mean to have 4 line cells with 2, 3, 2, and 2 vertices, respectively. The following should be the correct representation of that: LINES 4 13 2 0 1 3 1 2 3 2 3 4 2 4 5 -Ken From: ParaView on behalf of "Doina Gumeniuc (224252 MAHS)" <224252 at via.dk> Date: Monday, November 13, 2017 at 12:55 PM To: Mathieu Westphal , "paraview at paraview.org" Subject: [EXTERNAL] Re: [Paraview] NaN values Hi Mathieu, Sadly I can not import the whole file, but here is an example: LINES 4 13 2 0 1 NaN 3 1 2 3 2 3 4 NaN 2 4 5 NaN I make the vtk file in matlab by extracting the information from a .dat file. Originally, instead of NaN there are zeros, but I just need blanks without changing the shape of the matrix, which is why I use NaN, but it gives me error in paraview. I hope it explains what I mean. Thank you! ________________________________ From: Mathieu Westphal Sent: November 13, 2017 4:29:18 PM To: Doina Gumeniuc (224252 MAHS) Cc: paraview at paraview.org Subject: Re: [Paraview] NaN values Hi Can you share your dataset ? Thanks, Mathieu Westphal On Mon, Nov 13, 2017 at 4:10 PM, Doina Gumeniuc (224252 MAHS) <224252 at via.dk> wrote: Hi Mathieu, I am using a vtk poly data file, which when I load in paraview, it gives me error (paraview just stops working). I was thinking it is because of my NaN values. ________________________________ From: Mathieu Westphal > Sent: November 13, 2017 2:53:19 PM To: Doina Gumeniuc (224252 MAHS) Cc: paraview at paraview.org Subject: Re: [Paraview] NaN values Hi ParaView understand NaN correctly as blanks. If you are reading a .csv file, the correct string that is interpreted as NaN is "nan" without the quotes. Best, Mathieu Westphal On Mon, Nov 13, 2017 at 2:48 PM, Doina Gumeniuc (224252 MAHS) <224252 at via.dk> wrote: Hi all, I have a file with NaN values in almost every column and row. The integer numbers represent which points should be connected by lines, therefor I can not replace NaN with zeros because it will interpret it as Point with ID 0. Is there any way I can replace this NaNs with something which paraview reads as blanks? 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From kmorel at sandia.gov Tue Nov 14 10:04:36 2017 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Tue, 14 Nov 2017 15:04:36 +0000 Subject: [Paraview] surface construction with holes Message-ID: <7A88BEB2-7128-416F-A7F7-BF1F0D5CEE28@sandia.gov> Ufuk, The short answer is, no. You cannot keep the Delaunay2D filter from filling holes. The mathematical description of Delaunay triangulation fills in all the space in the convex hull of the points. The question about having the Delaunay triangulation keeping open space that is supposed to be empty comes up frequently on this list. However, generally identifying what should not be filled is not easy to describe, especially in a general sense. When you ask me about the ?hole? in your data, I, as a human, can immediately identify what you mean. But can you describe it in such a way that it can be easily picked out by a computer? I cannot. And even if we did come up with something, there is a good chance it would fail for holes of other shapes. That said, you might be able to resolve the problem by removing the triangles over the hole after you create the surface. I note that what you mean by a hole is a region where points are spread out, so we could start by removing big triangles. You can identify triangle size using the Mesh Quality filter. Add the Mesh Quality filter and change Triangle Quality Measure to Area. After you run that, use the threshold filter to remove all triangles with a ?quality? (actually area) greater than 0.01. That removes some of the triangles in the holes, but not all of them. You will also see that the remaining triangles are skinny ones that stretch across cords of the circular hole. So, we could also remove skinny triangles. Run the Mesh Quality filter again on the output, this time setting the Triangle Quality Measure to Radius Ratio. Then use the Threshold filter again to remove triangles greater than a value somewhere in the range of 5 to 15. You might notice at this point that it is getting difficult to specify values that work well around the holes along the sides. Low values start removing valid triangles on the sides. High values leave some of the holes covered. This is what I meant by it being difficult to describe the holes to a computer. An alternate approach is to select the triangles over the wholes, invert the selection, and then extract the selection. You could also do that to the result of the procedure I just gave you. One final note. You are using Delaunay 2D on a set of data that is 3D. I presume you are aware that Delaunay 2D is actually projecting all of your points onto a plane and finding a triangulation there. It is not finding a surface in 3D. The only way to find the true 3D surface (in ParaView) would be to do a Delaunay 3D and then extract the external faces. -Ken On 11/14/17, 5:11 AM, "ParaView on behalf of Ufuk Utku Turuncoglu (BE)" wrote: Hi, I am trying to create surface for a poly data (see attached figure). In this case, if i use Delaunay2D filter, it creates surface but it also fills the holes. So, i just wonder that is it possible to create surface for it without filling holes. You could also find a simple dataset as attachment. Regards, --ufuk From dennis_conklin at goodyear.com Tue Nov 14 10:24:50 2017 From: dennis_conklin at goodyear.com (Dennis Conklin) Date: Tue, 14 Nov 2017 15:24:50 +0000 Subject: [Paraview] Exodus multiblock dataset block numbers vs block IDs Message-ID: All, I'm trying to retrieve the block names for blocks in an Exodus multi-block dataset. There is a weird block_ID, block_number thing which I don't understand and can't get past. Imagine I have many blocks in my dataset but I only load 2 Block_ID block_number(displayed in Spreadsheet) 4 5 - this is actually 4th block in file 101 25 - this is actually 24th block in file I am looping through blocks and getting block_names using this routine: def get_block_name(block): # # Get block ID - indexed from 1 block_id=block.FieldData.GetArray('ElementBlockIds') #print block_id # # Get Block name from metadata output=self.GetOutput() # # Element Block data is in DataBlock(0) of composite database ElementBlocks=output.GetBlock(0) # # meta indexed from 0 (use block_id-1) block_meta=ElementBlocks.GetMetaData(block_id-1) block_name=block_meta.Get(vtk.vtkCompositeDataSet.NAME()) return block_name Note that block.FieldData.GetArray('ElementBlockIds') returns 5 for the first block I then need to call block_meta.Get(vtk.vtkCompositeDataSet.NAME()) with 4 to get the correct name Now with the second block, block.FieldData.GetArray('ElementBlockIds') returns 101, I then call block_meta.Get(vtk.vtkCompositeDataSet.NAME()) with 100 and get an error of "NoneType object has no attribute 'Get' It seems clear that I need a function which will return 25 for the second block (instead of 101) so that I can call NAME() with 24. So, how do I get it to return the block number instead of the block ID NOTE, the first block is a hex block, while the 2nd block is a quad block - I'm suspicious that this is the real issue, but here all quad blocks are > 100 by convention. Summary - block name works for contiguously numbered hex blocks but discontinuously numbered quad blocks don't work. Thanks for any help. Dennis -------------- next part -------------- An HTML attachment was scrubbed... URL: From petersenkolja at gmail.com Tue Nov 14 11:13:39 2017 From: petersenkolja at gmail.com (Kolja Petersen) Date: Tue, 14 Nov 2017 17:13:39 +0100 Subject: [Paraview] TimerEvents not fired while dragging mouse in vtkRenderWindow In-Reply-To: References: Message-ID: Joachim, I have also sent my question to the vtkusers mailing list after you have suggested it. Unfortunately more than half of the questions sent to vtkusers are never answered, although my impression is that they are formulated better than most questions on the paraview list in general. So, I'll appreciate if somebody has an idea how to continue receiving TimerEvents from a vtkRenderWindowInteractor while a mouse button is pressed. By the way, I observed this problem with the Paraview version of VTK (Paraview 5.4.1). Kolja Virenfrei. www.avast.com <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> On Mon, Nov 13, 2017 at 5:02 AM, Joachim Pouderoux < joachim.pouderoux at kitware.com> wrote: > Kolja, > > As it is a VTK Python related question, please address this issue to the > VTK mailing list instead. > > Best, > > *Joachim Pouderoux*, PhD > > *Technical Expert - Scientific Computing Team* > *Kitware SAS * > > > 2017-11-12 17:15 GMT+01:00 Kolja Petersen : > >> Heya, >> I paste some code below, which displays an empty vtkRenderWindow with an >> interactor. The interactor fires a TimerEvent every 100ms as printed by the >> Observer. >> The problem: when I press a mouse button in the vtkRenderWindow, the >> TimerEvents stop to be reported, although I need to process data >> periodically in my application as a reaction to those TimerEvents. >> >> Why are no TimerEvents fired when a button is pressed, and how can I >> change this behaviour? >> Thank you >> Kolja >> >> import vtk >> >> class Observer(object): >> def __init__(self): >> self.cnt=0 >> def __call__(self,caller,evt): >> self.cnt+=1 >> print "count %d %s" % (self.cnt,evt) >> >> ren1 = vtk.vtkRenderer() >> ren1.SetBackground(0.1, 0.2, 0.4) >> >> renWin = vtk.vtkRenderWindow() >> renWin.AddRenderer(ren1) >> renWin.SetSize(300, 300) >> >> iren = vtk.vtkRenderWindowInteractor() >> iren.SetRenderWindow(renWin) >> >> style = vtk.vtkInteractorStyleTrackballCamera() >> iren.SetInteractorStyle(style) >> >> iren.Initialize() >> observer=Observer() >> iren.AddObserver(vtk.vtkCommand.TimerEvent,observer) >> iren.AddObserver(vtk.vtkCommand.MouseMoveEvent,observer) >> iren.AddObserver(vtk.vtkCommand.InteractionEvent,observer) >> iren.CreateRepeatingTimer(100) >> iren.Start() >> >> >> >> >> _______________________________________________ >> 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 mvanmoer at illinois.edu Tue Nov 14 11:08:57 2017 From: mvanmoer at illinois.edu (Van Moer, Mark W) Date: Tue, 14 Nov 2017 16:08:57 +0000 Subject: [Paraview] Accessing particles generated by ParticleTracer In-Reply-To: References: <7F781841FF1E044388AFA42B70703A7AE7F4F241@CHIMBX6.ad.uillinois.edu> <7F781841FF1E044388AFA42B70703A7AE7F4F326@CHIMBX6.ad.uillinois.edu> <7F781841FF1E044388AFA42B70703A7AE7F55469@CHIMBX6.ad.uillinois.edu> Message-ID: <7F781841FF1E044388AFA42B70703A7AE7F73B6B@CHIMBX6.ad.uillinois.edu> Hi Mathieu, I was able to hack something together that worked well enough. I ended up copying vtkParticleTracerBase to a new vtkParticleTracerBaseWithSink class. Then I duplicated the minimal amount of seed-related code I could get away with to be used with the sinks, e.g. GetSeedSources -> GetSinkSources, etc. The actual check against the sink radius happens in IntegrateParticle. For some reason, it crashes if the sinks are read from a .pvd time series, but works fine if they?re a legacy VTK file series. It also doesn?t behave quite right when reinjection is turned on. Reinjection appears to happen after IntegrateParticles? (I admit the program flow for this is confusing me) So for one timestep some particles might be within the sinks? effective radii. Mark From: Mathieu Westphal [mailto:mathieu.westphal at kitware.com] Sent: Thursday, October 19, 2017 2:03 AM To: Van Moer, Mark W Cc: ParaView Developers ; ParaView Subject: Re: [Paraview] Accessing particles generated by ParticleTracer Hello Regarding the Programmable Filter, you are right, there is no way to specify it upstream, you would need to keep a list of previously deleted particle that should stay deleted, definitelly not a great solution. Regarding the inheritance, you are right as well, but keep in mind that ParaView is Open Source and you can contribute to the code of the vtkParticleStreamer if you want and add some kind of check in the base class that you could redefine in your class if you want. Regarding the plugin loading problem, are you trying to load the plugin in the paraview release (not good) or in the paraview you build the plugin with (good). If this part is ok, then i would suggest first trying the examples plugins in ParaView source. You will find correctly written CMakeLists and you can work your way up from there. "paraview/Examples/Plugins/Filter" seems a good starting point. Just copy the folder somewhere, build it and check it can be loaded in ParaView. Let me know if you run into any troubles. Best, Mathieu Westphal On Wed, Oct 18, 2017 at 6:30 PM, Van Moer, Mark W > wrote: Hi Mathieu, Thanks for the suggestions. I tried having a Programmable Filter take the PolyData input, do the check, and write new PolyData output, and that kind of worked, except that particles could reappear after being deleted. That a particle was deleted wasn?t being sent back upstream to the Particle Tracer, upstream state changes aren?t supported as I understand it. I tried making a plugin by deriving from vtkParticleTracerBase and overriding RequestData() and IntegrateParticles(), however, that doesn?t work because they accesses private members of vtkParticleTracerBase. I also tried copying vtkParticleTracerBase to a new class and hacking on it directly, but I?m getting link errors when I try to load the plugin, like undefined symbol: _Z34vtkParticleTracerWithSinkBase_Init_P26vtkClientServerInterpreter (I was able to hack directly on vtkParticleTracerBase.cxx in the ParaView src tree and it worked as expected, but I would rather get a plugin working.) - When making a plugin based on an abstract VTK class, does something need to change in the CMakeLists.txt? I?m just guessing that?s where my issue with the link error is? Thanks, Mark From: Mathieu Westphal [mailto:mathieu.westphal at kitware.com] Sent: Tuesday, September 26, 2017 9:22 AM To: Van Moer, Mark W > Cc: ParaView Developers >; ParaView > Subject: Re: [Paraview] Accessing particles generated by ParticleTracer Hello Simplest way to go would be to add a Python Programmable Filter after the particle tracer, that process each point and does not copy it when it is too far from an arbitrary point. This would work, even with paraview release, but will not be so most efficient implementation. Harder way to go would be to copy(or inherit) the ParticleTracer as a new vtk filter and associated xml proxy plugin. And add a radius check in the code, probably in vtkParticleTracerBase::RequestData:1188 // if the particle is sent, remove it from the list - if (this->SendParticleToAnotherProcess(info,previous,this->OutputPointData)) + if (this->SendParticleToAnotherProcess(info,previous,this->OutputPointData) || !yourRadiusTest(point2)) { this->ParticleHistories.erase(it); particle_good = false; } much more efficient but you will need to know C++ and how to compile ParaView and a ParaView plugin. Best, Mathieu Westphal On Tue, Sep 26, 2017 at 3:53 PM, Van Moer, Mark W > wrote: Hi Mathieu, The full science context is, this is a simulation of a binary black hole system. The way the solver works, the black hole locations aren?t actually in the mesh, they?re stored as separate coordinates with an associated radius. The black holes orbit each other during the simulation, creating turbulence in the plasma (and magnetic field). I made a few videos of particles being advected by the plasma velocity. This was basically just the mesh, a seed source, and a Particle Tracer filter. This works fine, except that particles which get within the radius of each black hole end up coagulating and behaving non-physically. If I understand the scientist right, in the simulation itself, they are able to handle this somehow correctly, but that behavior doesn?t get translated to what?s saved in the mesh. That?s part 1. Part 2 of the vis, and this works, is that the plasma advected particles are used as seeds for streamlines through the magnetic field -- though there are streamlines coming out of non-physically correct particles. What I?d like is to be able to check of each of the actual particle locations vs the black hole locations and radii and if they?re within that radii, delete them (or hide them, make them transparent, whatever.) I was hoping this was something I could do with a programmable filter, but I?m open to any suggestions, including hacking on VTK source. Mark From: Mathieu Westphal [mailto:mathieu.westphal at kitware.com] Sent: Tuesday, September 26, 2017 2:47 AM To: Van Moer, Mark W >; ParaView Developers > Cc: ParaView > Subject: Re: [Paraview] Accessing particles generated by ParticleTracer Hello Can you give some context ? At which level of implementation are you trying to do that ? Best, Mathieu Westphal On Tue, Sep 26, 2017 at 12:09 AM, Van Moer, Mark W > wrote: Looks like I?d have to get at the std::vector ParticleVector that?s inherited from vtkParticleTracerBase? I?m guessing that?s not exposed by the proxy. Mark From: Van Moer, Mark W Sent: Monday, September 25, 2017 2:25 PM To: ParaView > Subject: Accessing particles generated by ParticleTracer Hi ParaView, Is it possible to get at the individual particles generated by ParticleTracer? I?ve been handed a mesh with a velocity field and an implied particle sink. I?d like to delete any particles that wander within a certain radius of that sink. My thought was if I could get at the array holding the particles I could check each distance and delete as necessary. Thanks, Mark _______________________________________________ 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 ke.gao.ut at gmail.com Tue Nov 14 16:45:06 2017 From: ke.gao.ut at gmail.com (Ke Gao) Date: Tue, 14 Nov 2017 14:45:06 -0700 Subject: [Paraview] How to read the file info in *pvd file Message-ID: Does anyone know how to read the file info from *pvd file? I know how to get the time step values, just using the keyword of ?TimestepValues?, however, I tried different ways, still haven?t figured out how to read the file info. Thanks -- .............................................................................................................................................. Ke Gao -------------- next part -------------- An HTML attachment was scrubbed... URL: From samuelkey at bresnan.net Tue Nov 14 17:32:10 2017 From: samuelkey at bresnan.net (Samuel Key) Date: Tue, 14 Nov 2017 15:32:10 -0700 Subject: [Paraview] SWKey: File extension for PV Readers? Message-ID: <2b530550-9998-63c9-1932-c9858521c00e@bresnan.net> Hi, I have an xyz.xmf file that loads just fine. By renaming the file to xyz.xmf3 I was able to get directly to Xdmf3 reader. Is there a file extension that can be used to get directly to the Xdmf3 'Top Level Partition' option? Thanks in advance for the bother. Samuel Key FMA Development 1005 39th Ave NE Great Falls, MT USA From wascott at sandia.gov Tue Nov 14 19:09:19 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Wed, 15 Nov 2017 00:09:19 +0000 Subject: [Paraview] Does pv support mili In-Reply-To: <55521C8C-EA64-42AE-B802-18CDD73770A3@sandia.gov> References: <55521C8C-EA64-42AE-B802-18CDD73770A3@sandia.gov> Message-ID: <0042E3CF-1B29-47C7-8220-C1D05959DAE1@sandia.gov> Hi all, I had a person come up to my demonstration at SC, and ask if ParaView can read Mili files? I believe Rich Cook worked on a Mili reader about 4 or 5 years ago. So, can ParaView read a Mili file? Thanks, Alan -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrealphus at gmail.com Tue Nov 14 19:56:58 2017 From: andrealphus at gmail.com (A) Date: Tue, 14 Nov 2017 16:56:58 -0800 Subject: [Paraview] programmable filter, OK in serial, FAILS in mpi In-Reply-To: References: Message-ID: Hi again! So I gave that a shot Berk (starting the server and client separatly), but it still fails (although now I can see the output). It seems like each thread is trying to operate on the data, but some of the threads have no data. E.g. if I do; from paraview.numpy_support import vtk_to_numpy import vtkCommonDataModelPython import numpy as np from scipy.optimize import curve_fit if type(self.GetInputDataObject(0,0)) is vtkCommonDataModelPython.vtkUnstructuredGrid and type(self.GetInputDataObject(0,1)) is vtkCommonDataModelPython.vtkPolyData: g = 0 p = 1 elif type(self.GetInputDataObject(0,1)) is vtkCommonDataModelPython.vtkUnstructuredGrid and type(self.GetInputDataObject(0,0)) is vtkCommonDataModelPython.vtkPolyData: g = 1 p = 0 else: print('ERROR') return # import the grid Vs = inputs[g].PointData['Vs'] depth = inputs[g].PointData['depth'] z = inputs[0].PointData['z'] # setup output output.PointData.append(Vs, 'Vs') output.PointData.append(depth, 'depth') output.PointData.append(z, 'z') # import the profile Vs_profile = inputs[p].PointData['Vs'] depth_profile = inputs[p].PointData['depth'] print(depth_profile) I get; [ nan nan nan nan nan nan nan -236.76765442 -674.57861328 -1112.38952637 -1550.20043945 -1988.04382324 -2425.89160156 -2863.73901367 -3301.58666992 -3739.43408203 -4177.28173828 -4615.12939453 -5053.00439453 -5491.04589844 -5929.25048828 -6367.58935547 -6806.04101562 -7244.6015625 -7683.24755859 -8121.96826172 -8560.76660156 -8999.62597656 -9438.54199219 -9877.5078125 -10316.52050781 -10755.57617188 -11194.66992188 -11633.79199219 -12072.91308594 -12512.03515625 -12951.15722656 -13390.27832031 -13829.40039062 -14268.52246094 -14707.64355469 -15146.765625 -15585.88769531 -16025.00878906 -16464.13085938 -16903.25195312 -17342.375 -17781.49609375 -18220.6171875 -18659.74023438 -19098.86132812 -19537.98242188 -19977.10546875 -20416.2265625 -20855.34765625 -21294.47070312 -21733.59179688 -22172.71289062 -22611.8359375 -23050.95703125 -23490.078125 -23929.20117188 -24368.32226562 -24807.44335938 -25246.56640625 -25685.6875 -26124.80859375 -26563.93164062 -27003.05273438 -27442.17382812 -27881.296875 -28320.41796875 -28759.5390625 -29198.66210938 -29637.78320312 -30076.90429688 -30516.02734375 -30955.1484375 -31394.26953125 -31833.39257812 -32272.51367188 -32711.63476562 -33150.7578125 -33589.87890625 -34029. -34468.12109375 -34907.24609375 -35346.3671875 -35785.48828125 -36224.609375 -36663.73046875 -37102.8515625 -37541.9765625 -37981.09765625 -38420.21875 -38859.33984375 -39298.4609375 -39737.58203125 -40176.70703125 -40615.828125 nan] When I try and run subsequent operations on the variable (like np.isnan(depth_profile)) it returns errors for the first 13 empty threads and vaild results for the 14th thread, but then pseudo-crashes. E.g. (same code as above but now with) nanx = np.argwhere(np.isnan(depth_profile)) output; TypeError: ufunc 'isnan' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe'' TypeError: ufunc 'isnan' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe'' TypeError: ufunc 'isnan' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe'' TypeError: ufunc 'isnan' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe'' TypeError: ufunc 'isnan' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe'' TypeError: ufunc 'isnan' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe'' TypeError: ufunc 'isnan' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe'' TypeError: ufunc 'isnan' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe'' So any idea on how to explicitly only make it only consider the valid thread? Or any other idea how to fix this? Once again, it works perfectly on serial, so is just an issue with how PV, myself, and the programmable filter are interacting with MPI. On Wed, Oct 11, 2017 at 12:37 PM, Berk Geveci wrote: > So instead of using the auto MPI stuff, try running the server manually. > Turn off auto MPI and then run the server on the command line with > something like: > > > /usr/bin/mpiexec -np 14 /home/ashton/Treetop/CHANGELIN > GS/installs/ParaView-05.08.2017/bin/pvserver > > Then start the client using something like: > > > /home/ashton/Treetop/CHANGELINGS/installs/ParaView-05.08.2017/bin/paraview > -url=cs://localhost:11111 > > Now the output on the server side should show up in the terminal where you > ran mpiexec. > > Best, > -berk > > > > On Wed, Oct 11, 2017 at 2:53 PM, A wrote: > >> Yup, compiled myself. MPI version, open mpi 1.10.2; >> >> ParaView-05.08.2017/bin/paraview >> AutoMPI: SUCCESS: command is: >> "/usr/bin/mpiexec" "-np" "14" "/home/ashton/Treetop/CHANGELI >> NGS/installs/ParaView-05.08.2017/bin/pvserver" "--server-port=35817" >> AutoMPI: starting process server >> -------------- server output -------------- >> Waiting for client... >> AutoMPI: server successfully started. >> AutoMPI: SUCCESS: command is: >> "/usr/bin/mpiexec" "-np" "14" "/home/ashton/Treetop/CHANGELI >> NGS/installs/ParaView-05.08.2017/bin/pvserver" "--server-port=43284" >> AutoMPI: starting process server >> Waiting for client... >> AutoMPI: server successfully started. >> >> /usr/bin/mpiexec --version >> mpiexec (OpenRTE) 1.10.2 >> >> >> I figured the print statements are getting lost somewhere along the way. >> I do a decent bit of multiprocessing in python, but unsure of the backend >> of how its done in Paraview when you set it up to use mpi and are using a >> programmable filter. I assume Paraview takes care of it itself, but not >> sure if this is correct. >> >> >> >> On Wed, Oct 11, 2017 at 10:56 AM, Berk Geveci >> wrote: >> >>> Hmmm that's weird. Did you compile yourself? Which MPI are you using? >>> Most MPI versions print out standard output on the terminal... Also, you >>> should probably print only from a single MPI rank to avoid clashes. You can >>> do that by getting rank using mpi4py... >>> >>> Best, >>> -berk >>> >>> On Wed, Oct 11, 2017 at 1:34 PM, A wrote: >>> >>>> Hi Berk! >>>> >>>> Yup when in mpi it's running from pvserver in a terminal. Sometimes >>>> errors print to that terminal window sometimes not. Print outputs never >>>> print to the terminal. >>>> >>>> The data sources are some home rolled netcdfs, and the filter in a >>>> middle step in a long processing chain. These files are several gbs >>>> >>>> >>>> On Oct 11, 2017 10:23 AM, "Berk Geveci" >>>> wrote: >>>> >>>> Hi Andre, >>>> >>>> Are you running pvserver explicitly? If you run it explicitly and >>>> connect with the GUI to it, the output of print statements should show up >>>> on the terminal you ran mpiexec/mpirun on. Once you do that and we know >>>> what the error is, I should be able to help more. >>>> >>>> PS: What is your data source? (file format?) >>>> >>>> Best, >>>> -berk >>>> >>>> On Tue, Oct 10, 2017 at 6:59 PM, A wrote: >>>> >>>>> I normally run Paraview on my workstation with mpi support (14 cores). >>>>> It's been working fine like this for a year. >>>>> >>>>> For some reason however, the debug/output messages windows dont work >>>>> when running in mpi (e.g. print "hello", returns nothing). But they do work >>>>> when I turn mpi off. >>>>> >>>>> I recently wrote a few new programmable filters, and while they work >>>>> perfectly with mpi off, the hand and dont do anything with mpi on. >>>>> >>>>> Any idea? >>>>> >>>>> -ashton >>>>> >>>>> p.s. heres one of the filters for example; >>>>> >>>>> from paraview.numpy_support import vtk_to_numpy >>>>> >>>>> import vtkCommonDataModelPython >>>>> >>>>> import numpy as np >>>>> >>>>> from scipy.optimize import curve_fit >>>>> >>>>> >>>>> if type(self.GetInputDataObject(0,0)) is vtkCommonDataModelPython.vtkUnstructuredGrid and type(self.GetInputDataObject(0,1)) is vtkCommonDataModelPython.vtkPolyData: >>>>> >>>>> g = 0 >>>>> >>>>> p = 1 >>>>> >>>>> elif type(self.GetInputDataObject(0,1)) is vtkCommonDataModelPython.vtkUnstructuredGrid and type(self.GetInputDataObject(0,0)) is vtkCommonDataModelPython.vtkPolyData: >>>>> >>>>> g = 1 >>>>> >>>>> p = 0 >>>>> >>>>> else: >>>>> >>>>> print('ERROR') >>>>> >>>>> return >>>>> >>>>> >>>>> # import the grid >>>>> >>>>> Vs = inputs[g].PointData['Vs'] >>>>> >>>>> depth = inputs[g].PointData['depth'] >>>>> >>>>> z = inputs[0].PointData['z'] >>>>> >>>>> >>>>> # setup output >>>>> >>>>> output.PointData.append(Vs, 'Vs') >>>>> >>>>> output.PointData.append(depth, 'depth') >>>>> >>>>> output.PointData.append(z, 'z') >>>>> >>>>> >>>>> # import the profile >>>>> >>>>> Vs_profile = inputs[p].PointData['Vs'] >>>>> >>>>> depth_profile = inputs[p].PointData['depth'] >>>>> >>>>> >>>>> def func(x, a, b, c, d,e): >>>>> >>>>> return a + b*x + c*x**2 + d*x**3 + e*x**4 >>>>> >>>>> >>>>> nanx = np.argwhere(np.isnan(depth_profile)) >>>>> >>>>> nany = np.argwhere(np.isnan(Vs_profile)) >>>>> >>>>> nani = np.unique(np.append(nanx,nany)) >>>>> >>>>> xdata = numpy.delete(depth_profile, nani) >>>>> >>>>> ydata = numpy.delete(Vs_profile, nani) >>>>> >>>>> >>>>> popt, pcov1 = curve_fit(func, xdata, ydata) >>>>> >>>>> >>>>> >>>>> Vs_theory = popt[0] + popt[1]*depth + popt[2]*depth**2 + popt[3]*depth**3 + popt[4]*depth**4 >>>>> >>>>> >>>>> diff = Vs - Vs_theory >>>>> >>>>> per_diff=100*diff/Vs_theory >>>>> >>>>> output.PointData.append(per_diff, 'perturbation') >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> 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 Tue Nov 14 22:32:49 2017 From: joachim.pouderoux at kitware.com (Joachim Pouderoux) Date: Wed, 15 Nov 2017 04:32:49 +0100 Subject: [Paraview] Does pv support mili In-Reply-To: <0042E3CF-1B29-47C7-8220-C1D05959DAE1@sandia.gov> References: <55521C8C-EA64-42AE-B802-18CDD73770A3@sandia.gov> <0042E3CF-1B29-47C7-8220-C1D05959DAE1@sandia.gov> Message-ID: Alan, There is a Mili reader (*.m *.mili) support through the Visit bridge (see visit_readers.xml). However, this reader depends on the Mili library and is not compiled by default - the CMake variable VISIT_BUILD_READER_Mili has to be turned ON explicitly. May be Robert Maynard or Sebastien Jourdain will be able to give more details on it... Best, Joachim *Joachim Pouderoux*, PhD *Technical Expert - Scientific Computing Team* *Kitware SAS * 2017-11-15 1:09 GMT+01:00 Scott, W Alan : > Hi all, > > I had a person come up to my demonstration at SC, and ask if ParaView can > read Mili files? I believe Rich Cook worked on a Mili reader about 4 or 5 > years ago. > > > > So, can ParaView read a Mili file? > > > > 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aashish.chaudhary at kitware.com Tue Nov 14 23:19:15 2017 From: aashish.chaudhary at kitware.com (Aashish Chaudhary) Date: Wed, 15 Nov 2017 04:19:15 +0000 Subject: [Paraview] Does pv support mili In-Reply-To: References: <55521C8C-EA64-42AE-B802-18CDD73770A3@sandia.gov> <0042E3CF-1B29-47C7-8220-C1D05959DAE1@sandia.gov> Message-ID: Mili is something that came from LLNL and although it will work using visit bridge, visit itself had a plan to improve the support. Here is the link https://www.visitusers.org/index.php?title=Mili_Support_Overhaul I did not follow up or know the current status. - aashish On Tue, Nov 14, 2017 at 10:33 PM Joachim Pouderoux < joachim.pouderoux at kitware.com> wrote: > Alan, > > There is a Mili reader (*.m *.mili) support through the Visit bridge (see > visit_readers.xml). > However, this reader depends on the Mili library and is not compiled by > default - the CMake variable > VISIT_BUILD_READER_Mili has to be turned ON explicitly. > May be Robert Maynard or Sebastien Jourdain will be able to give more > details on it... > > Best, > Joachim > > > > *Joachim Pouderoux*, PhD > > *Technical Expert - Scientific Computing Team* > *Kitware SAS * > > > 2017-11-15 1:09 GMT+01:00 Scott, W Alan : > >> Hi all, >> >> I had a person come up to my demonstration at SC, and ask if ParaView can >> read Mili files? I believe Rich Cook worked on a Mili reader about 4 or 5 >> years ago. >> >> >> >> So, can ParaView read a Mili file? >> >> >> >> 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 >> >> > _______________________________________________ > 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 rccm.kyoshimi at gmail.com Wed Nov 15 00:48:35 2017 From: rccm.kyoshimi at gmail.com (kenichiro yoshimi) Date: Wed, 15 Nov 2017 14:48:35 +0900 Subject: [Paraview] surface construction with holes In-Reply-To: <7A88BEB2-7128-416F-A7F7-BF1F0D5CEE28@sandia.gov> References: <7A88BEB2-7128-416F-A7F7-BF1F0D5CEE28@sandia.gov> Message-ID: Hi Ufuk, vtkSurfaceReconstructionFilter with programmable filter detects holes in your data although they are somewhat inaccurate. As Ken mentioned, it would fail for other shapes with holes. But I think it is a little funny approach. ---- import vtk pdi = self.GetInput() pdo = self.GetOutput() surf = vtk.vtkSurfaceReconstructionFilter() surf.SetInputData(pdi) surf.SetSampleSpacing(0.02) cf = vtk.vtkContourFilter() cf.SetInputConnection(surf.GetOutputPort()) cf.SetValue(0, 0.0) reverse = vtk.vtkReverseSense() reverse.SetInputConnection(cf.GetOutputPort()) reverse.ReverseCellsOn() reverse.ReverseNormalsOn() reverse.Update() pdo.ShallowCopy(reverse.GetOutput()) ---- Thanks 2017-11-15 0:04 GMT+09:00 Moreland, Kenneth : > Ufuk, > > The short answer is, no. You cannot keep the Delaunay2D filter from filling holes. > > The mathematical description of Delaunay triangulation fills in all the space in the convex hull of the points. The question about having the Delaunay triangulation keeping open space that is supposed to be empty comes up frequently on this list. However, generally identifying what should not be filled is not easy to describe, especially in a general sense. When you ask me about the ?hole? in your data, I, as a human, can immediately identify what you mean. But can you describe it in such a way that it can be easily picked out by a computer? I cannot. And even if we did come up with something, there is a good chance it would fail for holes of other shapes. > > That said, you might be able to resolve the problem by removing the triangles over the hole after you create the surface. I note that what you mean by a hole is a region where points are spread out, so we could start by removing big triangles. You can identify triangle size using the Mesh Quality filter. Add the Mesh Quality filter and change Triangle Quality Measure to Area. After you run that, use the threshold filter to remove all triangles with a ?quality? (actually area) greater than 0.01. > > That removes some of the triangles in the holes, but not all of them. You will also see that the remaining triangles are skinny ones that stretch across cords of the circular hole. So, we could also remove skinny triangles. Run the Mesh Quality filter again on the output, this time setting the Triangle Quality Measure to Radius Ratio. Then use the Threshold filter again to remove triangles greater than a value somewhere in the range of 5 to 15. You might notice at this point that it is getting difficult to specify values that work well around the holes along the sides. Low values start removing valid triangles on the sides. High values leave some of the holes covered. This is what I meant by it being difficult to describe the holes to a computer. > > An alternate approach is to select the triangles over the wholes, invert the selection, and then extract the selection. You could also do that to the result of the procedure I just gave you. > > One final note. You are using Delaunay 2D on a set of data that is 3D. I presume you are aware that Delaunay 2D is actually projecting all of your points onto a plane and finding a triangulation there. It is not finding a surface in 3D. The only way to find the true 3D surface (in ParaView) would be to do a Delaunay 3D and then extract the external faces. > > -Ken > > > On 11/14/17, 5:11 AM, "ParaView on behalf of Ufuk Utku Turuncoglu (BE)" wrote: > > Hi, > > I am trying to create surface for a poly data (see attached figure). In > this case, if i use Delaunay2D filter, it creates surface but it also > fills the holes. So, i just wonder that is it possible to create surface > for it without filling holes. You could also find a simple dataset as > attachment. > > 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 u.utku.turuncoglu at be.itu.edu.tr Wed Nov 15 03:12:57 2017 From: u.utku.turuncoglu at be.itu.edu.tr (Ufuk Utku Turuncoglu (BE)) Date: Wed, 15 Nov 2017 11:12:57 +0300 Subject: [Paraview] surface construction with holes In-Reply-To: References: <7A88BEB2-7128-416F-A7F7-BF1F0D5CEE28@sandia.gov> Message-ID: <752016cb-92d7-ba32-d3d1-f3a9af91c1f9@be.itu.edu.tr> Hi, Thanks for your suggestion. Actually the data is coming from one of my colleges and it belongs to Fermi Surfaces (x, y, and z coordinates for constant energy) generated by a code and we would like to generate an animation for surfaces that belongs to multiple energy levels for a teaching purposes. Anyway, i test it with the data it is better but it has some artifacts with simple shapes. For example, the attached plot a.png belongs to a almost sphere shape but in this case it has some artificial planes in the surface. For the data with holes it gives relatively good result with some minor artifacts. I also tested Ken's way. If i apply Delaunay 3D to the shape the result is very poor and it is hard to fix the artifacts with Mesh Quality filter. On the other hand, if i clip the shape to two symmetric ones and apply? Delaunay 2D to each of one along with Mesh Quality and Threshold filters as Ken described. The results are better (see c.png and d.png). Still it has artifacts that i don't know how could i fix. I am also considering to write data using unstructured mesh if it is possible but i have to try it. Anyway, thanks to both of you for your help. Best Regards, --ufuk On 15/11/2017 08:48, kenichiro yoshimi wrote: > Hi Ufuk, > > vtkSurfaceReconstructionFilter with programmable filter detects holes > in your data although they are somewhat inaccurate. As Ken mentioned, > it would fail for other shapes with holes. But I think it is a little > funny approach. > ---- > import vtk > > pdi = self.GetInput() > pdo = self.GetOutput() > > surf = vtk.vtkSurfaceReconstructionFilter() > surf.SetInputData(pdi) > surf.SetSampleSpacing(0.02) > > cf = vtk.vtkContourFilter() > cf.SetInputConnection(surf.GetOutputPort()) > cf.SetValue(0, 0.0) > > reverse = vtk.vtkReverseSense() > reverse.SetInputConnection(cf.GetOutputPort()) > reverse.ReverseCellsOn() > reverse.ReverseNormalsOn() > reverse.Update() > > pdo.ShallowCopy(reverse.GetOutput()) > ---- > > Thanks > > 2017-11-15 0:04 GMT+09:00 Moreland, Kenneth : >> Ufuk, >> >> The short answer is, no. You cannot keep the Delaunay2D filter from filling holes. >> >> The mathematical description of Delaunay triangulation fills in all the space in the convex hull of the points. The question about having the Delaunay triangulation keeping open space that is supposed to be empty comes up frequently on this list. However, generally identifying what should not be filled is not easy to describe, especially in a general sense. When you ask me about the ?hole? in your data, I, as a human, can immediately identify what you mean. But can you describe it in such a way that it can be easily picked out by a computer? I cannot. And even if we did come up with something, there is a good chance it would fail for holes of other shapes. >> >> That said, you might be able to resolve the problem by removing the triangles over the hole after you create the surface. I note that what you mean by a hole is a region where points are spread out, so we could start by removing big triangles. You can identify triangle size using the Mesh Quality filter. Add the Mesh Quality filter and change Triangle Quality Measure to Area. After you run that, use the threshold filter to remove all triangles with a ?quality? (actually area) greater than 0.01. >> >> That removes some of the triangles in the holes, but not all of them. You will also see that the remaining triangles are skinny ones that stretch across cords of the circular hole. So, we could also remove skinny triangles. Run the Mesh Quality filter again on the output, this time setting the Triangle Quality Measure to Radius Ratio. Then use the Threshold filter again to remove triangles greater than a value somewhere in the range of 5 to 15. You might notice at this point that it is getting difficult to specify values that work well around the holes along the sides. Low values start removing valid triangles on the sides. High values leave some of the holes covered. This is what I meant by it being difficult to describe the holes to a computer. >> >> An alternate approach is to select the triangles over the wholes, invert the selection, and then extract the selection. You could also do that to the result of the procedure I just gave you. >> >> One final note. You are using Delaunay 2D on a set of data that is 3D. I presume you are aware that Delaunay 2D is actually projecting all of your points onto a plane and finding a triangulation there. It is not finding a surface in 3D. The only way to find the true 3D surface (in ParaView) would be to do a Delaunay 3D and then extract the external faces. >> >> -Ken >> >> >> On 11/14/17, 5:11 AM, "ParaView on behalf of Ufuk Utku Turuncoglu (BE)" wrote: >> >> Hi, >> >> I am trying to create surface for a poly data (see attached figure). In >> this case, if i use Delaunay2D filter, it creates surface but it also >> fills the holes. So, i just wonder that is it possible to create surface >> for it without filling holes. You could also find a simple dataset as >> attachment. >> >> 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 -------------- A non-text attachment was scrubbed... Name: a.png Type: image/png Size: 91465 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: b.png Type: image/png Size: 61277 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: c.png Type: image/png Size: 54120 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: d.png Type: image/png Size: 46632 bytes Desc: not available URL: From ben.boeckel at kitware.com Wed Nov 15 09:07:04 2017 From: ben.boeckel at kitware.com (Ben Boeckel) Date: Wed, 15 Nov 2017 09:07:04 -0500 Subject: [Paraview] [EXTERNAL] Re: pvbatch In-Reply-To: <88633292-5379-4EA3-8979-CCBF01E1C7EF@sandia.gov> References: <8CA9A7F0-865B-482D-B3F7-0B3084148DEE@sandia.gov> <20171113160443.GA10302@megas.kitware.com> <88633292-5379-4EA3-8979-CCBF01E1C7EF@sandia.gov> Message-ID: <20171115140704.GB20219@megas.kitware.com> On Mon, Nov 13, 2017 at 22:04:19 +0000, Scott, W Alan wrote: > I believe this is a change from the past. Here is what I desire ? how > do I get it? > > I want to run pv(pythonScript). I want it to produce output. I want > it to run off screen, not showing on the console display or current > display. This is especially important on classified systems. MPI is > not available. > > Not too long ago, my understanding was this was pvbatch. pvpython > used either the console display or current display as it?s rendering > space. This does not catch my needs. Yeah, it seems I was mistaken. pvbatch is not conditional on MPI. If the superbuild is built with mesa and Python and without MPI, pvbatch should be there. I've filed an MR to fix the packaging/install step in the superbuild: https://gitlab.kitware.com/paraview/paraview-superbuild/merge_requests/388 --Ben From dennis_conklin at goodyear.com Wed Nov 15 09:51:58 2017 From: dennis_conklin at goodyear.com (Dennis Conklin) Date: Wed, 15 Nov 2017 14:51:58 +0000 Subject: [Paraview] Exodus multiblock dataset block numbers vs block Message-ID: All, Okay, maybe not the clearest email I've ever written! See the attached image: Here I have loaded a single block out of a multi-block dataset. It is the 24th block in the dataset. It was assigned the block_ID 101 at creation (we separate different blocks into different number ranges) So, it is shown in the Spreadsheet view as Block Number 25 (24+1) However, I need the Block_Name of this block. The block name is stored under: Input.GetBlock(0).GetMetaData(23).Get(vtk.vtkCompositeDataSet.NAME()) (23=24-1) In order to retrieve the name, I need to find the Block Number 25 (and subtract 2 from it). I have been unable to find this block_number. I can't count blocks to find out the block_number, because my Programmable filter only has this 1 block in it. So, does anyone know where this "Block Number" is stored? I'm wishing at this point that the Exodus reader had stored the block names in a dictionary with BlockID (ObjectID) as the key - then I could find the name. Any clues on how to determine the Block Number? Thanks Dennis -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Pic4.png Type: image/png Size: 23882 bytes Desc: Pic4.png URL: From shawn.waldon at kitware.com Wed Nov 15 10:00:34 2017 From: shawn.waldon at kitware.com (Shawn Waldon) Date: Wed, 15 Nov 2017 10:00:34 -0500 Subject: [Paraview] Exodus multiblock dataset block numbers vs block In-Reply-To: References: Message-ID: Hi Dennis, I can answer part of your question. The block number is the index in a pre-order traversal of the tree of blocks in the dataset. The root is element 0, its first child is 1, that block's first child (or if none, the root's second child) is 2 and so on. Your blocks with data are likely two levels down since your index has that offset (and your code backs this up since you are asking for the metadata of a child of the root's block 0). HTH, Shawn On Wed, Nov 15, 2017 at 9:51 AM, Dennis Conklin wrote: > All, > > > > Okay, maybe not the clearest email I?ve ever written! > > > > See the attached image: Here I have loaded a single block out of a > multi-block dataset. > > > > It is the 24th block in the dataset. > > It was assigned the block_ID 101 at creation (we separate different blocks > into different number ranges) > > So, it is shown in the Spreadsheet view as Block Number 25 (24+1) > > > > However, I need the Block_Name of this block. The block name is stored > under: > > Input.GetBlock(0).GetMetaData(23).Get(vtk.vtkCompositeDataSet.NAME()) > (23=24-1) > > > > In order to retrieve the name, I need to find the Block Number 25 (and > subtract 2 from it). > > > > I have been unable to find this block_number. I can?t count blocks to > find out the block_number, because my Programmable filter only has this 1 > block in it. > > > > So, does anyone know where this ?Block Number? is stored? I?m wishing > at this point that the Exodus reader had stored the block names in a > dictionary with BlockID (ObjectID) as the key ? then I could find the name. > > > > Any clues on how to determine the Block Number? > > > > Thanks > > 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cornelis.bockemuehl at gmail.com Wed Nov 15 10:09:57 2017 From: cornelis.bockemuehl at gmail.com (Cornelis =?ISO-8859-1?Q?Bockem=FChl?=) Date: Wed, 15 Nov 2017 16:09:57 +0100 Subject: [Paraview] OpenGL inside VMWare virtual machine Message-ID: <1510758597.3584.12.camel@gmail.com> Dear all, I know that I cannot go for any performance record with this setup, but having both systems available without reboot has advantages if it is about testing some new development. WOULD have - if it fully worked! So far it looks like I am "almost there" - however not knowing whether the last 10 meters will be feasible at all... This is my setup: Main system: Opensuse Linux "Leap" 42.3, with Paraview reporting the following in the About dialog: OpenGL Vendor: Intel Open Source Technology Center OpenGL Version: 3.3 (Core Profile) Mesa 17.0.5 OpenGL Renderer: Mesa DRI Intel(R) Ivybridge Mobile On this system Paraview (latest version, self compiled) runs just fine. Guest system inside VMWare Player version 14: Windows 10, with Paraview reporting the following: OpenGL Vendor: VMware, Inc. OpenGL Version: 3.3 (Core Profile) Mesa 11.2.0 (git-b9d3786) OpenGL Renderer: Gallium 0.4 on SVGA3D; build: RELEASE; LLVM; Here Paraview immediately complains on startup, reporting the following in the message output dialog: see below. For me the version numbers look ok (OpenGL 3.3 is more than 3.2, and Mesa 11.2.0 is more than 10.6.5), but there is some "fineprint" about shader capabilities that are going a bit above my understanding... Anybody able to help with this? Any possibility to "cheat" somehow? Note that I am certainly not going to render billions of data in this configuration! Or should I abandon this tricky setup altogether? Thanks and regards, Cornelis Here the error output from the Windows Paraview inside the VMWare virtual machine: ERROR: In Z:\ultrabay\ParaView\Sources\ParaView- v5.4.1\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 831 vtkGenericOpenGLRenderWindow (000002438C350630): GL version 2.1 with the gpu_shader4 extension is not supported by your graphics driver but is required for the new OpenGL rendering backend. Please update your OpenGL driver. If you are using Mesa please make sure you have version 10.6.5 or later and make sure your driver in Mesa supports OpenGL 3.2. ERROR: In Z:\ultrabay\ParaView\Sources\ParaView- v5.4.1\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 vtkShaderProgram (000002438C1B80C0): 1: #version 150 2: #ifdef GL_ES 3: #if __VERSION__ == 300 4: #define attribute in 5: #define varying out 6: #endif // 300 7: #else // GL_ES 8: #define highp 9: #define mediump 10: #define lowp 11: #if __VERSION__ == 150 12: #define attribute in 13: #define varying out 14: #endif 15: #endif // GL_ES 16:? 17:? 18: /*===================================================================== ==== 19:? 20:???Program:???Visualization Toolkit 21:???Module:????vtkPolyDataVS.glsl 22:? 23:???Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 24:???All rights reserved. 25:???See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 26:? 27:??????This software is distributed WITHOUT ANY WARRANTY; without even 28:??????the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 29:??????PURPOSE.??See the above copyright notice for more information. 30:? 31: ======================================================================= ==*/ 32:? 33: attribute vec4 vertexMC; 34:? 35: // frag position in VC 36: //VTK::PositionVC::Dec 37:? 38: // optional normal declaration 39: //VTK::Normal::Dec 40:? 41: // extra lighting parameters 42: //VTK::Light::Dec 43:? 44: // Texture coordinates 45: //VTK::TCoord::Dec 46:? 47: // material property values 48: //VTK::Color::Dec 49:? 50: // clipping plane vars 51: //VTK::Clip::Dec 52:? 53: // camera and actor matrix values 54: uniform mat4 MCDCMatrix; 55:? 56: // Apple Bug 57: //VTK::PrimID::Dec 58:? 59: // Value raster 60: //VTK::ValuePass::Dec 61:? 62: void main() 63: { 64:???//VTK::Color::Impl 65:? 66:???//VTK::Normal::Impl 67:? 68:???//VTK::TCoord::Impl 69:? 70:???//VTK::Clip::Impl 71:? 72:???//VTK::PrimID::Impl 73:? 74:?????gl_Position = MCDCMatrix * vertexMC; 75:? 76:? 77:???//VTK::ValuePass::Impl 78:? 79:???//VTK::Light::Impl 80: } 81:? ERROR: In Z:\ultrabay\ParaView\Sources\ParaView- v5.4.1\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 vtkShaderProgram (000002438C1B80C0): 0:1(10): error: GLSL 1.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdavyd at gmail.com Wed Nov 15 11:10:07 2017 From: sdavyd at gmail.com (Sonya Davydycheva) Date: Wed, 15 Nov 2017 10:10:07 -0600 Subject: [Paraview] GoCAD and Earth Vision grid files *.ts & *.evgd Message-ID: Hello, 1) Is it possible to read/import GoCAD file *.ts (triangulated surfaces) using ParaView, with a possibility to further read its data in ascii format, or convert to a 3D function of space point (x,y,z)? 2) The same question about Earth Vision grid and the respective files *.evgd: can I read/import them and transfer to ascii or 3D function(x,y,z) using ParaView? Thank you, Sonya Davydycheva (713)498-6139 -------------- next part -------------- An HTML attachment was scrubbed... URL: From dennis_conklin at goodyear.com Wed Nov 15 11:21:20 2017 From: dennis_conklin at goodyear.com (Dennis Conklin) Date: Wed, 15 Nov 2017 16:21:20 +0000 Subject: [Paraview] [EXT] Re: Exodus multiblock dataset block numbers vs block In-Reply-To: References: Message-ID: Shawn, I grok the origin of the non-intuitive, better omitted than displayed, highly confusing, should be replaced with block names, block numbers. However, in my Programmable filter I just have a single block and I need the index into the block name ? I?m not sure it exists anywhere that I can access. Dennis From: Shawn Waldon [mailto:shawn.waldon at kitware.com] Sent: Wednesday, November 15, 2017 10:01 AM To: Dennis Conklin Cc: Paraview (paraview at paraview.org) Subject: [EXT] Re: [Paraview] Exodus multiblock dataset block numbers vs block WARNING - External email; exercise caution. Hi Dennis, I can answer part of your question. The block number is the index in a pre-order traversal of the tree of blocks in the dataset. The root is element 0, its first child is 1, that block's first child (or if none, the root's second child) is 2 and so on. Your blocks with data are likely two levels down since your index has that offset (and your code backs this up since you are asking for the metadata of a child of the root's block 0). HTH, Shawn On Wed, Nov 15, 2017 at 9:51 AM, Dennis Conklin > wrote: All, Okay, maybe not the clearest email I?ve ever written! See the attached image: Here I have loaded a single block out of a multi-block dataset. It is the 24th block in the dataset. It was assigned the block_ID 101 at creation (we separate different blocks into different number ranges) So, it is shown in the Spreadsheet view as Block Number 25 (24+1) However, I need the Block_Name of this block. The block name is stored under: Input.GetBlock(0).GetMetaData(23).Get(vtk.vtkCompositeDataSet.NAME()) (23=24-1) In order to retrieve the name, I need to find the Block Number 25 (and subtract 2 from it). I have been unable to find this block_number. I can?t count blocks to find out the block_number, because my Programmable filter only has this 1 block in it. So, does anyone know where this ?Block Number? is stored? I?m wishing at this point that the Exodus reader had stored the block names in a dictionary with BlockID (ObjectID) as the key ? then I could find the name. Any clues on how to determine the Block Number? Thanks 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ken.martin at kitware.com Wed Nov 15 11:40:43 2017 From: ken.martin at kitware.com (Ken Martin) Date: Wed, 15 Nov 2017 11:40:43 -0500 Subject: [Paraview] OpenGL inside VMWare virtual machine In-Reply-To: <1510758597.3584.12.camel@gmail.com> References: <1510758597.3584.12.camel@gmail.com> Message-ID: This could be a PV Qt interaction. Try setting MESA_GL_VERSION_OVERRIDE=3.2 in your environment Basically there is a bug in Qt on windows where it refuses to see the 3.2 context from Mesa because it is not a compatibility context. On Wed, Nov 15, 2017 at 10:09 AM, Cornelis Bockem?hl < cornelis.bockemuehl at gmail.com> wrote: > Dear all, > > I know that I cannot go for any performance record with this setup, but > having both systems available without reboot has advantages if it is about > testing some new development. WOULD have - if it fully worked! So far it > looks like I am "almost there" - however not knowing whether the last 10 > meters will be feasible at all... > > This is my setup: > > Main system: Opensuse Linux "Leap" 42.3, with Paraview reporting the > following in the About dialog: > OpenGL Vendor: Intel Open Source Technology Center > OpenGL Version: 3.3 (Core Profile) Mesa 17.0.5 > OpenGL Renderer: Mesa DRI Intel(R) Ivybridge Mobile > > On this system Paraview (latest version, self compiled) runs just fine. > > Guest system inside VMWare Player version 14: Windows 10, with Paraview > reporting the following: > OpenGL Vendor: VMware, Inc. > OpenGL Version: 3.3 (Core Profile) Mesa 11.2.0 (git-b9d3786) > OpenGL Renderer: Gallium 0.4 on SVGA3D; build: RELEASE; LLVM; > > Here Paraview immediately complains on startup, reporting the following in > the message output dialog: see below. > > For me the version numbers look ok (OpenGL 3.3 is more than 3.2, and Mesa > 11.2.0 is more than 10.6.5), but there is some "fineprint" about shader > capabilities that are going a bit above my understanding... > > Anybody able to help with this? > > Any possibility to "cheat" somehow? Note that I am certainly not going to > render billions of data in this configuration! > > Or should I abandon this tricky setup altogether? > > Thanks and regards, > Cornelis > > Here the error output from the Windows Paraview inside the VMWare virtual > machine: > > ERROR: In Z:\ultrabay\ParaView\Sources\ParaView-v5.4.1\VTK\Rendering\ > OpenGL2\vtkOpenGLRenderWindow.cxx, line 831 > vtkGenericOpenGLRenderWindow (000002438C350630): GL version 2.1 with the > gpu_shader4 extension is not supported by your graphics driver but is > required for the new OpenGL rendering backend. Please update your OpenGL > driver. If you are using Mesa please make sure you have version 10.6.5 or > later and make sure your driver in Mesa supports OpenGL 3.2. > > ERROR: In Z:\ultrabay\ParaView\Sources\ParaView-v5.4.1\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 408 > vtkShaderProgram (000002438C1B80C0): 1: #version 150 > 2: #ifdef GL_ES > 3: #if __VERSION__ == 300 > 4: #define attribute in > 5: #define varying out > 6: #endif // 300 > 7: #else // GL_ES > 8: #define highp > 9: #define mediump > 10: #define lowp > 11: #if __VERSION__ == 150 > 12: #define attribute in > 13: #define varying out > 14: #endif > 15: #endif // GL_ES > 16: > 17: > 18: /*========================================================== > =============== > 19: > 20: Program: Visualization Toolkit > 21: Module: vtkPolyDataVS.glsl > 22: > 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > 24: All rights reserved. > 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for > details. > 26: > 27: This software is distributed WITHOUT ANY WARRANTY; without even > 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A > PARTICULAR > 29: PURPOSE. See the above copyright notice for more information. > 30: > 31: ============================================================ > =============*/ > 32: > 33: attribute vec4 vertexMC; > 34: > 35: // frag position in VC > 36: //VTK::PositionVC::Dec > 37: > 38: // optional normal declaration > 39: //VTK::Normal::Dec > 40: > 41: // extra lighting parameters > 42: //VTK::Light::Dec > 43: > 44: // Texture coordinates > 45: //VTK::TCoord::Dec > 46: > 47: // material property values > 48: //VTK::Color::Dec > 49: > 50: // clipping plane vars > 51: //VTK::Clip::Dec > 52: > 53: // camera and actor matrix values > 54: uniform mat4 MCDCMatrix; > 55: > 56: // Apple Bug > 57: //VTK::PrimID::Dec > 58: > 59: // Value raster > 60: //VTK::ValuePass::Dec > 61: > 62: void main() > 63: { > 64: //VTK::Color::Impl > 65: > 66: //VTK::Normal::Impl > 67: > 68: //VTK::TCoord::Impl > 69: > 70: //VTK::Clip::Impl > 71: > 72: //VTK::PrimID::Impl > 73: > 74: gl_Position = MCDCMatrix * vertexMC; > 75: > 76: > 77: //VTK::ValuePass::Impl > 78: > 79: //VTK::Light::Impl > 80: } > 81: > > > ERROR: In Z:\ultrabay\ParaView\Sources\ParaView-v5.4.1\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, > line 409 > vtkShaderProgram (000002438C1B80C0): 0:1(10): error: GLSL 1.50 is not > supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES > > _______________________________________________ > 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 Distinguished Engineer Kitware Inc. 28 Corporate Drive Clifton Park NY 12065 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 cory.quammen at kitware.com Wed Nov 15 12:33:25 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Wed, 15 Nov 2017 12:33:25 -0500 Subject: [Paraview] How to read the file info in *pvd file In-Reply-To: References: Message-ID: What do you mean by "file info"? File name? Size of the file? Data arrays in the file? - Cory On Tue, Nov 14, 2017 at 4:45 PM, Ke Gao wrote: > Does anyone know how to read the file info from *pvd file? I know how to > get the time step values, just using the keyword of ?TimestepValues?, > however, I tried different ways, still haven?t figured out how to read the > file info. > > Thanks > > > > > > > > -- > ............................................................ > ............................................................ > ...................... > Ke Gao > > _______________________________________________ > 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 ke.gao.ut at gmail.com Wed Nov 15 12:35:49 2017 From: ke.gao.ut at gmail.com (Ke Gao) Date: Wed, 15 Nov 2017 10:35:49 -0700 Subject: [Paraview] How to read the file info in *pvd file In-Reply-To: References: Message-ID: Hi, I mean how to get the file name info such as "Sout_1012.pvtu", "Sout_1013.pvtu". Currently I can only read the timestep info such as "+1.98800000e+03". Many thanks. On Wed, Nov 15, 2017 at 10:33 AM, Cory Quammen wrote: > What do you mean by "file info"? File name? Size of the file? Data arrays > in the file? > > - Cory > > On Tue, Nov 14, 2017 at 4:45 PM, Ke Gao wrote: > >> Does anyone know how to read the file info from *pvd file? I know how to >> get the time step values, just using the keyword of ?TimestepValues?, >> however, I tried different ways, still haven?t figured out how to read the >> file info. >> >> Thanks >> >> >> >> >> > file="Sout_1012.pvtu"/> >> > file="Sout_1013.pvtu"/> >> > file="Sout_1014.pvtu"/> >> -- >> ............................................................ >> ............................................................ >> ...................... >> Ke Gao >> >> _______________________________________________ >> 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. > -- .............................................................................................................................................. Ke Gao -------------- next part -------------- An HTML attachment was scrubbed... URL: From aashish.chaudhary at kitware.com Wed Nov 15 12:46:27 2017 From: aashish.chaudhary at kitware.com (Aashish Chaudhary) Date: Wed, 15 Nov 2017 17:46:27 +0000 Subject: [Paraview] GoCAD and Earth Vision grid files *.ts & *.evgd In-Reply-To: References: Message-ID: I do not think that GoCAR ASCII (ts) files are directly readable in ParaView. Although there is a reader in this repo http://paraviewgeo.objectivity.ca/documentation/user-manual/supported-formats that you could bring into ParaView / VTK. If that is the case, we would be happy to help bringing in the reader in VTK / ParaView. thanks On Wed, Nov 15, 2017 at 11:10 AM Sonya Davydycheva wrote: > Hello, > > 1) Is it possible to read/import GoCAD file *.ts (triangulated surfaces) > using ParaView, with a possibility to further read its data in ascii > format, or convert to a 3D function of space point (x,y,z)? > > 2) The same question about Earth Vision grid and the respective files > *.evgd: can I read/import them and transfer to ascii or 3D function(x,y,z) > using ParaView? > > Thank you, > > Sonya Davydycheva > (713)498-6139 > > _______________________________________________ > 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 15 12:46:47 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Wed, 15 Nov 2017 12:46:47 -0500 Subject: [Paraview] [EXTERNAL] Re: pvbatch In-Reply-To: <88633292-5379-4EA3-8979-CCBF01E1C7EF@sandia.gov> References: <8CA9A7F0-865B-482D-B3F7-0B3084148DEE@sandia.gov> <20171113160443.GA10302@megas.kitware.com> <88633292-5379-4EA3-8979-CCBF01E1C7EF@sandia.gov> Message-ID: Alan, You should be able to run pvpython --force-offscreen-rendering script.py and no render window will appear. The help for --force-offscreen-rendering says: "If supported by the build and platform, create headless (offscreen) render windows for rendering results." I believe this should work on linux systems, but you should try it out on the system on which you want to force offscreen rendering just to be sure before using it to produce classified images. pvbatch running the same script will indeed not pop up a render window even without the --force-offscreen-rendering option. Let us know how it goes, Cory On Mon, Nov 13, 2017 at 5:04 PM, Scott, W Alan wrote: > Ben, > I believe this is a change from the past. Here is what I desire ? how do > I get it? > > I want to run pv(pythonScript). I want it to produce output. I want it > to run off screen, not showing on the console display or current display. > This is especially important on classified systems. MPI is not available. > > Not too long ago, my understanding was this was pvbatch. pvpython used > either the console display or current display as it?s rendering space. > This does not catch my needs. > > Alan > > On 11/13/17, 9:04 AM, "Ben Boeckel" wrote: > > On Sun, Nov 12, 2017 at 22:42:29 +0000, Scott, W Alan wrote: > > What are the magic cmake switches, for superbuild, that are used to > > build a non MPI, Mesa version of pvbatch? Where is this documented? > > pvpython is the non-MPI version of pvbatch. The superbuild docs could > probably be improved here. Currently, the mention is: > > ParaView supports multiple rendering engines including `egl`, > `mesa`, `osmesa`, and `qt5`. All of these are incompatible with > each > other. If none of these are chosen, a UI-less ParaView will be > built > (basically just `pvpython`). On Windows and macOS, only the `qt5` > rendering engine is available. > > --Ben > > > _______________________________________________ > 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 aashish.chaudhary at kitware.com Wed Nov 15 12:51:32 2017 From: aashish.chaudhary at kitware.com (Aashish Chaudhary) Date: Wed, 15 Nov 2017 17:51:32 +0000 Subject: [Paraview] GoCAD and Earth Vision grid files *.ts & *.evgd In-Reply-To: References: Message-ID: the actual code location is here: https://github.com/ObjectivitySRC/PVGPlugins/tree/master/Readers/GocadReader Let us know if you decide to bring in this code into VTK / ParaView as we will be very interested in it as well. Thanks, On Wed, Nov 15, 2017 at 12:46 PM Aashish Chaudhary < aashish.chaudhary at kitware.com> wrote: > I do not think that GoCAR ASCII (ts) files are directly readable in > ParaView. Although there is a reader in this repo > http://paraviewgeo.objectivity.ca/documentation/user-manual/supported-formats that > you could bring into ParaView / VTK. If that is the case, we would be happy > to help bringing in the reader in VTK / ParaView. > > thanks > > > On Wed, Nov 15, 2017 at 11:10 AM Sonya Davydycheva > wrote: > >> Hello, >> >> 1) Is it possible to read/import GoCAD file *.ts (triangulated surfaces) >> using ParaView, with a possibility to further read its data in ascii >> format, or convert to a 3D function of space point (x,y,z)? >> >> 2) The same question about Earth Vision grid and the respective files >> *.evgd: can I read/import them and transfer to ascii or 3D function(x,y,z) >> using ParaView? >> >> Thank you, >> >> Sonya Davydycheva >> (713)498-6139 >> >> _______________________________________________ >> 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 Wed Nov 15 12:54:28 2017 From: cornelis.bockemuehl at gmail.com (=?UTF-8?Q?Cornelis_Bockem=C3=BChl?=) Date: Wed, 15 Nov 2017 18:54:28 +0100 Subject: [Paraview] OpenGL inside VMWare virtual machine In-Reply-To: References: <1510758597.3584.12.camel@gmail.com> Message-ID: Thanks for the hint: I will definitely try this! Only one question: you write environment which sounds like an environment variable, but maybe you mean a variable ti be set in the CMake configuration!?! Regards, Cornelis Am 15.11.2017 17:40 schrieb "Ken Martin" : > This could be a PV Qt interaction. Try setting MESA_GL_VERSION_OVERRIDE=3.2 > in your environment > > Basically there is a bug in Qt on windows where it refuses to see the 3.2 > context from Mesa because it is not a compatibility context. > > On Wed, Nov 15, 2017 at 10:09 AM, Cornelis Bockem?hl < > cornelis.bockemuehl at gmail.com> wrote: > >> Dear all, >> >> I know that I cannot go for any performance record with this setup, but >> having both systems available without reboot has advantages if it is about >> testing some new development. WOULD have - if it fully worked! So far it >> looks like I am "almost there" - however not knowing whether the last 10 >> meters will be feasible at all... >> >> This is my setup: >> >> Main system: Opensuse Linux "Leap" 42.3, with Paraview reporting the >> following in the About dialog: >> OpenGL Vendor: Intel Open Source Technology Center >> OpenGL Version: 3.3 (Core Profile) Mesa 17.0.5 >> OpenGL Renderer: Mesa DRI Intel(R) Ivybridge Mobile >> >> On this system Paraview (latest version, self compiled) runs just fine. >> >> Guest system inside VMWare Player version 14: Windows 10, with Paraview >> reporting the following: >> OpenGL Vendor: VMware, Inc. >> OpenGL Version: 3.3 (Core Profile) Mesa 11.2.0 (git-b9d3786) >> OpenGL Renderer: Gallium 0.4 on SVGA3D; build: RELEASE; LLVM; >> >> Here Paraview immediately complains on startup, reporting the following >> in the message output dialog: see below. >> >> For me the version numbers look ok (OpenGL 3.3 is more than 3.2, and Mesa >> 11.2.0 is more than 10.6.5), but there is some "fineprint" about shader >> capabilities that are going a bit above my understanding... >> >> Anybody able to help with this? >> >> Any possibility to "cheat" somehow? Note that I am certainly not going to >> render billions of data in this configuration! >> >> Or should I abandon this tricky setup altogether? >> >> Thanks and regards, >> Cornelis >> >> Here the error output from the Windows Paraview inside the VMWare virtual >> machine: >> >> ERROR: In Z:\ultrabay\ParaView\Sources\ParaView-v5.4.1\VTK\Rendering\O >> penGL2\vtkOpenGLRenderWindow.cxx, line 831 >> vtkGenericOpenGLRenderWindow (000002438C350630): GL version 2.1 with the >> gpu_shader4 extension is not supported by your graphics driver but is >> required for the new OpenGL rendering backend. Please update your OpenGL >> driver. If you are using Mesa please make sure you have version 10.6.5 or >> later and make sure your driver in Mesa supports OpenGL 3.2. >> >> ERROR: In Z:\ultrabay\ParaView\Sources\ParaView-v5.4.1\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 408 >> vtkShaderProgram (000002438C1B80C0): 1: #version 150 >> 2: #ifdef GL_ES >> 3: #if __VERSION__ == 300 >> 4: #define attribute in >> 5: #define varying out >> 6: #endif // 300 >> 7: #else // GL_ES >> 8: #define highp >> 9: #define mediump >> 10: #define lowp >> 11: #if __VERSION__ == 150 >> 12: #define attribute in >> 13: #define varying out >> 14: #endif >> 15: #endif // GL_ES >> 16: >> 17: >> 18: /*========================================================== >> =============== >> 19: >> 20: Program: Visualization Toolkit >> 21: Module: vtkPolyDataVS.glsl >> 22: >> 23: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen >> 24: All rights reserved. >> 25: See Copyright.txt or http://www.kitware.com/Copyright.htm for >> details. >> 26: >> 27: This software is distributed WITHOUT ANY WARRANTY; without even >> 28: the implied warranty of MERCHANTABILITY or FITNESS FOR A >> PARTICULAR >> 29: PURPOSE. See the above copyright notice for more information. >> 30: >> 31: ============================================================ >> =============*/ >> 32: >> 33: attribute vec4 vertexMC; >> 34: >> 35: // frag position in VC >> 36: //VTK::PositionVC::Dec >> 37: >> 38: // optional normal declaration >> 39: //VTK::Normal::Dec >> 40: >> 41: // extra lighting parameters >> 42: //VTK::Light::Dec >> 43: >> 44: // Texture coordinates >> 45: //VTK::TCoord::Dec >> 46: >> 47: // material property values >> 48: //VTK::Color::Dec >> 49: >> 50: // clipping plane vars >> 51: //VTK::Clip::Dec >> 52: >> 53: // camera and actor matrix values >> 54: uniform mat4 MCDCMatrix; >> 55: >> 56: // Apple Bug >> 57: //VTK::PrimID::Dec >> 58: >> 59: // Value raster >> 60: //VTK::ValuePass::Dec >> 61: >> 62: void main() >> 63: { >> 64: //VTK::Color::Impl >> 65: >> 66: //VTK::Normal::Impl >> 67: >> 68: //VTK::TCoord::Impl >> 69: >> 70: //VTK::Clip::Impl >> 71: >> 72: //VTK::PrimID::Impl >> 73: >> 74: gl_Position = MCDCMatrix * vertexMC; >> 75: >> 76: >> 77: //VTK::ValuePass::Impl >> 78: >> 79: //VTK::Light::Impl >> 80: } >> 81: >> >> >> ERROR: In Z:\ultrabay\ParaView\Sources\ParaView-v5.4.1\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, >> line 409 >> vtkShaderProgram (000002438C1B80C0): 0:1(10): error: GLSL 1.50 is not >> supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES >> >> _______________________________________________ >> 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 > Distinguished Engineer > Kitware Inc. > 28 Corporate Drive > > Clifton Park NY 12065 > > > 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 dennis_conklin at goodyear.com Wed Nov 15 12:55:26 2017 From: dennis_conklin at goodyear.com (Dennis Conklin) Date: Wed, 15 Nov 2017 17:55:26 +0000 Subject: [Paraview] Animation .avi output not working in v5.4.1, working in v4.4 Message-ID: Anyone else seeing this? I'm getting the same msg I was getting in v4.4 (but in v4.4 it still produced a useable animation). [avi @ 0x8ec35c0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [avi @ 0x8ec35c0] Encoder did not produce proper pts, making some up. Dennis -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdavyd at gmail.com Wed Nov 15 12:56:56 2017 From: sdavyd at gmail.com (Sonya Davydycheva) Date: Wed, 15 Nov 2017 11:56:56 -0600 Subject: [Paraview] GoCAD and Earth Vision grid files *.ts & *.evgd In-Reply-To: References: Message-ID: Thank you Aashish, But the link you provided includes: - GoCad ASCII Files (*.gp, *.ts, *.pl, *.vs, *.vts, *.vo, *.sg) (see Bottom of Supported Readers). Does it mean GoCAD files are doable already? Or, something still needs to be added to Paraview, to read them? Sonya Davydycheva (713)498-6139 On Wed, Nov 15, 2017 at 11:51 AM, Aashish Chaudhary < aashish.chaudhary at kitware.com> wrote: > the actual code location is here: https://github.com/ > ObjectivitySRC/PVGPlugins/tree/master/Readers/GocadReader > > Let us know if you decide to bring in this code into VTK / ParaView as we > will be very interested in it as well. > > Thanks, > > > On Wed, Nov 15, 2017 at 12:46 PM Aashish Chaudhary < > aashish.chaudhary at kitware.com> wrote: > >> I do not think that GoCAR ASCII (ts) files are directly readable in >> ParaView. Although there is a reader in this repo http://paraviewgeo. >> objectivity.ca/documentation/user-manual/supported-formats that you >> could bring into ParaView / VTK. If that is the case, we would be happy to >> help bringing in the reader in VTK / ParaView. >> >> thanks >> >> >> On Wed, Nov 15, 2017 at 11:10 AM Sonya Davydycheva >> wrote: >> >>> Hello, >>> >>> 1) Is it possible to read/import GoCAD file *.ts (triangulated surfaces) >>> using ParaView, with a possibility to further read its data in ascii >>> format, or convert to a 3D function of space point (x,y,z)? >>> >>> 2) The same question about Earth Vision grid and the respective files >>> *.evgd: can I read/import them and transfer to ascii or 3D function(x,y,z) >>> using ParaView? >>> >>> Thank you, >>> >>> Sonya Davydycheva >>> (713)498-6139 >>> >>> _______________________________________________ >>> 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 Wed Nov 15 12:59:13 2017 From: aashish.chaudhary at kitware.com (Aashish Chaudhary) Date: Wed, 15 Nov 2017 17:59:13 +0000 Subject: [Paraview] GoCAD and Earth Vision grid files *.ts & *.evgd In-Reply-To: References: Message-ID: the code I pointed to is based on a older version of the VTK and ParaView and needs to be ported to newer VTK and ParaView. I do not expect it will be lot of work but some work and we can help you over the email if needed. Thanks On Wed, Nov 15, 2017 at 12:56 PM Sonya Davydycheva wrote: > Thank you Aashish, > > But the link you provided includes: > > - GoCad ASCII Files (*.gp, *.ts, *.pl, *.vs, *.vts, *.vo, *.sg) > > (see Bottom of Supported Readers). > Does it mean GoCAD files are doable already? Or, something still needs to > be added to Paraview, to read them? > > Sonya Davydycheva > (713)498-6139 > > > On Wed, Nov 15, 2017 at 11:51 AM, Aashish Chaudhary < > aashish.chaudhary at kitware.com> wrote: > >> the actual code location is here: >> https://github.com/ObjectivitySRC/PVGPlugins/tree/master/Readers/GocadReader >> >> >> Let us know if you decide to bring in this code into VTK / ParaView as we >> will be very interested in it as well. >> >> Thanks, >> >> >> On Wed, Nov 15, 2017 at 12:46 PM Aashish Chaudhary < >> aashish.chaudhary at kitware.com> wrote: >> >>> I do not think that GoCAR ASCII (ts) files are directly readable in >>> ParaView. Although there is a reader in this repo >>> http://paraviewgeo.objectivity.ca/documentation/user-manual/supported-formats that >>> you could bring into ParaView / VTK. If that is the case, we would be happy >>> to help bringing in the reader in VTK / ParaView. >>> >>> thanks >>> >>> >>> On Wed, Nov 15, 2017 at 11:10 AM Sonya Davydycheva >>> wrote: >>> >>>> Hello, >>>> >>>> 1) Is it possible to read/import GoCAD file *.ts (triangulated >>>> surfaces) using ParaView, with a possibility to further read its data in >>>> ascii format, or convert to a 3D function of space point (x,y,z)? >>>> >>>> 2) The same question about Earth Vision grid and the respective files >>>> *.evgd: can I read/import them and transfer to ascii or 3D function(x,y,z) >>>> using ParaView? >>>> >>>> Thank you, >>>> >>>> Sonya Davydycheva >>>> (713)498-6139 >>>> >>>> _______________________________________________ >>>> 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 15 13:05:18 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Wed, 15 Nov 2017 13:05:18 -0500 Subject: [Paraview] How to read the file info in *pvd file In-Reply-To: References: Message-ID: The file names are embedded in the same XML element as the time step: But I'll be that's not how you want to access them. Next question: From where do you want to access the file names? A Python script? In the UI? On Wed, Nov 15, 2017 at 12:35 PM, Ke Gao wrote: > Hi, > > I mean how to get the file name info such as "Sout_1012.pvtu", > "Sout_1013.pvtu". Currently I can only read the timestep info such as > "+1.98800000e+03". > > Many thanks. > > > > > > > > > > On Wed, Nov 15, 2017 at 10:33 AM, Cory Quammen > wrote: > >> What do you mean by "file info"? File name? Size of the file? Data arrays >> in the file? >> >> - Cory >> >> On Tue, Nov 14, 2017 at 4:45 PM, Ke Gao wrote: >> >>> Does anyone know how to read the file info from *pvd file? I know how to >>> get the time step values, just using the keyword of ?TimestepValues?, >>> however, I tried different ways, still haven?t figured out how to read the >>> file info. >>> >>> Thanks >>> >>> >>> >>> >>> >> file="Sout_1012.pvtu"/> >>> >> file="Sout_1013.pvtu"/> >>> >> file="Sout_1014.pvtu"/> >>> -- >>> ............................................................ >>> ............................................................ >>> ...................... >>> Ke Gao >>> >>> _______________________________________________ >>> 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. >> > > > > -- > ............................................................ > ............................................................ > ...................... > Ke Gao > -- Cory Quammen Staff R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ke.gao.ut at gmail.com Wed Nov 15 13:17:00 2017 From: ke.gao.ut at gmail.com (Ke Gao) Date: Wed, 15 Nov 2017 11:17:00 -0700 Subject: [Paraview] How to read the file info in *pvd file In-Reply-To: References: Message-ID: Actually, what I want to do is using python script to read *pvd file first to get the name info of *pvtu files. Then use the *pvtu file name to read through all of them one by one to extract the info I want. I'm not sure if there is a better way to realize this. Many thanks. On Wed, Nov 15, 2017 at 11:05 AM, Cory Quammen wrote: > The file names are embedded in the same XML element as the time step: > > > > But I'll be that's not how you want to access them. > > Next question: From where do you want to access the file names? A Python > script? In the UI? > > On Wed, Nov 15, 2017 at 12:35 PM, Ke Gao wrote: > >> Hi, >> >> I mean how to get the file name info such as "Sout_1012.pvtu", >> "Sout_1013.pvtu". Currently I can only read the timestep info such as >> "+1.98800000e+03". >> >> Many thanks. >> >> >> >> >> >> > file="Sout_1012.pvtu"/> >> > file="Sout_1013.pvtu"/> >> > file="Sout_1014.pvtu"/> >> >> On Wed, Nov 15, 2017 at 10:33 AM, Cory Quammen >> wrote: >> >>> What do you mean by "file info"? File name? Size of the file? Data >>> arrays in the file? >>> >>> - Cory >>> >>> On Tue, Nov 14, 2017 at 4:45 PM, Ke Gao wrote: >>> >>>> Does anyone know how to read the file info from *pvd file? I know how >>>> to get the time step values, just using the keyword of ?TimestepValues?, >>>> however, I tried different ways, still haven?t figured out how to read the >>>> file info. >>>> >>>> Thanks >>>> >>>> >>>> >>>> >>>> >>> file="Sout_1012.pvtu"/> >>>> >>> file="Sout_1013.pvtu"/> >>>> >>> file="Sout_1014.pvtu"/> >>>> -- >>>> ............................................................ >>>> ............................................................ >>>> ...................... >>>> Ke Gao >>>> >>>> _______________________________________________ >>>> 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. >>> >> >> >> >> -- >> ............................................................ >> ............................................................ >> ...................... >> Ke Gao >> > > > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. > -- .............................................................................................................................................. Ke Gao -------------- next part -------------- An HTML attachment was scrubbed... URL: From cornelis.bockemuehl at gmail.com Wed Nov 15 16:35:08 2017 From: cornelis.bockemuehl at gmail.com (Cornelis =?ISO-8859-1?Q?Bockem=FChl?=) Date: Wed, 15 Nov 2017 22:35:08 +0100 Subject: [Paraview] OpenGL inside VMWare virtual machine In-Reply-To: References: <1510758597.3584.12.camel@gmail.com> Message-ID: <1510781708.3584.14.camel@gmail.com> Question not any more relevant: setting an environment variable before starting paraview does indeed the trick: it works now indeed as expected! Thanks and regards, Cornelis Am Mittwoch, den 15.11.2017, 18:54 +0100 schrieb Cornelis Bockem?hl: > Thanks for the hint: I will definitely try this! > > > Only one question: you write environment which sounds like an environment variable, but maybe you mean a variable ti be set in the CMake configuration!?! > > Regards, Cornelis > > > > Am 15.11.2017 17:40 schrieb "Ken Martin" : > > > > This could? be a PV Qt interaction. Try setting?MESA_GL_VERSION_OVERRIDE=3.2 in your environment > > > > > > Basically there is a bug in Qt on windows where it refuses to see the 3.2 context from Mesa because it is not a compatibility context. > > > > > > > > On Wed, Nov 15, 2017 at 10:09 AM, Cornelis Bockem?hl wrote: > > > Dear all, > > > > > > > > > > > > > > > > > > I know that I cannot go for any performance record with this setup, but having both systems available without reboot has advantages if it is about testing some new development. WOULD have - if it fully worked! So far it looks like I am "almost there" - however not knowing whether the last 10 meters will be feasible at all... > > > > > > This is my setup: > > > > > > > > > Main system: Opensuse Linux "Leap" 42.3, with Paraview reporting the following in the About dialog: > > > OpenGL Vendor: Intel Open Source Technology Center > > > OpenGL Version: 3.3 (Core Profile) Mesa 17.0.5 > > > OpenGL Renderer: Mesa DRI Intel(R) Ivybridge Mobile > > > > > > > > > On this system Paraview (latest version, self compiled) runs just fine. > > > > > > > > > Guest system inside VMWare Player version 14: Windows 10, with Paraview reporting the following: > > > OpenGL Vendor: VMware, Inc. > > > OpenGL Version: 3.3 (Core Profile) Mesa 11.2.0 (git-b9d3786) > > > OpenGL Renderer: Gallium 0.4 on SVGA3D; build: RELEASE; LLVM; > > > > > > > > > Here Paraview immediately complains on startup, reporting the following in the message output dialog: see below. > > > > > > > > > > > > > > > For me the version numbers look ok (OpenGL 3.3 is more than 3.2, and Mesa 11.2.0 is more than 10.6.5), but there is some "fineprint" about shader capabilities that are going a bit above my understanding... > > > > > > Anybody able to help with this? > > > > > > > > > Any possibility to "cheat" somehow? Note that I am certainly not going to render billions of data in this configuration! > > > > > > Or should I abandon this tricky setup altogether? > > > > > > Thanks and regards, > > > Cornelis > > > > > > > > > Here the error output from the Windows Paraview inside the VMWare virtual machine: > > > > > > > > > ERROR: In Z:\ultrabay\ParaView\Sources\ParaView- v5.4.1\VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 831 > > > > > > > > > > > > > > > > > > vtkGenericOpenGLRenderWindow (000002438C350630): GL version 2.1 with the gpu_shader4 extension is not supported by your graphics driver but is required for the new OpenGL rendering backend. Please update your OpenGL driver. If you are using Mesa please make sure you have version 10.6.5 or later and make sure your driver in Mesa supports OpenGL 3.2. > > > > > > > > > ERROR: In Z:\ultrabay\ParaView\Sources\ParaView- v5.4.1\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 408 > > > vtkShaderProgram (000002438C1B80C0): 1: #version 150 > > > 2: #ifdef GL_ES > > > 3: #if __VERSION__ == 300 > > > 4: #define attribute in > > > 5: #define varying out > > > 6: #endif // 300 > > > 7: #else // GL_ES > > > 8: #define highp > > > 9: #define mediump > > > 10: #define lowp > > > 11: #if __VERSION__ == 150 > > > 12: #define attribute in > > > 13: #define varying out > > > 14: #endif > > > 15: #endif // GL_ES > > > 16:? > > > 17:? > > > > > > > > > 18: /*=============================================================== ========== > > > 19:? > > > 20:???Program:???Visualization Toolkit > > > 21:???Module:????vtkPolyDataVS.glsl > > > 22:? > > > 23:???Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > > > 24:???All rights reserved. > > > > > > 25:???See Copyright.txt or http://www.kitware.com/Copyright.htm for details. > > > 26:? > > > > > > 27:??????This software is distributed WITHOUT ANY WARRANTY; without even > > > > > > 28:??????the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR > > > > > > 29:??????PURPOSE.??See the above copyright notice for more information. > > > 30:? > > > > > > > > > 31: ================================================================= ========*/ > > > 32:? > > > 33: attribute vec4 vertexMC; > > > 34:? > > > 35: // frag position in VC > > > 36: //VTK::PositionVC::Dec > > > 37:? > > > 38: // optional normal declaration > > > 39: //VTK::Normal::Dec > > > 40:? > > > 41: // extra lighting parameters > > > 42: //VTK::Light::Dec > > > 43:? > > > 44: // Texture coordinates > > > 45: //VTK::TCoord::Dec > > > 46:? > > > 47: // material property values > > > 48: //VTK::Color::Dec > > > 49:? > > > 50: // clipping plane vars > > > 51: //VTK::Clip::Dec > > > 52:? > > > 53: // camera and actor matrix values > > > 54: uniform mat4 MCDCMatrix; > > > 55:? > > > 56: // Apple Bug > > > 57: //VTK::PrimID::Dec > > > 58:? > > > 59: // Value raster > > > 60: //VTK::ValuePass::Dec > > > 61:? > > > 62: void main() > > > 63: { > > > 64:???//VTK::Color::Impl > > > 65:? > > > 66:???//VTK::Normal::Impl > > > 67:? > > > 68:???//VTK::TCoord::Impl > > > 69:? > > > 70:???//VTK::Clip::Impl > > > 71:? > > > 72:???//VTK::PrimID::Impl > > > 73:? > > > 74:?????gl_Position = MCDCMatrix * vertexMC; > > > 75:? > > > 76:? > > > 77:???//VTK::ValuePass::Impl > > > 78:? > > > 79:???//VTK::Light::Impl > > > 80: } > > > 81:? > > > > > > > > > > > > ERROR: In Z:\ultrabay\ParaView\Sources\ParaView- v5.4.1\VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 409 > > > > > > > > > vtkShaderProgram (000002438C1B80C0): 0:1(10): error: GLSL 1.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES > > > > > > > > > _______________________________________________ > > > > > > Powered by www.kitware.com > > > > > > > > > > > > > > > Visit other Kitware open-source projects at http://www.kitware.co m/opensource/opensource.html > > > > > > > > > > > > > > > Please keep messages on-topic and check the ParaView Wiki at: htt p://paraview.org/Wiki/ParaView > > > > > > > > > > > > > > > Search the list archives at: http://markmail.org/search/?q=ParaVi ew > > > > > > > > > > > > Follow this link to subscribe/unsubscribe: > > > > > > http://public.kitware.com/mailman/listinfo/paraview > > > > > > > > > > > > > > --? > > Ken Martin PhDDistinguished Engineer > > Kitware Inc. > > 28 Corporate Drive > > Clifton Park NY 12065 > > > > 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 engr.ahmed.bilal at gmail.com Thu Nov 16 01:57:46 2017 From: engr.ahmed.bilal at gmail.com (Ahmed Bilal) Date: Thu, 16 Nov 2017 14:57:46 +0800 Subject: [Paraview] Viewing Delft3D output in ParaView Message-ID: Hello Everyone. Is there a way to see Delft 3D output in ParaView. Delft 3D produces its outout in NFIES compliant (*.dat) format. Any plugin to directly view these files. Or any way to convert these files into NetCDF for viewing in ParaView. Thanks in advance. Best regards, *Ahmed Bilal* -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben.boeckel at kitware.com Thu Nov 16 09:41:51 2017 From: ben.boeckel at kitware.com (Ben Boeckel) Date: Thu, 16 Nov 2017 09:41:51 -0500 Subject: [Paraview] OpenGL inside VMWare virtual machine In-Reply-To: References: <1510758597.3584.12.camel@gmail.com> Message-ID: <20171116144151.GB16694@megas.kitware.com> On Wed, Nov 15, 2017 at 11:40:43 -0500, Ken Martin wrote: > Basically there is a bug in Qt on windows where it refuses to see the 3.2 > context from Mesa because it is not a compatibility context. On startup, Qt makes a context without a profile. Mesa gives it the best compatibility profile it can: 2.0. Qt then interprets this as the highest OpenGL version available and clamps all requests to this version. The entire behavior is mystifying to me, but the issue has been filed here: https://bugreports.qt.io/browse/QTBUG-60742 --Ben From grothausmann.roman at mh-hannover.de Thu Nov 16 09:43:59 2017 From: grothausmann.roman at mh-hannover.de (Grothausmann, Roman Dr.) Date: Thu, 16 Nov 2017 15:43:59 +0100 Subject: [Paraview] vtkDiscreteMarchingCubes point/cell arrays from XML-PV plugin Message-ID: <47802689-16b3-8195-47d7-ea1d5e4183b3@mh-hannover.de> Dear mailing list members, Based on AcceleratedAlgorithms.xml I created an XML-PV plugin to make use of vtkDiscreteMarchingCubes (https://github.com/romangrothausmann/ParaView_XML-plugins/blob/1574430ce/vtkDiscreteMarchingCubes.xml). It basically works as expected, but does not yield any point/cell arrays in its result, that I would need for coloring of e.g. the different labels (i.e. ComputeScalars). I found a post that said that PV only lists arrays that have a name, but as far as I understand, vtkDiscreteMarchingCubes does name its output arrays. What else could be missing in the XML-code? Many thanks for any help or hints. Roman -- Dr. Roman Grothausmann Tomographie und Digitale Bildverarbeitung Tomography and Digital Image Analysis Medizinische Hochschule Hannover Institut f?r Funktionelle und Angewandte Anatomie OE 4120, Carl-Neuberg-Str. 1, 30625 Hannover, Deutschland Tel. +49 511 532-2900 grothausmann.roman at mh-hannover.de http://www.mh-hannover.de/anatomie.html From nicolas.cedilnik at inria.fr Thu Nov 16 09:49:51 2017 From: nicolas.cedilnik at inria.fr (Nicolas Cedilnik) Date: Thu, 16 Nov 2017 15:49:51 +0100 Subject: [Paraview] XDMF file with multiple temporal collections Message-ID: <8ccae8e8-caf7-8110-4840-97ec4b70d9a4@inria.fr> Hello all, I'm trying to generate a valid (at least, well-read by paraview) XDMF file. It represents a single topology/geometry, with multiple scalars, varying over time. I've attached the file I'm trying to read with paraview. It behaves almost as I want, but oddly enough, only with scalars tagged as "partial" by paraview. One of the scalars "animation", the first one in the XDMF file, is completely buggy, possibly with values from other scalars. Is there something wrong with my XDMF file or is this a bug in paraview? Thanks for your help, -- Nicolas -------------- next part -------------- A non-text attachment was scrubbed... Name: data_pretty.xdmf Type: text/xml Size: 7555 bytes Desc: not available URL: From wascott at sandia.gov Thu Nov 16 15:53:38 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Thu, 16 Nov 2017 20:53:38 +0000 Subject: [Paraview] Structured meshes with Material Volume Fractions Message-ID: Does anyone have a very small dataset that is structured meshes, that use multiple material volume fractions? Also, are we missing a functionality processing these datsets? In other words, do we need a filter that will contour over many material volume fractions within the same filter? Thanks, Alan -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Thu Nov 16 16:26:39 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Thu, 16 Nov 2017 21:26:39 +0000 Subject: [Paraview] [EXTERNAL] Animation .avi output not working in v5.4.1, working in v4.4 In-Reply-To: References: Message-ID: <816AC3BF-A844-4934-ACED-84738878766C@sandia.gov> Dennis, I believe that the first line isn?t important. I believe that the second line is fatal. This is what we were seeing with 5.4.0, that I thought we fixed. Mind passing me directions to replicate (including size of the viewport, when shown in the Save Animation window, whether this is a custom build, the OS, and a dataset? If I can replicate, I will write it up. Otherwise, you write it up, I will mark appropriately? Alan From: ParaView on behalf of "dennis_conklin at goodyear.com" Date: Wednesday, November 15, 2017 at 10:55 AM To: "paraview at paraview.org" Subject: [EXTERNAL] [Paraview] Animation .avi output not working in v5.4.1, working in v4.4 Anyone else seeing this? I?m getting the same msg I was getting in v4.4 (but in v4.4 it still produced a useable animation). [avi @ 0x8ec35c0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [avi @ 0x8ec35c0] Encoder did not produce proper pts, making some up. Dennis -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Thu Nov 16 16:44:14 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Thu, 16 Nov 2017 21:44:14 +0000 Subject: [Paraview] [EXTERNAL] Re: pvbatch In-Reply-To: References: <8CA9A7F0-865B-482D-B3F7-0B3084148DEE@sandia.gov> <20171113160443.GA10302@megas.kitware.com> <88633292-5379-4EA3-8979-CCBF01E1C7EF@sandia.gov> Message-ID: <7CD90620-7C6E-4883-ACB5-83A4348E2D44@sandia.gov> OK, this ? sort of ? worked. I was able to use the Kitware download (Yay!). I called pvbatch (surprisingly, it was built by Kitware for Linux), and then used flags --mesa-llvm and --use-offscreen-rendering. I believe --use-offscreen-rendering will be replaced in the future by --force-offscreen-rendering in PV 5.5.0. Thanks Cory, and everyone else that chimed in. Alan From: Cory Quammen Date: Wednesday, November 15, 2017 at 10:46 AM To: W Scott Cc: Ben Boeckel , "paraview at paraview.org" Subject: Re: [Paraview] [EXTERNAL] Re: pvbatch Alan, You should be able to run pvpython --force-offscreen-rendering script.py and no render window will appear. The help for --force-offscreen-rendering says: "If supported by the build and platform, create headless (offscreen) render windows for rendering results." I believe this should work on linux systems, but you should try it out on the system on which you want to force offscreen rendering just to be sure before using it to produce classified images. pvbatch running the same script will indeed not pop up a render window even without the --force-offscreen-rendering option. Let us know how it goes, Cory On Mon, Nov 13, 2017 at 5:04 PM, Scott, W Alan > wrote: Ben, I believe this is a change from the past. Here is what I desire ? how do I get it? I want to run pv(pythonScript). I want it to produce output. I want it to run off screen, not showing on the console display or current display. This is especially important on classified systems. MPI is not available. Not too long ago, my understanding was this was pvbatch. pvpython used either the console display or current display as it?s rendering space. This does not catch my needs. Alan On 11/13/17, 9:04 AM, "Ben Boeckel" > wrote: On Sun, Nov 12, 2017 at 22:42:29 +0000, Scott, W Alan wrote: > What are the magic cmake switches, for superbuild, that are used to > build a non MPI, Mesa version of pvbatch? Where is this documented? pvpython is the non-MPI version of pvbatch. The superbuild docs could probably be improved here. Currently, the mention is: ParaView supports multiple rendering engines including `egl`, `mesa`, `osmesa`, and `qt5`. All of these are incompatible with each other. If none of these are chosen, a UI-less ParaView will be built (basically just `pvpython`). On Windows and macOS, only the `qt5` rendering engine is available. --Ben _______________________________________________ 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 dennis_conklin at goodyear.com Fri Nov 17 07:55:50 2017 From: dennis_conklin at goodyear.com (Dennis Conklin) Date: Fri, 17 Nov 2017 12:55:50 +0000 Subject: [Paraview] [EXT] Re: [EXTERNAL] Animation .avi output not working in v5.4.1, working in v4.4 In-Reply-To: <816AC3BF-A844-4934-ACED-84738878766C@sandia.gov> References: <816AC3BF-A844-4934-ACED-84738878766C@sandia.gov> Message-ID: Alan, Version 5.4.1, Redhat, can.ex2 Viewsize was 1196 x 766 ? let me know if you can replicate. I tried deleting my PV ini files in hopes that would fix it, but no joy! Dennis From: Scott, W Alan [mailto:wascott at sandia.gov] Sent: Thursday, November 16, 2017 4:27 PM To: Dennis Conklin ; Paraview (paraview at paraview.org) Subject: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working in v5.4.1, working in v4.4 WARNING - External email; exercise caution. Dennis, I believe that the first line isn?t important. I believe that the second line is fatal. This is what we were seeing with 5.4.0, that I thought we fixed. Mind passing me directions to replicate (including size of the viewport, when shown in the Save Animation window, whether this is a custom build, the OS, and a dataset? If I can replicate, I will write it up. Otherwise, you write it up, I will mark appropriately? Alan From: ParaView > on behalf of "dennis_conklin at goodyear.com" > Date: Wednesday, November 15, 2017 at 10:55 AM To: "paraview at paraview.org" > Subject: [EXTERNAL] [Paraview] Animation .avi output not working in v5.4.1, working in v4.4 Anyone else seeing this? I?m getting the same msg I was getting in v4.4 (but in v4.4 it still produced a useable animation). [avi @ 0x8ec35c0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [avi @ 0x8ec35c0] Encoder did not produce proper pts, making some up. Dennis -------------- next part -------------- An HTML attachment was scrubbed... URL: From ke.gao.ut at gmail.com Fri Nov 17 13:30:02 2017 From: ke.gao.ut at gmail.com (Ke Gao) Date: Fri, 17 Nov 2017 11:30:02 -0700 Subject: [Paraview] Anaconda python Environment setup to use paraview python Message-ID: Hi, I'm using Anaconda python 2.7 to call paraview python library on RedHat Linux, every time I run "from paraview.simple import *" or '"from vtk import *", I will get a "Segmentation fault" error. Can anybody tell me what's wrong, and can you share your python path setup in .bashre file? My .bashrc file is like this: # add paraview export PATH=$PATH:/lclscratch/ProgramFiles/ParaView-5.4.0-Qt5-OpenGL2-MPI-Linux-64bit/bin/ # add paraview python to PYTHONPATH export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/lclscratch/ProgramFiles/ParaView-5.4.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/lclscratch/ProgramFiles/ParaView-5.4.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-5.4 export PYTHONPATH=$PYTHONPATH:/lclscratch/ProgramFiles/ParaView-5.4.0-Qt5-OpenGL2-MPI-Linux-64bit/bin/ export PYTHONPATH=$PYTHONPATH:/lclscratch/ProgramFiles/ParaView-5.4.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/ export PYTHONPATH=$PYTHONPATH:/lclscratch/ProgramFiles/ParaView-5.4.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/vtk/ export PYTHONPATH=$PYTHONPATH:/lclscratch/ProgramFiles/ParaView-5.4.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/paraview/ Thank you very much. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Fri Nov 17 13:39:53 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Fri, 17 Nov 2017 18:39:53 +0000 Subject: [Paraview] [EXT] Re: [EXTERNAL] Animation .avi output not working in v5.4.1, working in v4.4 In-Reply-To: References: <816AC3BF-A844-4934-ACED-84738878766C@sandia.gov> Message-ID: <83464417-3BD0-48B6-8E25-5279998275E6@sandia.gov> Dennis, I tried, and cannot replicate. I am on Redhat also. Are you using your own builds, or Kitware binaries? I am using 5.4.1 Kitware binaries, local server. If not, try Kitware binaries? Alan From: "dennis_conklin at goodyear.com" Date: Friday, November 17, 2017 at 5:55 AM To: W Scott , "paraview at paraview.org" Subject: RE: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working in v5.4.1, working in v4.4 Alan, Version 5.4.1, Redhat, can.ex2 Viewsize was 1196 x 766 ? let me know if you can replicate. I tried deleting my PV ini files in hopes that would fix it, but no joy! Dennis From: Scott, W Alan [mailto:wascott at sandia.gov] Sent: Thursday, November 16, 2017 4:27 PM To: Dennis Conklin ; Paraview (paraview at paraview.org) Subject: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working in v5.4.1, working in v4.4 WARNING - External email; exercise caution. Dennis, I believe that the first line isn?t important. I believe that the second line is fatal. This is what we were seeing with 5.4.0, that I thought we fixed. Mind passing me directions to replicate (including size of the viewport, when shown in the Save Animation window, whether this is a custom build, the OS, and a dataset? If I can replicate, I will write it up. Otherwise, you write it up, I will mark appropriately? Alan From: ParaView > on behalf of "dennis_conklin at goodyear.com" > Date: Wednesday, November 15, 2017 at 10:55 AM To: "paraview at paraview.org" > Subject: [EXTERNAL] [Paraview] Animation .avi output not working in v5.4.1, working in v4.4 Anyone else seeing this? I?m getting the same msg I was getting in v4.4 (but in v4.4 it still produced a useable animation). [avi @ 0x8ec35c0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [avi @ 0x8ec35c0] Encoder did not produce proper pts, making some up. Dennis -------------- next part -------------- An HTML attachment was scrubbed... URL: From twhitehead at gmail.com Fri Nov 17 13:44:14 2017 From: twhitehead at gmail.com (Tyson Whitehead) Date: Fri, 17 Nov 2017 13:44:14 -0500 Subject: [Paraview] Good file format for point data on a surface over 60, 000 timesteps Message-ID: Hi, I'm trying to help one of our users (HPC center) use ParaView to work with their wind tunnel data. They have a large number of time samples (60,000) from a series of surfaces with from a small number of sample points (64). The sample points are irregular but structured as they are laid out to be more dense in areas that should see more differences (i.e., at best you could say it was a non-uniform grid with several of the points not used). What file format should this data be put in to import into ParaView? The VTK legacy formats and XML description formats seem painful to use with this number of timesteps and I believe (please correct if wrong) that the NetCDF wants a regular grid. Thanks! -Tyson From dennis_conklin at goodyear.com Fri Nov 17 13:51:50 2017 From: dennis_conklin at goodyear.com (Dennis Conklin) Date: Fri, 17 Nov 2017 18:51:50 +0000 Subject: [Paraview] [EXT] Re: [EXTERNAL] Animation .avi output not working in v5.4.1, working in v4.4 In-Reply-To: <83464417-3BD0-48B6-8E25-5279998275E6@sandia.gov> References: <816AC3BF-A844-4934-ACED-84738878766C@sandia.gov> <83464417-3BD0-48B6-8E25-5279998275E6@sandia.gov> Message-ID: Alan, I?m using Kitware builds, local server ? weird! This was reported by a user and I have duplicated it here Dennis From: Scott, W Alan [mailto:wascott at sandia.gov] Sent: Friday, November 17, 2017 1:40 PM To: Dennis Conklin ; Paraview (paraview at paraview.org) Subject: Re: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working in v5.4.1, working in v4.4 Dennis, I tried, and cannot replicate. I am on Redhat also. Are you using your own builds, or Kitware binaries? I am using 5.4.1 Kitware binaries, local server. If not, try Kitware binaries? Alan From: "dennis_conklin at goodyear.com" > Date: Friday, November 17, 2017 at 5:55 AM To: W Scott >, "paraview at paraview.org" > Subject: RE: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working in v5.4.1, working in v4.4 Alan, Version 5.4.1, Redhat, can.ex2 Viewsize was 1196 x 766 ? let me know if you can replicate. I tried deleting my PV ini files in hopes that would fix it, but no joy! Dennis From: Scott, W Alan [mailto:wascott at sandia.gov] Sent: Thursday, November 16, 2017 4:27 PM To: Dennis Conklin >; Paraview (paraview at paraview.org) > Subject: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working in v5.4.1, working in v4.4 WARNING - External email; exercise caution. Dennis, I believe that the first line isn?t important. I believe that the second line is fatal. This is what we were seeing with 5.4.0, that I thought we fixed. Mind passing me directions to replicate (including size of the viewport, when shown in the Save Animation window, whether this is a custom build, the OS, and a dataset? If I can replicate, I will write it up. Otherwise, you write it up, I will mark appropriately? Alan From: ParaView > on behalf of "dennis_conklin at goodyear.com" > Date: Wednesday, November 15, 2017 at 10:55 AM To: "paraview at paraview.org" > Subject: [EXTERNAL] [Paraview] Animation .avi output not working in v5.4.1, working in v4.4 Anyone else seeing this? I?m getting the same msg I was getting in v4.4 (but in v4.4 it still produced a useable animation). [avi @ 0x8ec35c0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [avi @ 0x8ec35c0] Encoder did not produce proper pts, making some up. Dennis -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Fri Nov 17 13:54:55 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Fri, 17 Nov 2017 18:54:55 +0000 Subject: [Paraview] [EXT] Re: [EXTERNAL] Animation .avi output not working in v5.4.1, working in v4.4 In-Reply-To: References: <816AC3BF-A844-4934-ACED-84738878766C@sandia.gov> <83464417-3BD0-48B6-8E25-5279998275E6@sandia.gov> Message-ID: Kitware ? any ideas? Doesn?t the Kitware binaries use an internal .avi codec? Dennis ? note that this is SuperComputing week. Kitware has been running a sparse staff at work. Alan p.s. ? Kitware booth rocked. The immersive 3d demo was awesome! From: "dennis_conklin at goodyear.com" Date: Friday, November 17, 2017 at 11:51 AM To: W Scott , "paraview at paraview.org" Subject: RE: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working in v5.4.1, working in v4.4 Alan, I?m using Kitware builds, local server ? weird! This was reported by a user and I have duplicated it here Dennis From: Scott, W Alan [mailto:wascott at sandia.gov] Sent: Friday, November 17, 2017 1:40 PM To: Dennis Conklin ; Paraview (paraview at paraview.org) Subject: Re: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working in v5.4.1, working in v4.4 Dennis, I tried, and cannot replicate. I am on Redhat also. Are you using your own builds, or Kitware binaries? I am using 5.4.1 Kitware binaries, local server. If not, try Kitware binaries? Alan From: "dennis_conklin at goodyear.com" > Date: Friday, November 17, 2017 at 5:55 AM To: W Scott >, "paraview at paraview.org" > Subject: RE: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working in v5.4.1, working in v4.4 Alan, Version 5.4.1, Redhat, can.ex2 Viewsize was 1196 x 766 ? let me know if you can replicate. I tried deleting my PV ini files in hopes that would fix it, but no joy! Dennis From: Scott, W Alan [mailto:wascott at sandia.gov] Sent: Thursday, November 16, 2017 4:27 PM To: Dennis Conklin >; Paraview (paraview at paraview.org) > Subject: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working in v5.4.1, working in v4.4 WARNING - External email; exercise caution. Dennis, I believe that the first line isn?t important. I believe that the second line is fatal. This is what we were seeing with 5.4.0, that I thought we fixed. Mind passing me directions to replicate (including size of the viewport, when shown in the Save Animation window, whether this is a custom build, the OS, and a dataset? If I can replicate, I will write it up. Otherwise, you write it up, I will mark appropriately? Alan From: ParaView > on behalf of "dennis_conklin at goodyear.com" > Date: Wednesday, November 15, 2017 at 10:55 AM To: "paraview at paraview.org" > Subject: [EXTERNAL] [Paraview] Animation .avi output not working in v5.4.1, working in v4.4 Anyone else seeing this? I?m getting the same msg I was getting in v4.4 (but in v4.4 it still produced a useable animation). [avi @ 0x8ec35c0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [avi @ 0x8ec35c0] Encoder did not produce proper pts, making some up. Dennis -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Fri Nov 17 14:17:37 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Fri, 17 Nov 2017 19:17:37 +0000 Subject: [Paraview] [EXT] Re: [EXTERNAL] Animation .avi output not working in v5.4.1, working in v4.4 In-Reply-To: References: <816AC3BF-A844-4934-ACED-84738878766C@sandia.gov> <83464417-3BD0-48B6-8E25-5279998275E6@sandia.gov> Message-ID: A bit more detail. I also received the garbage that Dennis did. When running Rendering Settings as use offscreen memory, all was well. When running use off screen memory off, I got all of this verbiage. But, my .avi?s were good. Dennis ? try opening your .avi?s with VLC. Does that work? Here is the verbiage: [avi @ 0x79d2760] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [avi @ 0x79d2760] Encoder did not produce proper pts, making some up. [avi @ 0xc05c8c0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. Warning: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_superbuild/build/superbuild/paraview/src/ParaViewCore/Animation/vtkSMSaveAnimationProxy.cxx, line 166 vtkSMSaveAnimationProxy (0x796b310): The requested resolution '(1196, 766)' has been changed to '(1196, 764)' to match format specification. Warning: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_superbuild/build/superbuild/paraview/src/ParaViewCore/Animation/vtkSMSaveAnimationProxy.cxx, line 166 vtkSMSaveAnimationProxy (0x52167f0): The requested resolution '(1196, 766)' has been changed to '(1196, 764)' to match format specification. Alan From: ParaView on behalf of W Scott Date: Friday, November 17, 2017 at 11:55 AM To: "dennis_conklin at goodyear.com" , "paraview at paraview.org" Subject: Re: [Paraview] [EXT] Re: [EXTERNAL] Animation .avi output not working in v5.4.1, working in v4.4 Kitware ? any ideas? Doesn?t the Kitware binaries use an internal .avi codec? Dennis ? note that this is SuperComputing week. Kitware has been running a sparse staff at work. Alan p.s. ? Kitware booth rocked. The immersive 3d demo was awesome! From: "dennis_conklin at goodyear.com" Date: Friday, November 17, 2017 at 11:51 AM To: W Scott , "paraview at paraview.org" Subject: RE: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working in v5.4.1, working in v4.4 Alan, I?m using Kitware builds, local server ? weird! This was reported by a user and I have duplicated it here Dennis From: Scott, W Alan [mailto:wascott at sandia.gov] Sent: Friday, November 17, 2017 1:40 PM To: Dennis Conklin ; Paraview (paraview at paraview.org) Subject: Re: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working in v5.4.1, working in v4.4 Dennis, I tried, and cannot replicate. I am on Redhat also. Are you using your own builds, or Kitware binaries? I am using 5.4.1 Kitware binaries, local server. If not, try Kitware binaries? Alan From: "dennis_conklin at goodyear.com" > Date: Friday, November 17, 2017 at 5:55 AM To: W Scott >, "paraview at paraview.org" > Subject: RE: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working in v5.4.1, working in v4.4 Alan, Version 5.4.1, Redhat, can.ex2 Viewsize was 1196 x 766 ? let me know if you can replicate. I tried deleting my PV ini files in hopes that would fix it, but no joy! Dennis From: Scott, W Alan [mailto:wascott at sandia.gov] Sent: Thursday, November 16, 2017 4:27 PM To: Dennis Conklin >; Paraview (paraview at paraview.org) > Subject: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working in v5.4.1, working in v4.4 WARNING - External email; exercise caution. Dennis, I believe that the first line isn?t important. I believe that the second line is fatal. This is what we were seeing with 5.4.0, that I thought we fixed. Mind passing me directions to replicate (including size of the viewport, when shown in the Save Animation window, whether this is a custom build, the OS, and a dataset? If I can replicate, I will write it up. Otherwise, you write it up, I will mark appropriately? Alan From: ParaView > on behalf of "dennis_conklin at goodyear.com" > Date: Wednesday, November 15, 2017 at 10:55 AM To: "paraview at paraview.org" > Subject: [EXTERNAL] [Paraview] Animation .avi output not working in v5.4.1, working in v4.4 Anyone else seeing this? I?m getting the same msg I was getting in v4.4 (but in v4.4 it still produced a useable animation). [avi @ 0x8ec35c0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [avi @ 0x8ec35c0] Encoder did not produce proper pts, making some up. Dennis -------------- next part -------------- An HTML attachment was scrubbed... URL: From dennis_conklin at goodyear.com Fri Nov 17 14:24:27 2017 From: dennis_conklin at goodyear.com (Dennis Conklin) Date: Fri, 17 Nov 2017 19:24:27 +0000 Subject: [Paraview] [EXT] Re: [EXTERNAL] Animation .avi output not working in v5.4.1, working in v4.4 In-Reply-To: References: <816AC3BF-A844-4934-ACED-84738878766C@sandia.gov> <83464417-3BD0-48B6-8E25-5279998275E6@sandia.gov> Message-ID: Alan, Great catch ? avi opens with VLC, not with Windoze Media Player From: Scott, W Alan [mailto:wascott at sandia.gov] Sent: Friday, November 17, 2017 2:18 PM To: Dennis Conklin ; Paraview (paraview at paraview.org) Subject: Re: [Paraview] [EXT] Re: [EXTERNAL] Animation .avi output not working in v5.4.1, working in v4.4 A bit more detail. I also received the garbage that Dennis did. When running Rendering Settings as use offscreen memory, all was well. When running use off screen memory off, I got all of this verbiage. But, my .avi?s were good. Dennis ? try opening your .avi?s with VLC. Does that work? Here is the verbiage: [avi @ 0x79d2760] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [avi @ 0x79d2760] Encoder did not produce proper pts, making some up. [avi @ 0xc05c8c0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. Warning: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_superbuild/build/superbuild/paraview/src/ParaViewCore/Animation/vtkSMSaveAnimationProxy.cxx, line 166 vtkSMSaveAnimationProxy (0x796b310): The requested resolution '(1196, 766)' has been changed to '(1196, 764)' to match format specification. Warning: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_superbuild/build/superbuild/paraview/src/ParaViewCore/Animation/vtkSMSaveAnimationProxy.cxx, line 166 vtkSMSaveAnimationProxy (0x52167f0): The requested resolution '(1196, 766)' has been changed to '(1196, 764)' to match format specification. Alan From: ParaView > on behalf of W Scott > Date: Friday, November 17, 2017 at 11:55 AM To: "dennis_conklin at goodyear.com" >, "paraview at paraview.org" > Subject: Re: [Paraview] [EXT] Re: [EXTERNAL] Animation .avi output not working in v5.4.1, working in v4.4 Kitware ? any ideas? Doesn?t the Kitware binaries use an internal .avi codec? Dennis ? note that this is SuperComputing week. Kitware has been running a sparse staff at work. Alan p.s. ? Kitware booth rocked. The immersive 3d demo was awesome! From: "dennis_conklin at goodyear.com" > Date: Friday, November 17, 2017 at 11:51 AM To: W Scott >, "paraview at paraview.org" > Subject: RE: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working in v5.4.1, working in v4.4 Alan, I?m using Kitware builds, local server ? weird! This was reported by a user and I have duplicated it here Dennis From: Scott, W Alan [mailto:wascott at sandia.gov] Sent: Friday, November 17, 2017 1:40 PM To: Dennis Conklin >; Paraview (paraview at paraview.org) > Subject: Re: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working in v5.4.1, working in v4.4 Dennis, I tried, and cannot replicate. I am on Redhat also. Are you using your own builds, or Kitware binaries? I am using 5.4.1 Kitware binaries, local server. If not, try Kitware binaries? Alan From: "dennis_conklin at goodyear.com" > Date: Friday, November 17, 2017 at 5:55 AM To: W Scott >, "paraview at paraview.org" > Subject: RE: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working in v5.4.1, working in v4.4 Alan, Version 5.4.1, Redhat, can.ex2 Viewsize was 1196 x 766 ? let me know if you can replicate. I tried deleting my PV ini files in hopes that would fix it, but no joy! Dennis From: Scott, W Alan [mailto:wascott at sandia.gov] Sent: Thursday, November 16, 2017 4:27 PM To: Dennis Conklin >; Paraview (paraview at paraview.org) > Subject: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working in v5.4.1, working in v4.4 WARNING - External email; exercise caution. Dennis, I believe that the first line isn?t important. I believe that the second line is fatal. This is what we were seeing with 5.4.0, that I thought we fixed. Mind passing me directions to replicate (including size of the viewport, when shown in the Save Animation window, whether this is a custom build, the OS, and a dataset? If I can replicate, I will write it up. Otherwise, you write it up, I will mark appropriately? Alan From: ParaView > on behalf of "dennis_conklin at goodyear.com" > Date: Wednesday, November 15, 2017 at 10:55 AM To: "paraview at paraview.org" > Subject: [EXTERNAL] [Paraview] Animation .avi output not working in v5.4.1, working in v4.4 Anyone else seeing this? I?m getting the same msg I was getting in v4.4 (but in v4.4 it still produced a useable animation). [avi @ 0x8ec35c0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [avi @ 0x8ec35c0] Encoder did not produce proper pts, making some up. Dennis -------------- next part -------------- An HTML attachment was scrubbed... URL: From samuelkey at bresnan.net Fri Nov 17 16:58:13 2017 From: samuelkey at bresnan.net (Samuel Key) Date: Fri, 17 Nov 2017 14:58:13 -0700 Subject: [Paraview] Good file format for point data on a surface over 60, 000 timesteps In-Reply-To: References: Message-ID: <83b1bf06-7180-8a1d-b12d-7e9cc7bbdd1b@bresnan.net> Tyson, You won't get a common answer, but here is my $00.02. The EnSight format has a nice feature that every variable has its own file. So, each 'sample point' will have its own file. The file names can be as you want, numeric or alphabetic. The EnSight format has a geometry file, but if you want to use single vertex cells it won't become very large.? If you want to be a little more graphical, you could use 64 4-node quads with their respective coordinate positions. Additionally, you could add a relatively coarse mesh of the structure. (ParaView has a Filter that will take a point set (your 64 single-point cells) and construct a triangular mesh to provide some geometry. The EnSight format uses a meta-file (aka *.case file) that references all of the files in the datum set, example attached. It will be some work the first time around, but well worth it in my opinion. (I use this file-format myself for million-element 3-D meshes for transient dynamic simulations. I would not leave home without it.) Samuel Key FMA Development 1005 39th Ave NE Great Falls, MT 59404 On 11/17/2017 11:44 AM, Tyson Whitehead wrote: > Hi, > > I'm trying to help one of our users (HPC center) use ParaView to work > with their wind tunnel data. They have a large number of time samples > (60,000) from a series of surfaces with from a small number of sample > points (64). > > The sample points are irregular but structured as they are laid out to > be more dense in areas that should see more differences (i.e., at best > you could say it was a non-uniform grid with several of the points not > used). > > What file format should this data be put in to import into ParaView? > > The VTK legacy formats and XML description formats seem painful to use > with this number of timesteps and I believe (please correct if wrong) > that the NetCDF wants a regular grid. > > Thanks! -Tyson > _______________________________________________ > 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 -------------- FORMAT type: ensight gold GEOMETRY model: 1 1 fmaego.results.geom change_coords_only VARIABLE vector per node: 1 1 Displacement fmaego.results.ndis vector per node: 1 1 Velocity fmaego.results.nvel vector per node: 1 1 Acceleration fmaego.results.nacc scalar per element: 1 1 Material fmaego.results.emat scalar per element: 1 1 Material-State fmaego.results.esta scalar per element: 1 1 Pressure fmaego.results.eprs scalar per element: 1 1 Bulk-Strain fmaego.results.elnv scalar per element: 1 1 Strain-Energy-Density fmaego.results.esed scalar per element: 1 1 Effective-Stress fmaego.results.edev vector per element: 1 1 Stress*Vel fmaego.results.estv tensor symm per element: 1 1 Stress fmaego.results.estr TIME time set: 1 number of steps: 101 time values: 1.412425480266E-08 2.400133725957E-04 4.800116413781E-04 7.200087675218E-04 9.600085065557E-04 1.200013506904E-03 1.440004395631E-03 1.680012453687E-03 1.920003546411E-03 2.160008706146E-03 2.400002268722E-03 2.640000825978E-03 2.880008516105E-03 3.120007260160E-03 3.360004355506E-03 3.600011259104E-03 3.840002535435E-03 4.080002209989E-03 4.320008836543E-03 4.560001245923E-03 4.800013108817E-03 5.040001157019E-03 5.280014080032E-03 5.520013787104E-03 5.760010120856E-03 6.000006744585E-03 6.240010362247E-03 6.480011393759E-03 6.720005078932E-03 6.960009814293E-03 7.200003845679E-03 7.440002044729E-03 7.680008165642E-03 7.920003445528E-03 8.160001173762E-03 8.400007812238E-03 8.640000624252E-03 8.880000733655E-03 9.120008566836E-03 9.360009135538E-03 9.600005315679E-03 9.840004635407E-03 1.008001339743E-02 1.032000754625E-02 1.056001376543E-02 1.080001393196E-02 1.104001032624E-02 1.128000001058E-02 1.152000634945E-02 1.176000815323E-02 1.200000831238E-02 1.224000912002E-02 1.248000571827E-02 1.272000588352E-02 1.296001289990E-02 1.320000451785E-02 1.344000690212E-02 1.368000696938E-02 1.392000271408E-02 1.416000989430E-02 1.440000070735E-02 1.464000160285E-02 1.488000797845E-02 1.512000435611E-02 1.536000661064E-02 1.560000307197E-02 1.584000938572E-02 1.608000643769E-02 1.632000546980E-02 1.656000289760E-02 1.680000908982E-02 1.704001399463E-02 1.728000131552E-02 1.752001190351E-02 1.776000184304E-02 1.800000734090E-02 1.824001312450E-02 1.848000906825E-02 1.872000925159E-02 1.896000027545E-02 1.920000474568E-02 1.944000463108E-02 1.968000467199E-02 1.992001225632E-02 2.016001218486E-02 2.040001311790E-02 2.064000316635E-02 2.088001271302E-02 2.112001167247E-02 2.136000873498E-02 2.160001315623E-02 2.184000679392E-02 2.208000274632E-02 2.232000111492E-02 2.256000735185E-02 2.280000353838E-02 2.304000227235E-02 2.328000046701E-02 2.352000585656E-02 2.376000607798E-02 2.400000198044E-02 FILE file set: 1 number of steps: 101 From wascott at sandia.gov Fri Nov 17 18:58:24 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Fri, 17 Nov 2017 23:58:24 +0000 Subject: [Paraview] [EXT] Re: [EXTERNAL] Animation .avi output not working in v5.4.1, working in v4.4 In-Reply-To: References: <816AC3BF-A844-4934-ACED-84738878766C@sandia.gov> <83464417-3BD0-48B6-8E25-5279998275E6@sandia.gov> Message-ID: <23C388AA-F376-47FB-B785-8C901E64594C@sandia.gov> https://www.idealshare.net/video-converter/avi-windows-media-player.html and https://www.lifewire.com/avi-file-2619737 Explains this issue. Alan From: "dennis_conklin at goodyear.com" Date: Friday, November 17, 2017 at 12:24 PM To: W Scott , "paraview at paraview.org" Subject: RE: [Paraview] [EXT] Re: [EXTERNAL] Animation .avi output not working in v5.4.1, working in v4.4 Alan, Great catch ? avi opens with VLC, not with Windoze Media Player From: Scott, W Alan [mailto:wascott at sandia.gov] Sent: Friday, November 17, 2017 2:18 PM To: Dennis Conklin ; Paraview (paraview at paraview.org) Subject: Re: [Paraview] [EXT] Re: [EXTERNAL] Animation .avi output not working in v5.4.1, working in v4.4 A bit more detail. I also received the garbage that Dennis did. When running Rendering Settings as use offscreen memory, all was well. When running use off screen memory off, I got all of this verbiage. But, my .avi?s were good. Dennis ? try opening your .avi?s with VLC. Does that work? Here is the verbiage: [avi @ 0x79d2760] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [avi @ 0x79d2760] Encoder did not produce proper pts, making some up. [avi @ 0xc05c8c0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. Warning: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_superbuild/build/superbuild/paraview/src/ParaViewCore/Animation/vtkSMSaveAnimationProxy.cxx, line 166 vtkSMSaveAnimationProxy (0x796b310): The requested resolution '(1196, 766)' has been changed to '(1196, 764)' to match format specification. Warning: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_superbuild/build/superbuild/paraview/src/ParaViewCore/Animation/vtkSMSaveAnimationProxy.cxx, line 166 vtkSMSaveAnimationProxy (0x52167f0): The requested resolution '(1196, 766)' has been changed to '(1196, 764)' to match format specification. Alan From: ParaView > on behalf of W Scott > Date: Friday, November 17, 2017 at 11:55 AM To: "dennis_conklin at goodyear.com" >, "paraview at paraview.org" > Subject: Re: [Paraview] [EXT] Re: [EXTERNAL] Animation .avi output not working in v5.4.1, working in v4.4 Kitware ? any ideas? Doesn?t the Kitware binaries use an internal .avi codec? Dennis ? note that this is SuperComputing week. Kitware has been running a sparse staff at work. Alan p.s. ? Kitware booth rocked. The immersive 3d demo was awesome! From: "dennis_conklin at goodyear.com" > Date: Friday, November 17, 2017 at 11:51 AM To: W Scott >, "paraview at paraview.org" > Subject: RE: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working in v5.4.1, working in v4.4 Alan, I?m using Kitware builds, local server ? weird! This was reported by a user and I have duplicated it here Dennis From: Scott, W Alan [mailto:wascott at sandia.gov] Sent: Friday, November 17, 2017 1:40 PM To: Dennis Conklin >; Paraview (paraview at paraview.org) > Subject: Re: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working in v5.4.1, working in v4.4 Dennis, I tried, and cannot replicate. I am on Redhat also. Are you using your own builds, or Kitware binaries? I am using 5.4.1 Kitware binaries, local server. If not, try Kitware binaries? Alan From: "dennis_conklin at goodyear.com" > Date: Friday, November 17, 2017 at 5:55 AM To: W Scott >, "paraview at paraview.org" > Subject: RE: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working in v5.4.1, working in v4.4 Alan, Version 5.4.1, Redhat, can.ex2 Viewsize was 1196 x 766 ? let me know if you can replicate. I tried deleting my PV ini files in hopes that would fix it, but no joy! Dennis From: Scott, W Alan [mailto:wascott at sandia.gov] Sent: Thursday, November 16, 2017 4:27 PM To: Dennis Conklin >; Paraview (paraview at paraview.org) > Subject: [EXT] Re: [EXTERNAL] [Paraview] Animation .avi output not working in v5.4.1, working in v4.4 WARNING - External email; exercise caution. Dennis, I believe that the first line isn?t important. I believe that the second line is fatal. This is what we were seeing with 5.4.0, that I thought we fixed. Mind passing me directions to replicate (including size of the viewport, when shown in the Save Animation window, whether this is a custom build, the OS, and a dataset? If I can replicate, I will write it up. Otherwise, you write it up, I will mark appropriately? Alan From: ParaView > on behalf of "dennis_conklin at goodyear.com" > Date: Wednesday, November 15, 2017 at 10:55 AM To: "paraview at paraview.org" > Subject: [EXTERNAL] [Paraview] Animation .avi output not working in v5.4.1, working in v4.4 Anyone else seeing this? I?m getting the same msg I was getting in v4.4 (but in v4.4 it still produced a useable animation). [avi @ 0x8ec35c0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [avi @ 0x8ec35c0] Encoder did not produce proper pts, making some up. Dennis -------------- next part -------------- An HTML attachment was scrubbed... URL: From kschau at gatech.edu Fri Nov 17 19:51:18 2017 From: kschau at gatech.edu (Schau, Kyle A) Date: Sat, 18 Nov 2017 00:51:18 +0000 Subject: [Paraview] Anaconda python Environment setup to use paraview python In-Reply-To: References: Message-ID: Ke I have not had luck with anaconda and utilizing paraview python tools. The problems comes from compilation options. To run the paraview modules the python you are using needs to be compiled with the option --enable-unicode set at compile time. The python that ships with Anaconda does not come with this. Specifically, I think that for ParaView versions > 5 you need to enable universal character set 4 for everything to work. I use PV 4.4 with a self built python 2.7.13 and the only compile option -enable-Unicode and it works great. Kyle Get Outlook for iOS ________________________________ From: ParaView on behalf of Ke Gao Sent: Friday, November 17, 2017 1:30:02 PM To: ParaView Subject: [Paraview] Anaconda python Environment setup to use paraview python Hi, I'm using Anaconda python 2.7 to call paraview python library on RedHat Linux, every time I run "from paraview.simple import *" or '"from vtk import *", I will get a "Segmentation fault" error. Can anybody tell me what's wrong, and can you share your python path setup in .bashre file? My .bashrc file is like this: # add paraview export PATH=$PATH:/lclscratch/ProgramFiles/ParaView-5.4.0-Qt5-OpenGL2-MPI-Linux-64bit/bin/ # add paraview python to PYTHONPATH export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/lclscratch/ProgramFiles/ParaView-5.4.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/lclscratch/ProgramFiles/ParaView-5.4.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-5.4 export PYTHONPATH=$PYTHONPATH:/lclscratch/ProgramFiles/ParaView-5.4.0-Qt5-OpenGL2-MPI-Linux-64bit/bin/ export PYTHONPATH=$PYTHONPATH:/lclscratch/ProgramFiles/ParaView-5.4.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/ export PYTHONPATH=$PYTHONPATH:/lclscratch/ProgramFiles/ParaView-5.4.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/vtk/ export PYTHONPATH=$PYTHONPATH:/lclscratch/ProgramFiles/ParaView-5.4.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/paraview/ Thank you very much. -------------- next part -------------- An HTML attachment was scrubbed... URL: From 224252 at via.dk Sat Nov 18 08:12:09 2017 From: 224252 at via.dk (Doina Gumeniuc (224252 MAHS)) Date: Sat, 18 Nov 2017 13:12:09 +0000 Subject: [Paraview] Degrees of freedom Message-ID: Hi all! I am still learning the use of paraview and I have got to such a question: How to show in a vtk input file the degrees of freedom of elements? Some of the beams have 6 degrees of freedom, some of the other elements...less or nothing at all. IS there any possibility? Thank you a lot in advance! -------------- next part -------------- An HTML attachment was scrubbed... URL: From samuelkey at bresnan.net Sat Nov 18 13:00:51 2017 From: samuelkey at bresnan.net (Samuel Key) Date: Sat, 18 Nov 2017 11:00:51 -0700 Subject: [Paraview] Degrees of freedom In-Reply-To: References: Message-ID: <4dc279a0-2b94-1417-4bc8-afe5a135f1ca@bresnan.net> Doina-- At the risk of underestimating ParaView's functionalities, I can tell you what will work. For displaying geometry,? PV only needs Point (aka nodal point) x,y,z-coordinates, a Cell (aka Finite Element, ...)? type? and for each Cell an n-tuple of Point "array locations", for example, EnSight-format::{1,2,4,3,7,8,} or VTK-format::{0,1,3,2,6,7}. The VTK format uses C-language 'array offsets' for Cell connectivity n-tuples. The EnSight format uses FORTRAN-language array locations for Finite Element connectivity n-tuples. It is just the way it is. Variables are either located at Points or in Cells (conceptually Cell centers). The arrays supplied for variables must span all of the Points or all of the Cells. (I do not know how to use or about the acceptability of "partially" specified variable datum sets.) For Points with 6-DOFs versus 3-DOFs, if you want to see the three rotational DOFs, use POINT DATA arrays and fill in the Phi-x, Phi-y, Phi-z values using zeros for at those Points without a rotation. If you want to visually display a 2-node, 6-DOF beam's geometry (a curved beam or a deformed beam) , one solution is too use a VTK Cell type 'VTK_QUADRATIC_EDGE = 21'? for the beam. This will require you to add-on-the-fly to the simulation results a beam center-Point with x,y,z-coordinates and displacements for the beam's center Point using the beam's interpolation functions. (PV has a Warp Filter that will let you then scale up the deflections for visualization purposes.) Should you have access to source code for the simulations, I can supply FORTRAN language routines that write VTK ASCII-formatted simulation results. (My personal preference is the EnSight format.) --Sam On 11/18/2017 6:12 AM, Doina Gumeniuc (224252 MAHS) wrote: > > Hi all! > > I am still learning the use of paraview and I have got to such a > question: How to show in a vtk input file the degrees of freedom of > elements? Some of the beams have 6 degrees of freedom, some of the > other elements...less or nothing at all. IS there any possibility? > > Thank you a lot in advance! > > > > _______________________________________________ > 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: vtk-file-formats.pdf Type: application/pdf Size: 256044 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: AdvancedCellTypes.pdf Type: application/pdf Size: 51560 bytes Desc: not available URL: From emanmoba at gmail.com Sun Nov 19 11:18:25 2017 From: emanmoba at gmail.com (emanmoba Mb) Date: Sun, 19 Nov 2017 17:18:25 +0100 Subject: [Paraview] How to plot pressure map on an airfoil or circle? Message-ID: Hello everyone, I have some scalar data on the surface of a circle and I want to plot it on the circle, something similar to the attached images (like a pressure map around airfoil). Does anyone know how I can do it in ParaView? https://image.ibb.co/d9WnA6/para.png http://dhaerotech.com/Images/Clark%20Y%20Aileron%20Forces.jpg https://cyclistsforsustainablebicycles.files.wordpress.com/2009/08/airfoil.gif Thanks a lot. Eman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: para.png Type: image/png Size: 73097 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: airfoil.gif Type: image/gif Size: 45608 bytes Desc: not available URL: From u.utku.turuncoglu at be.itu.edu.tr Mon Nov 20 03:47:00 2017 From: u.utku.turuncoglu at be.itu.edu.tr (Ufuk Utku Turuncoglu (BE)) Date: Mon, 20 Nov 2017 11:47:00 +0300 Subject: [Paraview] surface construction with holes In-Reply-To: References: <7A88BEB2-7128-416F-A7F7-BF1F0D5CEE28@sandia.gov> Message-ID: Hi Kenichiro, I tested your programmable filter again with higher resolution dataset and the result is much much better. I just want to tahank to you for your help and also let you know about the latest result (see attached plot, f png). I also tested Delaunay filter but in this case i clipped shape to two half and apply Delaunay2D each one of them and also threshold filters. You can see the result in plot e.png. It also improved but Programmable one seems better solution. Anyway, thanks again. Best Regards, --ufuk On 15/11/2017 08:48, kenichiro yoshimi wrote: > Hi Ufuk, > > vtkSurfaceReconstructionFilter with programmable filter detects holes > in your data although they are somewhat inaccurate. As Ken mentioned, > it would fail for other shapes with holes. But I think it is a little > funny approach. > ---- > import vtk > > pdi = self.GetInput() > pdo = self.GetOutput() > > surf = vtk.vtkSurfaceReconstructionFilter() > surf.SetInputData(pdi) > surf.SetSampleSpacing(0.02) > > cf = vtk.vtkContourFilter() > cf.SetInputConnection(surf.GetOutputPort()) > cf.SetValue(0, 0.0) > > reverse = vtk.vtkReverseSense() > reverse.SetInputConnection(cf.GetOutputPort()) > reverse.ReverseCellsOn() > reverse.ReverseNormalsOn() > reverse.Update() > > pdo.ShallowCopy(reverse.GetOutput()) > ---- > > Thanks > > 2017-11-15 0:04 GMT+09:00 Moreland, Kenneth : >> Ufuk, >> >> The short answer is, no. You cannot keep the Delaunay2D filter from filling holes. >> >> The mathematical description of Delaunay triangulation fills in all the space in the convex hull of the points. The question about having the Delaunay triangulation keeping open space that is supposed to be empty comes up frequently on this list. However, generally identifying what should not be filled is not easy to describe, especially in a general sense. When you ask me about the ?hole? in your data, I, as a human, can immediately identify what you mean. But can you describe it in such a way that it can be easily picked out by a computer? I cannot. And even if we did come up with something, there is a good chance it would fail for holes of other shapes. >> >> That said, you might be able to resolve the problem by removing the triangles over the hole after you create the surface. I note that what you mean by a hole is a region where points are spread out, so we could start by removing big triangles. You can identify triangle size using the Mesh Quality filter. Add the Mesh Quality filter and change Triangle Quality Measure to Area. After you run that, use the threshold filter to remove all triangles with a ?quality? (actually area) greater than 0.01. >> >> That removes some of the triangles in the holes, but not all of them. You will also see that the remaining triangles are skinny ones that stretch across cords of the circular hole. So, we could also remove skinny triangles. Run the Mesh Quality filter again on the output, this time setting the Triangle Quality Measure to Radius Ratio. Then use the Threshold filter again to remove triangles greater than a value somewhere in the range of 5 to 15. You might notice at this point that it is getting difficult to specify values that work well around the holes along the sides. Low values start removing valid triangles on the sides. High values leave some of the holes covered. This is what I meant by it being difficult to describe the holes to a computer. >> >> An alternate approach is to select the triangles over the wholes, invert the selection, and then extract the selection. You could also do that to the result of the procedure I just gave you. >> >> One final note. You are using Delaunay 2D on a set of data that is 3D. I presume you are aware that Delaunay 2D is actually projecting all of your points onto a plane and finding a triangulation there. It is not finding a surface in 3D. The only way to find the true 3D surface (in ParaView) would be to do a Delaunay 3D and then extract the external faces. >> >> -Ken >> >> >> On 11/14/17, 5:11 AM, "ParaView on behalf of Ufuk Utku Turuncoglu (BE)" wrote: >> >> Hi, >> >> I am trying to create surface for a poly data (see attached figure). In >> this case, if i use Delaunay2D filter, it creates surface but it also >> fills the holes. So, i just wonder that is it possible to create surface >> for it without filling holes. You could also find a simple dataset as >> attachment. >> >> 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 -------------- A non-text attachment was scrubbed... Name: f.png Type: image/png Size: 72054 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: e.png Type: image/png Size: 103762 bytes Desc: not available URL: From utkarsh.ayachit at kitware.com Mon Nov 20 11:23:12 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 20 Nov 2017 11:23:12 -0500 Subject: [Paraview] paraview osmesa render on supercomputer nodes In-Reply-To: References: Message-ID: Di, While it's not entirely obvious to me what could be going wrong, you may to check these docs out instead: https://www.paraview.org/Wiki/Reverse_connection_and_port_forwarding#A_Forward_Connection_Over_an_ssh_Tunnel Utkarsh On Sat, Nov 18, 2017 at 7:04 AM, ?? wrote: > Hi everyone, > > I just compiled the OSMesa version of paraview 5.4.1 on Tianhe-2 > supercomputer. My trouble is to connect the pvserver running on computing > nodes while I am on login node with ssh tunnelling (-L). > > Here is what I did > > My computer (win7 64 bit) > ---ssh -L15801:localhost:15801 through VPN---> > LN31 (login node, RHEL maybe, using slurm) >> srun -n 24 pvserver -sp=15801 --mesa --use-offscreen-rendering >> --disable-xdisplay-test > ---ssh -N -f -L15801:localhost:15801 though internal connection--> > CNxxxx (computing node) > > And here is the error: > > ``` > Waiting for client... > Connection URL: cs://cn10687:15801 > ERROR: In /HOME/pp569/soft/ParaView-v5.4.1/VTK/Common/System/vtkSocket.cxx, > line 206 > vtkServerSocket (0x20e9c20): Socket error in call to bind. Address already > in use. > > ERROR: In > /HOME/pp569/soft/ParaView-v5.4.1/ParaViewCore/ClientServerCore/Core/vtkTCPNetworkAccessManager.cxx, > line 349 > vtkTCPNetworkAccessManager (0x14ad080): Failed to set up server socket. > > Exiting... > ``` > > It seems not working. I am pretty sure that the PC -- ssh -L through VPN --> > LN works well. What happend in LN -- ssh -L --> CNxxx link? > > I have searched the internet for something, I found that LLNL did some work > on it > [https://hpc.llnl.gov/data-vis/vis-software/paraview/running-paraview-in-client-server-mode]. > > They used `ssh -R` to map from LN to CN, rather than `ssh -L` and run > paraview in RC mode, does it make any sense? > > However, in Tianhe-2, the `ssh -R` is forbidden. So I cannot use this > method. > > Di Cheng > Visting scholar at UConn ME Combustion Diagnostic Lab > Engineer of Research Center of China Academy of Aerospace Aerodynamics > Phone: +86-l58Ol5949ll > > Address: No.17, YunGang West Road, Fengtai District, Beijing, China > > Zip Code?100074 > > > _______________________________________________ > 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 dave.demarle at kitware.com Mon Nov 20 12:30:28 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Mon, 20 Nov 2017 12:30:28 -0500 Subject: [Paraview] paraview osmesa render on supercomputer nodes In-Reply-To: References: Message-ID: --- This syntax isn't clear to me: > srun -n 24 pvserver -sp=15801 --mesa --use-offscreen-rendering --disable-xdisplay-test ---ssh -N -f -L15801:localhost:15801 though internal connection--> Where are you trying to run ssh on to open up this second (between login and compute) tunnel? --- ERROR: In /HOME/pp569/soft/ParaView-v5.4.1/VTK/Common/System/vtkSocket.cxx, line 206 vtkServerSocket (0x20e9c20): Socket error in call to bind. Address already in use. Indicates that pvserver is trying to grab a socket that some other process owns. You might be competing with one of your other pvserver processes (from an earlier run or perhaps a misconfigured non-mpi pvserver task running on the same node from this srun invocation) or possibly your ssh tunnel process. --- Forward connections from desktop to login to compute are harder to setup in most cases because in general you don't know what compute node (and sometimes login node) you will get. --- I recommend using something simple like netcat to send and receive messages across each tunnel. If you can type on one side and see the text on the other, then paraview should be able to use the connection. --- Please let us know how it goes. We would love to see ParaView running on Tianhe-2! David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Mon, Nov 20, 2017 at 11:23 AM, Utkarsh Ayachit < utkarsh.ayachit at kitware.com> wrote: > Di, > > While it's not entirely obvious to me what could be going wrong, you > may to check these docs out instead: > https://www.paraview.org/Wiki/Reverse_connection_and_port_ > forwarding#A_Forward_Connection_Over_an_ssh_Tunnel > > Utkarsh > > On Sat, Nov 18, 2017 at 7:04 AM, ?? wrote: > > Hi everyone, > > > > I just compiled the OSMesa version of paraview 5.4.1 on Tianhe-2 > > supercomputer. My trouble is to connect the pvserver running on computing > > nodes while I am on login node with ssh tunnelling (-L). > > > > Here is what I did > > > > My computer (win7 64 bit) > > ---ssh -L15801:localhost:15801 through VPN---> > > LN31 (login node, RHEL maybe, using slurm) > >> srun -n 24 pvserver -sp=15801 --mesa --use-offscreen-rendering > >> --disable-xdisplay-test > > ---ssh -N -f -L15801:localhost:15801 though internal connection--> > > CNxxxx (computing node) > > > > And here is the error: > > > > ``` > > Waiting for client... > > Connection URL: cs://cn10687:15801 > > ERROR: In /HOME/pp569/soft/ParaView-v5.4.1/VTK/Common/System/ > vtkSocket.cxx, > > line 206 > > vtkServerSocket (0x20e9c20): Socket error in call to bind. Address > already > > in use. > > > > ERROR: In > > /HOME/pp569/soft/ParaView-v5.4.1/ParaViewCore/ClientServerCore/Core/ > vtkTCPNetworkAccessManager.cxx, > > line 349 > > vtkTCPNetworkAccessManager (0x14ad080): Failed to set up server socket. > > > > Exiting... > > ``` > > > > It seems not working. I am pretty sure that the PC -- ssh -L through VPN > --> > > LN works well. What happend in LN -- ssh -L --> CNxxx link? > > > > I have searched the internet for something, I found that LLNL did some > work > > on it > > [https://hpc.llnl.gov/data-vis/vis-software/paraview/ > running-paraview-in-client-server-mode]. > > > > They used `ssh -R` to map from LN to CN, rather than `ssh -L` and run > > paraview in RC mode, does it make any sense? > > > > However, in Tianhe-2, the `ssh -R` is forbidden. So I cannot use this > > method. > > > > Di Cheng > > Visting scholar at UConn ME Combustion Diagnostic Lab > > Engineer of Research Center of China Academy of Aerospace Aerodynamics > > Phone: +86-l58Ol5949ll > > > > Address: No.17, YunGang West Road, Fengtai District, Beijing, China > > > > Zip Code?100074 > > > > > > _______________________________________________ > > 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 berk.geveci at kitware.com Mon Nov 20 12:49:42 2017 From: berk.geveci at kitware.com (Berk Geveci) Date: Mon, 20 Nov 2017 17:49:42 +0000 Subject: [Paraview] Good file format for point data on a surface over 60, 000 timesteps In-Reply-To: References: Message-ID: What kind of visualizations are they looking to do? It may be a good idea to treat time differently here given that it is the most dense dimensions. I am thinking of some sort of tabular format that can then be used with filtering to extract a time step. Potentially, even a database may work depending on what the end visualization product will be. On Fri, Nov 17, 2017 at 6:44 PM, Tyson Whitehead wrote: > Hi, > > I'm trying to help one of our users (HPC center) use ParaView to work > with their wind tunnel data. They have a large number of time samples > (60,000) from a series of surfaces with from a small number of sample > points (64). > > The sample points are irregular but structured as they are laid out to > be more dense in areas that should see more differences (i.e., at best > you could say it was a non-uniform grid with several of the points not > used). > > What file format should this data be put in to import into ParaView? > > The VTK legacy formats and XML description formats seem painful to use > with this number of timesteps and I believe (please correct if wrong) > that the NetCDF wants a regular grid. > > Thanks! -Tyson > _______________________________________________ > 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 chengdi123000 at gmail.com Mon Nov 20 13:41:13 2017 From: chengdi123000 at gmail.com (=?UTF-8?B?56iL6L+q?=) Date: Mon, 20 Nov 2017 13:41:13 -0500 Subject: [Paraview] paraview osmesa render on supercomputer nodes In-Reply-To: References: Message-ID: Yes, the network environment in TianHe-2 is weird. However, the problem can be solved manually by set ssh port forwarding like this: 1. start pvserver on cn123 in direct connection mode and let it listen to port 11111 2. manually modify the local port forward in my PC as: -L11111::11111 3. use paraview gui in my PC to connect to localhost:11111 I think it makes sense. ?? ???? ??? ????????????? ???+86-l58Ol5949ll ?????????????17?? ???100074 Di Cheng Engineer of Research Center China Academy of Aerospace Aerodynamics Phone: +86-l58Ol5949ll Address: No.17, YunGang West Road, Fengtai District, Beijing, China Zip Code?100074 On Mon, Nov 20, 2017 at 12:30 PM, David E DeMarle wrote: > --- > > This syntax isn't clear to me: > > srun -n 24 pvserver -sp=15801 --mesa --use-offscreen-rendering > --disable-xdisplay-test > ---ssh -N -f -L15801:localhost:15801 though internal connection--> > Where are you trying to run ssh on to open up this second (between login > and compute) tunnel? > > --- > ERROR: In /HOME/pp569/soft/ParaView-v5.4.1/VTK/Common/System/vtkSocket.cxx, > line 206 > vtkServerSocket (0x20e9c20): Socket error in call to bind. Address already > in use. > > Indicates that pvserver is trying to grab a socket that some other process > owns. You might be competing with one of your other pvserver processes > (from an earlier run or perhaps a misconfigured non-mpi pvserver task > running on the same node from this srun invocation) or possibly your ssh > tunnel process. > > --- > > Forward connections from desktop to login to compute are harder to setup > in most cases because in general you don't know what compute node (and > sometimes login node) you will get. > > --- > > I recommend using something simple like netcat to send and receive > messages across each tunnel. If you can type on one side and see the text > on the other, then paraview should be able to use the connection. > > --- > > Please let us know how it goes. We would love to see ParaView running on > Tianhe-2! > > David E DeMarle > Kitware, Inc. > Principal Engineer > 21 Corporate Drive > > Clifton Park, NY 12065 > > -8662 > Phone: 518-881-4909 <(518)%20881-4909> > > On Mon, Nov 20, 2017 at 11:23 AM, Utkarsh Ayachit < > utkarsh.ayachit at kitware.com> wrote: > >> Di, >> >> While it's not entirely obvious to me what could be going wrong, you >> may to check these docs out instead: >> https://www.paraview.org/Wiki/Reverse_connection_and_port_fo >> rwarding#A_Forward_Connection_Over_an_ssh_Tunnel >> >> Utkarsh >> >> On Sat, Nov 18, 2017 at 7:04 AM, ?? wrote: >> > Hi everyone, >> > >> > I just compiled the OSMesa version of paraview 5.4.1 on Tianhe-2 >> > supercomputer. My trouble is to connect the pvserver running on >> computing >> > nodes while I am on login node with ssh tunnelling (-L). >> > >> > Here is what I did >> > >> > My computer (win7 64 bit) >> > ---ssh -L15801:localhost:15801 through VPN---> >> > LN31 (login node, RHEL maybe, using slurm) >> >> srun -n 24 pvserver -sp=15801 --mesa --use-offscreen-rendering >> >> --disable-xdisplay-test >> > ---ssh -N -f -L15801:localhost:15801 though internal connection--> >> > CNxxxx (computing node) >> > >> > And here is the error: >> > >> > ``` >> > Waiting for client... >> > Connection URL: cs://cn10687:15801 >> > ERROR: In /HOME/pp569/soft/ParaView-v5.4.1/VTK/Common/System/vtkSocket >> .cxx, >> > line 206 >> > vtkServerSocket (0x20e9c20): Socket error in call to bind. Address >> already >> > in use. >> > >> > ERROR: In >> > /HOME/pp569/soft/ParaView-v5.4.1/ParaViewCore/ClientServerCo >> re/Core/vtkTCPNetworkAccessManager.cxx, >> > line 349 >> > vtkTCPNetworkAccessManager (0x14ad080): Failed to set up server socket. >> > >> > Exiting... >> > ``` >> > >> > It seems not working. I am pretty sure that the PC -- ssh -L through >> VPN --> >> > LN works well. What happend in LN -- ssh -L --> CNxxx link? >> > >> > I have searched the internet for something, I found that LLNL did some >> work >> > on it >> > [https://hpc.llnl.gov/data-vis/vis-software/paraview/running >> -paraview-in-client-server-mode]. >> > >> > They used `ssh -R` to map from LN to CN, rather than `ssh -L` and run >> > paraview in RC mode, does it make any sense? >> > >> > However, in Tianhe-2, the `ssh -R` is forbidden. So I cannot use this >> > method. >> > >> > Di Cheng >> > Visting scholar at UConn ME Combustion Diagnostic Lab >> > Engineer of Research Center of China Academy of Aerospace Aerodynamics >> > Phone: +86-l58Ol5949ll >> > >> > Address: No.17, YunGang West Road, Fengtai District, Beijing, China >> >> > >> > Zip Code?100074 >> >> > >> > >> > _______________________________________________ >> > 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 twhitehead at gmail.com Mon Nov 20 13:44:38 2017 From: twhitehead at gmail.com (Tyson Whitehead) Date: Mon, 20 Nov 2017 13:44:38 -0500 Subject: [Paraview] Good file format for point data on a surface over 60, 000 timesteps In-Reply-To: References: Message-ID: <025bb9a6-627e-bde7-d3c5-3d7ddaa6dfb5@gmail.com> On 20/11/17 12:49 PM, Berk Geveci wrote: > What kind of visualizations are they looking to do? It may be a good idea to treat time differently here given that it is the most dense dimensions. I am thinking of some sort of tabular format that can then be used with filtering to extract a time step. Potentially, even a database may work depending on what the end visualization product will be. My understanding is they want to start by making a movie of the recorded pressure values interpolated (as some color ramp) across the structure surface and as this is what they are currently doing with their MATLAB code. I ultimately expect they may come up with something else once they get the data in though and are able to play around with it (enabling playing around with it being a big part of why they are wanting to get it into ParaView). While the local expert, I've only really go very very basic experience so far (all I've really done is work through the various tutorials and teach them in workshops), so I'm interested in any advice. Compared to the tutorials, the strange thing about this data is the large number of time steps, that it is spatially irregular and sparse, and that it doesn't fully define the underlying object geometry (i.e., the geometry of the surface extends out past the last sample points due to each measurement point requiring drilling holes for measurement taps in the physical object). Currently I'm think, if we can come up with a decent way of importing the data as a point set, of https://blog.kitware.com/dataset-resampling-filters/ 1. import the sample data as a point data set 2. use the point volume interpolate (or resample to image?) to create a mesh from it 3. use the re-sample with dataset to put that onto the actual physical geometery 4. save animation to get the desired movie Is there a better way to do this? Should I try and create some sort of irregular grid out of the sample data to avoid step 2? Thanks! -Tyson From dave.demarle at kitware.com Mon Nov 20 14:05:11 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Mon, 20 Nov 2017 14:05:11 -0500 Subject: [Paraview] SWKey: File extension for PV Readers? In-Reply-To: <2b530550-9998-63c9-1932-c9858521c00e@bresnan.net> References: <2b530550-9998-63c9-1932-c9858521c00e@bresnan.net> Message-ID: Not yet. You could add one by editing the appropriate "ReaderFactory extensions"... line of ParaviewCore/ServerManager/SMApplication/Resource/proxies_xdmf3.xml in your builds. David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Tue, Nov 14, 2017 at 5:32 PM, Samuel Key wrote: > Hi, > > I have an xyz.xmf file that loads just fine. By renaming the file to > xyz.xmf3 I was able to get directly to Xdmf3 reader. > > Is there a file extension that can be used to get directly to the Xdmf3 > 'Top Level Partition' option? > > Thanks in advance for the bother. > > Samuel Key > FMA Development > 1005 39th Ave NE > Great Falls, MT > USA > _______________________________________________ > 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 dave.demarle at kitware.com Mon Nov 20 14:14:23 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Mon, 20 Nov 2017 14:14:23 -0500 Subject: [Paraview] Error reading timeseries with spatial grid collection with XDMF In-Reply-To: References: Message-ID: It might be that the reader doesn't like or want that both of your times are 0.0. ...