Interesting that when I use a .ctf file that I had laying around I get valid Euler and Quaternions. What version of DREAM.3D are you using on which operating system?
--
Mike Jackson
From: <dream3...@googlegroups.com> on behalf of Christopher Collins <chrcoll...@gmail.com>
Date: Thursday, September 3, 2020 at 10:45 PM
To: dream3d-users <dream3...@googlegroups.com>
Subject: Find Feature Average Orientation
Hi Dream3D users,
I am running into an issue where the "Find Average Feature Orientation" filter is returning all 0s for the quaternions (and NaN for euler angles):

I have attached a simplified pipeline that produces this issue (but it won't let me attach the .ctf file). I know that the .ctf file is being imported correctly as I have exported the cell data to ASCII for comparison with the original .ctf:

Is there some other modification I need to perform on the data in order to use the "Find Average Feature Orientation" filter?
Best Regards,
Chris Collins
--
You received this message because you are subscribed to the Google Groups "dream3d-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dream3d-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dream3d-users/f3618112-dbec-491e-b5d7-4392af253aa7n%40googlegroups.com.




Chris,
So there was an issue in the use of the Quaternion API for the latest develop branches. I have removed the troublesome API from the Quaternion class and updated all of the codes. The good news is that the filters now work and produce values that they should. The bad news is that I think that something changed in the CAxisSegmentation filter between the 6.5 and 6.6 branches. Please verify with your own data if you think the filters are behaving appropriately.
Assuming the unit tests pass I will push the new code up to the develop branches later today (SEPT 7 2020).
--
Mike Jackson
From: <dream3...@googlegroups.com> on behalf of Christopher Collins <chrcoll...@gmail.com>
Date: Saturday, September 5, 2020 at 11:17 PM
To: dream3d-users <dream3...@googlegroups.com>
Subject: Re: Find Feature Average Orientation
Hi Mike,
I rebuilt the OpenSource version:

Unfortunately, the same issue is occurring. The "Find Average Feature Orientation" filter is returning all 0's for the quaternions and NaN for euler angles. I will try looking through the source code for the plugin but I am new to working with SIMPL so I probably wont have much luck.
Best Regards,
Chris Collins
--
You received this message because you are subscribed to the Google Groups "dream3d-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dream3d-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dream3d-users/6ecd2cf1-c17c-4c38-b2c3-7c370fa46c57n%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "dream3d-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dream3d-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dream3d-users/b9e87222-2339-4ecc-8f6e-04b5f0370885n%40googlegroups.com.