Merge pull request #7111 from BenJamesBen/bent-sleeve-use-biceps
fix(bent): Base sleeve width on biceps circumference
This commit is contained in:
commit
f64dbac967
1 changed files with 2 additions and 1 deletions
|
@ -5,7 +5,8 @@ function draftBentSleeve({ Path, paths, points, store, options, part }) {
|
||||||
let { Point, Path, points, store, options, measurements, utils } = part.shorthand()
|
let { Point, Path, points, store, options, measurements, utils } = part.shorthand()
|
||||||
// Sleeve frame
|
// Sleeve frame
|
||||||
points.top = new Point(0, 0)
|
points.top = new Point(0, 0)
|
||||||
points.boxTopRight = points.top.shift(0, (store.get('sleevecapTarget') / 5.8) * tweak)
|
const easedQuarterBiceps = (measurements.biceps / 4) * (1 + options.bicepsEase)
|
||||||
|
points.boxTopRight = points.top.shift(0, easedQuarterBiceps * tweak)
|
||||||
points.boxTopLeft = points.boxTopRight.flipX()
|
points.boxTopLeft = points.boxTopRight.flipX()
|
||||||
points.boxBottom = points.top.shift(
|
points.boxBottom = points.top.shift(
|
||||||
-90,
|
-90,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue