Print at Dec 17, 2025, 4:14:08 AM
Posted by theskaz at Mar 20, 2008, 10:05:00 AM
Bibliothèque pour multipostes
Bonjour,

Je voudrais savoir s'il y a un moyen de récupérer la bibli objet complète d'une installation d'un poste pour ne pas avoir à recharger tous les objets un par un sur chaque installation. En fait, je dois installer SH3D sur les portables d'une 10aines de commerciaux avec une bibliothèque d'une 100aine d'objets spécifiques et je ne me vois pas faire la manip d'import 1000 fois...
J'ai trouvé où sont placés les imports et j'ai déjà essayé de copier le dossier où se trouvent les objets et vignettes mais sans succès.
J'ai noté également que si, sur le même PC, je me logge sous un compte différent de celui utilisé pour l'installation de SH3D on ne voit que les éléments de bibli de base et pas ceux importés, même en administrateur. Il doit y avoir un fichier a modifier qui renvoi sur ce dossier mais je ne l'ai pas trouvé.

Merci d'avance et félicitations pour votre travail.

-TheSkaZ-


[Note: this thread was started on sourceforge.net forums]

Posted by Puybaret at Mar 20, 2008, 1:58:00 PM
Re: Bibliothèque pour multipostes
Entre postes Windows, il faut recopier les fichiers du dossier "C:\Documents and Settings\utilisateur\Application Data\eTeks\Sweet Home 3D" de l'utilisateur où les meubles ont été importés (en remplaçant utilisateur par son login Windows).
Il faut recopier aussi les clés de registre qui se situent dans le dossier de registre "HKEY_CURRENT_USER\Software\JavaSoft\Prefs\com\eteks\sweethome3d\io" : pour cela lancez l'éditeur de registre "regedit", sélectionnez le dossier "HKEY_CURRENT_USER\Software\JavaSoft\Prefs\com\eteks\sweethome3d\io" dans l'arbre de l'éditeur de registre, choisissez le menu Fichier > Exporter..., puis dans l'éditeur de registre de l'autre poste, importez le fichier exporté avec le menu Fichier > Importer...

Entre postes Linux, il faut recopier les fichiers qui sont situés dans les dossiers ".java/.userPrefs" et ".eteks" du dossier personnel d'origine, dans les mêmes dossiers du dossier personnel de destination.

Entre postes Mac OS X, il faut recopier le fichier "Library/Preferences/com.eteks.sweethome3d.SweetHome3D.plist" et le dossier "Library/Application Data/eTeks/Sweet Home 3D" dans les mêmes dossiers du dossier personnel de destination.

Vous pouvez éventuellement créer une requête pour la création d'un outil qui permettrait d'exporter/importer ces informations (même si ça n'est pas pour ça que ce sera programmé immédiatement ;-).

Pour info, dans quel domaine particulier, utilisez-vous Sweet Home 3D ?


----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by theskaz at Mar 20, 2008, 10:33:00 PM
Re: Bibliothèque pour multipostes
Merci pour toutes ces infos, je mets en application dès demain.

Pour info, je travaille dans les équipements de salles de sports,
Au Bureau d'etude nous travaillons sur Autocad d'où j'ai déjà exportés les produits en .3ds pour pouvoir les importer dans SW3D.
Les commerciaux vont pouvoir créer les projets en direct avec le client, au niveau de l'agencement général de la salle et de l'encombrement, se sera bcp plus pro que de griffoner sur une feuille à petits carreaux ou de placer des "vignettes" sur une feuille blanche.
Ensuite quand les projets passeront en étude pour tous ce qui concerne le technique, je pourrais récupérer un visuel de salle clair depuis les fichiers sw3d avec une nomenclature préétabli.
Même si je referai la salle sur autocad pour avoir un fichier facilement échangeable avec architectes et autres, et pour pouvoir faire les créations de plans techniques, cela devrait nous faire gagner pas mal de temps à tous.

Prévision pour le futur, supposons que je souhaite faire une mise à jour pour ajouter une gamme de produits:
je refais la manip décrite avec nouvelle clé et nouveau dossier ocmplet (chacun remplacera son prédécesseur si je ne me trompe pas).
Si un objet a été importé manuellement et qu'il n'est pas dans le nouveau dossier, il va disparaitre de la bibli c'est ça ? Pas moyen de faire juste un adittif d'objet à part manuellement ?

Posted by Puybaret at Mar 20, 2008, 11:27:00 PM
Re: Bibliothèque pour multipostes
Merci pour ces très intéressantes précisions :-)

> Prévision pour le futur, supposons que je souhaite faire une mise à jour pour
> ajouter une gamme de produits:
> je refais la manip décrite avec nouvelle clé et nouveau dossier complet (chacun
> remplacera son prédécesseur si je ne me trompe pas).
> Si un objet a été importé manuellement et qu'il n'est pas dans le nouveau
> dossier, il va disparaitre de la bibli c'est ça ?

