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
''' | |
Blender Script - Copy "Viewer Node" image to clipboard | |
- Windows only | |
- needs: Python module: Pillow (PIL) | |
ref: | |
python - Copy PIL/PILLOW Image to Windows Clipboard - Stack Overflow |
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
''' | |
surfacepoint_from_uv_coord() | |
forked from: | |
[SOLVED] Get 3D location of mesh surface point from UV Parameter? | |
https://blenderartists.org/forum/showthread.php?379027-Get-3D-location-of-mesh-surface-point-from-UV-Parameter | |
''' | |
import bpy | |
import bmesh | |
from mathutils.geometry import barycentric_transform, intersect_point_tri_2d |
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
''' blscript_save_viewport_buffer_as_image.py | |
''' | |
import bpy | |
import bgl | |
def main(): | |
def get_region_view3d(): | |
''' | |
context = bpy.context |
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
// ==UserScript== | |
// @name twitter - indent retweets & likes | |
// @namespace Violentmonkey Scripts | |
// @match *://mobile.twitter.com/* | |
// ==/UserScript== | |
(function(){ | |
/// for mobile.twitter.com | |
const svg_like_retweet = 'svg._1v21e2jc' |
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
## temp 20171123 | |
## GL Play Image Sequence - v0.3.1a | |
''' | |
Blender Addon # GL Play Image Sequence | |
''' | |
bl_info = { | |
"name": "GL Play Image Sequence", |
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
body {background: #ECEFF1; color: #757575;} | |
#reply-form, #replies {margin: 100px auto 16px; max-width: 360px;} | |
#reply-form, .reply {background: white; padding:5px;} | |
.reply {position: relative; border: 1px solid #ddd; margin:10px;} | |
#reply-body {width: 100%; height: 7em;} | |
#reply-key {width: 50px;} | |
.head {color: #888; font-size: 75%;} | |
.date {position: absolute; right: 0;} | |
.content {border-top: 1px dotted #ddd; padding: 4px;} | |
.delete {position: absolute; bottom: 0; right: 0; font-size: 60%; padding: 1px; background-color: #f5f5f5; border: none; color: #ccc; opacity: 0.7;} |