1
0
Fork 0

Another one for #6447

This commit is contained in:
woutervdub 2024-04-02 00:27:37 +00:00
parent 43b1cd4d41
commit 6f45fbbae0

View file

@ -3,7 +3,7 @@ import { backPoints } from './backpoints.mjs'
export const backOutside = {
name: 'noble.backOutside',
from: backPoints,
draft: ({ sa, Point, points, Path, paths, Snippet, snippets, options, macro, part }) => {
draft: ({ sa, Point, points, Path, paths, Snippet, snippets, options, macro, store, part }) => {
if (options.dartPosition != 'shoulder') {
return part
}
@ -41,6 +41,8 @@ export const backOutside = {
snippets.dartTip = new Snippet('notch', points.dartTip)
store.cutlist.removeCut()
store.cutlist.addCut({ onFold: false })
points.titleAnchor = points.dartBottomRight
.shiftFractionTowards(points.waistSide, 0.1)
.shiftFractionTowards(points.shoulder, 0.3)