Hello,
I’m trying too “Trim” but found it easier to split then keep the part I want.
Dim Split As Rhino.Geometry.Brep = ElementObj.Brep.Faces(0).Split(CrvList, doc.ModelAbsoluteTolerance)
doc.Objects.Delete(Element, True)
Dim FirstHalf As Geometry.Brep = Split.Faces(0).DuplicateFace(True)
Dim NewObjGuid As Guid = doc.Objects.AddBrep(FirstHalf)
The CrvList is a dupborder of the green/blue part.
The ElementObj is the Yellow object
The FirstHalf is the white object
Why doesnt it trim over the curve directly? I dont want some blue/green on the sides
If I trim it by hand it looks like:
2nd question. If I split it. Is it possible to keep the attributes of the original object?