We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80b0502 commit 278c295Copy full SHA for 278c295
main/deepnest.js
@@ -835,7 +835,7 @@
835
) {
836
const fileNameParts = part.filename.split(".");
837
if (fileNameParts.length >= 3) {
838
- const fileNameQuantityPart = fileNameParts[fileNameParts.length-1];
+ const fileNameQuantityPart = fileNameParts[fileNameParts.length-2];
839
const quantity = parseInt(fileNameQuantityPart, 10);
840
if (!isNaN(quantity)) {
841
part.quantity = quantity;
0 commit comments