chore(carlton) Removed circumference suffix from measurements
This commit is contained in:
parent
15a078e8f1
commit
e6d1b7e97c
5 changed files with 14 additions and 17 deletions
|
@ -51,21 +51,21 @@ export default {
|
|||
collar: ['collarHeight', 'collarSpread', 'collarFlare']
|
||||
},
|
||||
measurements: [
|
||||
'bicepsCircumference',
|
||||
'chestCircumference',
|
||||
'hipsCircumference',
|
||||
'biceps',
|
||||
'chest',
|
||||
'hips',
|
||||
'hpsToWaistBack',
|
||||
'waistCircumference',
|
||||
'waist',
|
||||
'waistToHips',
|
||||
'neckCircumference',
|
||||
'neck',
|
||||
'shoulderSlope',
|
||||
'shoulderToElbow',
|
||||
'shoulderToShoulder',
|
||||
'shoulderToWrist',
|
||||
'wristCircumference',
|
||||
'wrist',
|
||||
'waistToFloor',
|
||||
'waistToSeat',
|
||||
'seatCircumference'
|
||||
'seat'
|
||||
],
|
||||
dependencies: {
|
||||
bentBack: 'bentBase',
|
||||
|
|
|
@ -24,10 +24,7 @@ export default function (part) {
|
|||
|
||||
// Box pleat (bp)
|
||||
points.bpStart = new Point(0, points.armholePitch.y)
|
||||
points.bpTop = new Point(
|
||||
measurements.chestCircumference * options.backPleat * -1,
|
||||
points.armholePitch.y
|
||||
)
|
||||
points.bpTop = new Point(measurements.chest * options.backPleat * -1, points.armholePitch.y)
|
||||
points.bpBottom = new Point(points.bpTop.x, points.cbWaist.y - bw / 2)
|
||||
points.bpTriangleEdge = points.bpStart.shift(0, points.bpTop.dx(points.bpStart) * 0.6)
|
||||
points.bpTriangleTip = points.bpStart.shift(90, points.bpStart.dx(points.bpTriangleEdge))
|
||||
|
|
|
@ -13,7 +13,7 @@ export default function (part) {
|
|||
Path
|
||||
} = part.shorthand()
|
||||
|
||||
let height = measurements.chestCircumference * options.collarHeight
|
||||
let height = measurements.chest * options.collarHeight
|
||||
let length = store.get('frontCollarLength') + store.get('backCollarLength')
|
||||
points.topLeft = new Point(0, 0)
|
||||
points.bottomLeft = new Point(0, height)
|
||||
|
|
|
@ -47,7 +47,7 @@ export default function (part) {
|
|||
|
||||
// Front closure edge
|
||||
points.collarEdge = new Point(
|
||||
points.button1Left.x - measurements.waistCircumference * options.frontOverlap,
|
||||
points.button1Left.x - measurements.waist * options.frontOverlap,
|
||||
points.cfNeck.y
|
||||
)
|
||||
points.hemEdge = new Point(points.collarEdge.x, points.hem.y)
|
||||
|
|
|
@ -5,10 +5,10 @@ export const calculateRatios = (part) => {
|
|||
let { store, measurements, options } = part.shorthand()
|
||||
|
||||
// Calculate different values for reducing from chest to hips via waist
|
||||
store.set('chest', measurements.chestCircumference * (1 + options.chestEase))
|
||||
store.set('waist', measurements.waistCircumference * (1 + options.waistEase))
|
||||
store.set('hips', measurements.hipsCircumference * (1 + options.hipsEase))
|
||||
store.set('seat', measurements.seatCircumference * (1 + options.seatEase))
|
||||
store.set('chest', measurements.chest * (1 + options.chestEase))
|
||||
store.set('waist', measurements.waist * (1 + options.waistEase))
|
||||
store.set('hips', measurements.hips * (1 + options.hipsEase))
|
||||
store.set('seat', measurements.seat * (1 + options.seatEase))
|
||||
|
||||
store.set('waistReduction', store.get('chest') - store.get('waist'))
|
||||
store.set('hipsReduction', store.get('chest') - store.get('hips'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue