This file contains hidden or 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
#! /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 ) |
This file contains hidden or 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
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() |