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
|
||||
)
|
||||
|
||||
points.flapTopLeft = points.pocketFlapTopOut.flipX(points.pocketFlapTopIn)
|
||||
points.flapBottomLeft = points.pocketFlapBottomOut.flipX(points.pocketFlapBottomIn)
|
||||
points.flapTopLeft = points.pocketFlapTopOut.shiftTowards(
|
||||
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.flapBottomLeft,
|
||||
points.flapTopLeft,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue