I would like to import and export quad mesh geometry, preserving the quad topology. The issues that I am running into are as follows:
- MeshToolkit triangulates imported meshes (Mesh.ImportFile)
- MeshToolkit triangulates exported meshes (Mesh.ExportFile)
- Parsing a quad mesh created in Dynamo and reconstructing it as a MeshToolkit Mesh only allows three Face Indices (see below). Defining four Face Indices results in Dynamo crashing.
vPos = m1.VertexPositions;
fInd = m1.FaceIndices;
fInd2 = DSCore.List.Flatten((DSCore.List.Transpose([fInd.A,fInd.B,fInd.C])));
meshTK = Dynamo.Mesh.ByVerticesAndIndices(vPos,fInd2);
Has anyone identified a workaround for importing/exporting quad meshes to/from Dynamo?