Skip to content

Instantly share code, notes, and snippets.

View spyxx's full-sized avatar

Wesley Schneider spyxx

View GitHub Profile
@spyxx
spyxx / example_usage.py
Created September 30, 2020 21:39 — forked from chris-lesage/example_usage.py
A script to pin an object to a NurbsSurface in Autodesk Maya
import pymel.core as pm
'''
Here are some examples of how to use the pin_to_surface.py script.
'''
# make a nurbsPlane
oNurbs = pm.nurbsPlane(n='nurbsPlane1')
# You can specify the nurbsSurface by string, PyNode transform or PyNode shape.
# # - -*- coding: utf-8 -*-
# # - iteraveis
# # - objetos que permitem iteração em seus elementos
# # - arrays ou listas (ordenados e indexados)
# # - tipos
print "*--iteráveis--*"
print list, tuple, set, str, bytearray, file