Linear Cut Planner · input preparation 1.6.0

Open cut-input-preflight.html locally. Load UTF-8 CSV files or paste their
numeric contents. Use LF or CRLF line endings; bare CR-only files are
excluded before browser textarea normalization. At most 64 KiB per CSV.

Parts: exact header length,quantity or length,quantity,partCode.
Up to 100 data rows and 500 individual pieces. Workshop codes only:
1–4 uppercase letters, hyphen, 1–6 digits; unique across part rows.
No names, customer or order identifiers. Missing codes become P-1, P-2, …
using planner data-row order, not physical CSV line numbers.

Stock: exact header length,quantity. At most 20 rows. Zero quantity means
no inventory. Write the literal unlimited for an unlimited row. Keep one
material/profile. End allowances are common to every stock row and must
leave positive usable length, including rows whose quantity is zero.

Choose mm or in for ALL dimensions; changing unit performs no conversion.
Use decimal dot, at most three decimal places, no fractions or exponents.
Dimensions at most 1000000 units. Start/end allowances include any trim-cut
kerf already reserved. The offcut threshold classifies positive leftovers.

Check current input. A row error closes old output and gives its planner
row/CSV line. Valid input can be exported to linear-cut-input.json, with
native settings as JSON numbers. No Actor run is submitted. An export is
also permitted when a necessary capacity bound proves a numerical shortage;
the shortage remains visible rather than silently changing your inventory.

Passing the necessary bounds is NOT a completed plan. In the shared-stock
example, 7,7,4,2 units compete for two 10-unit bars. Totals and each separate
length's capacity pass, but the two 7-unit pieces leave 3 + 3 and the 4-unit piece
fits neither. The view explains this exact case. Full planning must allocate
shared stock and verify every cut before a result is considered complete.

Tables scroll horizontally on narrow screens and support keyboard scrolling.
All current parsed rows are retained. A browser print is an input summary,
not a cutting plan or machine instruction. Invalid/unprepared print contains
no old parsed table. Files stay local; an explicit download saves the file.
Opening the Actor link is a separate deliberate browser navigation.

No accounts, tracking, browser storage, inference service or automatic
network calls. Read ../Start.html for the complete workflow. These local checks do not start
a run, create a layout or measure physical stock.

SAVED INPUT JSON

To reopen a numeric original input, use Load original numeric input JSON.
Both CSV strings are required; settings must be JSON numbers when present.
Omitted settings become 0; omitted unit becomes mm. Extra or repeated fields,
wrong types and invalid CSV are rejected before any form values change.
Review the visible settings, then choose Check current input before export.
UTF-8 JSON limit: 1 MiB; each decoded CSV remains limited to 64 KiB. One BOM
is tolerated; comments, trailing commas/text and nonfinite numbers are not.
A failed file keeps prior form values with old prepared results closed. New
files, edits, presets and clear revoke obsolete reads and exports.
