Skip to content

Instantly share code, notes, and snippets.

Lucas ImLucasBrown

Block or report user

Report or block ImLucasBrown

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ImLucasBrown /
Created May 11, 2019
Find edges on a loop between two symmetrical sets of edges
from maya import cmds
def find_edges_between(input_edges=None, summery_axis='x'):
Given an list of edges on one side of a mesh this function finds the edges on the same loop that are between
the input edge(s) and a symetrical set of edges. This function is not dependant on edge indices
:param input_edges A lsit of at least one edge on one side of a mesh.
:param summery_axis The symmerty axsis in object space NOT world space.
:returns List of the edges in between
# Python 2.7
# This file contains all the functions needed to receive commands in 3ds Max and send them from another application.
# In Max just run this file and the open_max_command_port() command
# In another application you only need to run the send_command_to_max() command
# This only works with maxscript commands!
# Format them like this: send_command_to_max("box()")
import socket
try: # Using a try here so it doesn't error out in my IDE
import MaxPlus
You can’t perform that action at this time.