1
0
Fork 0

wrench: Changed block part names to base

This commit is contained in:
Joost De Cock 2019-03-03 17:52:26 +01:00
parent 31a10134e1
commit 364db01e75
2 changed files with 17 additions and 17 deletions

View file

@ -18,25 +18,25 @@ export default {
"wristCircumference"
],
dependencies: {
backBlock: "base",
frontBlock: "backBlock",
sleevecap: "frontBlock",
sleeveBlock: "sleevecap",
back: "backBlock",
front: "frontBlock",
sleeve: "sleeveBlock",
backBase: "base",
frontBase: "backBase",
sleevecap: "frontBase",
sleeveBase: "sleevecap",
back: "backBase",
front: "frontBase",
sleeve: "sleeveBase",
pocket: "front"
},
inject: {
backBlock: "base",
frontBlock: "backBlock",
sleeveBlock: "sleevecap",
back: "backBlock",
front: "frontBlock",
sleeve: "sleeveBlock",
backBase: "base",
frontBase: "backBase",
sleeveBase: "sleevecap",
back: "backBase",
front: "frontBase",
sleeve: "sleeveBase",
pocket: "front"
},
hide: ["base", "sleevecap", "backBlock", "frontBlock", "sleeveBlock"],
hide: ["base", "sleevecap", "backBase", "frontBase", "sleeveBase"],
parts: ["hood", "waistband", "cuff"],
options: {
// Constants

View file

@ -18,16 +18,16 @@ const Huey = new freesewing.Design(config, plugins);
Huey.prototype.draftBase = function(part) {
return new Brian(this.settings).draftBase(part);
};
Huey.prototype.draftFrontBlock = function(part) {
Huey.prototype.draftFrontBase = function(part) {
return new Brian(this.settings).draftFront(part);
};
Huey.prototype.draftBackBlock = function(part) {
Huey.prototype.draftBackBase = function(part) {
return new Brian(this.settings).draftBack(part);
};
Huey.prototype.draftSleevecap = function(part) {
return new Brian(this.settings).draftSleevecap(part);
};
Huey.prototype.draftSleeveBlock = function(part) {
Huey.prototype.draftSleeveBase = function(part) {
return new Brian(this.settings).draftSleeve(part);
};