1
0
Fork 0

fixed display in test mode

This commit is contained in:
biou 2021-07-26 07:55:51 +02:00 committed by joostdecock
parent 08d6d9e36e
commit 96c45b83b4

View file

@ -39,9 +39,6 @@ export default function (part) {
points.button = new Point(points.s3CollarSplit.x - 2 / 3 * measurements.shoulderToShoulder, points.s3CollarSplit.y + measurements.hpsToBust * 1.17) points.button = new Point(points.s3CollarSplit.x - 2 / 3 * measurements.shoulderToShoulder, points.s3CollarSplit.y + measurements.hpsToBust * 1.17)
// end Yuri points // end Yuri points
snippets.buttonhole = new Snippet('buttonhole-start', points.button.shift(0, 25)).attr('data-rotate', '90').attr('data-scale', '2.5')
snippets.button = new Snippet('button', points.cutonfoldVia1.shift(-70, 30)).attr('data-scale', '3.3')
// Store length of the neck seam // Store length of the neck seam
store.set( store.set(
'frontNeckSeamLength', 'frontNeckSeamLength',
@ -82,6 +79,9 @@ export default function (part) {
from: points.s3CollarSplit, from: points.s3CollarSplit,
to: new Point(points.s3CollarSplit.x, points.bottom.y) to: new Point(points.s3CollarSplit.x, points.bottom.y)
}) })
snippets.buttonhole = new Snippet('buttonhole-start', points.button.shift(0, 25)).attr('data-rotate', '90').attr('data-scale', '2.5')
snippets.button = new Snippet('button', points.cutonfoldVia1.shift(-70, 30)).attr('data-scale', '3.3')
if (sa) { if (sa) {
paths.sa = paths.hemBase.offset(options.ribbing ? sa : 3 * sa).join(paths.saBase.offset(sa)).join(paths.buttonBase.offset(3 * sa)) paths.sa = paths.hemBase.offset(options.ribbing ? sa : 3 * sa).join(paths.saBase.offset(sa)).join(paths.buttonBase.offset(3 * sa))
paths.sa = paths.sa.line(paths.sa.start()).close().attr('class', 'fabric sa') paths.sa = paths.sa.line(paths.sa.start()).close().attr('class', 'fabric sa')