This might be interesting for anyone, who needs a floorplan app integrated into espoCRM.
In my contacts I have an address group which saves addresses, where there are storing places for artwork. Because of the many possibilities, where you could store artwork - shelves, cabinets of different kind and so on, it was my wish to attach a floorplan to any of these adresses, so that the artist could exactly map, where which piece would be stored.
I did not need a fully fledged floorplan app with 3D and also not a library of thousands of furniture objects.
Whenever I try to find something, that could come handy to my app, I search on Github, where actually are lots of floorplan scripts in various languages, some better, some abandoned. But I was lucky, when I found one, nearly to be perfect for my purpose.
You may find it here: https://github.com/ekymoz/homeRoughEditor and a bit further developed fork here: https://github.com/Niush/floorplanjs
I use the second one, because it has some important features enhanced from the original.
To install it, it is ridiculously easy, because you merely have to copy the whole folder to your app and link to it. That`s it.
I only made some adaptions, mostly translating to my language and some modifications of terms used.
To open the floorplan I created a bootstrap button with a link in a WYSIWYG field to link to the folder.
This script is simple, only 2D (does not have 3D, which I do not need), but works as it shloud.
Here the limitations:
The script generates the floorplan and objects as svg-Files, but you cannot save out of the script. I have a workaround to use a browser extension to make a screenshot, save the generated image as png, which I then upload to my record in contacts.
Perhaps someone skilled could enhance the script by that function, as I am not that one.
Regarding the furniture objects, there actually is only one object, called "Bed", being a mere square/rectangle. For me it serves as any kind of shelf, cabinet, desk and so on, because I do not need any elaborated, detailed furniture. You can use text to label the objects.
You can export your floorplans as json-files and import them later for further working on it. There is also measuring and color function to use for the different rooms, there are windows and doors, even stairs. You can generate walls of various thickness and even partial walls.
All in all for me - and I guess for many other purposes - a valuable script, that enhances my app a lot.
In my contacts I have an address group which saves addresses, where there are storing places for artwork. Because of the many possibilities, where you could store artwork - shelves, cabinets of different kind and so on, it was my wish to attach a floorplan to any of these adresses, so that the artist could exactly map, where which piece would be stored.
I did not need a fully fledged floorplan app with 3D and also not a library of thousands of furniture objects.
Whenever I try to find something, that could come handy to my app, I search on Github, where actually are lots of floorplan scripts in various languages, some better, some abandoned. But I was lucky, when I found one, nearly to be perfect for my purpose.
You may find it here: https://github.com/ekymoz/homeRoughEditor and a bit further developed fork here: https://github.com/Niush/floorplanjs
I use the second one, because it has some important features enhanced from the original.
To install it, it is ridiculously easy, because you merely have to copy the whole folder to your app and link to it. That`s it.
I only made some adaptions, mostly translating to my language and some modifications of terms used.
To open the floorplan I created a bootstrap button with a link in a WYSIWYG field to link to the folder.
This script is simple, only 2D (does not have 3D, which I do not need), but works as it shloud.
Here the limitations:
The script generates the floorplan and objects as svg-Files, but you cannot save out of the script. I have a workaround to use a browser extension to make a screenshot, save the generated image as png, which I then upload to my record in contacts.
Perhaps someone skilled could enhance the script by that function, as I am not that one.
Regarding the furniture objects, there actually is only one object, called "Bed", being a mere square/rectangle. For me it serves as any kind of shelf, cabinet, desk and so on, because I do not need any elaborated, detailed furniture. You can use text to label the objects.
You can export your floorplans as json-files and import them later for further working on it. There is also measuring and color function to use for the different rooms, there are windows and doors, even stairs. You can generate walls of various thickness and even partial walls.
All in all for me - and I guess for many other purposes - a valuable script, that enhances my app a lot.
Comment