Profile catalog (datos.xlsx)
Profile names are stored in an Excel file located at public/datos.xlsx. The file is loaded on component mount via procesarPerfiles():
$this->data) contains one entry per row — each entry is the full product name string as it appears in the spreadsheet, for example "7955 - U 3/4 NEGRO 6MT".
Name lookup pattern
At render time each profile entry is matched against the catalog using a substring search:The match uses
str_contains(), not an exact key lookup. This means a catalog row "7955 - U 3/4 NEGRO 6MT" will match when the code searched is "7955". Catalog rows must include the numeric code as a substring; formatting and description text around it do not matter.Sistema Nova profile table
The following profiles are calculated for every Sistema Nova window. Lengths are in centimetres.| Profile name | Code | Quantity | Length |
|---|---|---|---|
| U 3/4 | 7955 | 1 | ancho |
| T/M | 5283 | 1 | ancho |
| RIEL L | 8413 | 1 | ancho |
| U F (per unique fixed width) | 3003 | count of fixed panels at that width | anchoVidrio (fixed) |
| H (per unique sliding width) | 8220 | count of sliding panels at that width | anchoVidrio (sliding) |
| PF Fijo | 8115 - FIJO | see upright calculation below | altoPuente − 0.3 |
| PF Corrediza | 8115 - CORREDIZA | numCorredizas × 2 | altoPuente − 2.0 |
ancho (not the adjusted value).
Upright (parante) calculation for PF Fijo
The number of PF Fijo uprights depends on the position of each fixed panel relative to its neighbours.Upright counting logic
Upright counting logic
- A fixed panel flanked by sliding panels on both sides requires 2 uprights (one for each side).
- A fixed panel on an edge or adjacent to another fixed panel requires 1 upright.
| Block arrangement | PF Fijo count |
|---|---|
| F C F (1C + 2F) | 1 + 1 = 2 |
| F F C (1C + 2F, edge) | 1 + 1 = 2 |
| F C F C F (2C + 3F) | 1 + 2 + 1 = 4 |
| F C F C F C (3C + 3F) | 1 + 2 + 1 = 4 |
PF Corrediza calculation
PF Corrediza calculation
Sliding panels always get two uprights each — one for each vertical side of the frame:The 2.0 cm deduction (
$pfcorrediza) clears the bottom roller track.Glass panel grouping
Fixed and sliding glass widths are grouped by their computed width value. If two fixed panels have identical computed widths, they are listed as one row withcantidad = 2 rather than two separate rows: