v0.0.3: klant-PDF rekent met het volledige model (totalKg faalde met skip3D); Tectum (configurator) op eigen subdomein achter wachtwoord
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
13d0d43fd9
commit
81fc27fa86
+3
-1
@@ -455,7 +455,9 @@
|
||||
const raw = JSON.parse(document.getElementById('design').textContent);
|
||||
const key = raw.model || '', model = (HouseModel.MODELS || {})[key];
|
||||
const name = (st.project && st.project.naam) || (model && model.label) || 'Uw woning';
|
||||
const full = HouseModel.computeParts(st, { skip3D: true });
|
||||
// Afgewerkte woning met 3D, zoals light.js: met skip3D hebben de wandstukken geen specs (gewicht) en faalt computeTotals.
|
||||
const full = HouseModel.computeParts(st, Object.assign({ layers: ViewLayers.all(), finishedOnly: true }, mats));
|
||||
HouseModel.rootGroups(full).forEach(disposeGeo);
|
||||
const totals = HouseModel.computeTotals(full), d = HouseModel.computeDimensions(full, S.groundLevel);
|
||||
const info = {
|
||||
price: CostModel.compute(full, totals).summary.inclBtw, kg: totals.totalKg, units: st.units.length,
|
||||
|
||||
Reference in New Issue
Block a user