Hi, I need to mapping a texture with a script. is there any way? I can add a material to an object but I can’t mapping it!
How about this:
Rhino.DocObjects.Material mat = new Rhino.DocObjects.Material();
mat.SetBitmapTexture(filename);
Hi @dale,
thanks, but Daniele (he’s friend of mine) would ask how to manage Texture Mapping coordinates not how to select the texture(image).
Could you show us an example?
Thanks
Riccardo
I don’t believe you can do texture mapping, as you describe, in RhinoCommon yet. I know it is being worked on. Perhaps on a service release or two, we can provide this function and, thus, an SDK sample.
Thanks @dale,
so, at the moment, the only solution it’s via R.Command .
It’s not a big issue for me but I would prefer to have as py scripting option.
Could, you, please add this features to the list?
Ciao
Riccardo
Hi @dale,
this is an old thread. Any news on this topic ? Is there a way in 2020 to change the texture mapping of an object with Python ?
rs.Command is of no use in my case, as the objects I want to modify are inside blocks and you cannot “mimic” their selection with rs.SelectObject.
Thanks !