Autodesk Creative Platform Core Version 1.19.0
A broad and deep collection of 2D and 3D capabilities.

Mesh3DSelection Overview

Inherits Classes: Selection

Implements Interfaces: IDebuggable

A selection for a Mesh3D object.

Introduced in Version: 1.8.0

Class Member Summary

Class Member Details

• Mesh3DSelection (mesh, triangleIndices) | Constructor

The following parameters can be specified in the constructor:
  • mesh: Mesh3D - The {Mesh3D} object.
  • triangleIndices: Array [ Number ] - The indices of the triangles that this selection identifies.

Array [ Mesh3DBoundary ] boundaries()

Computes the boundaries of the selection.

• clone()

Clones a new selection from this selection.

• debug()

Instructs the object to present useful debugging information via a series of calls to Debug.point, Debug.line and Debug.triangles.

Mesh3DSelection expandByCoplanar (tolerance) | Chainable

Expands the selection to all neighboring coplanar triangles in the mesh, until a non-coplanar triangle is discovered.
  • tolerance: Number - The tolerance of triangle normal angles in radians.

Mesh3D mesh

The mesh that this selection relates to.

Array [ Number ] triangleIndices

The set of triangles on the mesh this selection relates to identified by the triangle indices.