Skip to content

Mesh Nodes

infeeeee edited this page Nov 4, 2020 · 4 revisions

Table of Contents generated with DocToc

Create Create

Cube

Creates a FreeCAD mesh cube

Insert

import a mesh to FreeCAD. Supported formats: stl, ast, bms, obj, off, iv, ply.

Be careful, the the import will be placed to the root of the document!

Use Object.AddtoGroup with list.map to add them to a group.

TODO: Check if AddToGroup works without list.map

See example ImportMesh.dyn.

MeshFromPoints

Create a FreeCAD Mesh from a list of Dynamo Points. Use tris of points, as a list of lists., with a similar layout:

list
    0 List
        0 Point
        1 Point
        2 Point
    1 List
        0 Point
        1 Point
        2 Point
    2 List
        0 Point
        1 Point
        2 Point
    ...

The node will fail if an unordered list of points is submiutted.

See MeshFromMeshToolkit.dyn in the Examples folder.

Clone this wiki locally