[Paraview] Scaling cylinder glyph's radius and height individually
Ahmad .
super_achie at hotmail.com
Mon Jan 8 14:52:11 EST 2018
Following up on my own question, I found out that if I scale by "Vector Components" it is possible to change the length of the cylinders with the second vector index, and the radius with the first and third. I need to rearrange my attribute data as such: [radius_x, length, radius_z]. If I keep radius_x == radius_z, then the cylinder will not deform, and the cross section stays a perfect circle. See the image in the attachment please.
BUT the problem here is that "vector components" also affects the orientation of my cylindrical glyphs. I can turn this off in the properties menu, but I need to orient my cylinders based on another vector attribute data...
I feel I'm getting somewhere, but if someone could give me an idea on how to now orient my glyphs with another vector data than the one I use now for scaling, that would be much appreciated!
Best,
Ahmad
________________________________
Van: Ahmad . <super_achie at hotmail.com>
Verzonden: maandag 8 januari 2018 18:01
Aan: paraview at paraview.org
Onderwerp: Scaling cylinder glyph's radius and height individually
Dear community,
When I try to scale cylindrical glyph objects by a 'Scalar', it scales both the radius and height of the glyphs.
Is there a way to scale the radius by a Scalar1, and the height be a Scalar2?
I have an unstructured grid, and for each point I want to create a cylinder that can have an arbitrary radius and height.
I thought Glyphs would be the way to go, but I'm kind of stuck with this issue.
Any help is much appreciated; or if you can recommend a different way to achieve the above-mentioned please let me know!
Best,
Ahmad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://paraview.org/pipermail/paraview/attachments/20180108/88ceefb7/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: paraview_scaling_question.png
Type: image/png
Size: 228803 bytes
Desc: paraview_scaling_question.png
URL: <https://paraview.org/pipermail/paraview/attachments/20180108/88ceefb7/attachment-0001.png>
More information about the ParaView
mailing list