Download

Online

Gallery

Blog

  Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 4
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 503 times and has 3 replies Next Thread
thearccanerune
Newbie




Joined: Jul 16, 2024
Post Count: 3
Status: Offline
Reply to this Post  Reply with Quote 
Adding colourable areas to models.

I've got a few models that apply colours or textures to the whole model. I'm looking for a way to label parts of the model to be coloured individually. So that a handle could be a different colour to the rest of a cabinet, for instance.

But I don't know what software I'd need or what this would be called in order to google it.

Any suggestions for software or search terms would be appreciated.
Thanks
[Jul 16, 2024, 4:41:58 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Keet
Advanced Member
Member's Avatar

Netherlands
Joined: Apr 8, 2022
Post Count: 985
Status: Offline
Reply to this Post  Reply with Quote 
Re: Adding colourable areas to models.

Unfortunately this is not something that Sweet Home 3D can do. Blender can do this easily but you have to be familiar with it because it's not the easiest software. On the other hand it's worth learning it because it can do almost anything you want with 3D models.
For the coloring you can import the model in Blender and set colors to individual faces if you want to, or of course select a set of faces like the handle and set a different material name and color for it. Once done export it to .obj and you can import it in Sweet Home 3D again and you will have the new material names available.

ETA: If you are lucky your model is an object file (obj) and it has multiple groups in it (lines starting with 'g '). If that is the case check the manuals page on dodecagon.nl which has a manual to change material names. Each g line is followed by a line with 'usemtl <materialname> so you probably have multiple lines with 'usemtl default' or something like that. You can change each usemtl line with a a unique name and add a block in the accompanying .mtl file for each name. After import in Sweet Home 3D you should have all material names available. You can also check that there actually IS a .mtl file and that the name of the file is referenced correctly in the .obj file (close to the top a line that starts with 'mtllib <mtl-file-name>).
If you imported another format you can try and export it from Sweet Home 3D to the obj format and open the files with a plain text editor.
----------------------------------------
Dodecagon.nl
700+ 3D models, manuals, and projects
----------------------------------------
[Edit 1 times, last edit by Keet at Jul 16, 2024, 7:18:19 PM]
[Jul 16, 2024, 7:08:24 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
thearccanerune
Newbie




Joined: Jul 16, 2024
Post Count: 3
Status: Offline
Reply to this Post  Reply with Quote 
Re: Adding colourable areas to models.

Thanks for the help. I'll download blender and give it a go.
[Jul 16, 2024, 7:47:31 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
thearccanerune
Newbie




Joined: Jul 16, 2024
Post Count: 3
Status: Offline
Reply to this Post  Reply with Quote 
Re: Adding colourable areas to models.

Yes that's resolved it. You were right about the possible absence of a .mtl with the original .obj

when I import the .obj to blender the materials are already there. I can immediately export with no changes which creates a .obj and .mtl file. Then when I import into sweet home 3d the materials will then show up.

thanks again
[Jul 16, 2024, 9:03:01 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

  Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads  
© Copyright 2024 Space Mushrooms - All rights reserved