This is a tool for analyzing and spotting mesh intersections. Original idea by Marcus from Avalon
-
Download and unzip the intersections-tool.zip file from github releases.
-
Drag and drop the "intersections-tool/install.py" file onto the Maya viewport.
-
Click the Intersections Tool icon on the shelf to run.
-
Set your time range with either;
Time Slider
,Start/End
orCurrent Frame
. -
Select your camera.
-
Analyze the frames.
-
Jump to frames with intersections.
>>> import intersections_tool
>>> coverage = intersections_tool.lib.get_coverage()
>>> print coverage
[[3.0, 0.004325], [4.0, 0.0042356]]
The analysis of frames happens by finding a 0-1 value per frame of how much the intersections cover the screen. A list of lists is returned that shows the frame and the coverage value.
More details about the arguments for the coverage method can be found in the method description:
>>> print help(intersections_tool.lib.get_coverage)