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'],
|
||||
style: ['flare', 'lengthBonus', 'shoulderseamLength']
|
||||
},
|
||||
measurements: [
|
||||
'shoulderToShoulder',
|
||||
'chestCircumference',
|
||||
'centerBackNeckToWaist',
|
||||
'naturalWaistToHip'
|
||||
],
|
||||
measurements: ['shoulderToShoulder', 'chestCircumference', 'hpsToHipsBack'],
|
||||
parts: ['top'],
|
||||
options: {
|
||||
armholeDepthFactor: {
|
||||
|
|
|
@ -21,9 +21,7 @@ export default function(part) {
|
|||
let chest = (measurements.chestCircumference / 2) * (1 + options.chestEase)
|
||||
|
||||
// Length
|
||||
let length =
|
||||
(1 + options.lengthBonus) *
|
||||
(measurements.centerBackNeckToWaist + measurements.naturalWaistToHip)
|
||||
let length = (1 + options.lengthBonus) * measurements.hpsToHipsBack
|
||||
|
||||
// Armhole depth
|
||||
let arm = shoulders * options.armholeDepthFactor
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue