1
0
Fork 0
freesewing/designs/simone/config/index.js
2022-08-17 13:27:06 -07:00

52 lines
1.3 KiB
JavaScript

import { version } from '../package.json'
import { config as simonConfig } from '@freesewing/simon'
const config = {
version,
...simonConfig,
name: 'simone',
optionGroups: {
...simonConfig.optionGroups,
style: [
...simonConfig.optionGroups.style,
'frontDarts',
'contour',
'bustAlignedButtons',
],
advanced: [
...simonConfig.optionGroups.advanced,
'bustDartAngle',
'bustDartLength',
'frontDartLength',
],
},
measurements: [...simonConfig.measurements, 'bustSpan', 'highBust', 'hpsToBust'],
inject: {
...simonConfig.inject,
fbaFront: 'front',
frontRight: 'fbaFront',
frontLeft: 'fbaFront',
buttonPlacket: 'fbaFront',
buttonholePlacket: 'fbaFront',
sleeveBase: 'fbaFront',
},
hide: [...simonConfig.hide, 'fbaFront'],
options: {
...simonConfig.options,
// Constants
minimalDartShaping: 5,
// Simone specific
bustDartAngle: { deg: 10, min: 0, max: 20 },
bustDartLength: { pct: 80, min: 50, max: 90 },
frontDarts: { bool: false },
frontDartLength: { pct: 45, min: 30, max: 60 },
contour: { pct: 50, min: 30, max: 75 },
bustAlignedButtons: {
dflt: 'Disabled',
list: ['Even spacing', 'Split spacing', 'Disabled'], },
},
}
export default config