chore(penelope) Removed circumference suffix from measurements
This commit is contained in:
parent
233b1646e2
commit
257bbfeaae
3 changed files with 5 additions and 11 deletions
|
@ -32,13 +32,7 @@ export default {
|
|||
'dartToSideSeamFactor'
|
||||
]
|
||||
},
|
||||
measurements: [
|
||||
'waistCircumference',
|
||||
'seatCircumference',
|
||||
'waistToHips',
|
||||
'waistToSeat',
|
||||
'waistToKnee'
|
||||
],
|
||||
measurements: ['waist', 'seat', 'waistToHips', 'waistToSeat', 'waistToKnee'],
|
||||
dependencies: {},
|
||||
inject: {},
|
||||
hide: [],
|
||||
|
|
|
@ -23,8 +23,8 @@ function BuildMainShape(part, frontPart) {
|
|||
|
||||
let dartDepthFactor = frontPart ? options.frontDartDepthFactor : options.backDartDepthFactor
|
||||
|
||||
let waist = measurements.waistCircumference
|
||||
let seat = measurements.seatCircumference > waist ? measurements.seatCircumference : waist
|
||||
let waist = measurements.waist
|
||||
let seat = measurements.seat > waist ? measurements.seat : waist
|
||||
|
||||
dartCalc(options, seat, seatEase, waist, waistEase)
|
||||
|
||||
|
@ -203,7 +203,7 @@ function BuildMainShape(part, frontPart) {
|
|||
paths.waist = waistPath.reverse().setRender(false)
|
||||
paths.waistSA = waistPathSA.reverse().setRender(false)
|
||||
|
||||
points.titleAnchor = new Point(measurements.waistCircumference / 6, measurements.waistToSeat)
|
||||
points.titleAnchor = new Point(measurements.waist / 6, measurements.waistToSeat)
|
||||
points.logoAnchor = points.titleAnchor.shift(270, 75)
|
||||
|
||||
points.grainlineTop = points.lWaist.shift(0, 50).shift(270, 50)
|
||||
|
|
|
@ -20,7 +20,7 @@ export default function (part) {
|
|||
}
|
||||
|
||||
let waistEase = options.waistEase
|
||||
let waist = measurements.waistCircumference
|
||||
let waist = measurements.waist
|
||||
waist += waistEase
|
||||
|
||||
points.TL = new Point(0, 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue