Schrodinger's SketchUp Material (exist and doesn't)
-
So, the relativity strikes again...
See in the attached screen that I have a painted face and by all means it seems texture, not Image.
I can select it with Material Picker, I can edit its name, I can even use Texture Position on it, but the material doesn't actually EXIST in model... at least so it seems from Materials Library...The model is from 3DWarehouse. https://3dwarehouse.sketchup.com/model.html?id=e7d1b782f8446c3565b77a565916c7f
Any idea what's happening here?
By the way,I gave that material name... in the original model is called Image1, or something like that.
-
No... I could get the material to show in the library by choosing it with the picker then dragging from the top bar into the library.
-
@pbacot said:
No... I could get the material to show in the library by choosing it with the picker then dragging from the top bar into the library.
Please clarify... if you didn't have it in library, where did you dragged it from, to show in library ?
-
I see the same thing on my PC. I didn't bother to change the name.
Selecting the texture in Entity Info and choosing Edit brings up the edit window as expected.
Peter's on a Mac and the Materials window is different. There's nothing to drag on the PC in this case.
-
What dave said I guess. Can you drag it from the entity window to the library?
-
@pbacot said:
What dave said I guess. Can you drag it from the entity window to the library?
Yeah. It doesn't work that way on the PC unfortunately.
-
Well, as it turns out,this thing should be considered a bug... a material that EXISTS but can't be seen in library.
Still one can change its name, operate texture mapping on it. -
Well, as it turns out, you already put it in the Bug Reporting forum here. Did you report it directly to SketchUp? Or did you report it in their forum?
-
Although the Model Materials are the ones you see in the Materials-Browser, SketchUp has two other types of Materials - those associated with Layers and those associated with Images.
These cannot be directly accessed using native tools or the API - although there are tricks, like my SKM_tools which has anew_material = image.use_as_material
method, which can be used to extract an Image's Material and add it to the Model without Exploding the Image.
If you Explode an Image its Material has a database flag reset so it then appears in then the Model's Materials list [renamed].
It seems that in the case of this Image when it was made into a Material that flag was not reset properly.
Even saving the texture-image as a PNG and reusing that, it still is missing in the Materials-Browser !
On a PC the only way I found of jerking it back into reality was to edit the group-container, select the face that uses the wayward Material [named "Image1"] and use the right-click > context-menu > "Make Unique Texture" - so now the Material "Image1" is duplicated as "Image1#1" - however, you can then rename it "Image1" with no errors, so the origin has vanished... and now all is well !
Advertisement