[req] unique texture
-
Thomthom said the API didn't provide this function, but if the user sets a shortcut for this function (or any function for that matter) the API can trigger this shortcut. So perhaps you could change your Ruby request to:
"Repeat shortcut over multiple faces"
...or something like that.
-
or step through selection

whatever you call it, i'd call it handy!
-
Thom's done more with materials than myself, but it seems like there might be some way to not do a simple .make_unique, but perhaps create a new texture from the existing. It seem slike it would require finding the original image, make a new material that uses the original image as the texture, then apply the new material to the face, using the previous UV coordinates.
Is all of that possible?
Chris
-
@unknownuser said:
but perhaps create a new texture from the existing
isn't that what make unique does?
-
That's what I'm curious about. There is no existing "make unique" method. So you can't single out a face, find its material and tell it to be unique.
But you absolutely can find a face, find its material, find the path to that material. Then make a new material and assign the image to the new material. Perhaps the actual image would need to be copied as a separate file though. I just don't know. I think Thom might be out of town right now too. Mqabe someone else has some time to test this stuff out.
Chris
-
well if someone does crack the case it would be nice to be able to do the same (multiple faces) with projected texture as well

-
If I get this right you want a new method
material.make_unique?
If so I have something...material-make_unique.rb adds a new Method to Sketchup's Material Class -
material.make_unique
It makes a clone of the material from the original and gives it a
new name, incrementing the 'name' with #n at the end.
Returns a unique new material.
material-make_unique.rbExample of use...
make material of selected faces unique
type
makefacesmaterialsuniquein the Ruby ConsoleNo UV mapping yet...
-
The native make unique function doesn't simply makes a new material based on the one applied to a face but also
- crops the image on the face boundaries
- if it is a "tiling" image (more instances applied on a face obviously), it will "unite" those images into the unique image
-
@gaieus said:
The native make unique function doesn't simply makes a new material based on the one applied to a face but also
- crops the image on the face boundaries
- if it is a "tiling" image (more instances applied on a face obviously), it will "unite" those images into the unique image
I know... This was just a quick first attempt... The UV and size/merged images need work...

-
great progress! keep going

are you going to throw the projected option in there too??
-
@tig said:
I know... This was just a quick first attempt... The UV and size/merged images need work...

OK-OK, I wasn't going to "lesson" you (I was sure you know
) just mentioned to make it obvious for all.Anyway, I think that the improved texturing tools in SU 7 are still undervalued by many.
-
any progress?

-
Sorry... it's at the end of a long list
If anyone else wants to chip in pleased do... -
TIG, thanks for considering it and best luck with all your other projects.

Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginAdvertisement