Skip to content

Instantly share code, notes, and snippets.

Dealga McArdle zeffii

Block or report user

Report or block zeffii

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@zeffii
zeffii / NodeTree
Created Oct 14, 2019
to do later? 2018
View NodeTree
{
"export_version": "0.079",
"framed_nodes": {},
"groups": {},
"nodes": {
"Cricket": {
"bl_idname": "SvCricketNode",
"color": [
0.0,
0.5,
@zeffii
zeffii / lite_menu2.md
Last active Oct 12, 2019
lite menu example markdown
View lite_menu2.md

==== INPUT

Generator {OBJECT_DATAMODE}

SvLineNodeMK3
SvPlaneNodeMK2
SvNGonNode
SvBoxNode
SvCircleNode
SvCylinderNodeMK2
View LiteMenu.md

Generator

SvLineNodeMK3
SvPlaneNodeMK2
SvNGonNode
SvBoxNode
SvCircleNode
SvCylinderNodeMK2
SphereNode
SvIcosphereNode
@zeffii
zeffii / NodeTree
Created Oct 4, 2019
to do later? 2018
View NodeTree
{
"export_version": "0.079",
"framed_nodes": {},
"groups": {},
"nodes": {
"A Number": {
"bl_idname": "SvNumberNode",
"height": 100.0,
"hide": false,
"label": "",
@zeffii
zeffii / NodeTree
Created Oct 4, 2019
to do later? 2018
View NodeTree
{
"export_version": "0.079",
"framed_nodes": {},
"groups": {},
"nodes": {
"Color in MK1": {
"bl_idname": "SvColorsInNodeMK1",
"height": 100.0,
"hide": false,
"label": "",
@zeffii
zeffii / NodeTree
Created Sep 28, 2019
to do later? 2018
View NodeTree
{
"export_version": "0.079",
"framed_nodes": {},
"groups": {},
"nodes": {
"A Number": {
"bl_idname": "SvNumberNode",
"height": 100.0,
"hide": false,
"label": "",
View darf.py
@persistent
def sv_update_handler(scene):
"""
Update sverchok node groups on frame change events.
"""
if not has_frame_changed(scene):
return
for ng in sverchok_trees():
try:
View c_xall.py
sockets = """
in points v
in edges s
out new_verts v
"""
cdef = """
int intersectAll(float vertices[][3], int lines[][2], float new_verts[][3]);
"""
View app_handler_bug.py
import bpy
from bpy.app.handlers import persistent
@persistent
def handler_undo_pre(scene):
print('pre')
@persistent
def handler_undo_post(scene):
print('post')
View using pathlib.py
def setup():
import os, bpy, pathlib
path = os.path.dirname(bpy.data.filepath)
root = pathlib.Path(bpy.app.binary_path).parent
# old way
py = os.path.join(root, "2.80", "python", "include")
build = os.path.join(path, "build")
srcs = os.path.join(path, "voro", "src")
You can’t perform that action at this time.