Profile PictureMonika Yello

Find and Push Apart Intersecting Geos PRO v1.0 for Maya

$10+
0 ratings

// Find and Push Apart intersecting Geos UI and Script for Autodesk Maya


This script finds intersecting geos by bounding box overlap. The found intersecting geos can either be selected, hidden, deleted, push apart or scaled down to resolve intersection. It tries to replicate the "Cinema 4D Push Apart Effector".


You can do one of the following with the found intersecting geos:

- SELECT: select intersecting geos

- HIDE: hides intersecting geos

- SCALE APART : scale them to make them not intersect anymore (PRO version only)

- PUSH APART : push towards closest free direction (PRO version only)

- PUSH ALONG X/X/Z only pushes in the specified direction (PRO version only)


Additional options to set:

- Radius: How far apart the objects should be (only influences Push apart and Scale apart) - Default 0.1

- Iterations: Nr of iterations. The more the less errors but the slower the script will run (only influences Push apart and Scale apart)- Default 3


USE (UI):

Maya 2022 and above: Install Pymel following the instructions on the Autodesk Site : https://help.autodesk.com/view/MAYAUL/2024/ENU/?guid=GUID-2AA5EFCE-53B1-46A0-8E43-4CD0B2C72FB4

a) Copy the file (mo_findIntersectingGeos.py / mo_findIntersectingGeosPro.py) to your Maya scripts directory. On Windows that is Documents/maya/20xx/scripts/

b) Select the geometries to check on

c) In the Script Editor (Python), paste the following code:

import mo_findIntersectingGeosPro as mo_fi

mo_fi.findIntersecting_UI()

d) Hit execute (or Ctrl Enter)


USE (SCRIPT MODE)

import mo_findIntersectingGeosPro as mo_fi

geos = pm.selected()

mo_fi.findIntersectingGeos(geos, select_overlapping=True)

$
Add to cart

A easy to use UI to deal with overlapping Geos in Autodesk Maya

Size
4.99 KB
Copy product URL
$10+

Find and Push Apart Intersecting Geos PRO v1.0 for Maya

0 ratings
Add to cart