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: 7
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 878 times and has 6 replies Next Thread
walisson_103
Newbie
Member's Avatar

Brasil
Joined: Sep 2, 2024
Post Count: 3
Status: Offline
Reply to this Post  Reply with Quote 
How to import Solidworks models ?

I modeled some furniture in Solid Works, and the only way I found to transfer it to Sweet Home was:

Save the Solid Works model in the .igs extension, then convert this file on the anyconv.com website to .obj

When I import the .obj model into Sweet Home, it comes as a single solid, disregarding drawers, frames, etc... so I can't change the colors and textures of the same piece of furniture.

Considering the models made in Solid Works, what is the best way to transfer them to Sweet Home?
[Sep 6, 2024, 6:38:48 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: 1226
Status: Offline
Reply to this Post  Reply with Quote 
Re: How to import Solidworks models ?

https://help.solidworks.com/2019/English/Soli...yNTc4NzI5My4wLjAuMA..#Pg0

Try Save as "ScanTo3D (*.3ds)" or "ScanTo3D (*.obj)"
I hope that gives you a better result.
----------------------------------------
Dodecagon.nl
950+ 3D models, manuals, and projects
----------------------------------------
[Edit 1 times, last edit by Keet at Sep 8, 2024, 10:20:14 AM]
[Sep 8, 2024, 10:17:08 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Waldemar.Hersacher
Member



Germany
Joined: Jan 6, 2024
Post Count: 41
Status: Offline
Reply to this Post  Reply with Quote 
Re: How to import Solidworks models ?

The ScanTo3D is an add-in at extra cost.
For designing my home office I wanted some measurement equipment of my company to import into SH3D. I asked the mechanical group and they found that out.
----------------------------------------
MSI GP60, Linux Mint 21.3 Virginia base: Ubuntu 22.04 jammy, SH3D 7.5 with Photo-video rendering 2.8
[Sep 8, 2024, 5:11:39 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
walisson_103
Newbie
Member's Avatar

Brasil
Joined: Sep 2, 2024
Post Count: 3
Status: Offline
Reply to this Post  Reply with Quote 
Re: How to import Solidworks models ?

Hello !

Thanks for getting back!

The ScanTo3D extension is a great shortcut to take the model created in Solid Works to SweetHome directly (.obj), but it still remains as a "single solid", not allowing changes to colors and/or textures.
Is there a better solution?
[Sep 13, 2024, 8:21:26 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: 1226
Status: Offline
Reply to this Post  Reply with Quote 
Re: How to import Solidworks models ?

Did you apply a material(-name) to each part of your model in SolidWorks?
If not, apply materials and then export again. With material names for each part you should be able to set colors/textures in Sweet Home 3D after import.
----------------------------------------
Dodecagon.nl
950+ 3D models, manuals, and projects
[Sep 13, 2024, 9:13:32 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
walisson_103
Newbie
Member's Avatar

Brasil
Joined: Sep 2, 2024
Post Count: 3
Status: Offline
Reply to this Post  Reply with Quote 
Re: How to import Solidworks models ?

hello

It took me a while to respond because I didn't have time to carry out further tests.
But I didn't get the result I expected, I modified several existing materials in Solidworks.

Is it necessary to create a -name material? I don't know how to do that. I hope you can help me

Thanks!
[Oct 3, 2024, 8:38:56 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: 1226
Status: Offline
Reply to this Post  Reply with Quote 
Re: How to import Solidworks models ?

I don't know SolidWorks but usually a material has a name, otherwise you have nothing to refer to. I'm sure you have to give a name to each material in SW or it will generate a unique name for each material. Maybe you changed materials or material names but didn't assign them to a part of the model. If you don't link a material(name) to a model part it will not show in the export.

When you export from SW it should generate two files: an .obj file and a .mtl file. The mtl file is the file in which materials are described. At the top of the .obj file there should be a line "mtllib <filename>.mtl" that refers to the .mtl file. If there is no .mtl file than there is no reference to materials.

Depending on how SW formats the obj export you might be able to manually add materials using a text editor. That only works if SW exports with groups in the obj file (lines starting with "g ") for model parts) or multiple objects ("o " lines).
----------------------------------------
Dodecagon.nl
950+ 3D models, manuals, and projects
[Oct 3, 2024, 9:29:18 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