Adverti horiz upsell

Find and Push Apart Intersecting Geos PRO 1.0.0 for Maya (maya script)

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".

License
$20.00
(qty: 1)

  • Check 16 Future Updates Included
  • Check 16 Highend3d Quality Checked
  • Check 16 Purchase Guarantee
  • Check 16 Support Included

Compatibility

  • 2019, 2018, 2017

Operating Systems

  • Windows

History

Created:01/28/2021
Last Modified:01/28/2021
File Size: 4.99 KB

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):

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)