Skip to content

Instantly share code, notes, and snippets.

View mini007mini's full-sized avatar
🏠
居家办公

mini mini007mini

🏠
居家办公
View GitHub Profile
@mini007mini
mini007mini / example_usage.py
Created March 31, 2023 06:56 — 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.