Skip to content

Instantly share code, notes, and snippets.

import random
import ctypes
import operator
import cProfile
import pstats
import os
import argparse
from time import time
import numpy
from numpy import frombuffer, complex64, empty, mean, ctypeslib
@nocarryr
nocarryr / ies2cycles.py
Created October 28, 2015 18:34 — forked from AngryLoki/ies2cycles.py
IES to Cycles addon for new nodetree system! It only works for trunk builds of blender 2.66 and later versions!!! Thread on blenderartists.org: http://blenderartists.org/forum/showthread.php?276063 Old outdated version (no rig) for official 2.66 release (old nodetrees): https://gist.github.com/Lockal/5313485
# ##### BEGIN GPL LICENSE BLOCK #####
#
# 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 2
# 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
@nocarryr
nocarryr / photo.py
Created October 23, 2015 19:55 — forked from knowuh/photo.py
Blender script to turn an image data block into 3D cubes...
#----------------------------------------------------------
# File photo.py - cubify a named image in project.
# @knowuh (Noah Paessel) http://bit.ly/photoblend
# License: MIT ( http://opensource.org/licenses/MIT )
#----------------------------------------------------------
import bpy
from random import uniform