By kami
#302475
... I got one problem:
When modelling with a different program, I assign all materials by layer. And when I change the model I just delete everything in Rhino and copy the new file into the one with textures on every layer. After doing so, all real scale materials are out of scale. I have to assign every material to its layer again to fix this.
Is there any way I can speed this up? Any command or something?

Thanks a lot,
kami
By JDHill
#302477
I don't know, I'll have to try it out. Meanwhile, did you try using the 'refresh viewport materials' command (it's in the db manager's toolbar, and also the Maxwell Functions toolbar)?
By JDHill
#302478
It seems to work fine here, so I'll need more details:

- what did you mean by 'modelling with a different program'? Another instance of Rhino?
- when you say 'all real scale materials are out of scale', do you mean that the tile x/y in the Maxwell materials is changed? Or, just that objects don't look right in the viewport?
- when you 'delete everything out of Rhino', are you also deleting all of the layers? The Maxwell materials?
- if re-assigning the material to your layers changes things, what exactly is assigned to those layers before you re-assign?

I'll probably just need a step-by-step description of what it is that you're doing so I can repeat it here and see where things go wrong.
By kami
#302506
Hi JD
I can't always reproduce it, but it happened a few times in the past of which I don't kept track and it happened a few times yesterday. I don't know why, but sometimes it works right and sometimes it doesn't. Just one idea: maybe it only occurs if I work in shaded mode.
- I modelled with sketchup this time. But it also happens if I copy it from a different rhino file.
- Materials that are 2x2 meters (realscale) turn out to be much smaller (different tiling). maybe 2 tiles per meter.
- I only delete the geometry and keep the layers. And I copy the new geometry from a different rhino session where I opened the sketchup file
- re-assigning means, that I drag the same material onto the layer which is already assigned. but this corrects any wrong real scale tiling.

I hope I could give you a hint what's happening. I couldn't reproduce it yesterday, but I will look out if it happens again and try to remember what I did.
I think it happened before, when I did activate the real scale switch on one material which was already assigned to a layer.

cheers,
kami
By JDHill
#302535
Well, my best guess would be something along the lines that the layers in your working document are at least partially-overwritten with the ones from your imported document and are therefore losing the material assignments. The thing to check next time you see it happen would be:

1. you paste in the data
2. you notice that the texture scale doesn't look correct
3. check which material is assigned to the imported layers - is it correct?

Note, that you won't be able to check this just by looking at the layer material's name, because Rhino might keep the name even while the other attached data is discarded; therefore, you should click on the layer's material field and verify in Rhino's layer material assignment dialog that the layer's material assignment is still by 'plugin', and that the material indicated is the correct one. If, when you check this, you find that the layer is set to 'basic', then you have found the cause of the problem.
OutDoor Scenery Question

you said: After you apply the image to the polygo[…]

fixed! thank you - customer support! -Ed