Skip to content

Instantly share code, notes, and snippets.

View zeffii's full-sized avatar

Dealga McArdle zeffii

View GitHub Profile
@zeffii
zeffii / _.md
Created January 16, 2013 19:50 — forked from enjalot/_.md
Tributary Inlets
@zeffii
zeffii / _.md
Created January 16, 2013 22:11 — forked from enjalot/_.md
Tributary Inlets
@zeffii
zeffii / _.md
Created January 18, 2013 00:09 — forked from enjalot/_.md
Pimp my Tribe
@zeffii
zeffii / _.md
Created January 18, 2013 12:14 — forked from enjalot/_.md
Pimp my Tribe
@zeffii
zeffii / _.md
Created January 19, 2013 10:46 — forked from enjalot/_.md
Pimp my Tribe
'''
NOTE: The Script only works on surface with Quads Faces ONLY
'''
import bpy
from random import *
# Get selected objects
selected_objects = bpy.context.selected_objects
import bpy
import random
# start in object mode
my_object = bpy.data.objects['Cube'].data
color_map_collection = my_object.vertex_colors
if len(color_map_collection) == 0:
color_map_collection.new()
import bpy
# instructions:
# "Use face masking mode, while in Vertex Paint mode"
def make_paint_list(my_object, faces):
# paint_list will contain all vertex color map indices to
# be used for overpainting.
paint_list = []
i = 0
'''
author: Dealga McArdle, 2013.
http://www.sublimetext.com/docs/2/api_reference.html
Installation
- place stringifier.py in Data/Packages/User
- place dictionary entry in Keybindings, User
{ "keys": ["ctrl+shift+["], "command": "stringifier" }
'''
http://www.sublimetext.com/docs/2/api_reference.html
Installation
- place stringifier.py in Data/Packages/User
- place dictionary entry in Keybindings, User
{ "keys": ["ctrl+shift+["], "command": "stringifier" }
usage: select a sequence of space separated words then press the key combo