Oui.

> Pas moyen de faire juste un adittif d'objet à part manuellement ?

Ce serait une manipulation beaucoup plus compliquée.
Je pourrais créer un outil assez facilement qui permet d'exporter et d'importer une liste existante de meubles importés. Contactez-moi à [email protected] si ça vous intéresse...

Petit correctif pour Mac OS X : il faut recopier le fichier "Library/Preferences/com.eteks.sweethome3d.plist" et le dossier "Library/Application Support/eTeks/Sweet Home 3D" du dossier personnel d'origine, dans les mêmes dossiers du dossier personnel de destination.



----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by Puybaret at Aug 28, 2008, 12:00:00 PM
Re: Bibliothèque pour multipostes
An English user requested almost the same thing :

> I've been using Sweet Home 3d for the last 2 months, now I have bougth
> a new laptop, how can I install the 3D models paquets?,
> I need them to work with my old projects in the new computer.

Here's the translation in English of my message posted at http://www.sweethome3d.eu/support/forum/viewthread_thread,966#3856

- To copy imported furniture between Windows computers, you have to copy files contained in the directory "C:\Documents and Settings\user\Application Data\eTeks\Sweet Home 3D" of the old computer to the new computer (replace "user" by your Windows login).
You also have to copy registry keys contained in the registry folder named "HKEY_CURRENT_USER\Software\JavaSoft\Prefs\com\eteks\sweethome3d\io" : launch registry editor "regedit" on the old computer, select folder "HKEY_CURRENT_USER\Software\JavaSoft\Prefs\com\eteks\sweethome3d\io" in the tree of the registry editor and choose menu "item File > Export...".
Then, launch registry editor on the new computer and import the exported file with the menu item "File > Import...".

- To copy imported furniture between Linux computers, you have to copy files contained in the directories ".java/.userPrefs" and ".eteks" found in the user directory of the old computer to the same directories on the new computer.

- To copy imported furniture between Mac OS X computers, you have to copy the file "Library/Preferences/com.eteks.sweethome3d.plist" and the folder "Library/Application Support/eTeks/Sweet Home 3D" found in the user directory of the old computer to the same directories on the new computer.



----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by Puybaret at Dec 18, 2008, 1:24:00 PM
Re: Bibliothèque pour multipostes
I created a new plug-in that allows users to export all the furniture imported in Sweet Home 3D catalog to a SH3F file, that you can import on an other computer with a double-click or with the menu item "Furniture > Import furniture library..." (the SH3F file is portable so you can import it even if the Operating System of the second computer is different from the one where you created the SH3F file).
Download this plug-in at http://sweethome3d.eu/plugins/ExportToSH3F-1.1.1.sh3p
Then copy it copy the ExportToSH3F-1.0.sh3p file in the plug-ins folder of Sweet Home 3D, which depends on your system as follows:
- under Windows, this folder is C:\Documents and Settings\user\Application Data\eTeks\Sweet Home 3D\plugins,
- under Mac OS X, it's the subfolder Library/Application Support/eTeks/Sweet Home 3D/plugins of your user folder,
- under Linux and other Unix, it's the subfolder .eteks/sweethome3d/plugins of your user folder.

Relaunch Sweet Home 3D, and you'll see the new menu item "Export imported furniture to SH3F..." in Furniture menu. At this time this will work, only if you installed Sweet Home 3D 1.5 with its installers. If you installed it with Java Web Start, it may not work for security reasons and you'll have to download the installer.

!!!Caution!!!
Take care of the license of the models you export to a SH3F file. Almost all free models can't be redistributed, and the fact that Sweet Home 3D is free doesn't change anything to that. That's the reason why I had to create some models for the first versions of Sweet Home 3D!

[Note: plug-in was updated on 03/04/2024 to export some missing model flags]
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by ioanmely at Sep 24, 2009, 7:38:30 PM
Re: Bibliothèque pour multipostes
up !
alors des nouvelles de cette requette ?

Posted by Puybaret at Sep 27, 2009, 9:29:05 AM
Re: Bibliothèque pour multipostes
Avez-vous essayé le plug-in d'exportation cité dans le message précédent ?
Une fois installé, ce plug-in ajoute le menu Meubles > Exporter les meubles importés au format SH3F... dans Sweet Home 3D pour vous permettre de créer un fichier SH3F que vous pourrez copier sur un autre poste.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by maazito at Mar 18, 2010, 11:42:02 AM
Re: Bibliothèque pour multipostes
Puybaret says:

