Created
February 13, 2018 15:43
-
-
Save rondreas/961fbe4032e4315187f701c2443ec380 to your computer and use it in GitHub Desktop.
Cut Hard Edges on selected object
This file contains 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 pymel.core as pm | |
# Get all non smooth edges, and cut their UVs | |
hard_edges = [e for e in pm.selected()[0].e if not e.isSmooth()] | |
pm.polyMapCut(hard_edges) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment