1
0
Fork 0

construction: Working cutonfold macro

This commit is contained in:
Joost De Cock 2018-07-21 18:51:52 +02:00
parent 4d949cd56e
commit 7f1bca7ed5
10 changed files with 26 additions and 483 deletions

View file

@ -6,7 +6,6 @@ var back =
draft: function(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()
@ -26,9 +25,10 @@ console.log('shorthand', F.utils.shorthand(part, context));
var decorate = function(part, context)
{
macro('cof', {
macro('cutonfold', {
from: points.cbNeck
, to: points.cbHips
, grainline: true
});
}

View file

@ -1,8 +1,10 @@
import F from 'freesewing'
import cutonfold from '@freesewing-plugins/macro-cutonfold'
import * as patternConfig from '../config/config'
import back from './back'
var brian = new F.pattern(patternConfig);
var brian = new F.pattern(patternConfig)
.withPlugin(cutonfold);
brian.draft = function()
{