diff --git a/boxGenerator.html b/boxGenerator.html index 46c3ec45..56263608 100644 --- a/boxGenerator.html +++ b/boxGenerator.html @@ -22,8 +22,8 @@ Material thickness: - Number of rows: - + Row length (interior): Card width (sleeved): @@ -42,12 +42,12 @@
- Generate cool boxes! + Currently this box generator only supports odd numbers of tabs and single-row boxes with sliding lids. Hopefully in the future I'll add more options!
- So fun! + Before laser cutting, you'll have to adjust the stroke width and color, as well as scale SVG correctly. Note down the PPI (default is 72) when you download the SVGs. In case you forget which PPI you used, the margins on the SVG files are one inch.
diff --git a/data/site/other/boxGenerator/boxGenerator.js b/data/site/other/boxGenerator/boxGenerator.js index b3f74332..a54ca667 100644 --- a/data/site/other/boxGenerator/boxGenerator.js +++ b/data/site/other/boxGenerator/boxGenerator.js @@ -14,7 +14,7 @@ function generateSVGs() { var ppi = parseInt(document.getElementById('inputPPI').value) var padding = ppi var materialThickness = parseFloat(document.getElementById('inputMaterialThickness').value) * ppi - var rowCount = parseInt(document.getElementById('inputRowCount').value) + var rowCount = 1//parseInt(document.getElementById('inputRowCount').value) var rowLength = parseFloat(document.getElementById('inputRowLength').value) * ppi var cardWidth = parseFloat(document.getElementById('inputCardWidth').value + document.getElementById('inputWiggleRoom').value) * ppi var cardHeight = parseFloat(document.getElementById('inputCardHeight').value + document.getElementById('inputWiggleRoom').value) * ppi