bug: Small fixes after initial check
This commit is contained in:
parent
a0b17a62bb
commit
13a71986e4
5 changed files with 15 additions and 5 deletions
|
@ -95,7 +95,7 @@ export default {
|
|||
"roundedBarrelCuff",
|
||||
"angledBarrelCuff",
|
||||
"straightBarrelCuff",
|
||||
"roundedFrenchcuff",
|
||||
"roundedFrenchCuff",
|
||||
"angledFrenchCuff",
|
||||
"straightFrenchCuff"
|
||||
],
|
||||
|
|
|
@ -108,18 +108,19 @@ let settings1 = { ...settings };
|
|||
pattern1.use(freesewing.plugins.banner);
|
||||
pattern1.use(freesewing.plugins.debug);
|
||||
pattern1.settings.options.yokeDart = 0;
|
||||
pattern1.settings.options.lengthBonus = 0.1;
|
||||
pattern1.settings.options.hemStyle = "baseball";
|
||||
pattern1.settings.options.lengthBonus = 0.2;
|
||||
pattern1.settings.options.hipsEase = 0.1;
|
||||
pattern1.settings.options.hemStyle = "slashed";
|
||||
pattern1.settings.options.buttonPlacketType = "cut-on";
|
||||
pattern1.settings.options.buttonPlacketStyle = "classic";
|
||||
pattern1.settings.options.buttonholePlacketType = "cut-on";
|
||||
pattern1.settings.options.buttonholePlacketStyle = "seamless";
|
||||
pattern1.settings.options.cuffButtonRows = 2;
|
||||
pattern1.settings.options.barrelCuffNarrowButton = "yes";
|
||||
pattern1.settings.options.cuffStyle = "straightBarrelCuff";
|
||||
pattern1.settings.options.cuffStyle = "roundedFrenchCuff";
|
||||
pattern1.settings.options.splitYoke = "yes";
|
||||
pattern1.settings.sa = 10;
|
||||
//pattern1.settings.only = ["frontRight", "frontLeft"];
|
||||
//pattern1.settings.only = ["front", "back"];
|
||||
pattern1.draft();
|
||||
document.getElementById("svg1").innerHTML = pattern1.render();
|
||||
|
||||
|
|
|
@ -35,6 +35,10 @@ export default part => {
|
|||
.length()
|
||||
);
|
||||
|
||||
// Hip shaping
|
||||
points.hips = points.hips.shift(180, store.get("hipsReduction") / 4);
|
||||
points.hem = points.hem.shift(180, store.get("hipsReduction") / 4);
|
||||
|
||||
// Waist shaping
|
||||
let reduce = store.get("waistReduction");
|
||||
if (reduce / 4 > options.minimalDartShaping) {
|
||||
|
|
|
@ -35,6 +35,10 @@ export default part => {
|
|||
.length()
|
||||
);
|
||||
|
||||
// Hip shaping
|
||||
points.hips = points.hips.shift(180, store.get("hipsReduction") / 4);
|
||||
points.hem = points.hem.shift(180, store.get("hipsReduction") / 4);
|
||||
|
||||
// Waist shaping
|
||||
let reduce = store.get("waistReduction");
|
||||
if (reduce / 4 > options.minimalDartShaping) reduce = reduce / 8;
|
||||
|
|
|
@ -7,6 +7,7 @@ export const calculateReduction = function(part) {
|
|||
let hips = measurements.hipsCircumference * (1 + options.hipsEase);
|
||||
let waistReduction = chest - waist;
|
||||
let hipsReduction = chest - hips;
|
||||
console.log("hipsEase", options.hipsEase, hips, hipsReduction);
|
||||
|
||||
// If your waist > chest, this pattern is not going to work for you as-is.
|
||||
if (waistReduction < 0) waistReduction = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue