How to update furniture within a scene after applying changes to the model?

This topic has been viewed 3485 times and has 5 replies
Thread status: Active
How can I do this? [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
MaMu
Posts: 10
Joined: Sat Aug 20, 2016 12:27 am

How to update furniture within a scene after applying changes to the model?

Post by MaMu »

Hello,

I am learning to create models in Blender which I then use with SH3D. My workflow is to build something in Blender, export as OBJ, import in SH3d and add it to a scene. I regularly find myself to modify the "something" that i built in Blender, re-export it as OBJ and change the model in SH3D to use the modified "something". However, how can I update all instances of such a model used in the scene without manually adding new copies and deleting the old ones repeatedly? This is kinda Sisyphus-work.
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: How to update furniture within a scene after applying changes to the model?

Post by Puybaret »

You can't make that kind of change from Sweet Home 3D user interface.
But as .sh3d files are actually simple zip files, you can explore them and replace the 3D models found in the subfolders of such .sh3d files by other ones, as long as you keep the same file name for .obj, .dae and .3ds files. Before saving, you should also remove the file named ContentDigests otherwise Sweet Home 3D will refuse your new model.
Of course, if you try this way, I encourage you to backup your .sh3d files before doing such changes, to avoid losing your work.
Emmanuel Puybaret, Sweet Home 3D creator
MaMu
Posts: 10
Joined: Sat Aug 20, 2016 12:27 am

Re: How to update furniture within a scene after applying changes to the model?

Post by MaMu »

I see. And I also see you are a SH3D developer. What you think about storing a hash of every model and after updating a model trigger an update event that causes to automatically update all instances of a model used in the scene to be replaced by new instances of the new model version? Ain't that possible? Can't believe it wouldn't.
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: How to update furniture within a scene after applying changes to the model?

Post by Puybaret »

Everything is possible, but sorry, it's not the priority of the moment.
This would require some modifications in furniture dialog box too.
Emmanuel Puybaret, Sweet Home 3D creator
MaMu
Posts: 10
Joined: Sat Aug 20, 2016 12:27 am

Re: How to update furniture within a scene after applying changes to the model?

Post by MaMu »

Maybe you might put it onto your TODO-list to not forget about it, because this is a quite useful feature. [;)]
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: How to update furniture within a scene after applying changes to the model?

Post by Puybaret »

It was already submitted in the feature requests!
Emmanuel Puybaret, Sweet Home 3D creator
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest