Venezuela
Joined: Jan 2, 2020
Post Count: 2
Status:
Offline
I can't install plugins on SweetHome 3D for linux
Hi all, how are you?.
I'm trying to install plugins and I can't, as you know the app for linux comes in a .tar file, after downloaded the file the help to install the plugins says that one must do any of two things
Copy the plugins files compressed into a folder plugins in the installation of SweetHome 3D
or
use the command ./path/to/SweetHome3D ./path/to/plugin.sh3p (with the real paths)
in my case the program was decompressed in a folder inside the Documents folder and when I use de command then SweetHome3D allways says that it can not import the plugin and it shows the route to the file, what else can I do?
Netherlands
Joined: Apr 8, 2022
Post Count: 1554
Status:
Offline
Re: I can't install plugins on SweetHome 3D for linux
Create a directory in your home folder (or a directory on a separate partition/drive), for example 'SH3D', and extract the tar.gz file there. Don't use the documents folder, it's for ... documents You can also move your extracted folder from the documents directory to that new directory. The result will be a directory '/path/SH3D/SweetHome3D-7.5'. You can add directories for your projects in the same SH3D directory or in any other directory you want. This also allows you to have multiple versions of Sweet Home 3d installed: each in their own '/path/SH3D/SweetHome3D-?.?' directory. Makes it easy to test beta versions without removing your main install.
Then there is a second directory, a hidden directory in your home folder: /home/<user>/.eteks/sweethome3d. Notice the "." before 'eteks', it's what makes the directory hidden. In your file manager you should be able to make hidden folders visible. This directory is not created when you extract the tar.gz file but is looks like you already have it on your system. If not then simply install Sweet Home 3D from the repository and ignore that install from there on. It will create the hidden folder and the required contents but it will be used by your extracted version of Sweet Home 3D. That hidden directory will contain the subdirectory 'plugins' and that is where you copy .sh3p plugin files to.
In the extracted directory there is a script file that starts Sweet Home 3D on Linux: SweetHome3D-Java3D-1_5_2. This is the file you will edit if you want to change the allowed memory used by Sweet Home 3d. See the FAQ 'How can I adjust the memory used by Sweet Home 3D?'. You can also add '-Duser.name=<a_name>'. This sets the name/alias used in project and library files other wise your system user name will be used which you might want to avoid if you distribute a file. Command example: exec "$PROGRAM_DIR"/runtime/bin/java -Duser.name=MyName -Xmx2g -classpath ...
If you already have a Sweet Home 3D launcher/menu item then you can edit the command of the launcher so it uses the 'SweetHome3D-Java3D-1_5_2' script in your extracted directory. If you don't have any launchers you then create a new launcher. The extracted install contains an icon you can use for the launcher.
With this clean installation you should be able to copy .sh3p files into the hidden directory /home/<user>/.eteks/sweethome3d/plugins and after restart of Sweet Home 3D you can check Menu > Help > About, click the button 'Libraries' and it will show three lists with the bottom one showing the installed plugins. You can install the Plugin Manager plugin to make the installation and removal of other plugins easier. One absolutely must-have plugin is the Advanced Edit plugin but there are more plugins that you will find very useful.
---------------------------------------- Dodecagon.nl 1300+ 3D models, manuals, and projects