|
Sweet Home 3D Forum » List all forums » » Forum: Wishlist » » » Thread: furniture library import |
|
| Print at Dec 17, 2025, 9:44:37 AM | View all posts in this thread on one page |
| Posted by Sajmmon at Dec 22, 2011, 2:49:18 PM |
|
furniture library import Hi, I use SweetHome3D_3.3. The feature I would like to describe is just a small improvement, nontheless, might be important in same situtations. Let's say we have a furniture library: library.sh3f and from time to time we wish to release an updated version of this library to our users. Usually the old version would be overwritten with the new one during importing and that's what we intend. However, if we place the library in a web server for download, some browsers (e.g. IE6) like to change extensions of downloaded files. And this is what happens with .sh3f, it is changed to .zip. The .zip library can be imported to SweetHome, but the models from .sh3f library would not be overwritten. So, basically it would be nice if SweetHome could overwrite a library no matter what is the extension .zip or .sh3f. ------ Temporary solution to the above problem is to add: <Files *.sh3f> ForceType application/octet-stream Header set Content-Disposition attachment </Files> to .htaccess file in a web server. ------ Regards, Szymon Chojnacki Reterio |
| Posted by Puybaret at Dec 22, 2011, 4:47:13 PM |
|
Re: furniture library import I'm reluctant to change implementation for an old browser, if your current solution works. On sweethome3d.com, I added the following lines to the .htaccess file: RewriteEngine on---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by Sajmmon at Dec 22, 2011, 5:02:01 PM |
|
Re: furniture library import Thank you :-) |
|
|
Current timezone is GMT Dec 17, 2025, 9:44:37 AM |