2022-01-23 13:22:13 +01:00
|
|
|
import pkg from '../package.json'
|
2022-05-21 18:01:59 +02:00
|
|
|
import Simon from '@freesewing/simon'
|
2019-09-25 18:02:05 +02:00
|
|
|
|
2022-05-21 18:01:59 +02:00
|
|
|
const config = {
|
|
|
|
...Simon.config,
|
2019-09-25 18:02:05 +02:00
|
|
|
name: 'simone',
|
2022-01-23 13:22:13 +01:00
|
|
|
version: pkg.version,
|
2019-09-25 18:02:05 +02:00
|
|
|
optionGroups: {
|
2022-05-21 18:01:59 +02:00
|
|
|
...Simon.config.optionGroups,
|
2022-05-31 16:01:34 +02:00
|
|
|
style: [...Simon.config.optionGroups.style, 'contour'],
|
2019-09-25 18:02:05 +02:00
|
|
|
advanced: [
|
2022-05-21 18:01:59 +02:00
|
|
|
...Simon.config.optionGroups.advanced,
|
2019-09-25 18:02:05 +02:00
|
|
|
'bustDartAngle',
|
|
|
|
'bustDartLength',
|
|
|
|
'frontDartLength',
|
2021-04-24 10:16:31 +02:00
|
|
|
],
|
2019-09-25 18:02:05 +02:00
|
|
|
},
|
2022-05-31 16:01:34 +02:00
|
|
|
measurements: [...Simon.config.measurements, 'bustSpan', 'highBust', 'hpsToBust'],
|
2019-09-25 18:02:05 +02:00
|
|
|
inject: {
|
2022-05-21 18:01:59 +02:00
|
|
|
...Simon.config.inject,
|
2019-09-25 18:02:05 +02:00
|
|
|
fbaFront: 'front',
|
|
|
|
frontRight: 'fbaFront',
|
|
|
|
frontLeft: 'fbaFront',
|
|
|
|
buttonPlacket: 'fbaFront',
|
|
|
|
buttonholePlacket: 'fbaFront',
|
|
|
|
sleeveBase: 'fbaFront',
|
|
|
|
},
|
2022-05-31 16:01:34 +02:00
|
|
|
hide: [...Simon.config.hide, 'fbaFront'],
|
2019-09-25 18:02:05 +02:00
|
|
|
options: {
|
2022-05-21 18:01:59 +02:00
|
|
|
...Simon.config.options,
|
|
|
|
|
2019-09-25 18:02:05 +02:00
|
|
|
// Constants
|
|
|
|
minimalDartShaping: 5,
|
2022-05-21 13:40:59 +02:00
|
|
|
|
|
|
|
// Simone specific
|
2022-05-21 18:01:59 +02:00
|
|
|
bustDartAngle: { deg: 10, min: 0, max: 20 },
|
2019-09-25 18:02:05 +02:00
|
|
|
bustDartLength: { pct: 80, min: 50, max: 90 },
|
2019-09-29 16:58:21 +02:00
|
|
|
frontDartLength: { pct: 45, min: 30, max: 60 },
|
2021-04-24 10:16:31 +02:00
|
|
|
contour: { pct: 50, min: 30, max: 75 },
|
|
|
|
},
|
2019-09-25 18:02:05 +02:00
|
|
|
}
|
2022-05-21 18:01:59 +02:00
|
|
|
|
|
|
|
export default config
|