Blenderで動画作った際の副産物置き場。
- EC2向けのネットワークレンダ用サービススクリプト
- Blenderマクロ(Python)
- OpenEXR連番から動画作成
''' | |
installation | |
- from a fresh Blender start | |
- drop ufkoot.py into your scripts/addons(_contrib) folder | |
- in User Preferences / addons / Testing (or community..) / Development | |
- tick 'Info To Text' | |
- press Save User Settings | |
- close the User Preferences Panel | |
- press Ctrl + U , (this will store this preference in the startup.blend) |
Blenderで動画作った際の副産物置き場。
#!/usr/bin/python | |
''' | |
Author: Thomas Goodwin | |
Company: Geon Technologies, LLC, 2014 | |
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. | |
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. | |
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/. |
import bpy | |
from bpy_extras import keyconfig_utils | |
import sys | |
# Dump Blender keyconfig as HTML. | |
# How to use | |
# 1. Open this file in Blender's Text Editor. | |
# 2. Do "Run Script". | |
# 3. New Text "keyconfigs.html" will be added. | |
# save it somewhere and open in web browser (recommends Safari, Chrome or Firefox). |
import bpy | |
text = bpy.context.edit_text | |
def has_selection(text): | |
return not (text.select_end_line == text.current_line and \ | |
text.current_character == text.select_end_character) | |
print(has_selection(text)) |
import bpy | |
from pdb import set_trace | |
# quick handy little lambdas | |
first = lambda l : l[0] | |
last = lambda l : l[-1] | |
def chunks(lst, n): | |
for i in range(0, len(lst), n): | |
yield lst[i:i+n] |