Artist needs help Isolating or assigning color to grains

Hello!
I am an artist (have mercy!) designing a puzzle based on 3d grain boundary data. I’m using paraview to be able to view the xdmf file I created in Dream3d and I’m mostly getting the hang of that. My question is:

  • is it possible to isolate the grains based on their ipf color profile so that i could see all the orange, all the blue etc.
  • is it possible to assign a surface color to individual grains that i’ve brought in as stl files? Not for printing obviously, but just to help visualize the structure as I print and assemble it?

Thanks to anyone with any insight and apologies in advance if I’m not using the proper terminology.

It’s interesting to see ParaView used for applications a bit outside of what it was envisioned for. I’m not familiar with grain boundary data, so my answers my be guessing a little bit, but here goes.

For your first question, the Threshold filter pqThreshold24 will probably be able to isolate things based on their ipf value (whatever that is). Google seems to suggest that ipf is some sort of vector. In that case you will first need to go to Edit -> Settings (or ParaView -> Preferences on Mac) and turn on the Auto Convert Properties option. That will let you threshold each of the components of ipf independently. (You will have to add a chained Threshold for each component you want to narrow.)

For your second question, try running the Connectivity filter. That should assign a different number to each individual gain assuming that the independent grains are not touching.

Thank you! I’ll see if I can use the threshold and connectivity filter to make it do my bidding. For visual reference, here is the image of the data![copper_loaf|549x500](upload://63FD98vyffSh0J5wPodWc7wdVoT.png)

i’m essentially trying to recolor those grains and then be able to pull up all the grains of each color independently so i can organize them for printing. Thanks for reaching out. I appreciate the help!