Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 4120

Creating MeshFaceList type

$
0
0

Michał Święciak wrote:

Hello,

I'm trying to use Rhino.Geometry.Collections.MeshFaceList.AdjactedFaces method which asks for self: MeshFaceList, faceIndex: int as input. The script editor outputs that AdjactedFaces method takes exactly 2 arguments, but I can't get over with MeshFaceList type.

Mesh created by Rhino.Geometry.Mesh.Vertices.Add() and Rhino.Geometry.Mesh.Faces.AddFace() used in AdjactedFaces outputs:

Runtime error (ArgumentTypeException): expected MeshFaceList, got Mesh

Can you explain the construction of MeshFaceList to a beginner and give an example of python script which uses MeshFaceList please?

Thanks
Michał

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4120

Trending Articles