feat: the customer picks Agrupado or Misturado and sees free copies that fit the same metres (Rodada 5, C1, C2)
C2: encaixar takes an optional mode ('linhas', 'forma'; the Montar keeps
the automatic one); the buy box shows both billed lengths and the
difference in cm and R$ when they differ, marking the packing on screen.
C1: up to 5 arts are tried with up to 30 more copies, by binary search
with the packing in use, and up to 3 '+k file' buttons add the copies
that keep the billed metres. Both run after the order check, never
before it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -136,6 +136,7 @@ const folhaTotalM=()=>{
|
||||
// Cada modo por metro tem o seu par de artes avulsas, e o seletor anda nos dois sentidos.
|
||||
const PAR={file:'avulsa', avulsa:'file', uvfile:'uv', uv:'uvfile'};
|
||||
let montagemCm=0; // altura da folha montada pelo motor, em cm
|
||||
let modoEncaixe='auto'; // C2: 'auto', 'linhas' (Agrupado) ou 'forma' (Misturado)
|
||||
let montagemLayout=null; // posições aprovadas de cada cópia, em cm
|
||||
let montagemFolhas=null; // artes avulsas separadas por traço (item 17)
|
||||
let montagemFolgaCm=0.5; // a menor folga da montagem na largura
|
||||
|
||||
Reference in New Issue
Block a user