bug: Small fixes after initial check
This commit is contained in:
parent
a0b17a62bb
commit
13a71986e4
5 changed files with 15 additions and 5 deletions
|
@ -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