wrench: Changed block part names to base
This commit is contained in:
parent
31a10134e1
commit
364db01e75
2 changed files with 17 additions and 17 deletions
|
@ -18,25 +18,25 @@ export default {
|
||||||
"wristCircumference"
|
"wristCircumference"
|
||||||
],
|
],
|
||||||
dependencies: {
|
dependencies: {
|
||||||
backBlock: "base",
|
backBase: "base",
|
||||||
frontBlock: "backBlock",
|
frontBase: "backBase",
|
||||||
sleevecap: "frontBlock",
|
sleevecap: "frontBase",
|
||||||
sleeveBlock: "sleevecap",
|
sleeveBase: "sleevecap",
|
||||||
back: "backBlock",
|
back: "backBase",
|
||||||
front: "frontBlock",
|
front: "frontBase",
|
||||||
sleeve: "sleeveBlock",
|
sleeve: "sleeveBase",
|
||||||
pocket: "front"
|
pocket: "front"
|
||||||
},
|
},
|
||||||
inject: {
|
inject: {
|
||||||
backBlock: "base",
|
backBase: "base",
|
||||||
frontBlock: "backBlock",
|
frontBase: "backBase",
|
||||||
sleeveBlock: "sleevecap",
|
sleeveBase: "sleevecap",
|
||||||
back: "backBlock",
|
back: "backBase",
|
||||||
front: "frontBlock",
|
front: "frontBase",
|
||||||
sleeve: "sleeveBlock",
|
sleeve: "sleeveBase",
|
||||||
pocket: "front"
|
pocket: "front"
|
||||||
},
|
},
|
||||||
hide: ["base", "sleevecap", "backBlock", "frontBlock", "sleeveBlock"],
|
hide: ["base", "sleevecap", "backBase", "frontBase", "sleeveBase"],
|
||||||
parts: ["hood", "waistband", "cuff"],
|
parts: ["hood", "waistband", "cuff"],
|
||||||
options: {
|
options: {
|
||||||
// Constants
|
// Constants
|
||||||
|
|
|
@ -18,16 +18,16 @@ const Huey = new freesewing.Design(config, plugins);
|
||||||
Huey.prototype.draftBase = function(part) {
|
Huey.prototype.draftBase = function(part) {
|
||||||
return new Brian(this.settings).draftBase(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);
|
return new Brian(this.settings).draftFront(part);
|
||||||
};
|
};
|
||||||
Huey.prototype.draftBackBlock = function(part) {
|
Huey.prototype.draftBackBase = function(part) {
|
||||||
return new Brian(this.settings).draftBack(part);
|
return new Brian(this.settings).draftBack(part);
|
||||||
};
|
};
|
||||||
Huey.prototype.draftSleevecap = function(part) {
|
Huey.prototype.draftSleevecap = function(part) {
|
||||||
return new Brian(this.settings).draftSleevecap(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);
|
return new Brian(this.settings).draftSleeve(part);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue