Clipping plane tool/script/plugin/nuggets out there?

(Gustavo Fontana) #1

Hi All,

I like using clipping planes for section views, but the UI is not working out for me at all,

The fact that they are objects that I have to draw in another viewport from the one I’m using (because I want a right-view section on a perspective view) …and then the objects live on layers, and the layers visibility do not effect clipping plane action visibility, and that I have to turn them on/off on a property not easily accessible (one more click) in the properties panel on a per-viewport basis, …and do I turn on/off the first ‘Perspective’ viewport on the list, or the second ‘Perspective’ viewport on the list?

So, has any body cooked some sanity workflow for this? If not, or either way, shouldn’t RMA V6 this?



(Dale Fugier) #2

Have you tried SectionTools?

(Gustavo Fontana) #3

Thanks Dale, it does not look like what I want. A lot of complexity there. I want something that I activate and turn off with one click. No extra layers, no widges on my viewport when is not active, no extra geometry.

Is that possible? Have you seen how the section view works in Soliworks/NX/etc?


(Dale Fugier) #4

I haven’t seen clipping planes in the products you mention.

If you had a tool that could turn or or off all clipping planes at once, would that be helpful? I would be a command that you could assign to a button…

(Gustavo Fontana) #5

absolutely! Something that can do a clipping plane at X, Y, Z, or pased on a 3-point pick. Pleeeease!


(Dale Fugier) #6

I don’t understand this. I thought you just wanted to turn all clipping planes on and off?

(Pascal Golay) #7

Hi Gustavo - Clipping plane uses the regular Rectangle control so you have the 3point and Vertical contraints. You can macro placing clipping planes as well, so one in the current CPLane

! _ClippingPlane 0 10,10

on the World ZX plane

! _ClippingPlane _3Point w0,0,0 w10,0,0 w10,0,10

As a vertrical plane to the current cplane (like CutPlane) Yeah this one is a little more obscure, but you can use mine =)

! _ClippingPlane _Vertical  Pause Pause 10 r0,0,10 

Any of that help, for now?


(Pascal Golay) #8

@gustojunk, Currently as far as I can see, -Properties for clipping planes is broken, but in the regular Properties dialog, you can control all selected clipping planes at once - SelClippingPlane then Properties and then uncheck all views. I know this is lame compared to a dedicated command that could remember the views and turn them back on, but it might help. For now.


Disable/enable clipping plane
(Gustavo Fontana) #9

thank you guys, this kind of helps, but not much since the biggest problems I still face is: if a clipping plane is hidden (object hidden, or layer hidden) I have no way to turn it off.

Pascal, any chance you can cook a lil’ script that does what SelClippingPlane>delete does, but it can select and delete all clipping planes in a file, regardless of object/layerstate visibility?

With that a a bit of macro tweaking based on your suggestions I would have a solidworks-llike section tool.




This should do it:

import rhinoscriptsyntax as rs
if clips: rs.DeleteObjects(clips)


(Dale Fugier) #11

Hi Gustavo,

I’ve worked up a simple plug-in that contains two commands:


The plug-in work with 64-bit Rhino 5 only.

Let me know if this is helpful

GustoJunk.rhp (35 KB)

Clipping planes still too painful. Will it get better before V6 launch?
Disable all clipping planes in all views
Clipping plane options wishes
(Gustavo Fontana) #12

Hi Mitch,

I just tried what you posted…

…the only way I know, and it’s not working. what should my text should look like to paste in a button? Apparently not like this:

(I’m shamefully thick for this stuff, sorry)


(Gustavo Fontana) #13

Hi Dale,

This is kind of useful, I think between this, Pascal’s macro idea and a fixed version of Mitch’s delete clippingplanes I can cobble something together. If it’s elegant I’ll report back.



It’s not a vb Rhinoscript, it’s a Python script. To run:

! _RunPythonScript (

<paste script here>



(Dale Fugier) #15

@gustojunk, just curious of my plug-in helped or not…

( Charles C.) #16

Hello guys, I’m reopening this thread as I’m working under Rhino 5 and as the quite the same questions as @gustojunk. The thing is, I don’t know anything about scripting and how it works, so I’m quite lost in your discussion.

I’m looking for somthing simple. I need to make, let’s say, 5 clipping planes of the same object, that I could easily toggle on / off. So I thought Creating a clipping plane, moving it to a layer, then simply toggle on/off the layer will do the job… but didn’t work. Someone as a plugin for that?

@dale, your toolsection plugin look awesome… but a bit to complicate. Maybe you can indicate me how I can achieve what I want with your plugin ? simply :slight_smile:


(Dale Fugier) #17

Hi @billytalent.exe,

You can toggle a clipping plane’s visibility using the Properties panel. Just un-check the clipped view(s):


Or am I confused what you want?

– Dale

( Charles C.) #18

sorry dale, let me clarify a bit.

I have an object in my perspective view. that I want to cut at different angles. I want to be able to navigate in one click between one and another clipping plane. Is that possible ?

thank you

(Dale Fugier) #19

This isn’t a feature of Rhino. It may be possible for someone to write a utility to do this, however.

– Dale

(Wim Dekeyser) #20

An easy work-around goes like this:

  • Create a NamedView from your perspective view without any clipping planes active - name it e.g. v0
  • Activate one of your clipping planes and make a new NamedView - e.g. v1
  • Activate your NamedView v0
  • Activate an other clipping plane and make a new NamedView - e.g. v2
  • etc…

Now, when you want to navigate between these clipped views, just type e.g. v4 on the command line (with Enter) and your scene will be clipped with Clipping Plane number 4. [or you can use the NamedView dialog box to navigate between them].