This script will compute the intersection of two intersecting edges or if the selected edges
don't intersect will create a new edge that represents the shortest distance between them.
|
|
The possible outcomes of running this script are as follows: |
|
1) | If the edges intersect, the user is asked if they wish to Subdivide Edges. (Fig. 1) |
a) If "Yes", then a new vertex is created and the effected edges are subdivided (effected faces are removed leaving the user to fill as desired). (Fig. 2) | |
b) If "No", then only a new vertex is created. | |
c) If "Cancel", then script terminates | |
2) | If the edges do not intersect (Fig. 3), the script will attempt to determine the shortest distance between the selected edges and create a new edge. (Fig. 4) |
3) | There are some conditions where #1 and #2 are not possible. In this case the script will terminate after informing the user that it can not proceed. For example: If the selected edges share a vertex or a face the computation can not proceed. |
Usage: |
|
From edit mode, select two edges and run this script. Script link is under Script -> Mesh -> Compute Edge Intersection |