1
0
Fork 0

chore(jaeger): Port to v3 stage 2

This commit is contained in:
joostdecock 2022-09-11 15:48:48 +02:00
parent 66d2976698
commit 7bf70f12d3
16 changed files with 191 additions and 110 deletions

View file

@ -27,24 +27,23 @@ import {
lapelReduction,
} from './options.mjs'
function jaegerFront(part) {
const {
paperless,
sa,
snippets,
Snippet,
utils,
store,
complete,
points,
measurements,
options,
macro,
Point,
paths,
Path,
} = part.shorthand()
function jaegerFront({
paperless,
sa,
snippets,
Snippet,
utils,
store,
complete,
points,
measurements,
options,
macro,
Point,
paths,
Path,
part,
}) {
// Front closure overlap
points.neckEdge = points.cfNeck.shift(180, measurements.chest * options.frontOverlap)
points.hemEdge = new Point(points.neckEdge.x, points.cfHem.y)