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
{ | |
"export_version": "0.079", | |
"framed_nodes": {}, | |
"groups": {}, | |
"nodes": { | |
"A Number": { | |
"bl_idname": "SvNumberNode", | |
"height": 100.0, | |
"hide": false, | |
"label": "", |
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
""" | |
in steps s d=1200 n=2 | |
in seed s d=14 n=2 | |
in framenum s d=0 n=2 | |
out verts_out v | |
""" | |
def setup(): | |
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
git ls-files | xargs wc -l |
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
#ifndef INCLUDED_QJSON_H | |
#define INCLUDED_QJSON_H | |
#include <string> | |
#include <vector> | |
#include <map> | |
#include <stdexcept> | |
#include <memory> | |
#include <algorithm> | |
#include <istream> |
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
https://github.com/nortikin/sverchok | |
mkdir ~/BioBlender | |
git clone https://github.com/MonZop/BioBlender.git ~/BioBlender | |
ln -s ~/BioBlender ~/.config/blender/%BLENDER_VERSION_NUM%/scripts/addons/BioBlender | |
== or == | |
# in a folder wich contains BioBlender. | |
git clone https://github.com/MonZop/BioBlender.git BioBlender |
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
{'NurbsPath.055': | |
[[(0.12160392850637436, 0.05287003517150879, -0.03692507743835449, 1.0), | |
(0.20541998744010925, 0.13668608665466309, -0.03692507743835449, 1.0), | |
(0.06398054212331772, 0.10001659393310547, -0.03692507743835449, 1.0)]], | |
'NurbsPath.054': | |
[[(0.415458083152771, 0.9291355013847351, -0.03692507743835449, 1.0), | |
(0.6130191087722778, 0.9274251461029053, -0.03692507743835449, 1.0), | |
(0.5703786015510559, 0.5558017492294312, -0.03692507743835449, 1.0), | |
(0.7150659561157227, 0.47425976395606995, -0.03692507743835449, 1.0), | |
(0.5637456178665161, 0.4129241108894348, -0.03692507743835449, 1.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
import time | |
import json | |
from urllib.request import urlopen | |
import gzip | |
# site stats collector possible add filter &filter=!*LIKa78145bHnc-F | |
url = "http://api.stackexchange.com/2.1/info?site=blender.stackexchange.com" | |
b_time = time.time() |
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
# my_matrix.py | |
class Matrix: | |
def __init__(self, T, N): | |
self.T = T # All fields (list) | |
self.N = N # (n*n) | |
self.as_2d_list = self.vec_to_mat() | |
def vec_to_mat(self): | |
rows, cols = self.N |
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
# meta_troll.py | |
# This is me messing around with Python type constructors just for fun. | |
# Try and see what happens if you uncomment the __metaclass__ line in Foo. | |
class TrollType(type): | |
def __new__(meta, classname, bases, clssDict): | |
class MyTroll(object): | |
def say_stuff(self): | |
print("you mad bro?") | |
return MyTroll |
NewerOlder