Add Waralee
This commit is contained in:
parent
007df06235
commit
bf3e12ba4f
3 changed files with 3 additions and 11 deletions
|
@ -42,8 +42,7 @@ export default {
|
||||||
"seatDepth"
|
"seatDepth"
|
||||||
],
|
],
|
||||||
dependencies: {},
|
dependencies: {},
|
||||||
inject: {pants:"pantsproto",
|
inject: {pants:"pantsproto"/*,mini:"pantsproto"*/},
|
||||||
mini:"pantsproto"},
|
|
||||||
hide: [],
|
hide: [],
|
||||||
parts: ["cutout", "pocket", "facings"],
|
parts: ["cutout", "pocket", "facings"],
|
||||||
options: {
|
options: {
|
||||||
|
|
|
@ -6,7 +6,7 @@ import draftPants from "./pants";
|
||||||
import draftCutout from "./cutout";
|
import draftCutout from "./cutout";
|
||||||
import draftPocket from "./pocket";
|
import draftPocket from "./pocket";
|
||||||
import draftFacings from "./facings";
|
import draftFacings from "./facings";
|
||||||
import draftMini from "./mini";
|
//import draftMini from "./mini";
|
||||||
|
|
||||||
// Create new design
|
// Create new design
|
||||||
const Pattern = new freesewing.Design(config, plugins);
|
const Pattern = new freesewing.Design(config, plugins);
|
||||||
|
@ -17,6 +17,6 @@ Pattern.prototype.draftPants = draftPants;
|
||||||
Pattern.prototype.draftCutout = draftCutout;
|
Pattern.prototype.draftCutout = draftCutout;
|
||||||
Pattern.prototype.draftPocket = draftPocket;
|
Pattern.prototype.draftPocket = draftPocket;
|
||||||
Pattern.prototype.draftFacings = draftFacings;
|
Pattern.prototype.draftFacings = draftFacings;
|
||||||
Pattern.prototype.draftMini = draftMini;
|
//Pattern.prototype.draftMini = draftMini;
|
||||||
|
|
||||||
export default Pattern;
|
export default Pattern;
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
import { CreateCrotchPoints } from "./util";
|
|
||||||
|
|
||||||
export default function(part) {
|
export default function(part) {
|
||||||
let {
|
let {
|
||||||
options,
|
options,
|
||||||
|
@ -16,11 +14,6 @@ export default function(part) {
|
||||||
macro
|
macro
|
||||||
} = part.shorthand();
|
} = part.shorthand();
|
||||||
|
|
||||||
let seatDepth =
|
|
||||||
measurements.seatDepth + measurements.seatDepth * options.waistRaise;
|
|
||||||
let circumference = measurements.seatCircumference;
|
|
||||||
let circumference4 = circumference / 4;
|
|
||||||
|
|
||||||
|
|
||||||
paths.waistFoldBack = paths.waistBack
|
paths.waistFoldBack = paths.waistBack
|
||||||
.offset(-1 * options.waistBand)
|
.offset(-1 * options.waistBand)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue