Online calculator for finishing materials (suspended ceiling: slatted and cassette).
Currently, a widget is needed for the website to calculate components only for the slatted ceiling and to generate PDF files with drawings and costs.
The next stage will be cassette ceilings (grilyato).
The calculator should be integrated into the existing website.
The project is 95% ready. At this stage, some bugs need to be fixed and the generation of the PDF document after calculation and sending it to the email needs to be configured.
It is also necessary to refine the admin panel for entering the assortment and prices.
Technology stack – PHP, Laravel, MySQL, JS. The main library for outputting results – svg.js
Timeline – April-May 2025.
Calculator functionality:
- draw the room online or choose from installed shapes;
- calculate the number of components;
- provide cost and price per square meter based on the pre-established database (according to the selected type of material for calculation);
- at the final step, offer a form to fill out and send the calculation results;
- generate PDF documents with drawings and other information from the database and send them to the email.
Database:
- prices of components per linear meter and piece;
- weight of elements;
- media materials for each type of material;
- technical specifications (description).
Example of building a 2D floor plan in an offline program - https://www.loom.com/share/157b43c73ac8467c8a282bb91eede64e
Organizational moments:
We break the work into stages and evaluate each: edits and document generation/sending.
All changes are made and saved through GitHub.
When ready, we branch off from the main branch "Fix Branch" for each edit from the technical specifications.
When the edit is ready – we open a Pull Request back to the main branch. We check if everything is correct, I make the payment, and we merge into the main.
We repeat for all other edits.
When the calculator work is properly configured, we move on to generating and sending documents.
For this, we will later branch off "Feature Branch" on GitHub, the process is the same.
I am attaching the logic of the calculator's calculations and the final edits that need to be made + an example of the calculator design and the documents that should be produced.
IMPORTANT: currently, in the calculator on the first screen, there is a choice of material (3 types of material are featured: steel, aluminum, and felt), but for now, we will reduce it to one - galvanized steel. The cost of the project and timelines are specified for only one type of material (the other materials will be included in future releases and will be paid separately).