add logging at the start of each part
This commit is contained in:
parent
c1aba9a0f8
commit
edd51aadc2
7 changed files with 13 additions and 1 deletions
|
@ -17,6 +17,8 @@ export default function (part) {
|
|||
} = part.shorthand()
|
||||
|
||||
// Design pattern here
|
||||
|
||||
console.log('start back')
|
||||
|
||||
// Create points
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ export default function (part) {
|
|||
macro,
|
||||
} = part.shorthand()
|
||||
|
||||
console.log('bla')
|
||||
console.log('start back2')
|
||||
|
||||
points.waist2 = points.backWaistBandMid;
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
export default function (part) {
|
||||
let { options, Point, points, store, utils, units, sa, paperless, macro } = part.shorthand()
|
||||
|
||||
console.log('start elastic')
|
||||
|
||||
// Stretch utility method
|
||||
store.set('elasticScale', utils.stretchToScale(options.elasticStretch))
|
||||
|
|
|
@ -15,6 +15,8 @@ export default function (part) {
|
|||
paperless,
|
||||
macro,
|
||||
} = part.shorthand()
|
||||
|
||||
console.log('start front')
|
||||
|
||||
// Stretch utility method
|
||||
|
||||
|
|
|
@ -28,6 +28,8 @@ snippets.waist0 = new Snippet("notch", points.waist0);
|
|||
snippets.leg0L = new Snippet("notch", points.leg0L);
|
||||
snippets.leg0R = new Snippet("notch", points.leg0R);
|
||||
|
||||
console.log('static markers')
|
||||
|
||||
if (store.get('numWaistMarkersFront') > 1) {
|
||||
// frontWaistBandLength extends from right to left, so use (0.5 - waistMarkerFrac)
|
||||
points.waist1R = paths.frontWaistBand.shiftFractionAlong(0.5 - store.get('waistMarkerFrac'));
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
export default function (part) {
|
||||
let { options, Point, Path, points, paths, measurements, store, complete, sa, paperless, macro } =
|
||||
part.shorthand()
|
||||
|
||||
console.log('start gusset')
|
||||
|
||||
// Create points
|
||||
points.frontGussetLeft = new Point(store.get('frontGussetLeft').x, 0)
|
||||
|
|
|
@ -15,6 +15,8 @@ export default function (part) {
|
|||
paperless,
|
||||
macro,
|
||||
} = part.shorthand()
|
||||
|
||||
console.log('start gusset2')
|
||||
|
||||
// draw markers to indicate elastic distribution
|
||||
if (store.get('numLegMarkersFront') < 1 & store.get('numLegMarkersGusset') > 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue