Skip to content

Dynamo Mesh Toolkit

Patrick Tierney edited this page Mar 19, 2015 · 40 revisions

Introduction

The Dynamo Mesh Toolkit is available through the Dynamo package manager. To install, select "Search for a Package" from the Packages menu, and search for MeshToolkit. Click the down arrow in a circle icon on the left hand side of the window to install. After installation, you will have a MeshToolkit node group in the Library pane on the left side of Dynamo.

The Dynamo Mesh Toolkit provides tools to import meshes from external file formats, create a mesh from Dynamo geometry objects, and manually build meshes by their vertices and indices. The library also provides tools to modify meshes, repair meshes, or extract horizontal slices for use in fabrication.

The Dynamo Mesh Toolkit is part of Autodesk's ongoing mesh research, and as such will continue to grow over the coming years. Expect new methods to appear on the toolkit frequently, and feel free to reach out to the Dynamo team with

Nodes

Constructors

ImportFile

ImportFile takes the name of a file as input. The file can be of the following types:

  • .obj - Wavefront OBJ file
  • .mix - Meshmixer file

ByGeometry

ByGeometry take as input Dynamo geometry objects, such as Surfaces or Solids. Points and Curves have no mesh representations so are not valid inputs. The number of triangles produced in the conversion is controlled by the Dynamo Render Precision under the Settings menu. A higher render precision will produce meshes with a larger number of triangles.

ByVerticesAndIndices

ByVerticesIndices takes a list of Points, representing the corners of the mesh triangles, and a list of indices, representing how the mesh is stitched together, and create a new mesh. The vertices input should be a flat list of sets of three points. The indices input should be a flat list of integers. Each set of three integer designates a triangle in the mesh. The integers specify the index of the point in the point list. The indexes should be 0-indexed, ie the first point of list has index 0, the second point has index 1, etc.

Query Methods

  • VertexCount
  • EdgeCount
  • TriangleCount
  • Vertices
  • Edges
  • Triangles

Other Methods

  • Repair
  • CloseCracks
  • MakeWatertight
  • ExportMeshes
  • Intersect

Transformation Methods

Examples

Releases

Roadmap

How To

Dynamo Internals

Contributing

Python3 Upgrade Work

Libraries

FAQs

API and Dynamo Nodes

Clone this wiki locally