1
0
Fork 0

Add Waralee

This commit is contained in:
woutervdub 2019-08-21 09:07:39 -07:00
parent 007df06235
commit bf3e12ba4f
3 changed files with 3 additions and 11 deletions

View file

@ -42,8 +42,7 @@ export default {
"seatDepth"
],
dependencies: {},
inject: {pants:"pantsproto",
mini:"pantsproto"},
inject: {pants:"pantsproto"/*,mini:"pantsproto"*/},
hide: [],
parts: ["cutout", "pocket", "facings"],
options: {

View file

@ -6,7 +6,7 @@ import draftPants from "./pants";
import draftCutout from "./cutout";
import draftPocket from "./pocket";
import draftFacings from "./facings";
import draftMini from "./mini";
//import draftMini from "./mini";
// Create new design
const Pattern = new freesewing.Design(config, plugins);
@ -17,6 +17,6 @@ Pattern.prototype.draftPants = draftPants;
Pattern.prototype.draftCutout = draftCutout;
Pattern.prototype.draftPocket = draftPocket;
Pattern.prototype.draftFacings = draftFacings;
Pattern.prototype.draftMini = draftMini;
//Pattern.prototype.draftMini = draftMini;
export default Pattern;

View file

@ -1,5 +1,3 @@
import { CreateCrotchPoints } from "./util";
export default function(part) {
let {
options,
@ -16,11 +14,6 @@ export default function(part) {
macro
} = part.shorthand();
let seatDepth =
measurements.seatDepth + measurements.seatDepth * options.waistRaise;
let circumference = measurements.seatCircumference;
let circumference4 = circumference / 4;
paths.waistFoldBack = paths.waistBack
.offset(-1 * options.waistBand)