High priority how to import in Online tool ?

This topic has been viewed 8896 times and has 9 replies
Thread status: Active
How can I do this? [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
aerodyne
Posts: 3
Joined: Sat Oct 31, 2009 8:28 pm
Country: douvaine

how to import in Online tool ?

Post by aerodyne »

Hello,

I'm using the SH3D client, and I'd like to import my drawings into the online version, how do I do this ?
in the online version, I've seen "export do SH3D" but not "import from SH3D".

thanks
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: how to import in Online tool ?

Post by Puybaret »

It's not possible in the current version.
Emmanuel Puybaret, Sweet Home 3D creator
aerodyne
Posts: 3
Joined: Sat Oct 31, 2009 8:28 pm
Country: douvaine

Re: how to import in Online tool ?

Post by aerodyne »

Would it be planed for any next release of the online tool ?
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: how to import in Online tool ?

Post by Puybaret »

I have no doubt it would be useful, but I don't think I'll program this feature very soon, because offline files and online files are a little different:
online files are much smaller because they don't contain furniture data (icons and 3D models) coming from default catalog. This feature saves space on server and reduces the size of data uploaded to the server during a save operation.
offline files contains everything, so if I let users import them on server and then save them without any modification to the current program, it will take more time and more space on server.
Emmanuel Puybaret, Sweet Home 3D creator
aerodyne
Posts: 3
Joined: Sat Oct 31, 2009 8:28 pm
Country: douvaine

Re: how to import in Online tool ?

Post by aerodyne »

Sure, I get the point !
In that case (just an idea), maybye it would be possible to import from SH3D with only the references of the objects instead of the objects themselves ?
Of course, in case of new object.... the problem is still there...
Murz
Posts: 1
Joined: Fri Jan 29, 2010 8:48 pm
Contact:

Re: how to import in Online tool ?

Post by Murz »

It will be useful for me. I have a local file with already created object and want to import it into online storage, because I work with it on many computers and synchronize versions is too hard.
I want to upload the file and work on it online from different computers.
jgriessen
Posts: 11
Joined: Wed Apr 28, 2010 3:23 pm

Re: how to import in Online tool ?

Post by jgriessen »

I want to upload the file and work on it online from different computers.
This sounds good for my products so customers can use SH3D in buying decision process.

The offline SH3D file has a few parts that are not readable text -- are those just the images for surface textures?

What amount of difference is there between formats? Quick python script?

Else, I will start out with a web database SH3D version very soon.

thanks,

John
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: how to import in Online tool ?

Post by Puybaret »

The offline SH3D file has a few parts that are not readable text -- are those just the images for surface textures?
This can be icons, texture images or 3ds files.
What amount of difference is there between formats?
There's no difference, it's the same format: a zip file containing a Home entry created with Java serialization, which references images and 3D models displayed in the saved home.
In the case of an offline SH3D file, these images and 3D models are directly stored as additional entries in the zip file, making it completely independent of the current furniture and textures catalogs, to ensure it can be exchanged.
In the case of an online SH3D stream, the Home entry references images and 3D models as URLs when this data is available on the web server. Thus, such a stream is generally much smaller and contains more than a Home entry only if the user imported a background image, furniture or textures.
A smaller SH3D stream doesn't mean a faster file opening since all the images and 3D models files have to be downloaded afterwards, but it means a faster saving since the images and 3D models files don't have to be uploaded back to the web server. In the facts, it also means a faster file opening the second time, because Java automatically manages a cache of the downloaded images and 3D models files. [:)]

So, I could upload an offline SH3D file to the web server as the user saved it in on his computer, and then make it available as an online file. But if you followed my previous explanations, this way of doing will generally slow down file opening and much more file saving, because end users and web server don't have an infinite bandwidth (and ADSL provides a much smaller upload bandwidth).

To transform an offline SH3D file to an online SH3D file, you just have to replace in its Home entry the references to the entries of the SH3D file by references to their matching URLs. It's "just" some file content comparisons. Nevertheless, as a Home entry is created with Java serialization, it should be much easier to program this in Java than in Python.
Emmanuel Puybaret, Sweet Home 3D creator
remyw
Posts: 2
Joined: Wed Aug 07, 2013 8:23 am

Re: how to import in Online tool ?

Post by remyw »

Any update on this feature request?

I started creating an online version, I exported it and worked further on it via the offline version. There's is no option to reopen it into the online version again?
Would be nice to have such a feature...
cactux
Posts: 1
Joined: Sun Nov 03, 2013 12:07 pm

Re: how to import in Online tool ?

Post by cactux »

The online version is useless without this feature.
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 2 guests