1
0
Fork 0

construction: Pre-weekend commit

This commit is contained in:
joostdecock 2018-07-19 14:43:27 +00:00 committed by Joost De Cock
parent 95ea42916f
commit 92aca3b339
4 changed files with 31 additions and 7 deletions

View file

@ -3,10 +3,10 @@ import base from './base';
var back =
{
draft: function(part, context, final = true)
draft: function(part, context)
{
let { measurements, options, points, paths, snippets } = F.utils.shorthand(part, context);
let { measurements, options, points, paths, snippets, macro, final, paperless } = F.utils.shorthand(part, context);
console.log('shorthand', F.utils.shorthand(part, context));
base.draft(part, context);
paths.seam = new F.path()
@ -21,6 +21,30 @@ var back =
.curve(points.neckCp1, points.cbNeck, points.cbNeck)
.close()
;
// Final?
var decorate = function(part, context)
{
//macro('cof', {
// from: points.cbNeck
// ,to: points.cbHips
//});
}
if(final) {
decorate(part, context);
}
// Paperless?
var gauge = function(part, context) {
}
if(paperless) {
gauge(part, context);
}
}
}