-
Hi, I have started using the ViennaPS for the simulation of hole etching and Trench deposition. I am using Python, and followed the examples added in:
So I used trench deposition geometric, where the script generates a final.vtp file. I have used VTK library for the visualization process and converted it to an image. The Image I obtained is actually black and white which is totally different from the image in the ReadMe. I have attached a sample image. Can I know if there is a different method for the simulation visualization or are there any configuration changes that I need to make to obtain the images as seen in readme? code: https://github.com/ViennaTools/ViennaPS/tree/master/examples/trenchDepositionGeometric
The 3D image being generated is: Any assistance with these issues would be greatly appreciated. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hi there! For visualization purposes, I recommend using ParaView. It's specifically designed to handle geometries generated from the VTK library, making it an excellent tool for viewing and analyzing your data. You can download ParaView for most operating systems directly from their official website. The images shown in the README were created using the trenchDeposition example with varying parameters for the sticking coefficient. I recently ran this example using the ViennaPS Python package (version 3.1.0) installed via pip, and it worked without any issues. If you encounter any errors while running this or other examples, please provide details about the version you're using and the specific error message you received. This will help in diagnosing the problem. I also recommend using the latest version of the ViennaPS package from PyPI to ensure compatibility and access to the latest features. If you'd like to save intermediate results during the simulation, you can adjust the Logger settings in the code. By setting |
Beta Was this translation helpful? Give feedback.
-
@tobre1 Hi, I have checked Paraview, but this is a GUI-based application, right? Currently, we are planning on using ViennaPS to generate simulations in our rest API. So I would like to know if there is a way to provide it in our client-server architecture. Are there any Python packages for converting this VTP output as a 2D or 3D image? Or are there any react packages for rendering vtp files, so that I can supply the generated VTP file to server side? Any assistance would be greatly appreciated. Thank you! |
Beta Was this translation helpful? Give feedback.
-
@tobre1 Thanks for the info. I have found Pyvista as a suitable package for conversion of the simulation to 3D images using Python. |
Beta Was this translation helpful? Give feedback.
Hi there!
For visualization purposes, I recommend using ParaView. It's specifically designed to handle geometries generated from the VTK library, making it an excellent tool for viewing and analyzing your data. You can download ParaView for most operating systems directly from their official website.
The images shown in the README were created using the trenchDeposition example with varying parameters for the sticking coefficient. I recently ran this example using the ViennaPS Python package (version 3.1.0) installed via pip, and it worked without any issues. If you encounter any errors while running this or other examples, please provide details about the version you're using and the spe…