# Boolean split by current plane

**URL:** <https://discourse.mcneel.com/t/boolean-split-by-current-plane/194427>\
**Category:** Rhino for Windows\
**Tags:** windows, featurerequest\
**Created:** [November 6, 2024, 5:30pm UTC](https://discourse.mcneel.com/t/boolean-split-by-current-plane/194427 "2024-11-06T17:30:31Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![erik6](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/erik6/32/765604_2.png) [@erik6](https://discourse.mcneel.com/u/erik6)\
**Post date:** [November 6, 2024, 5:30pm UTC](https://discourse.mcneel.com/t/boolean-split-by-current-plane/194427/1 "2024-11-06T17:30:31Z")

</div>

When editing geometry, one of the procedures that I repeat very frequently is the following:

I create a plane (planar surface).  
I select some solid geometry.  
I use boolean split to cut the geometry in parts by using the plane.  
I then delete some of the geometry not needed.  
I then delete the plane. (the two last can be combined).

I don’t know if there is a simpler way of doing this, but my suggestion is as follows - and at least for me it would save a lot of time and irritation. (And a lot of leftover cutting planes.)

Create a very simple command that performs the operation boolean split by current construction plane. Any selected geometry when the command is invoked will then be split in parts by the construction plane (plane).

No need to create temporary planes. No need to delete them again. In many cases just for example “Set plane to object” and then “Boolean Split by Construction Plane”.

Anyone else missing this ?

(Sure it can be implemented in Vb …)

Thanks

---

<div class="post-metadata">

**Author:** ![Helvetosaur](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/helvetosaur/32/635974_2.png) [@Helvetosaur](https://discourse.mcneel.com/u/Helvetosaur)\
**Post date:** [November 6, 2024, 9:52pm UTC](https://discourse.mcneel.com/t/boolean-split-by-current-plane/194427/2 "2024-11-06T21:52:11Z")

</div>

Here is a script that might help…

[SplitObjsWithCPlane.py](https://discourse.mcneel.com/uploads/short-url/kIOBdBmxeoWBH1S1Rq2E30NL0aj.py) (5.6 KB)

Even simpler, in Rhino V8, you can try this macro:

`! _BooleanSplit _Pause _IP _CPlaneXY _Enter`

---

<div class="post-metadata">

**Author:** ![davidcockey](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/davidcockey/32/771921_2.png) [@davidcockey](https://discourse.mcneel.com/u/davidcockey)\
**Post date:** [November 6, 2024, 11:07pm UTC](https://discourse.mcneel.com/t/boolean-split-by-current-plane/194427/3 "2024-11-06T23:07:17Z")

</div>

An alternative may be the WireCut command with the Line option.

> **[WireCut | Rhino 3-D modeling](https://docs.mcneel.com/rhino/8/help/en-us/commands/wirecut.htm)**
>
> The WireCut command trims a polysurface with a curve similar to cutting foam with a heated wire.

---

<div class="post-metadata">

**Author:** ![theoutside](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/theoutside/32/770924_2.png) [@theoutside](https://discourse.mcneel.com/u/theoutside)\
**Post date:** [November 6, 2024, 11:37pm UTC](https://discourse.mcneel.com/t/boolean-split-by-current-plane/194427/4 "2024-11-06T23:37:48Z")

</div>

or just use the cutter with any curve on the gumball-

---

<div class="post-metadata">

**Author:** ![erik6](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/erik6/32/765604_2.png) [@erik6](https://discourse.mcneel.com/u/erik6)\
**Post date:** [November 7, 2024, 8:14am UTC](https://discourse.mcneel.com/t/boolean-split-by-current-plane/194427/5 "2024-11-07T08:14:58Z")

</div>

Hello Kyle,

could you be a bit more verbose? How would you do that? Is there a way to use the gumball curves for the wirecutter? The gumball disappears when I use wirecut …

Thanks  
/Erik

---

<div class="post-metadata">

**Author:** ![erik6](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/erik6/32/765604_2.png) [@erik6](https://discourse.mcneel.com/u/erik6)\
**Post date:** [November 7, 2024, 8:20am UTC](https://discourse.mcneel.com/t/boolean-split-by-current-plane/194427/6 "2024-11-07T08:20:32Z")

</div>

Helvetosaur,

perfect thanks.

Already using the python script.

The macro is good, but is it possible to change so that it uses an already selected object(s) if available? Maybe that’s beyond the macro language?

/Erik

---

<div class="post-metadata">

**Author:** ![Helvetosaur](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/helvetosaur/32/635974_2.png) [@Helvetosaur](https://discourse.mcneel.com/u/Helvetosaur)\
**Post date:** [November 7, 2024, 8:31am UTC](https://discourse.mcneel.com/t/boolean-split-by-current-plane/194427/7 "2024-11-07T08:31:18Z")

</div>

> [@erik6](#):
>
> so that it uses an already selected object(s) if available?

The macro works with preselected objects to split here… Do you have an example where it’s not working?

The script has an advantage over the macro in that it is designed to split not only volumetric objects - those that BooleanSplit will work on - but also curves, open surfaces/polysurfaces and meshes.

The ‘cut’ tool on the V8 gumball will work with a simple line drawn on the CPlane, it’s almost easier than using Wirecut. The line does have to completely cut through the object in the pull direction.

---

<div class="post-metadata">

**Author:** ![wim](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/wim/32/747482_2.png) [@wim](https://discourse.mcneel.com/u/wim)\
**Post date:** [November 7, 2024, 9:21am UTC](https://discourse.mcneel.com/t/boolean-split-by-current-plane/194427/8 "2024-11-07T09:21:20Z")

</div>

Hej Erik -

> [@erik6](#):
>
> The gumball disappears when I use wirecut …

Don’t use the `Wireframe` command. Just select the curve and use the cutter line on the Gumball’s Z-axis to cut through the object.  
-wim

---

<div class="post-metadata">

**Author:** ![erik6](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/erik6/32/765604_2.png) [@erik6](https://discourse.mcneel.com/u/erik6)\
**Post date:** [November 7, 2024, 11:02am UTC](https://discourse.mcneel.com/t/boolean-split-by-current-plane/194427/9 "2024-11-07T11:02:01Z")

</div>

![image.png](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/b/3/4/b3431abf034c3db80c9c1a54ce0e31ca40796b1f.png)

There’s no cutter line on my z-axis … What’s wrong with it?

 ![image.png](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/2/7/b/27bf136f00012e511c3eebc255ec04ff674f6868.png)

I see it in the manual …

/Erik

---

<div class="post-metadata">

**Author:** ![wim](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/wim/32/747482_2.png) [@wim](https://discourse.mcneel.com/u/wim)\
**Post date:** [November 7, 2024, 11:04am UTC](https://discourse.mcneel.com/t/boolean-split-by-current-plane/194427/10 "2024-11-07T11:04:22Z")

</div>

Hej Erik -

> [@erik6](#):
>
> There’s no cutter line on my z-axis … What’s wrong with it?

It’s hard to tell from an image.  
You need to have a planar curve selected for that feature to show up.  
-wim

---

<div class="post-metadata">

**Author:** ![erik6](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/erik6/32/765604_2.png) [@erik6](https://discourse.mcneel.com/u/erik6)\
**Post date:** [November 7, 2024, 12:21pm UTC](https://discourse.mcneel.com/t/boolean-split-by-current-plane/194427/11 "2024-11-07T12:21:22Z")

</div>

I see. I now understand how that works. That’s good and useful but it’s not exactly what I’m looking for.

I’m looking for an infinite (=bounding box) plane to cut through selected geometry. The python script does exactly does and it is now part of the small codes snippets that are initialized when my Rhino loads. It think it should be part of what is included as default in the software.

Thanks again  
/Erik

---

<div class="post-metadata">

**Author:** ![Helvetosaur](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/helvetosaur/32/635974_2.png) [@Helvetosaur](https://discourse.mcneel.com/u/Helvetosaur)\
**Post date:** [November 7, 2024, 2:55pm UTC](https://discourse.mcneel.com/t/boolean-split-by-current-plane/194427/12 "2024-11-07T14:55:34Z")

</div>

As mentioned earlier, the V8 infinite plane possibility can be used in commands that call for a splitting/trimming object like Split, BooleanSplit, etc. Simply type `ip` when asked to choose the splitting object, then check the command line options for which plane you want to use.

---

<div class="post-metadata">

**Author:** ![erik6](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/erik6/32/765604_2.png) [@erik6](https://discourse.mcneel.com/u/erik6)\
**Post date:** [November 7, 2024, 4:56pm UTC](https://discourse.mcneel.com/t/boolean-split-by-current-plane/194427/13 "2024-11-07T16:56:03Z")

</div>

That’s truly great news! Been using it the whole day already.

Could the “Object” selection be added to ClippingPlane as well? So that you don’t have to do 3points all the time when creating new ClippingPlanes ?

Thanks  
/Erik

---

<div class="post-metadata">

**Author:** ![wim](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/wim/32/747482_2.png) [@wim](https://discourse.mcneel.com/u/wim)\
**Post date:** [November 8, 2024, 10:32am UTC](https://discourse.mcneel.com/t/boolean-split-by-current-plane/194427/14 "2024-11-08T10:32:00Z")

</div>

Hej Erik -

> [@erik6](#):
>
> Could the “Object” selection be added to ClippingPlane as well? So that you don’t have to do 3points all the time when creating new ClippingPlanes ?

I’ve put that request on the list as [RH-84672](https://mcneel.myjetbrains.com/youtrack/issue/RH-84672) ClippingPlane: Placement Options  
-wim
