🚨 Removed linter warnings
This commit is contained in:
parent
d05181cf7a
commit
24aa6401fb
9 changed files with 7 additions and 45 deletions
|
@ -16,7 +16,7 @@ export default function(part) {
|
|||
// Construct the neck opening
|
||||
let tweak = 1;
|
||||
let target = (measurements.headCircumference * options.neckRatio) / 4;
|
||||
let delta = Infinity;
|
||||
let delta;
|
||||
do {
|
||||
points.right = new Point((tweak * measurements.headCircumference) / 10, 0);
|
||||
points.bottom = new Point(0, (tweak * measurements.headCircumference) / 12);
|
||||
|
|
|
@ -1,13 +1,5 @@
|
|||
export default function(part) {
|
||||
let {
|
||||
Point,
|
||||
points,
|
||||
Path,
|
||||
paths,
|
||||
measurements,
|
||||
options,
|
||||
macro
|
||||
} = part.shorthand();
|
||||
let { points, Path, paths, macro } = part.shorthand();
|
||||
|
||||
macro("round", {
|
||||
from: points.topLeft,
|
||||
|
|
|
@ -2,10 +2,7 @@ export default function(part) {
|
|||
let {
|
||||
Point,
|
||||
points,
|
||||
Path,
|
||||
paths,
|
||||
measurements,
|
||||
options,
|
||||
macro,
|
||||
complete,
|
||||
snippets,
|
||||
|
|
|
@ -3,7 +3,7 @@ export default function(part) {
|
|||
|
||||
let tweak = 1;
|
||||
let target = (measurements.headCircumference * options.neckRatio) / 4;
|
||||
let delta = Infinity;
|
||||
let delta;
|
||||
do {
|
||||
points.right = new Point((tweak * measurements.headCircumference) / 10, 0);
|
||||
points.bottom = new Point(0, (tweak * measurements.headCircumference) / 12);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
export default function(part) {
|
||||
let { Point, points, Path, paths, measurements, options } = part.shorthand();
|
||||
let { points, Path, paths } = part.shorthand();
|
||||
|
||||
points.rightCp2 = points.rightCp1.flipY();
|
||||
points.bottomCp1 = points.bottomCp2.flipX();
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
export default function(part) {
|
||||
let { Point, points, Path, paths, measurements, options } = part.shorthand();
|
||||
|
||||
let width = measurements.headCircumference * options.widthRatio;
|
||||
let length = measurements.headCircumference * options.lengthRatio;
|
||||
|
||||
points.edgeLeft = new Point(points.topLeft.x, points.left.y);
|
||||
points.edgeRight = new Point(points.topRight.x, points.right.y);
|
||||
points.edgeTop = new Point(0, points.topLeft.y);
|
||||
|
|
|
@ -1,13 +1,5 @@
|
|||
export default function(part) {
|
||||
let {
|
||||
Point,
|
||||
points,
|
||||
Path,
|
||||
paths,
|
||||
measurements,
|
||||
options,
|
||||
macro
|
||||
} = part.shorthand();
|
||||
let { Point, points, macro } = part.shorthand();
|
||||
|
||||
let strap = points.edgeTop.dy(points.top);
|
||||
|
||||
|
|
|
@ -1,13 +1,5 @@
|
|||
export default function(part) {
|
||||
let {
|
||||
Point,
|
||||
points,
|
||||
Path,
|
||||
paths,
|
||||
measurements,
|
||||
options,
|
||||
macro
|
||||
} = part.shorthand();
|
||||
let { points, Path, paths, macro } = part.shorthand();
|
||||
|
||||
let rotateThese = [
|
||||
"edgeTopLeftCp",
|
||||
|
|
|
@ -1,13 +1,5 @@
|
|||
export default function(part) {
|
||||
let {
|
||||
Point,
|
||||
points,
|
||||
Path,
|
||||
paths,
|
||||
measurements,
|
||||
options,
|
||||
macro
|
||||
} = part.shorthand();
|
||||
let { points, Path, paths } = part.shorthand();
|
||||
|
||||
points.edgeTopRightCp = points.edgeTopLeftCp.flipX();
|
||||
points.topCp1 = points.topCp2.flipX();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue