1
0
Fork 0

sparkles: Auto-fitting of collar via brianFitCollar option

This commit is contained in:
Joost De Cock 2018-09-23 13:14:25 +02:00
parent bb81f44678
commit ebb29cd5c5
9 changed files with 982 additions and 923 deletions

View file

@ -7,8 +7,11 @@ var sleeve = {
// Wrist
let top = paths.sleevecap.bbox().topLeft.y;
debug("Sleevecap height is ", units(Math.abs(top)));
debug("Sleeve width is ", units(points.bicepsRight.x * 2));
debug({ style: "info", label: "🗸 Sleevecap height" }, units(Math.abs(top)));
debug(
{ style: "info", label: "🗸 Sleevecap width" },
units(points.bicepsRight.x * 2)
);
points.centerWrist = new Point(
0,
top + measurements.shoulderToWrist * (1 + options.sleeveLengthBonus)