This file contains hidden or 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
{ | |
"export_version": "0.062", | |
"framed_nodes": {}, | |
"groups": {}, | |
"nodes": { | |
"Float": { | |
"bl_idname": "FloatNode", | |
"color": [ | |
0.6079999804496765, | |
0.6079999804496765, |
This file contains hidden or 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 | |
# encoding: utf-8 | |
## Module infomation ### | |
# Python (3.4.4) | |
# numpy (1.10.2) | |
# PyAudio (0.2.9) | |
# matplotlib (1.5.1) | |
# All 32bit edition | |
######################## |
This file contains hidden or 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
class PieRMB(Menu): | |
bl_idname = "pie.shadingview" | |
bl_label = "Viewport Shading " | |
def draw(self, context): | |
layout = self.layout | |
obj = context.object | |
pie = layout.menu_pie() |
This file contains hidden or 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
bl_info = { | |
"name": "FILL ME MO", | |
"author": "", | |
"version": (0, 1), | |
"blender": (2, 7, 6), | |
"category": "3D View" | |
} | |
import os | |
import bpy |
This file contains hidden or 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
# filename = "PWD/blender_loft.py" | |
# exec(compile(open(filename).read(), filename, 'exec')) | |
import bpy | |
import bpy_extras | |
import numpy | |
from mathutils import Matrix | |
# Create a spline/bezier from a list of points | |
def new_curve_from_points(pLists, name_prefix): |
This file contains hidden or 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
from enum import Enum | |
import bgl as GL | |
Triangles = 0 | |
NumVAOs = 1 | |
ArrayBuffer = 0 | |
NumBuffers = 1 |
This file contains hidden or 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
""" | |
NO this doesn't work yet. | |
lifted from: http://www.4dsolutions.net/ocn/lsystems.html | |
"F": Move forward a step of length d. A line segment between | |
points (X,Y,Z) and (X',Y',Z') is drawn. | |
"[" | |
and |
This file contains hidden or 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 | |
class SimpleCallback(bpy.types.Operator): | |
bl_idname = "object.variable_callback" | |
bl_label = "Simple Callback" | |
variable_name = bpy.props.StringProperty() | |
ops_kind = bpy.props.FloatProperty() |
This file contains hidden or 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 | |
bl_info = { | |
"name": "Refresh Images", | |
"version": (0, 1), | |
"blender": (2, 76, 0), | |
"description": "Refresh images", | |
"category": "3D View" | |
} |
This file contains hidden or 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
# ***** BEGIN GPL LICENSE BLOCK ***** | |
# | |
# This program is free software; you may 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 |