[Paraview] [EXTERNAL] [Paraview-developers] Rotational Extrude
Scott, W Alan
wascott at sandia.gov
Mon Feb 19 19:24:50 EST 2018
Hi Elyas,
OK, I took a deeper look, and consulted with Ken Moreland. We think what you are trying to do can't be done, or if it can, it is very inefficient. There are two filters of interest, the Rotational Extrude filter and the Angular Periodic filter.
The Rotational Extrude filter takes a 2d object and rotates it in space, creating a disk or cylinder. It must be polygonal data. You can create polygonal data with the extract surface filter. The Rotational Extrude filter will rotate your 2d object on the z axis. If you want to rotate on a different axis, use the Transform filter to rotate your data to be lined up with the Z axis. But, here is the kicker. The output of the Rotational Extrude filter is a 2d surface, In other words, this filter's output is hollow. It will look good if you don't clip or slice it. You can see that it is hollow with a slice filter.
The Angular Periodic filter will also rotate objects (i.e., pie slices) around an axis. However, it won't fill it in if your data was originally 2d. If it is pie slices, you will get a nice cylinder. But, with your data, you will just see a lot of 2d planes, rooted at the center of a cylinder, and fanning out to form this sparse cylinder. I tried the Delauny3d filter, and it hung.
Ken's advice if this is necessary is to write a custom filter.
Sorry I couldn't help more,
Alan
On 2/19/18, 3:04 PM, "Goli, Elyas" <egoli2 at illinois.edu> wrote:
I could not figure out how to fix it. Suggestions are appreciated and welcome.
Best,
Elyas
________________________________________
From: Scott, W Alan [wascott at sandia.gov]
Sent: Monday, February 19, 2018 12:55 PM
To: Goli, Elyas
Cc: paraview at paraview.org
Subject: Re: [EXTERNAL] [Paraview-developers] Rotational Extrude
Copying to the paraview users list.
I don't know that filter well. Try playing with it, and if it doesn't cooperate, let me know. I will then try...
Alan
On 2/19/18, 11:42 AM, "Goli, Elyas" <egoli2 at illinois.edu> wrote:
Hi Scott,
Thanks. It worked. Now the filter is active. However, I am not sure what normal and origin coordinate I should put for the Slice filter to end up with a 3D cylinder rotated about y axis.
Do you have any clue?
I am OK to move it to the e_mail list.
Best,
Elyas
________________________________________
From: Scott, W Alan [wascott at sandia.gov]
Sent: Monday, February 19, 2018 12:25 PM
To: Goli, Elyas; paraview-developers at public.kitware.com
Subject: Re: [EXTERNAL] [Paraview-developers] Rotational Extrude
Just a guess - this filter requires 2d polygonal data. What I just did was Wavelet, then Slice. Maybe your data is actually 3d? Try running a slice filter on it first?
Mind moving this to the paraview at paraview.org e-mail list, so everyone can see the answer?
Thanks,
Alan
On 2/19/18, 11:20 AM, "Paraview-developers on behalf of Goli, Elyas" <paraview-developers-bounces at public.kitware.com on behalf of egoli2 at illinois.edu> wrote:
Hi All,
I have an axisymmetric 2D model in Paraview in x-y plane. I am trying to use the Rotational Extrude filter to rotate the model about the y-axis and make it a 3D model. However, the filter is iactive. Does any one have an idea of how to solve the issue?
Best,
Elyas
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
Search the list archives at: http://markmail.org/search/?q=Paraview-developers
Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/paraview-developers
More information about the ParaView
mailing list