Skip to content

Instantly share code, notes, and snippets.

View zeffii's full-sized avatar

Dealga McArdle zeffii

View GitHub Profile
@zeffii
zeffii / edge_length_addon.py
Last active March 18, 2024 23:50
preliminary_edge_length addon
bl_info = {
"name": "Edge sum",
"author": "zeffii",
"version": (0, 1, 0),
"blender": (2, 7, 7),
"location": "3d view, N panel",
"description": "Adds edge sum box to Mesh Display.",
"wiki_url": "",
"tracker_url": "",
"category": "3D View"}
import os
import bpy
filename = 'non_standard.csv'
directory = '/home/zeffii/Desktop' # <-- if you have linux or osx
# directory = r'c:\some\directory' # <-- if windows, the r is important
# directory = 'c:/some/directory' # <-- if windows (alternative)
fullpath = os.path.join(directory, filename)
'''
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
@zeffii
zeffii / ufkoot.py
Last active February 12, 2024 02:00 — forked from anonymous/ufkoot.py
'''
installation
- from a fresh Blender start
- drop ufkoot.py into your scripts/addons(_contrib) folder
- in User Preferences / addons / Testing (or community..) / Development
- tick 'Info To Text'
- press Save User Settings
- close the User Preferences Panel
- press Ctrl + U , (this will store this preference in the startup.blend)
@zeffii
zeffii / robs_songlist.md
Last active November 30, 2023 18:26
rob's songlist
@zeffii
zeffii / view3d_idx_view.py
Last active October 4, 2023 11:12 — forked from anonymous/view3d_idx_view.py
Vertex Face Edge Index Visualizer
# ##### 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
@zeffii
zeffii / pixilang.sublime-syntax
Last active July 31, 2023 15:48
syntax hilighting for pixilang ( incomplete )
%YAML 1.2
---
# See http://www.sublimetext.com/docs/3/syntax.html
name: Pixilang
file_extensions:
- pixi
scope: source.pixi
import bpy
import bmesh
import numpy as np
## ------- part 1 --- do this once.
sig = 0.3
n_frames = 101
bpy.context.scene.frame_end = n_frames
pi = np.pi
# ##### 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
'''
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