Mesh Collision Detection

The algorithm computes if two meshes or two groups of meshes collide.

Input

Either two meshes or none (but the annotation widget should contain some meshes).

Output

None. The algorithm outputs the information whether meshes (groups of meshes) collide into the log window.

Description

  • When input is two meshes.

    The algorithm prints into the log window the information whether the input meshes collide.

  • When input is empty.

    The algorithm picks up all the meshes available from the annotation widget and lists them in a table. A user can then assign a group to each mesh using a spinbox Assign to group and a button Apply. When the groups are assigned, one can select the groups of interest from the Group spinboxes, specify the distance threshold from the Safety distance spinbox, and estimate the collision via the Detect button. The information whether the groups collide will be printed in the log window.