Code


Edge Angle Select

This utility allows for the selection of mesh components based on their “Edge Angle” – the angle between the normals of two polygons sharing a common edge. Built to streamline the selection of hard edges, mechanical seams, or specific geometric features, the tool is written using the Maya Python API to ensure high performance on dense meshes.

Note: non-manifold geometry (with edges shared by more than two polygons) is not supported.


Features

Fully Interactive

Real-time viewport updates as you tweak the angle parameters.

High Performance

Optimized via the Maya Python API to handle dense production meshes efficiently.


Video


Setup


Installation

Edge Angle Select is part of the FX Python Tools library. Download fxpt from GitHub and add it to your PYTHONPATH directory.


How to Run

To launch the tool via the Script Editor or a shelf button:

Python
from fxpt import fx_select_component_by_edge_angle
fx_select_component_by_edge_angle.run()

Compatibility

Tested on

Maya 2016
Maya 2017
Maya 2022 (with “-pythonver 2” flag)

Requirements

Maya versions using a Python 2.7 interpreter