rotating_light: Cleaning up linter warnings
This commit is contained in:
parent
50d938bcb9
commit
2ca09ceee0
15 changed files with 14 additions and 15 deletions
|
@ -100,7 +100,6 @@ export default {
|
|||
frontArmholeDeeper: { pct: 0.5, min: 0, max: 1.5 },
|
||||
lengthBonus: { pct: 19, min: 0, max: 25 },
|
||||
shoulderEase: { pct: 0, min: -2, max: 6 },
|
||||
shoulderSlopeReduction: { pct: 0, min: 0, max: 8 },
|
||||
sleeveBend: { deg: 10, min: 0, max: 20 },
|
||||
sleevecapHeight: {pct: 45, min: 40, max: 60 },
|
||||
sleevecapEase: { pct: 1, min: 0, max: 10 },
|
||||
|
|
|
@ -2,7 +2,7 @@ import { calculateRatios, backSideBoundary } from "./shared";
|
|||
|
||||
export default function(part) {
|
||||
calculateRatios(part);
|
||||
let { store, complete, points, measurements, options, macro, Point, paths, Path } = part.shorthand();
|
||||
let { store, points, measurements, options, Point, paths, Path } = part.shorthand();
|
||||
|
||||
/**
|
||||
* Shaping the back seam
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
export default function(part) {
|
||||
let { paperless, sa, snippets, Snippet, utils, store, complete, points, measurements, options, macro, Point, paths, Path } = part.shorthand();
|
||||
let { paperless, sa, snippets, store, complete, points, options, macro, Point, paths, Path } = part.shorthand();
|
||||
|
||||
let width = store.get("chestPocketWidth");
|
||||
let welt = store.get("chestPocketWeltHeight");
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
export default function(part) {
|
||||
let { paperless, sa, snippets, Snippet, utils, store, complete, points, measurements, options, macro, Point, paths, Path } = part.shorthand();
|
||||
let { paperless, sa, store, complete, points, options, macro, Point, paths, Path } = part.shorthand();
|
||||
|
||||
let width = store.get("chestPocketWidth");
|
||||
let height = store.get("chestPocketWeltHeight");
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
export default function(part) {
|
||||
let { paperless, sa, snippets, Snippet, utils, store, complete, points, measurements, options, macro, Point, paths, Path } = part.shorthand();
|
||||
let { paperless, sa, snippets, complete, points, options, macro, paths, Path } = part.shorthand();
|
||||
|
||||
// Add extra fabric for collar roll
|
||||
points.collarCbTopRoll = points.collarCbTop.shift(-90, options.collarRoll);
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
*/
|
||||
|
||||
export default function(part) {
|
||||
let { paperless, sa, snippets, Snippet, utils, store, complete, points, measurements, options, macro, Point, paths, Path } = part.shorthand();
|
||||
let { paperless, sa, store, complete, points, measurements, options, macro, snippets, paths, Path } = part.shorthand();
|
||||
|
||||
// Only keep what's relevant from the front part
|
||||
let collarPoints = [
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { backSideBoundary } from "./shared";
|
||||
|
||||
export default function(part) {
|
||||
let { store, complete, points, utils, measurements, options, macro, Point, paths, Path } = part.shorthand();
|
||||
let { store, points, utils, options, Point, paths, Path } = part.shorthand();
|
||||
|
||||
/**
|
||||
* Add side part from back to front, draw front style line
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
export default function(part) {
|
||||
let { paperless, sa, snippets, Snippet, utils, store, complete, points, measurements, options, macro, Point, paths, Path } = part.shorthand();
|
||||
let { paperless, sa, store, complete, points, options, macro, Point, paths, Path } = part.shorthand();
|
||||
|
||||
let width = store.get("innerPocketWidth");
|
||||
let welt = store.get("innerPocketWeltHeight");
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
export default function(part) {
|
||||
let { paperless, sa, snippets, Snippet, utils, store, complete, points, measurements, options, macro, Point, paths, Path } = part.shorthand();
|
||||
let { paperless, sa, store, complete, points, macro, Point, paths, Path } = part.shorthand();
|
||||
|
||||
let width = store.get("innerPocketWidth");
|
||||
let height = store.get("innerPocketWeltHeight");
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
export default function(part) {
|
||||
let { paperless, sa, snippets, Snippet, utils, store, complete, points, measurements, options, macro, Point, paths, Path } = part.shorthand();
|
||||
let { paperless, sa, store, complete, points, options, macro, Point, paths, Path } = part.shorthand();
|
||||
|
||||
let width = store.get("pocketWidth");
|
||||
let depth = store.get("pocketDepth");
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
export default function(part) {
|
||||
let { paperless, sa, snippets, Snippet, utils, store, complete, points, measurements, options, macro, Point, paths, Path } = part.shorthand();
|
||||
let { paperless, sa, snippets, complete, points, options, macro, paths, Path } = part.shorthand();
|
||||
|
||||
// Adapt length
|
||||
points.topLeft = points.edgeLeft.flipY(points.topLeft);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
export default function(part) {
|
||||
let { paperless, sa, snippets, Snippet, utils, store, complete, points, measurements, options, macro, Point, paths, Path } = part.shorthand();
|
||||
let { paperless, sa, snippets, Snippet, utils, complete, points, measurements, options, macro, Point, paths, Path } = part.shorthand();
|
||||
|
||||
// Double back vent
|
||||
if (options.backVent === 2) {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
export default function(part) {
|
||||
let { paperless, sa, snippets, Snippet, utils, store, complete, points, measurements, options, macro, Point, paths, Path } = part.shorthand();
|
||||
let { paperless, sa, utils, complete, points, measurements, options, macro, paths, Path } = part.shorthand();
|
||||
|
||||
// Vent
|
||||
let slope = 15;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
export default function(part) {
|
||||
let { paperless, sa, snippets, Snippet, utils, store, complete, points, measurements, options, macro, Point, paths, Path } = part.shorthand();
|
||||
let { paperless, sa, snippets, complete, points, macro, paths, Path } = part.shorthand();
|
||||
|
||||
// Clean up
|
||||
for (let i of Object.keys(paths)) delete paths[i];
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
export default function(part) {
|
||||
let { paperless, sa, snippets, Snippet, utils, store, complete, points, measurements, options, macro, Point, paths, Path } = part.shorthand();
|
||||
let { paperless, sa, utils, complete, points, measurements, options, macro, paths, Path } = part.shorthand();
|
||||
|
||||
// Vent
|
||||
let slope = 15;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue