1
0
Fork 0
freesewing/designs/simone/config/index.js

53 lines
1.3 KiB
JavaScript
Raw Normal View History

import { version } from '../package.json'
import { config as simonConfig } from '@freesewing/simon'
2019-09-25 18:02:05 +02:00
2022-05-21 18:01:59 +02:00
const config = {
version,
...simonConfig,
2019-09-25 18:02:05 +02:00
name: 'simone',
optionGroups: {
...simonConfig.optionGroups,
style: [
...simonConfig.optionGroups.style,
'frontDarts',
'contour',
'bustAlignedButtons',
],
2019-09-25 18:02:05 +02:00
advanced: [
...simonConfig.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
},
measurements: [...simonConfig.measurements, 'bustSpan', 'highBust', 'hpsToBust'],
2019-09-25 18:02:05 +02:00
inject: {
...simonConfig.inject,
2019-09-25 18:02:05 +02:00
fbaFront: 'front',
frontRight: 'fbaFront',
frontLeft: 'fbaFront',
buttonPlacket: 'fbaFront',
buttonholePlacket: 'fbaFront',
sleeveBase: 'fbaFront',
},
hide: [...simonConfig.hide, 'fbaFront'],
2019-09-25 18:02:05 +02:00
options: {
...simonConfig.options,
2022-05-21 18:01:59 +02:00
2019-09-25 18:02:05 +02:00
// Constants
minimalDartShaping: 5,
// 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 },
frontDarts: { bool: false },
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 },
bustAlignedButtons: {
dflt: 'Disabled',
list: ['Even spacing', 'Split spacing', 'Disabled'], },
2021-04-24 10:16:31 +02:00
},
2019-09-25 18:02:05 +02:00
}
2022-05-21 18:01:59 +02:00
export default config