1
0
Fork 0
freesewing/packages/bella/config/index.js

80 lines
2.2 KiB
JavaScript
Raw Normal View History

import { version } from '../package.json'
export default {
name: 'bella',
version,
design: 'Bella Incognito',
code: 'Joost De Cock',
department: 'tops',
type: 'block',
difficulty: 3,
optionGroups: {
2021-01-31 09:26:26 +01:00
fit: ['chestEase', 'waistEase', 'bustSpanEase'],
darts: ['backDartHeight', 'bustDartLength', 'waistDartLength', 'bustDartCurve'],
2021-01-17 12:26:34 +01:00
armhole: [
'armholeDepth',
'backArmholeSlant',
'backArmholeCurvature',
'frontArmholePitchDepth',
2021-04-24 10:16:31 +02:00
'backArmholePitchDepth',
2021-01-17 12:26:34 +01:00
],
2021-04-24 10:16:31 +02:00
advanced: ['backNeckCutout', 'backHemSlope', 'frontShoulderWidth', 'highBustWidth'],
},
measurements: [
'highBust',
'chest',
'underbust',
'waist',
'waistBack',
'bustSpan',
'neck',
'hpsToBust',
'hpsToWaistFront',
'hpsToWaistBack',
'shoulderToShoulder',
2021-04-24 10:16:31 +02:00
'shoulderSlope',
// FIXME: Measurement from waist up to armhole (for sleeveless)
],
dependencies: {
frontSideDart: 'back',
},
inject: {},
hide: [],
parts: [
'back',
2021-04-24 10:16:31 +02:00
'frontSideDart',
// 'frontShoulderDart'
],
options: {
// Constants
acrossBackFactor: 0.925,
shoulderSlopeBack: 1.23,
neckWidthBack: 0.197,
neckWidthFront: 0.17,
shoulderToShoulderCorrection: 0.995,
backDartLocation: 0.145,
backCenterWaistReduction: 0.35,
collarFactor: 0.19,
// Percentages
backNeckCutout: { pct: 6, min: 3, max: 9 },
2021-01-17 12:26:34 +01:00
waistEase: { pct: 5, min: 1, max: 20 },
chestEase: { pct: 11, min: 5, max: 20 },
2021-01-17 12:26:34 +01:00
bustSpanEase: { pct: 10, min: 0, max: 20 },
backDartHeight: { pct: 46, min: 38, max: 54 },
2021-01-17 12:26:34 +01:00
armholeDepth: { pct: 44, min: 38, max: 46 },
backHemSlope: { deg: 2.5, min: 0, max: 5 },
2021-01-17 12:26:34 +01:00
backArmholeSlant: { deg: 5, min: 1, max: 9 },
backArmholeCurvature: { pct: 63, min: 50, max: 85 },
frontArmholeCurvature: { pct: 63, min: 50, max: 85 },
fullChestEaseReduction: { pct: 4, min: 0, max: 8 },
frontShoulderWidth: { pct: 95, max: 98, min: 92 },
2021-01-17 12:26:34 +01:00
frontArmholePitchDepth: { pct: 29, max: 31, min: 27 },
backArmholePitchDepth: { pct: 35, max: 40, min: 30 },
highBustWidth: { pct: 86, max: 92, min: 80 },
2021-01-17 12:26:34 +01:00
bustDartLength: { pct: 90, min: 75, max: 100 },
waistDartLength: { pct: 90, min: 75, max: 95 },
2021-04-24 10:16:31 +02:00
bustDartCurve: { pct: 100, min: 0, max: 100 },
},
}