From 779a29d29f4afda095f1dd8a0d8f0b0fc9926c7c Mon Sep 17 00:00:00 2001 From: joostdecock Date: Sun, 31 Jul 2022 15:55:54 +0200 Subject: [PATCH] chore(octoplushie): Fixed linter warnings --- designs/octoplushy/src/eye.js | 1 - designs/octoplushy/src/headSection.js | 3 --- designs/octoplushy/src/legSection.js | 2 -- 3 files changed, 6 deletions(-) diff --git a/designs/octoplushy/src/eye.js b/designs/octoplushy/src/eye.js index bcd01e1f3b6..83faad86caa 100644 --- a/designs/octoplushy/src/eye.js +++ b/designs/octoplushy/src/eye.js @@ -11,7 +11,6 @@ export default function (partNumber, part) { sa, paperless, macro, - utils, store, } = part.shorthand() diff --git a/designs/octoplushy/src/headSection.js b/designs/octoplushy/src/headSection.js index a21c47bd511..fd287ea2cee 100644 --- a/designs/octoplushy/src/headSection.js +++ b/designs/octoplushy/src/headSection.js @@ -42,9 +42,6 @@ export default function (partNumber, part) { legLength *= 1.2 } } - let skirtWidth = - (options.type == 'octopus' ? 2 : options.type == 'octoplushy' ? 0.7 : 1) * sectionWidth - skirtWidth = skirtWidth < legAdjustedWidth ? legAdjustedWidth : skirtWidth // console.log({ w: w }) // console.log({ sectionWidth: sectionWidth }) diff --git a/designs/octoplushy/src/legSection.js b/designs/octoplushy/src/legSection.js index 6eb1c4d5e3e..12a0afdd891 100644 --- a/designs/octoplushy/src/legSection.js +++ b/designs/octoplushy/src/legSection.js @@ -21,11 +21,9 @@ export default function (partNumber, part) { const c = 0.55191502449351 const w = options.sizeConstant * options.size - const h = options.sizeConstant * options.size * 0.5 const sections = options.type == 'squid' ? 10 : 8 let sectionWidth = (w * 2) / sections - let neckWidth = sectionWidth * options.neckWidth let legWidth = (w * options.legWidth * options.bottomTopLegRatio * 3.1415) / 2 let legAdjustedWidth = legWidth * options.bottomTopLegRatio let legLength = ((w * 2) / 3.1415) * options.legLength