This article documents Scraper
, a very ad-hoc program that reads an article and downloads all referenced gyazo images into the assets folder of this project, ensuring that articles will not lose their images if gyazo versions are deleted.
We’ve decided that our various input files should be kept in folders based in the user’s files, not inside the project, since new input objects will probably be created often, and the code will, we think, change much less often.
Here is a patch of code:
With the single-button import approved, let’s see what code we can remove from the rcg file.
If I recall from yesterday, I made a bit more progress but didn’t write it up. I tried about 97 times to set the starting folder,. Today I want to consolidate that gain.
I begin by adding a new label and button to the menu:
Today, with the help of ChatGPT, I plan to try to build a very simple add-on and get it to work in Blender via the standard add-on path. I am torn about using ChatGPT. Since I started trying it a week or so ago, it has been giving me very useful information, much more easily than I can get it even with my surely above-average search skills. (It is not always right, but it is good about trying again.)
Our Blender Python script has several buttons that do almost the same thing. So we had several button classes, differing only a small amount. It took days to find the info here, but here’s how we created a button that takes parameters.