Author Topic: How can I apply more than one material on the same object ?  (Read 3694 times)

0 Members and 3 Guests are viewing this topic.

Offline kyng

Hello Keyshot users ,
 I am new to Keyshot and I have my first question . I have a part I import into keyshot and I want to know if it is possible to apply two different materials to the same part . I have a tube I want to show it as cutaway so I want to apply like steel on the outside but the inner surface of the tube I want to use some bright material like paint so that the lights/environment can see inside the tube.
Thanks in advance!
KN

Offline INNEO_MWo

  • Hero Member
  • *****
  • Posts: 1059
  • Total likes: 25
  • Senior Technical Consultant @ INNEO (Germany)
    • german KeyShot page from INNEO Solutions
Re: How can I apply more than one material on the same object ?
« Reply #1 on: July 01, 2019, 09:29:52 pm »
Hello and welcome to this awesome community.

To solve the two material body, you can do:
1. split the outer geometry using a different color attached to the surface. So KeyShot Split the body in different meshes based on the surface color. You can handle them like different parts and apply any material individually.
But if you try a cutaway material on both meshes, KeyShot should not be able to calculate the caps.
2. option can get more complicated bast on the complexity of the body shape.
I would apply the light material for the inner shape on the unsplitted body and attach the metal as a label. Now comes the complex part: to separate the materials you’ll have to drive the opacity of the label material. Maybe some procedural textures will help on this?!

Hope you have access to a pro version of KeyShot. ‚Cause the restrictions of the HD license make it more challenging not using the material graph.

Hope that helps

Cheers
Marco

Offline jhiker

Re: How can I apply more than one material on the same object ?
« Reply #2 on: July 02, 2019, 12:55:19 am »
Has your version of Keyshot got the 'Geometry Editor' - sounds like you could use that to split the surfaces.

Offline kyng

Re: How can I apply more than one material on the same object ?
« Reply #3 on: July 02, 2019, 11:54:16 am »
Hello and thanks for your replies . One way I can do is I can create a surface layer inside the tube in Solidworks and in Keyshot all i have to do is select that layer and apply a different material. But I want to do it in Keyshot and I don't know how to spit the body like you said . Any screenshot is helpful. Btw I am using version 8 .
Thanks
KN

Offline mattjgerard

Re: How can I apply more than one material on the same object ?
« Reply #4 on: July 02, 2019, 02:18:22 pm »
Right click the part and select EDIT GEOMETRY, in the next dialog select SPLIT OBJECT SURFACES, click on the object in the list then move the dialog box out of the way because it ALWAYS lands itself right over the top of your object and click on the face you want to split out, it should highlight in green. Click SPLIT OBJECT and hit apply. You will then get a group in your scene tree that has 2 objects in it, and you can now apply 2 different materials to those objects.

Offline kyng

Re: How can I apply more than one material on the same object ?
« Reply #5 on: July 03, 2019, 01:23:59 pm »
Hi Mattgerard,
I itried what you showed me but I think it's not what I want to achieve. I have a tube that I want to apply one material on the outside and another on the inside surface . The split object in KS can't let me do that . It only splits the geometry but not splitting like the way I want .
The attached image is an example of what I want to do . It is just a screenshot from solidworks .
And if this can't be done in KS then I guess I have to manually make a layer inside the tube and then import this same model into KS.  is there a way that I can update my model in KS without having to re-import the model and endup having two models in my current project ?

Offline INNEO_MWo

  • Hero Member
  • *****
  • Posts: 1059
  • Total likes: 25
  • Senior Technical Consultant @ INNEO (Germany)
    • german KeyShot page from INNEO Solutions
Re: How can I apply more than one material on the same object ?
« Reply #6 on: July 04, 2019, 01:52:37 am »
Hello.

Attached you'll find a solution to use different materials on one single part. Just look into the material graph to see all the details.


Hope that helps

Cheers
Marco
« Last Edit: July 04, 2019, 02:04:25 am by MWo »

Offline kyng

Re: How can I apply more than one material on the same object ?
« Reply #7 on: July 05, 2019, 02:05:17 pm »
Cool, I'll take a look at it . thanks MWo !

Offline kyng

Re: How can I apply more than one material on the same object ?
« Reply #8 on: July 05, 2019, 02:36:47 pm »
Hi Marco, I opened your model in KS and saw the material graph you did. That's too advanced for me . I ended up creating a surface layer in SW and updated my model . But since your model also has cutaway like mine, I notice that under the caps style, if I choose inherit caps , color or material I get that strange shadow with the red arrow pointing to it . But if I choose no caps then that goes away .  Is there a fix for it ?

Offline INNEO_MWo

  • Hero Member
  • *****
  • Posts: 1059
  • Total likes: 25
  • Senior Technical Consultant @ INNEO (Germany)
    • german KeyShot page from INNEO Solutions
Re: How can I apply more than one material on the same object ?
« Reply #9 on: July 06, 2019, 06:43:54 am »
The problem is overlapping objects. As shown in the cutaway demo scene, you have to scale the inner surface just a bit. (Maybe 0.995 would work?!)

Offline kyng

Re: How can I apply more than one material on the same object ?
« Reply #10 on: July 06, 2019, 09:35:31 am »
Oh I see . I'll take a look at ịt . Thanks Marco .