Split and Cap macro?

Hi all. I do need to create a macro to cap automatically the BREPs that I do split using other geometries like curves (red one in this case). I tried to use something like:
! _Split _Cap

but seems that it is not working as I do need. Know somebody what should be correct syntax to create a cap operation after splitting into the same macro?


Split_and_Cap.3dm (169.1 KB)

P.S. maybe it is also a way to delete the curves used for splitting automatically from the same macro.

Did you try _WireCut, or the cut handle on Gumball?

WireCut it is more complicated to use. Split & Cap (and maybe delete input curves) it is a much faster way to achieve what I do need.

WireCut It is deleting a part of my geometry. I just want to split the geometry in two parts and cap them.

Oh, my bad, I just realized there is an option for WireCut to KeepAll.

You can use this macro, but only when you preselect the polysurface:
_Split _pause _pause _Cap

1 Like

Thank you. I tried before the _Split _pause _Cap and didn’t worked.

or:
_Wirecut _Pause _Bothsides=yes _KeepAll=yes pause _Enter

1 Like