V9 ClippingDrawing. Hidden objects and output duplicating issues

Hello @rajaa and @Vanessa ,

Could you please take a look at issues I have?

  1. Is it intentional, that ClippingDrawing takes hidden objects to consideration? My understanding, it shouldn’t. Do you have any cases where it is needed?
  2. On creation of the drawing I have multiple duplication. Looks like a bug to me, pretty straight forward.

Am I doing something wrong way?

One more thing to mention. Is there a way to make layer picking in the Clipping plane properties dialog more reliable, with check box marking instead of simple selection? It’s so easy to loose the selection by just accidentally clicking.

ClippingDrawing.3dm (347.7 KB)

It’s not duplicating the result today - not true, still duplicates, but still makes a ClippingDrawing of the hidden objects.

Some kind weird behavior.

Does anybody else have same experience?

Another question. Is there a way to distinguish Tangent lines when Use source layers option is used? Would be great to have such possibility.

Here is how it works:
If the Clipping-Plane are set to clip through “All” objects, then the ClippingDrawings will ignore hidden objects, but if it is set to clip through “Selected” objects or layers, it will include them whether hidden or not. In your case, your clipping plane is set to clip through the 2 layers and hence the behavior you observe:

Please share an example. This looks like a bug.

@Trav can you help?

Hi @rajaa . Thanks for looking at my case.

The video above shows this issue with duplication. I’ve also included the Rhino file.

I think this is not the best way to work with ClippingDrawing.

Let’s say I have multiple identical objects on the same layer (or symmetrical, like in the video above), but I want to show on the drawing only one sample of the array. I understand, the Detail window will clip the rest, but what’s the point to have all of them generated?

You may say - use “Object“ selection then. I would answer - If my object is still in process of editing and I have multiple Explodes and Joins on it - it will not be the same object anymore. So the ClippingDrawing will not use it in creation then.

Am I right?

There are situations when the user may hide the object to get it out of the way, but still want to see the effect of moving the clipping-plane for example. The following is a simple object that can work hidden or not, but it give you an idea.

We follow similar logic when for example “Group” a few objects, then hide some withing the group. When move the visible objects, the hidden are also moved.

I see the issue in your workflow. How about you place the object you’d like to extract the drawing for in a layer seperate from the copies?

I see your video, but can’t replicate it using your file with the latest WIP.

Do you think it is possible to give an option to a user (Include hidden)? Add one more check box to the dialog?

Please try using ClippingDrawing command on my file with these parameters:

Create the result. Then do Ctrl+Z. Then do the ClippingDrawing again. Then undo again.

Multiple back and forth will give you my issue.

I’m thinking this is a YT for Steve where the object id’s need to be inspected. The UI can’t make that decision, it just adds or removes objects from the list.

@Trav I think the user is suggesting to improve the layer picking…

1 Like

That’s correct.

@rajaa Were you able to reproduce?

I see it. Thanks for elaborating. It looks like a bug and I added it here…

1 Like

@rajaa , Do you think this addition to the dialog is possible?

Let the checkmark be On by default, but at least user will have choice.

Thank you for tracking the bug. I appreciate this.

I think the “Include Hidden” is more complicated and certainly not per layer. It can be considered per drawing/clipping-plane. I am not sure yet if it is more useful or confusing to support it. Will need more feedback.

That’s fair. Let’s wait and see if anybody will have similar request.

Thank you anyways.

1 Like

Normal Layers check box: this can be done. Please create the YT and assign it to me.

Hidden layers: This will have to be a YT for Steve as we’ll have to expand the attributes to accept layer index + additional bools. After that the UI can be changed to allow toggling the additional parameters like hidden.

The drawing block geometry has user text. Currently there is no support to access attributes of block geometry, but it is on the list here…. For now, to access tangent curves, you can either set the Clipping Drawing Property=ByOutputLayer, or explode the drawing block (note that exploding the block turn that copy of the drawing into a static drawing and will no longer update with model changes).

Done here…

1 Like

RH-94567 is fixed in Rhino WIP