Closed argapost closed 1 year ago
Hi, does it help if you disable "GenerateCutScalars" on the vtkCutter node?
No, it doesn't seem to change anything :/
OK, thanks for testing and reporting! It seems that there is a bug, which turns negative data values into positive, I'll look into it.
Hi, I found and fixed a bug, can you please upgrade and try to see is it fixed for you? Thanks!
Hi, yes, it works! Thank you very much for your quick fix!
P.S. If I want to set the position and the colours of the colour ramp programmatically with blender python script or custom code, how would you suggest doing it?
Hi,
great! Custom Code can't be used for editing color ramp elements. For that, you need to modify bpy.data.textures['your_texture_name'].color_ramp.elements
. See colormap.py.
Perfect thanks I ll have a look!
Hi again,
I try to put a custom range to my scalar from -5 to 5 and map the colours blue to red, as seen below:
But I get the following result:
Whereas in Paraview I get:
Do I do something wrong?
Thank you in advance!