Merge pull request #7040 from HaasJona/fix/paco-flap-position
fix(paco): Use more accurate flap position
This commit is contained in:
commit
2aa0811621
1 changed files with 9 additions and 2 deletions
|
@ -126,8 +126,15 @@ function pacoFront({
|
||||||
absoluteOptions.frontPocketFlapSize
|
absoluteOptions.frontPocketFlapSize
|
||||||
)
|
)
|
||||||
|
|
||||||
points.flapTopLeft = points.pocketFlapTopOut.flipX(points.pocketFlapTopIn)
|
points.flapTopLeft = points.pocketFlapTopOut.shiftTowards(
|
||||||
points.flapBottomLeft = points.pocketFlapBottomOut.flipX(points.pocketFlapBottomIn)
|
points.pocketFlapTopIn,
|
||||||
|
absoluteOptions.frontPocketFlapSize * 2
|
||||||
|
)
|
||||||
|
points.flapBottomLeft = points.pocketFlapBottomOut.translate(
|
||||||
|
points.pocketFlapTopOut.dx(points.flapTopLeft),
|
||||||
|
points.pocketFlapTopOut.dy(points.flapTopLeft)
|
||||||
|
)
|
||||||
|
|
||||||
points.topLeft = utils.beamsIntersect(
|
points.topLeft = utils.beamsIntersect(
|
||||||
points.flapBottomLeft,
|
points.flapBottomLeft,
|
||||||
points.flapTopLeft,
|
points.flapTopLeft,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue