Skip to content

Instantly share code, notes, and snippets.

@nathanielanozie
nathanielanozie / naEaseAddOn.py
Created June 24, 2020 03:30
tool to ease animation curve keys
#tool to ease animation curve keys
#
#steps to install plugin
#1. save file to disk
#2. file > user preferences > addon >install addon from file > navigate to file
#3. click install addon > check the box next to addon to register it.
# if need to remove can expand clicking arrow and remove addon
#
#usage:
#select some keys in graph editor (assumes there are keys to left and right of selection)
@nathanielanozie
nathanielanozie / naSimpleWeightAddOn.py
Last active August 21, 2023 03:08
tool to help with weight painting
#naSimpleWeightAddOn.py
#modify use at your own risk
"""
last modified:
082023 -- working on set weights bugs where its not having weights add to 1
05042021 -- added comment for select active bone
05022021 -- worked on bug in weighting when have a locked bone
-- fixed bug in mirror weights was using data name
-- fixed bug mirror weights more than once. i think to use ops right side needs to start with zero weights
05012021 -- added a highlight active vertexgroup button.
@nathanielanozie
nathanielanozie / naCreateBoneAtVertexAddOn.py
Created May 15, 2021 22:18
tool is to help with creating bones at vertices. tested in blender 2.79
#tool is to help with creating bones at vertices. tested in blender 2.79
#
#modify use at your own risk
#last modified
#051521 -- working on initial release. added 1. and 2. from 051421.
# added a. nice to have option to create bones ignoring select order supporting selecting all verts or box select selection.
# added b. nice to have option on direction to point created bones
# added nice to have a picker for armature
# i think can ignore 4. from 051421 since length field can be used
@nathanielanozie
nathanielanozie / naSkinWeightIOAddOn.py
Last active December 30, 2021 20:43
skin weights import export in blender 2.79
#naSkinWeightIOAddOn.py
#modify use at your own risk
import bpy
import json
import os
####add on portion
@nathanielanozie
nathanielanozie / naShapekeyTopoTransferAddOn.py
Created December 30, 2021 20:41
some help with applying new topology to already created blendshapes
#shapekey topology transfer. tested in blender 2.79
#
#modify use at your own risk
#last modified
#123021 -- removed scaling of mesh before bind
#051421,102521 -- working on initial release
# 1. an offset x,y,z for where to put created shapes
# 2. needs to be tested on test facial mesh
# 3. option to position the created shapes in offset way or overlapping.
@nathanielanozie
nathanielanozie / __init__.py
Created April 22, 2023 02:26
work in progress arc tracker for Blender 2.79
import bpy
import imp
bl_info = {
"name": "arc tracker (package)",
"author": "Nathaniel Anozie",
"version": (0, 1),
"blender": (2, 79, 0),
"location": "3D View",
"description": "simple animation arc tracker (package)",
@nathanielanozie
nathanielanozie / cpp_doodle.cpp
Created November 4, 2023 20:03
for python and c++ side by side
//for python and c++ side by side
//
//save this file as:cpp_doodle.cpp
//compile it in terminal by: g++ -o prog cpp_doodle.cpp
//run it in terminal by: ./prog
#include <iostream> //for printing
#include <vector> //for std vector
#include <map> //for map, pair
@nathanielanozie
nathanielanozie / gameproblem.cpp
Created May 5, 2024 03:09
c++ multiplication text game
//to compile run in terminal:
//g++ -o prog gameproblem.cpp
//then type this to run it: ./prog
#include <iostream>
#include <random>
#include <algorithm>
#include <vector>
#include <cstdio>
#include <ctime>
@nathanielanozie
nathanielanozie / gamearithmetic.cpp
Created May 25, 2024 03:35
c++ arithmetic text game
//to compile run in terminal:
//g++ -o prog gamearithmetic.cpp
//then type this to run it: ./prog
#include <iostream>
#include <random>
#include <algorithm>
#include <vector>
#include <cstdio>
#include <ctime>
@nathanielanozie
nathanielanozie / ArmatureAnimationIO.py
Created June 15, 2024 04:08
animation import export class in blender 2.79
#ArmatureAnimationIO.py
#tested in blender 2.79
#please modify/use at your own risk
import bpy
###for animation io
import os
import re