Rhino 6: copied object get same material. How to stop this?

Hi…,

when I copy an object, and drag&drop a material to one object, the copied object gets the same material. (Rhino 6 SR27)


Rhino 6 copied object get same material.3dm (137.8 KB)

Why?
How to stop this behaviour?

Thanks

Michael
www.flexiCAD.com

Hi Micahel - this is not happening here so far - was the object copied using Copy, or CopyToClipBoard/Paste or Mirror with Copy. or Alt-Drag? Or does it make no difference? And, if you close and reopen the file, or Rhino, does this problem go away?

-Pascal

Hi Pascal,

yes copied with _Copy. Clipboard copying doesn’t give this error/material linkage. Reopening doesn’t help.

Here my system.txt (1.9 KB)

Thanks

Michael

Hi Michael - is Rhinorender Next the current renderer, or just plain Rhino? In any case I’d start by disabling that plug-in, restart Rhino and see if there is any difference…

-Pascal

Plain Rhino render. Switching off Next and Flamingo doesn’t help.

only_Rhino_Render

Hi Michael - can you repeat this from scratch in a new file using any material?

-Pascal

Was the copy created with History recording turned on?

No history at creation nor later.

Hi Pascal,

yes, I can. These are the steps:

  1. Create box
  2. Drag&Drop material to it
  3. _Copy the box
  4. Drag&Drop another material to one of them (both get the material)

Cheers

Michael

If I copy an object that has a material assigned to the object, that material assignment and definition is assigned to and shared with the original object.

If the material is assigned to the Layer, I make a copy, and then change the copy to a different layer, the copy no longer displays the original objects material, it displays the current layer’s material.

If the material is assigned to the object,then it overrides the Layer setting no matter what the Layer’s material is.

I think that is the expected behavior.

Hi John,

I’ve never talked about layers, the material is assigned by drag&drop directly to the objects, no layers are involved.

Or I am missing something?

Thanks

Michael

No.
With the material assigned to the Object, a copy will share the same material assignment.
The only way to remove it is to manually remove it or move to a “material by Layer strategy”.
That’s why I described the behaviors I did using the two different strategies.

Hi @John_Brock, I believe that is what @Michael_Meyer is doing in step 4.

However, @Michael_Meyer, I cannot reproduce the error in Rhino 6.28.20175

Regards
Jeremy

Hi…,

I have tested this now on more installations:

6.23… on my Notebook -> no bug
6.27.20176.05001 on my Notebook -> no bug
6.27.20176.05001 on my Desktop -> bug
7.0.20182.13135 on my Desktop -> no bug

Cheers

Michael

P.S.: Here again the complete process:

Hi @pascal,

today my customer has contacted me again about this material bug. I’ve recommended to install SR26. He told me, that the bug is also in SR26.

Now I’ve tested 6.28.20175.14591 on my desktop PC, also SR28 has this bug.

Thanks

Michael

But three other installations (plus my 6.28.20175) don’t. So what is different about your desktop Rhino 6 setup from all the others? Is it, for example, the only one with the DATAKIT\Rhino6_Import_x64.rhp plugin? Or the rhino-render-next\0.0.2\RhinoRenderNext.rhp plugin? (I ask because I don’t have these and my Rhino works correctly with your uploaded .3dm).

Regards
Jeremy

Hi Michael – are you testing with the exact same file in all cases?

-Pascal

Hi @Jeremy,

I’ve switched off most Plug-Ins also DATAKIT now, see file My_HP_Z420_bug.txt. No change.

Hi @Pascal,

yes, same file and/or same process from my last video.

I’ve now collected more SystemInfo, also from my customer, who showed me this problem first:

customer_system_bug.txt (2.2 KB)
My_HP_Z420_bug.txt (1.4 KB)
My_MacBookAir_NoBug.txt (1.7 KB)

Cheers

Michael

This plug-in does nothing beyond implementing _Render

Hi Michael - thanks, nothing jumps out at me in these SystemInfo results… I tried your exact process and was not able to repeat the problem. I’ll have to ask farther up the food chain.

@Michael_Meyer - the developer asks if you can save a file after the first drag and drop, and then again to a new name after the second drag and drop/bug appears, and send those. (At the moment he is as stumped as we are…)

thanks,
-Pascal