MeshSPlit by Plan

from Rhino.Geometry import *
if mesh:
    ##a=x.Split(y)
    tmp=[]
    m=[]
    m.append(mesh)
    g=len(m)
    for p in plan:
        for i in range(g):
            tmp.append(m[i].Split(p))
        m=(tmp[i])
        g=len(m)
    a=tmp[0]

Hi everyone help please
I want it to be split 3 times, but now it will be trimmed once

import Rhino.Geometry as rg
for plane in planes:
    temp = []
    for mesh in meshes:
        temp.extend(mesh.Split(plane))
    meshes = temp
a = meshes

MeshSplit.gh (15.9 KB)

3 Likes