Skip to content

Instantly share code, notes, and snippets.

@jamiephan
jamiephan / README.md
Last active March 18, 2026 11:55
A script to automatically add ALL items to your account in quixel

Script to add all items from quixel

As quixel is being removed, all items are free to aquire. This script is to automate the process to add items to your account (As of writing, a total of 18874 items)

Note: This script only tested in the latest version of Chrome.

How to use

  1. Copy the script from below (run.js)
  2. Login into https://quixel.com
@chris-lesage
chris-lesage / check_max_influences.py
Created January 29, 2020 23:31
Check skinClusters for too many influences per vertex in Autodesk Maya.
import maya.OpenMaya as OpenMaya
import pymel.core as pm
import maya.OpenMayaAnim as OpenMayaAnim
import maya.cmds as cmds
import maya.mel as mel
class checkMaxSkinInfluences(object):
''' This script takes a mesh with a skinCluster and checks it for N skin weights.
If it has more than N, it selects the verts, so you can edit them.
@ryusas
ryusas / test_falloffCurveAttr.py
Last active November 4, 2024 09:36
A test for Maya's falloffCurveAttr control and attribute.
import maya.cmds as cmds
import maya.mel as mel
cmds.group(em=True)
cmds.addAttr(at='float2', ln='testFCurve', m=True)
cmds.addAttr(at='float', ln='testFCurvePosition', p='testFCurve', dv=-1)
cmds.addAttr(at='float', ln='testFCurveValue', p='testFCurve', dv=-1)
cmds.setAttr('.testFCurve[0]', 0, 0)
cmds.setAttr('.testFCurve[1]', .5, 0)
cmds.setAttr('.testFCurve[2]', .5, 1)
@blockinhead
blockinhead / vp2_test.py
Created August 29, 2018 11:29
minimalistic maya locator with viewport 2.0 draw override
# encoding: utf8
import maya.api.OpenMaya as om
import maya.api.OpenMayaUI as omui
import maya.api.OpenMayaRender as omr
def maya_useNewAPI():
pass