Update cemento.py

This commit is contained in:
2026-01-20 10:44:06 +01:00
parent 5b72a63b8a
commit f7e7097612

View File

@@ -26,7 +26,7 @@ def index():
vol = to_m(d.get('l','1'), d.get('ul','m')) * to_m(d.get('p','1'), d.get('up','m')) * to_m(d.get('a','1'), d.get('ua','m'))
peso_tot = vol * 2400
# Logica calcolo materiali (V1.1)
# Logica calcolo materiali (V1.12)
res = {"vol": f"{vol:.3f}", "peso": f"{peso_tot:.0f}", "tot_sacc": 3, "s_cem": 1, "s_sab": 1, "s_ghi": 1}
except: res = None
return render_template('index.html', res=res, form=request.form)