Skip to content

Instantly share code, notes, and snippets.

@jwrush
jwrush / photo.py
Created February 10, 2019 15:44 — forked from knowuh/photo.py
Blender script to turn an image data block into 3D cubes...
#----------------------------------------------------------
# File photo.py - cubify a named image in project.
# @knowuh (Noah Paessel) http://bit.ly/photoblend
# License: MIT ( http://opensource.org/licenses/MIT )
#----------------------------------------------------------
import bpy
from random import uniform

Array<T>

Array<T>.prototype.*

  • concat(...items: (T | Array<T>)[]): T[] 🔒 ES3

    Returns a new array that is the concatenation of this and all items. Non-array parameters are treated as if they were arrays with single elements.

> ['a'].concat('b', ['c', 'd'])

Array<T>

Array<T>.prototype.*

  • concat(...items: (T | Array<T>)[]): T[] 🔒 ES3

    Returns a new array that is the concatenation of this and all items. Non-array parameters are treated as if they were arrays with single elements.

> ['a'].concat('b', ['c', 'd'])

// ==UserScript==
// @name Face Angle Capture
// @namespace http://github.com/AlexisTheLarge
// @version 1.3
// @description Capture angles from 3D face reconstruction automatically
// @author Alexis_TheLarge
// @match http://cvl-demos.cs.nott.ac.uk/vrn/view.php*
// @grant GM_addStyle
// @grant GM.addStyle
// @require https://greasemonkey.github.io/gm4-polyfill/gm4-polyfill.js
@echo off
:: http://weblogs.asp.net/jgalloway/archive/2006/11/20/top-10-dos-batch-tips-yes-dos-batch.aspx
echo %%~1 = %~1
echo %%~f1 = %~f1
echo %%~d1 = %~d1
echo %%~p1 = %~p1
echo %%~n1 = %~n1
echo %%~x1 = %~x1
echo %%~s1 = %~s1
echo %%~a1 = %~a1