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

@ -2,22 +2,21 @@ import { frontBase } from './frontbase.mjs'
import { backBase } from './backbase.mjs'
import { backVent, backVentLength } from './options.mjs'
function jaegerSide(part) {
const {
paperless,
sa,
snippets,
Snippet,
utils,
complete,
points,
measurements,
options,
macro,
paths,
Path,
} = part.shorthand()
function jaegerSide({
paperless,
sa,
snippets,
Snippet,
utils,
complete,
points,
measurements,
options,
macro,
paths,
Path,
part,
}) {
// Double back vent
if (options.backVent === 2) {
let ventY = points.bsHips.y - points.bsWaistCp1.dy(points.bsHips) * options.backVentLength