Calculiva Cut Planner

v0.2.0
com.calculiva/cut-planner Checked 8 hours ago Published 1 month ago

Plans flooring, trim and wallpaper orders from computed cut layouts.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

plan_trim_order Plan a trim board order

Plans board and batten, wainscoting or picture frame molding on one wall: spacing, the cut list (miter long and short points for frames) and how many boards of each retail length to buy, with the total length bought and offcut percentage for each stock length; the length to buy is the one that buys the least total length, then the least offcut, then the fewest boards. The cut plan is first-fit decreasing: feasible, not proven optimal. Lengths accept feet and inches. Returns a link to the full plan on calculiva.com.

plan_wallpaper_order Plan a wallpaper order

Counts the wallpaper rolls to buy from the walls, doors and windows and the roll label (width, length, pattern repeat, match): drops per roll, every cut placed on its roll, match waste, and the straight / half-drop / random comparison. Lengths accept feet and inches. Returns a link to the full plan on calculiva.com.

ParameterTypeDescription
repeat *Vertical pattern repeat from the label; "0" for none. Length with its unit, e.g. "12 ft 6 in", "12'6\"", "150 in", "3m80"; a bare number is read as inches.
rollLength *Roll length, from the label (e.g. "33 ft"). Length with its unit, e.g. "12 ft 6 in", "12'6\"", "150 in", "3m80"; a bare number is read as inches.
rollWidth *Roll width, from the label of the roll. Length with its unit, e.g. "12 ft 6 in", "12'6\"", "150 in", "3m80"; a bare number is read as inches.
walls *arrayWalls to paper, 1 to 12.
deductOpeningsbooleanShorten drops over doors and windows (default true).
matchstringPattern match from the label: straight (default), half-drop or random.
openingsarrayDoors and windows; only drops fully crossed by an opening are shortened.
trimTrim allowance per drop, top and bottom together. Default 4 in. Length with its unit, e.g. "12 ft 6 in", "12'6\"", "150 in", "3m80"; a bare number is read as inches.

plan_flooring_order Plan a plank flooring order

Plans laminate, vinyl plank (LVP) or engineered plank flooring for 1 to 12 rooms, rectangles or L shapes, with the plank size and planks per carton from the carton: cartons to buy, every cut piece traced to its source plank, offcuts carried from one room to the next, the 8 scenarios (direction x offset 1/3 or 1/2 x reuse, plus aligned joints in the chosen direction when offset 0 is chosen) and the best one when no other ties it (fewest cartons, then least offcut, then fewest planks), and how many planks a flat waste allowance would miss. Up to 3,000 planks per call. Lengths accept feet and inc…

ParameterTypeDescription
plankLength *Installed plank length (face), from the carton. Length with its unit, e.g. "12 ft 6 in", "12'6\"", "150 in", "3m80"; a bare number is read as inches.
plankWidth *Installed plank width (face), from the carton. Length with its unit, e.g. "12 ft 6 in", "12'6\"", "150 in", "3m80"; a bare number is read as inches.
planksPerBox *integerPlanks per carton, from the carton label.
rooms *arrayRooms to floor with the same plank, 1 to 12, in laying order unless order is given.
allowancePercentnumberFlat waste allowance you would otherwise buy (e.g. 10): the answer says how many planks it misses.
balancedRowsbooleanSplit the partial row width between the first and last rows (default true).
carryBetweenRoomsbooleanOffcuts of a room feed the next rooms (default true).
clearanceExpansion gap on every wall, from the product instructions. Default 0. Length with its unit, e.g. "12 ft 6 in", "12'6\"", "150 in", "3m80"; a bare number is read as inches.
directionstringhorizontal = planks run along the room width (default); vertical = along the room length.
firstStarterLength of the first row starter; 0 = full plank. Default 0. Length with its unit, e.g. "12 ft 6 in", "12'6\"", "150 in", "3m80"; a bare number is read as inches.
kerfSaw kerf, charged on each cut. Default 1/8 in. Length with its unit, e.g. "12 ft 6 in", "12'6\"", "150 in", "3m80"; a bare number is read as inches.
minJointSpacingMinimum distance between end joints of adjacent rows; 0 disables the check. Default 0. Length with its unit, e.g. "12 ft 6 in", "12'6\"", "150 in", "3m80"; a bare number is read as inches.
minReuseShortest offcut worth carrying to another room. Default 0 (any offcut long enough). Length with its unit, e.g. "12 ft 6 in", "12'6\"", "150 in", "3m80"; a bare number is read as inches.
minRowWidthMinimum edge-row width; 0 disables the check. Default 0. Length with its unit, e.g. "12 ft 6 in", "12'6\"", "150 in", "3m80"; a bare number is read as inches.
minStarterMinimum row starter length; 0 disables the check. Default 0. Length with its unit, e.g. "12 ft 6 in", "12'6\"", "150 in", "3m80"; a bare number is read as inches.
offsetstringEnd-joint stagger between rows, as a fraction of the plank: 1/3 (default), 1/2 or 0 (aligned).
orderarrayLaying order by room name; offcuts only flow forward. Default: the order of rooms.
reusebooleanCut a row end from the offcut of a row start in the same room (default true).

build_order_sheet Build one order sheet

Builds one consolidated order sheet from the flooring, trim and wallpaper plans of the same project (pass the same arguments as plan_flooring_order, plan_trim_order and plan_wallpaper_order): cartons, boards per stock length, rolls, total offcuts, the cut list by material and a CSV. Trim pieces of all walls and all types (battens, rails, chair rail, frames) are packed together on the stock boards, and the sheet compares that with one order per wall, each wall on its own best stock length (total length bought, then offcut, then boards).