diff --git a/designs/tristan/src/backpoints.mjs b/designs/tristan/src/backpoints.mjs index ecf73c332bc..61deb6bb943 100644 --- a/designs/tristan/src/backpoints.mjs +++ b/designs/tristan/src/backpoints.mjs @@ -18,7 +18,6 @@ export const backPoints = { delete points.bustDartLeftCp const strapWidth = store.get('strapWidth') - const sideSeamLength = store.get('sideSeamLength') points.strapInside = points.shoulderDart.shiftTowards(points.hps, strapWidth / 2) points.strapOutside = points.shoulderDart.shiftTowards(points.shoulder, strapWidth / 2) @@ -153,8 +152,6 @@ export const backPoints = { }) } - // console.log({sideSeamLength:sideSeamLength,side:(new Path().move(points.waistSide).curve_(points.waistSideCp2, points.armhole)).length()}) - store.set('backOutsideWaistLength', points.dartBottomRight.dist(points.waistSide)) store.set('backInsideWaistLength', points.dartBottomLeft.dist(points.waistCenter)) diff --git a/designs/tristan/src/frontoutside.mjs b/designs/tristan/src/frontoutside.mjs index 85816ee7c79..b75510d071e 100644 --- a/designs/tristan/src/frontoutside.mjs +++ b/designs/tristan/src/frontoutside.mjs @@ -14,8 +14,6 @@ export const frontOutside = { delete points.bustB delete points.bustDartEdge - // console.log({ points: JSON.parse(JSON.stringify(points)) }) - // macro('rmcutonfold') // store.cutlist.removeCut() diff --git a/designs/tristan/src/frontpoints.mjs b/designs/tristan/src/frontpoints.mjs index daf025f08bd..83e41c9599d 100644 --- a/designs/tristan/src/frontpoints.mjs +++ b/designs/tristan/src/frontpoints.mjs @@ -1,23 +1,6 @@ import { frontPoints as nobleFrontPoints } from '@freesewing/noble' import { pctBasedOn, hidePresets } from '@freesewing/core' -function stringify(obj) { - let cache = [] - let str = JSON.stringify(obj, function (key, value) { - if (typeof value === 'object' && value !== null) { - if (cache.indexOf(value) !== -1) { - // Circular reference found, discard key - return - } - // Store value in our collection - cache.push(value) - } - return value - }) - cache = null // reset the cache - return str -} - export const frontPoints = { name: 'tristan.frontPoints', from: nobleFrontPoints, @@ -69,9 +52,9 @@ export const frontPoints = { // eslint-disable-next-line no-unused-vars menu: (settings, mergedOptions) => (mergedOptions.peplum === true ? false : 'options'), }, - lacing: { bool: false, menu: 'options' }, + lacing: { bool: true, menu: 'options' }, lacingLocation: { - dflt: 'back', + dflt: 'front', list: ['front', 'back'], // eslint-disable-next-line no-unused-vars menu: (settings, mergedOptions) => (mergedOptions.lacing === false ? false : 'options'), diff --git a/designs/tristan/src/peplumBack.mjs b/designs/tristan/src/peplumBack.mjs index 90e50cca4f3..2ec9a3df0c9 100644 --- a/designs/tristan/src/peplumBack.mjs +++ b/designs/tristan/src/peplumBack.mjs @@ -5,7 +5,7 @@ export const peplumBack = { name: 'tristan.peplumBack', after: peplumFront, plugins: [ringsectorPlugin], - draft: ({ Point, points, paths, options, store, macro, sa, part }) => { + draft: ({ points, paths, options, store, macro, sa, part }) => { if (false == options.peplum) { return part.hide() }