Jump to content

Sign in to follow this  
Pekka Varis

Material selection in step file?

Recommended Posts

Hello! 

I got a step file from my customer. When I import it, I get no materials - yet still there are some colors on the model in c4d. See the image.

Now there are 2 materials but those are made by me at cinema 4d. The imported step file had really no materials. Still there were different colors on different parts. How can I select for example all the blue polygons at the top? So when I have them selected, I could assign a new corona material on them all at once..

Pekka

imported step file.png

Share this post


Link to post
Share on other sites

They are not materials per se. The objects have been assigned a display colour (see example attached).

 

 

Screen-Shot-2019-11-19-at-1.31.56-PM.jpg

Share this post


Link to post
Share on other sites

Usually, one of the first steps (no pun intended) with stp files is to go through the hierarchy and put things in proper groups for easy selection later.

Unfortunately I don't think there is any process that will do this automatically, so you do have to select things in the VP to find them in the OM.

 

CBR

 

 

Share this post


Link to post
Share on other sites
  • Topic Author
  • Ok, good to know Cerbera! I have been doing this manually all along day, now I know its worth it 🙂

    Pekka

    Share this post


    Link to post
    Share on other sites

    Actually, no I'm wrong; there is a quicker way to identify parts I'd forgotten about, though the grouping thing I originally mentioned still applies.

     

    But when you merge the step file in there is an option to turn display colours into actual materials (Optional / Materials). If you do that, then you can use the normal material search functionality (see material manager menus) to find the objects based on their auto-generated materials.

     

    However, from the looks of your file, and its really simple block form, it might still be quicker to just be in object mode using the rect select tool ! 🙂

     

    CBR

    Share this post


    Link to post
    Share on other sites

    In my experience sometimes the model pieces/parts are saved on different colored layers. If that is the case then there is a handy little script by Donovan that will merge the parts according to their layers which will save you a lot of time. Let me know if you are interested in his script.

    Share this post


    Link to post
    Share on other sites
  • Topic Author
  • Thank you for these solutions! I also found that when opening / merging a step file there is a option to create materials based on the display colors of step file.

    This was the thing I was looking for. This is a great time saver for me!

     

    based on colors.jpg

    Share this post


    Link to post
    Share on other sites

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Reply to this topic...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    Sign in to follow this  

    • Recently Browsing   0 members

      No registered users viewing this page.

    ×
    ×
    • Create New...