Skip to content

Instantly share code, notes, and snippets.

View zeffii's full-sized avatar

Dealga McArdle zeffii

View GitHub Profile
'''
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 / 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
'''
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
# 3D NAVIGATION TOOLBAR v1.2 - 3Dview Addon - Blender 2.5x
#
# THIS SCRIPT IS LICENSED UNDER GPL,
# please read the license block.
#
# ##### 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
# ##### 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 / io_import_fcstd_280.py
Created June 11, 2022 17:11 — forked from yorikvanhavre/FreeCAD .FCStd importer for Blender 2.80
FreeCAD .FCStd importer for Blender 2.80
bl_info = {
"name": "FreeCAD Importer",
"category": "Import-Export",
"author": "Yorik van Havre",
"version": (5, 0, 0),
"blender": (2, 80, 0),
"location": "File > Import > FreeCAD",
"description": "Imports a .FCStd file from FreeCAD",
"warning": "This addon needs FreeCAD installed on your system. Only Part- and Mesh-based objects supported at the moment.",
}
import bpy
import urllib.request
from zipfile import ZipFile
import shutil
import os
from os.path import basename
from os.path import dirname
url = 'https://github.com/nortikin/sverchok/archive/master.zip'
@zeffii
zeffii / noya.py
Created June 13, 2013 17:27 — forked from anonymous/noya.py
import bpy
from mathutils import Vector
coordinates = [
((-1, 0, 0), (-0.7, 0, 0), (-1, 0.5521, 0)),
((0, 1, 0), (-0.5521, 1, 0), (0, 0.7, 0)),
((0, 0, 0), (0, 0.3, 0), (-0.3, 0, 0))
]
@zeffii
zeffii / count_lines_of_code_git.sh
Created December 23, 2020 16:08 — forked from dantheman213/count_lines_of_code_git.sh
Count how many lines of code are in git repo
git ls-files | xargs wc -l