Skip to content

Instantly share code, notes, and snippets.

bl_info = {
"name": " Select children",
"author": "icyp",
"version": (0, 1),
"blender": (2, 69, 0),
"location": "View3D",
"description": "select Children",
"warning": "",
"wiki_url": "",
"tracker_url": "",
@iCyP
iCyP / LICENSE
Last active August 29, 2015 13:55
The MIT License (MIT)
Copyright (c) 2014 iCy
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@iCyP
iCyP / readme
Last active July 25, 2018 10:51
blender用スクリプト。使用したこと等による損害等一切無保証、自己責任でどうぞ
使い方
1 .下記スクリプトのresolution,frames,outPutPassesをよしなに書き換える
※とりあえず 初期のまま、デスクトップにでもuntitle.blendを保存して、それで試して見ることをおすすめします。
以下a,b好きな方で
2a. cmdなりPowerShellなりBashなりZshなりで ./blender.exe -b <ここにレンダリングしたい*.blendのパス> -P resourceRenderScript.py (->このスクリプトのあるパス)
2b. blenderでレンダリングしたい *.blend を開いて、blenderのテキストエディタにこれを貼り付けてAlt+P
3. *.blendと同じフォルダに、同じ名前でフォルダが作られ、その中に結果が入ります。
注意
@iCyP
iCyP / keymap109.html
Last active December 13, 2015 22:49 — forked from lab1092/keymap109.html
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<style type="text/css">
<!--
#tbl span{
display: inline-block;
@iCyP
iCyP / blender_keymap2csv.py
Last active December 11, 2015 18:18
blenderのショートカットをcsvで、blender.exeと同じディレクトリに、 keymap.csv として書き出すスクリプト 一部環境(オンボードグラフィックス?)ではフリーズします。 特徴: 1.日本語も出力, ex: Mesh,Make Normals Consistent,法線を一様に,mesh.normals_make_consistent,N+ctrl,N,FALSE,TRUE,FALSE 2.call menuは呼ばれるmenuに変換※ ※日本語変換なし ex:Call menu -> en:Special ja:Special
# coding: utf-8
import bpy
import csv
def char_replacer(str):
for words in char_dic:
str = str.replace(words,char_dic[words])
str = str.capitalize()
return str