refactor(tamiko): Removed deprecated measurements from Tamiko
This commit is contained in:
parent
5aee2528dd
commit
606937ce07
2 changed files with 2 additions and 9 deletions
|
@ -13,12 +13,7 @@ export default {
|
||||||
fit: ['armholeDepthFactor', 'chestEase', 'shoulderSlope'],
|
fit: ['armholeDepthFactor', 'chestEase', 'shoulderSlope'],
|
||||||
style: ['flare', 'lengthBonus', 'shoulderseamLength']
|
style: ['flare', 'lengthBonus', 'shoulderseamLength']
|
||||||
},
|
},
|
||||||
measurements: [
|
measurements: ['shoulderToShoulder', 'chestCircumference', 'hpsToHipsBack'],
|
||||||
'shoulderToShoulder',
|
|
||||||
'chestCircumference',
|
|
||||||
'centerBackNeckToWaist',
|
|
||||||
'naturalWaistToHip'
|
|
||||||
],
|
|
||||||
parts: ['top'],
|
parts: ['top'],
|
||||||
options: {
|
options: {
|
||||||
armholeDepthFactor: {
|
armholeDepthFactor: {
|
||||||
|
|
|
@ -21,9 +21,7 @@ export default function(part) {
|
||||||
let chest = (measurements.chestCircumference / 2) * (1 + options.chestEase)
|
let chest = (measurements.chestCircumference / 2) * (1 + options.chestEase)
|
||||||
|
|
||||||
// Length
|
// Length
|
||||||
let length =
|
let length = (1 + options.lengthBonus) * measurements.hpsToHipsBack
|
||||||
(1 + options.lengthBonus) *
|
|
||||||
(measurements.centerBackNeckToWaist + measurements.naturalWaistToHip)
|
|
||||||
|
|
||||||
// Armhole depth
|
// Armhole depth
|
||||||
let arm = shoulders * options.armholeDepthFactor
|
let arm = shoulders * options.armholeDepthFactor
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue