Skip to content

Instantly share code, notes, and snippets.

@Deevad
Deevad / wacom.sh
Last active October 10, 2022 10:49
A bash script for an advanced setup of a Wacom on Linux : with a grep, automatic parsing of the Wacom identifier, of the screen, of dpi and with a precision mode ( drawing at 1:1 scale , the tablet / the screen ) . Only the button layout remain custom to the model ( Intuos 3 in this example ) and can be easily adapted with other buttons ID.
#! /bin/bash
# A bash script for an advanced setup of a Wacom on Linux :
# with a grep, automatic parsing of the Wacom identifier, of the screen, of dpi and with a precision mode
# ( drawing at 1:1 scale , the tablet / the screen ) .
# Only the button layout remain custom to the model ( Intuos 3 in this example )
# and can be easily adapted with other buttons ID.
#
# Dependencies: libwacom (xsetwacom), Bash and bc for the math, xrandr
# optional: Gnome icon, notify-send
# ( tested/created on Mint 17.2 Cinnamon, 11/2015 )
@paulwinex
paulwinex / alembic_maya_to_houdini.py
Created November 14, 2015 18:37
Full example for export Maya polygons to Houdini winth attributes and groups
import maya.OpenMaya as om
from imath import *
from alembic.Abc import *
from alembic.AbcGeom import *
import math
import alembic
def get_mesh_data():
selection = om.MSelectionList()