This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import bpy | |
import bpy_extras | |
import mathutils as mu | |
from io_scene_fbx import ExportFBX | |
bl_info = { | |
'name': 'Autoexport FBX Target (.fbx)', | |
'author': 'Tamas Kemenczy', | |
'blender': (2, 80, 0), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Capslock remapping should be done in the registry to avoid key repeat issues in here | |
; Capslock::Ctrl | |
; WheelUp:: | |
; Send {WheelDown} | |
; Return | |
; WheelDown:: | |
; Send {WheelUp} | |
; Return |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sys | |
import bpy | |
output = None | |
input = None | |
info = None | |
error = None | |
write = None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import bpy | |
import math | |
import mathutils | |
bl_info = { | |
'name': 'Export Beziers (.svg)', | |
'author': 'Tamas Kemenczy', | |
'version': (0, 1), | |
'blender': (2, 6, 9), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bpy | |
import bmesh | |
NAME = '(Plot)' | |
def line(gen): | |
scene = bpy.context.scene | |
objects = bpy.data.objects | |
if NAME in objects: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Capslock remapping should be done in the registry to avoid key repeat issues in here | |
; Capslock::Ctrl | |
WheelUp:: | |
Send {WheelDown} | |
Return | |
WheelDown:: | |
Send {WheelUp} | |
Return |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bpy | |
import math | |
import mathutils | |
bl_info = { | |
'name': 'Light Vertex Colors', | |
'author': 'Tamas Kemenczy', | |
'version': (0, 1), | |
'blender': (2, 6, 3), | |
'location': 'View3D > Specials > Light Vertex Colors', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bpy | |
import math | |
import mathutils | |
def magnitude(v): | |
return math.sqrt(v.x ** 2 + v.y ** 2 + v.z ** 2) | |
COLOR = mathutils.Color((1, 1, 1)) | |
RADIUS = 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import sys | |
last = '' | |
punc = ',' | |
while True: | |
c = sys.stdin.read(1) | |
if c: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vector2.prototype = { | |
init: function(x, y) { | |
this.x = x; | |
this.y = y; | |
}, | |
copy: function() { | |
return new Vector2(this.x, this.y); | |
}, |