construction: Working cutonfold macro
This commit is contained in:
parent
4d949cd56e
commit
7f1bca7ed5
10 changed files with 26 additions and 483 deletions
|
@ -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
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue