Draw House and Plan Furnitures web with Open Source

SweetHome3D web version how to use and deploy to create forniture planner or complete house creator

Nicola Landro
2 min readFeb 1, 2024

SweetHome3D is a good open source software that can also compete with Archicad for much features and It can give you a tool for simple creating full house, walls and furnitures.

Sweet home 3D web

Recently it is released an online version with a demo here and the annouce in the blog post.

It is open source so it can be also runned standalone: in this post I will explain how to use that version. Code resources: Study SweetHome3DJS.

Run a server with SweetHome3DJS

You can run with Tomcat with java or with PHP. We will see how to run using docker you can follow Study SweetHome3DJS repo.

Tomcat version, download the SweetHome3DJS-7.2.war (or latest version)

FROM tomcat:9.0
ADD SweetHome3DJS-7.2.war /usr/local/tomcat/webapps/

EXPOSE 8080
CMD ["catalina.sh", "run"]

create in the same folder also the docker-compose.yml

services:
jsp:
build: .
ports:
- "8080:8080"

run with docker-compose up or docker compose up and go to http://localhost:8080/SweetHome3DJS-7.2/ to see the webpage.

PHP version, download and extract the SweetHome3DJS-7.2-src.zip (all builded here) so we can simply create the dockerfile with apache

FROM php:8.0-apache

COPY . /var/www/html

create in the same folder also the docker-compose.yml

services:
php:
build: .
ports:
- "8081:80"

run with docker-compose up or docker compose up and go to http://localhost:8081 to see the webpage.

Conclusions

With the php version seams simplest to customize fornitures by changing simply the content of the folder and configuration files with the list, instead the tomcat seams easiest to run. Both solution seams good, we will see the next development about that but it is very interesting that this project continue to exist, so contribute to make it greatest and newer!

--

--

Nicola Landro

Linux user and Open Source fun. Deep learning PhD. , Full stack web developer, Mobile developer, cloud engineer and Musitian.