This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bl_info = { | |
"name": "3D Cursor LMB Toggle", | |
"author": "Ryan Sweeney", | |
"version": (1, 0), | |
"blender": (2, 75, 0), | |
"location": "View3D > Properties Panel > 3D Cursor", | |
"description": "Adds a toggle to the 3D Cursor properties tab.", | |
"warning": "", | |
"wiki_url": "http://sweenist.wordpress.com/2014/12/22/blender-add-on-3d-cursor-toggle/", | |
"category": "3D View"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###################################################### | |
### Ever accidentally make a list of immutable tuples | |
### only to find you used 0 as the base index instead | |
### of 1? So did I, ergo, unzero_list_of_tuples | |
### Ever have the reverse happen? use zero_list_of_tuples | |
###################################################### | |
def unzero_list_of_tuples(t_list): | |
ret_list = [] | |
for item in t_list: | |
for i in range(len(item)): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Simple script to identify what bpy.context and bpy.data attributes have | |
some crossover. data attributes tend to end with "s", where the context is | |
singular | |
eg: bpy.data.objects[i] and bpy.context.object both inherit from: | |
bpy.types.Object | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.Data; | |
using System.Drawing; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Windows.Forms; |