"I created a new plug-in that allows users to export all the furniture imported in Sweet Home 3D catalog to a SH3F file, that you can import on an other computer with a double-click or with the menu item "Furniture > Import furniture library..." (the SH3F file is portable so you can import it even if the Operating System of the second computer is different from the one where you created the SH3F file).
Download this plug-in at http://sweethome3d.eu/plugins/ExportToSH3F-1.0.sh3p
Then copy it copy the ExportToSH3F-1.0.sh3p file in the plug-ins folder of Sweet Home 3D, which depends on your system as follows:
- under Windows, this folder is C:\Documents and Settings\user\Application Data\eTeks\Sweet Home 3D\plugins,
- under Mac OS X, it's the subfolder Library/Application Support/eTeks/Sweet Home 3D/plugins of your user folder,
- under Linux and other Unix, it's the subfolder .eteks/sweethome3d/plugins of your user folder.
"

Your plugin looks quite interesting, but (I am using a Mac OS X 10.5) there's no "eTeks" directory within "Library/Application Support/". Could you clarify? Where are the SH3D plugin stored on a Mac?

Posted by Puybaret at Mar 18, 2010, 6:09:19 PM
Re: Bibliothèque pour multipostes
Sous Windows et Mac OS X, double-cliquez simplement sur un fichier SH3P pour l'installer.

Under Windows and Mac OS X, simply double-click on a SH3P file to install it.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by LANFEUST78 at Oct 1, 2010, 9:16:04 AM
Re: Bibliothèque pour multipostes
Bonjour et merci pour votre logiciel.
Question légèrement semblable. j ai récupérer sur google plusieurs objets au format OBJ et SKP après lecture de la notice seul le format OBJ me sera utile dans un premier temps.
J’ai vu que l’on pouvait importer en masse des objets, pour cela il faut créer un fichier au format SH3F.
Comment peut on créer se fichier ? ou puis je trouver la procédure ?
Je ne souhaite pas intégrer mes objets un par un. Merci a vous
La réponse est peut être dans un des messages sur le forum mais je ne l est pas trouvé. Ou bien je suis passé dessus sans le voir oups désolé ………

Posted by Puybaret at Oct 1, 2010, 10:08:33 AM
Re: Bibliothèque pour multipostes
Il faut télécharger l'Editeur de Bibliothèque de Meubles / Furniture Library Editor.
L'application est francisée mais je n'ai pas rédigé de doc en français encore.
Donc rendez-vous ici et utilisez Google translate si nécessaire.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by LANFEUST78 at Oct 1, 2010, 12:05:12 PM
Re: Bibliothèque pour multipostes
Ok super merci pour votre réponse hyper rapide .je regarde cela des ce soir . je vais donc pouvoir importer en masse mes objets cool . encore merci

Posted by JayOH at Jul 12, 2019, 11:10:21 AM
Re: Bibliothèque pour multipostes
Hello, I have just installed "Export imported furniture to SH3F", exported the furniture library and loaded it into "Furniture Library Editor".

I wasn't quite sure what to expect but the result seemed to be somewhat random. Only some of the library was displayed and not all of the items were from the house I am working on. For example only one item from "Bedroom was exported and that was a roof section that which I wrongly categorised.

I have not returned the results to SweetHome in case it corrupts what the Library.

Could you explain what I should expect from "Export imported furniture to SH3F". Is it supposed to export furniture that I have used in my project? or Is it supposed the whole Library Catalogue from SweetHome?

By the way, I am now getting the hang of using SweetHome3d and I absolutely love it.

Posted by Puybaret at Jul 12, 2019, 1:32:32 PM
Re: Bibliothèque pour multipostes
The ExportToSH3F plug-in exports only the pieces of furniture individually imported in Sweet Home 3D furniture catalog (i.e. with Furniture > Import Furniture menu item or a drag and drop of 3D model file in the catalog), not the furniture used in the opened SH3D document.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by JayOH at Jul 13, 2019, 11:49:10 AM
Re: Bibliothèque pour multipostes
Thank you, I think I have the way of it.

Posted by waltrothfuss at Aug 9, 2020, 5:33:01 PM
Re: Bibliothèque pour multipostes
Is there any way to save all of the furniture, including the libraries downloaded from this site such as Scopia and imported into the program, into one exported file? The way the export now works is that only furniture added outside of the usual libraries can be exported, then you still have to add all the usual libraries individually into each new system plus the exported furniture. We upgrade operating systems frequently by fresh installs, so all the libraries have to be re-imported individually instead of being able to install one master exported library. It would be a timesaver and prevent a missing library on a new system. Thanks, Walt

Posted by Puybaret at Aug 10, 2020, 8:04:02 AM
Re: Bibliothèque pour multipostes
Read this thread that explains which folder to copy from a computer to another.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by waltrothfuss at Aug 10, 2020, 1:24:28 PM
Re: Bibliothèque pour multipostes
Thank you, Emmanuel, greatly appreciated. Walt