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"
|
||||
],
|
||||
dependencies: {},
|
||||
inject: {pants:"pantsproto",
|
||||
mini:"pantsproto"},
|
||||
inject: {pants:"pantsproto"/*,mini:"pantsproto"*/},
|
||||
hide: [],
|
||||
parts: ["cutout", "pocket", "facings"],
|
||||
options: {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue