I'm not at all sure what the title of this question should be. In the following image, you can see how I've used the Shading editor to create a texture.
What I want to do is to do this via python. I would like a single script to both create my mesh, and fill in all it's faces (these things I can do), and define and apply a procedural texture. I've been searching for tutorials for how to do this, and found several that show me how to create custom nodes (and even node groups..), but.. that's not what I'm after. I've found this: Part of the solution, but it seems to me like there must be a tutorial that covers this more comprehensively.. I just don't know what key-words to use yet to find it. Any help appreciated, including with figuring out what the title of this question should actually be.
VALTORGB
(color ramp) andTEX_WAVE
(wave texture). Also no need to create any texture in this case, just create the material, done. Recommend try to understand how blender works then re-create all the necessary steps using python. $\endgroup$