1
0
Fork 0

sparkle: Paperless front right

This commit is contained in:
Joost De Cock 2018-12-28 16:57:08 +01:00
parent c152c42976
commit 509aecf6d5
8 changed files with 252 additions and 121 deletions

View file

@ -120,6 +120,33 @@ export default part => {
// Paperless?
if (paperless) {
macro("hd", {
from: points.placketTopIn,
to: points.placketTopOut,
y: points.placketTopIn.y - 15 - sa
});
macro("hd", {
from: points.placketTopIn,
to: points.placketTopEdge,
y: points.placketTopIn.y - 30 - sa
});
macro("vd", {
from: points.placketBottomEdge,
to: points.placketTopEdge,
x: points.placketTopEdge.x + 15 + sa
});
let len =
points.cfNeck.dist(points.cfHips) * (1 - options.buttonFreeLength);
points.button0 = points.placketTopEdge;
let j;
for (let i = 0; i < options.buttons; i++) {
j = i + 1;
macro("vd", {
from: points["button" + j],
to: points["button" + i],
x: points.placketTopIn.x - 15 - sa
});
}
}
return part;