Skip to content

Instantly share code, notes, and snippets.

View TravisEvashkevich's full-sized avatar
💭
I may be slow to respond.

Travis Evashkevich TravisEvashkevich

💭
I may be slow to respond.
View GitHub Profile
@TravisEvashkevich
TravisEvashkevich / MultiExport.manifest
Created September 12, 2023 14:36
Fusion 360 Multi Export for Selected STL
{
"autodeskProduct": "Fusion360",
"type": "script",
"author": "Travis Evashkevich",
"description": {
"Multi Export for STL's": "Export selected bodies to folder"
},
"supportedOS": "windows|mac",
"editEnabled": true
}
@TravisEvashkevich
TravisEvashkevich / gist:390e100fddf1f9cd572b367446ccf547
Last active May 1, 2024 22:03
Pytoshop and Pillow PSD Creation
#imports
from PIL import Image
import numpy
import pytoshop
from pytoshop.user import nested_layers
from pytoshop import enums
from pytoshop.image_data import ImageData
#Convert Pillow image to pyto layer (not fool proof by anymeans)
def pillow_image_to_pyto_image(name, image, x, y, visible, opacity, group_id, blend_mode, metadata, layer_color, color_mode, width = 0, height = 0):