The human mouth is kind of a bastard. Animating it frame-by-frame requires a patience that I just don’t have. Blender has shape keys that can help you mold lips into different configurations for each sound, but you still have to set keyframes to match up with a particular word at each and every frame.
Or you can be lazy. Like me.
Continue reading “Python: How to Automate Shape Keys in Blender”
Back from vacation! I did a version of this in AutoHotkey a while back, but this one’s in Python. It does require importing modules—check out this post for that. You’ll want both requests and beautifulsoup (I’m using beautifulsoup4) before getting started.
Continue reading “Python: How to Write a Web Scraper”
I think I’ve mentioned it before that the Python documentation can be really confusing for beginners. There may be people out there who can look at this Table objects page and completely understand what’s happening.
I am not those people. I need visuals.
Continue reading “Python: How to Deal with Tables in Word”
So here’s a quick thing to note before we get started. Python will throw a shit-fit if you do not have everything properly formatted. Indentation matters. I can’t figure out how to make WordPress format my tabs, so if you do copy and paste the below code, indent the loops to avoid errors.
Continue reading “Python: How to Write an Intersect Analysis to a Text Document”
Python in ArcGIS is intimidating, so I’m starting simple. This is a quick walk through of how to load a script for use and what a basic Python script looks like.
Continue reading “Python: How to Start Scripting in ArcGIS”
Every time I start thinking that my job is bad, I try to remind myself that Stanley Kubrick had a secretary. The guy was notorious for driving actors into the ground. Making them do takes over and over and over. Can you imagine having to handle his administrative work?
If IMDB’s trivia page is to be believed, that poor soul had to spend weeks typing out the infamous ‘All work and no play makes Jack a dull boy’ novel from hell. On the off-chance I ever find myself similarly working for a maniac, I’m attempting to master the Python docx module, and I’ve been pleasantly surprised with how far you can get with just the basics.
Continue reading “Python: How to Automate Word Docs”
FINALLY. After weeks of errors and several bottles of wine, I managed to load a 3rd party module to get some more Python going.
Continue reading “Python: How to Install 3rd Party Modules without the Command Prompt”
I’m generally opposed to functions that overload on parameters. But seeing as how Blender functions do it all the time, I figured I’d go nuts for this updated text animation function.
Continue reading “Python Update: How to Animate Text in Blender”
This is Bob. Bob is a gelatinous organism from outer space. He’s also a bit of a diva, so he requires that he be announced by text that drifts upwards in a graceful and organized fashion.
So that’s how I spent the first chunk of my long weekend—figuring out text objects in Blender. For the sliding script, just scroll to the bottom. For more description, keep reading below.
Continue reading “PYTHON: How to Get Sliding Text in Blender”
Sometimes I get embarrassingly excited about being able to do things in Python that I will probably never need to do again. This is one of those times.
I had a mesh—a plane that I had turned into an a spiral walk-way. And I had the thought, this thing can’t have walls. Eventually I want the walk-way to be the center of a large arena that’s coated in fog. And the only way you’d really be able to see that it’s a spiral is if it’s semi-transparent and lined in lights.
Continue reading “Python: How to Loop through Every Vertex in a Mesh”