1
0
Fork 0

feat(charlie): Paperless for back part

This commit is contained in:
Joost De Cock 2021-04-17 15:39:45 +02:00
parent 309aebaecd
commit a3d0d69b78

View file

@ -194,6 +194,110 @@ export default (part) => {
) )
if (paperless) { if (paperless) {
// Clean up paperless dimensions
macro('rmad')
delete paths.hint
// Shared
macro('hd', {
from: points.floorIn,
to: points.grainlineBottom,
y: points.floorIn.y - 15
})
macro('hd', {
from: points.grainlineBottom,
to: points.floorOut,
y: points.floorIn.y - 15
})
macro('hd', {
from: points.floorIn,
to: points.floorOut,
y: points.floorIn.y - 30
})
let y = points.floorIn.y + sa * 6
macro('hd', {
from: points.fork,
to: points.grainlineBottom,
y: y + 15
})
macro('hd', {
from: points.grainlineBottom,
to: points.slantBottomNotch,
y: y + 15
})
macro('hd', {
from: points.grainlineBottom,
to: points.slantOut,
y: y + 30
})
y = points.styleWaistIn.y - sa
macro('hd', {
from: points.styleWaistIn,
to: points.grainlineTop,
y: y - 15
})
macro('hd', {
from: points.fork,
to: points.grainlineTop,
y: y - 30
})
macro('hd', {
from: points.grainlineTop,
to: points.waistPocketCenter,
y: y - 15
})
macro('hd', {
from: points.grainlineTop,
to: points.slantOut,
y: y - 30
})
macro('ld', {
from: points.pocketLeft,
to: points.pocketRight,
d: -15
})
macro('ld', {
from: points.backDartLeft,
to: points.backDartRight,
d: 15
})
macro('ld', {
from: points.pocketCenter,
to: points.waistPocketCenter,
d: 25
})
let x = points.fork.x - sa
macro('vd', {
from: points.fork,
to: points.pocketCenter,
x: x - 15
})
macro('vd', {
from: points.fork,
to: points.waistPocketCenter,
x: x - 30
})
macro('vd', {
from: points.fork,
to: points.styleWaistIn,
x: x - 45
})
x = points.slantOut.x + sa
macro('vd', {
from: points.floorOut,
to: points.slantBottomNotch,
x: x + 15
})
macro('vd', {
from: points.floorOut,
to: points.slantOut,
x: x + 30
})
} }
} }