0
$\begingroup$

In python, how do I input an image file, add it to an image texture node, and set its properties so that it will be packed into the .blend file? That is, how do I automate the actions in this animated gif and then pack the image?

https://gfycat.com/ElaborateFalseEmperorpenguin

$\endgroup$
13
  • $\begingroup$ It would help if we could see your Python script. Can you add it to your question? It might be easiest if you add the blend file containing. (How to add a blend file) If you do, be sure to pack everything in the blend file before adding it. $\endgroup$ Oct 7, 2021 at 21:02
  • 1
    $\begingroup$ My script doesn't pack it because this wasn't part of the question (and is a shot into the blue anyway to help the OP), see the revisions: blender.stackexchange.com/posts/240125/revisions - the image is packed and loaded already, to quote it again: "I have packed image inside blend file" @MartyFouts Again, please don't edit questions the way you understand it. $\endgroup$
    – brockmann
    Oct 16, 2021 at 14:20
  • 1
    $\begingroup$ Apples and oranges. I don't edit other peps posts without knowing what they want @MartyFouts ... I added a simple demo to help getting started. Btw: How to assign an image to the texture node without any material and without creating the node in a simple demo? $\endgroup$
    – brockmann
    Oct 16, 2021 at 15:00
  • 1
    $\begingroup$ Voting to close as dupe is legit since the OP can always clearify based on a starting point. What you're are doing is slipperly slope and helps neither the OP nor US to answer the question properly. Your comment doesn't answer my question from before, it's just righteous rant as always @MartyFouts $\endgroup$
    – brockmann
    Oct 16, 2021 at 15:21
  • 1
    $\begingroup$ Wouldn't librarians ask a question in the comments rather than editing your words? It's about respect and giving the author a chance @MartyFouts Your claim was "None of which are in the OPs original question." and I asked you how would you create a demo thus no distraction and actually part of our great discussion, I personally call it "Demo 101", lol. $\endgroup$
    – brockmann
    Oct 16, 2021 at 15:51

0

You must log in to answer this question.

Browse other questions tagged .