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: 5
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 3308 times and has 4 replies Next Thread
maurorog
Newbie




Joined: Jun 7, 2011
Post Count: 5
Status: Offline
Reply to this Post  Reply with Quote 
confused Multi mirror plan

I need help to create a clothes hangers with a mirror.
The mirror has many horizontal and vertical lines, so as to draw many squares.
I created everything with sketchup and exported to obj format.
I followed your advice, adding the attribute g sweethome3d_window_mirror before each usemtl, but I do not understand why the frame disappears.
I am attaching the file format and obj skp.
Thanks in advance
Download
[Jun 15, 2011, 9:04:50 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
hansmex
Advanced Member
Member's Avatar

Netherlands
Joined: Sep 26, 2009
Post Count: 3991
Status: Offline
Reply to this Post  Reply with Quote 
Re: Multi mirror plan

Rogledi,

When I import the OBJ file you shared, it's all gray because the textures aren't applied correctly.

I loaded the SKP file, exploded it, and applied the "specchio" mirror texture to both faces of the individual mirror tiles. I then exported it using File --> Export --> 3D model. Note that this produces a DAE file plus a directory with the same name containing the 4 textures in your design. The DAE file can be imported into SH3D and should be in the same directory as the texture directory.

This is the image that your design gives after importing into SH3D. I guess this is what you wanted? Note that the "specchio" texture doesn't result in mirrored surfaces, as the image clearly shows.

Hans


----------------------------------------
Hans

new website - under constuction
hansdirkse.info
[Jun 15, 2011, 9:34:21 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9420
Status: Offline
Reply to this Post  Reply with Quote 
Re: Multi mirror plan

The OBJ files interpreter of Sweet Home 3D doesn't display the material colors you chose because Sketchup didn't create a new object with a line starting by g or o, for each color or texture change happening with a line starting by usemtl.
As there doesn't seem to be any OBJ export option in Sketchup that would say "Separate by color" or "Separate by material", I guess I'll have to update Sweet Home 3D...
At this time, I would:
- export the 3D model in DAE/Collada file format from Sketchup,
- import the DAE file in an empty home in Sweet Home 3D,
- export it with 3D view > Export to OBJ format menu item,
- change in the generated OBJ file the name in each g line preceding the usemtl matching a mirror material, with something prefixed by sweethome3d_window_mirror,
- import the modified OBJ file in Sweet Home 3D again.
Hope this is clear enough...
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Jun 16, 2011, 8:00:35 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
maurorog
Newbie




Joined: Jun 7, 2011
Post Count: 5
Status: Offline
Reply to this Post  Reply with Quote 
Re: Multi mirror plan

I used the puybaret method and I got the desidered result.
Thanks a lot at all.

Fantastic software :)


[Jun 16, 2011, 9:04:35 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9420
Status: Offline
Reply to this Post  Reply with Quote 
Re: Multi mirror plan

Great that it worked, even if the method isn't very handy... smile
This should work also in the DAE file if you correctly set the name attribute of the node elements which are parent of an instance_geometry element.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Jun 16, 2011, 9:24:45 AM] 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