2022-06-14 13:09:16 +02:00
|
|
|
import { version } from '../package.json'
|
2022-05-21 14:05:22 +02:00
|
|
|
import Brian from '@freesewing/brian'
|
2018-12-21 18:19:21 +01:00
|
|
|
|
2022-05-21 14:05:22 +02:00
|
|
|
const config = {
|
2022-06-14 13:09:16 +02:00
|
|
|
version,
|
2019-09-06 15:57:30 +02:00
|
|
|
name: 'simon',
|
|
|
|
design: 'Joost De Cock',
|
|
|
|
code: 'Joost De Cock',
|
2021-05-29 14:04:56 +02:00
|
|
|
department: 'tops',
|
2019-09-06 15:57:30 +02:00
|
|
|
type: 'pattern',
|
2019-04-29 09:01:51 +02:00
|
|
|
difficulty: 4,
|
|
|
|
optionGroups: {
|
2022-05-31 16:01:26 +02:00
|
|
|
fit: [...Brian.config.optionGroups.fit, 'waistEase', 'hipsEase', 'roundBack'],
|
2019-04-29 09:01:51 +02:00
|
|
|
style: [
|
2022-05-21 14:05:22 +02:00
|
|
|
...Brian.config.optionGroups.style,
|
2019-09-06 15:57:30 +02:00
|
|
|
'hemStyle',
|
|
|
|
'hemCurve',
|
2019-09-21 20:47:14 +02:00
|
|
|
'boxPleat',
|
2019-09-25 18:01:17 +02:00
|
|
|
'backDarts',
|
2021-06-20 09:01:37 +02:00
|
|
|
'splitYoke',
|
|
|
|
'yokeHeight',
|
2019-04-29 09:01:51 +02:00
|
|
|
{
|
|
|
|
closure: [
|
2019-09-06 15:57:30 +02:00
|
|
|
'extraTopButton',
|
|
|
|
'buttons',
|
|
|
|
'seperateButtonPlacket',
|
|
|
|
'buttonPlacketStyle',
|
|
|
|
'seperateButtonholePlacket',
|
|
|
|
'buttonholePlacketStyle',
|
|
|
|
'buttonPlacketWidth',
|
|
|
|
'buttonholePlacketWidth',
|
|
|
|
'buttonholePlacketFoldWidth',
|
2021-04-24 10:16:31 +02:00
|
|
|
'buttonFreeLength',
|
|
|
|
],
|
2019-04-29 09:01:51 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
cuffs: [
|
2019-09-06 15:57:30 +02:00
|
|
|
'cuffStyle',
|
|
|
|
'barrelCuffNarrowButton',
|
|
|
|
'cuffButtonRows',
|
|
|
|
'sleevePlacketWidth',
|
|
|
|
'sleevePlacketLength',
|
|
|
|
'cuffDrape',
|
2021-04-24 10:16:31 +02:00
|
|
|
'cuffLength',
|
|
|
|
],
|
2019-04-29 09:01:51 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
collar: [
|
2019-09-06 15:57:30 +02:00
|
|
|
'collarAngle',
|
|
|
|
'collarStandBend',
|
|
|
|
'collarStandCurve',
|
|
|
|
'collarFlare',
|
|
|
|
'collarStandWidth',
|
|
|
|
'collarBend',
|
|
|
|
'collarGap',
|
2021-04-24 10:16:31 +02:00
|
|
|
'collarRoll',
|
|
|
|
],
|
|
|
|
},
|
2019-04-29 09:01:51 +02:00
|
|
|
],
|
|
|
|
advanced: [
|
2022-05-21 14:05:22 +02:00
|
|
|
...Brian.config.optionGroups.advanced,
|
2019-09-21 20:47:14 +02:00
|
|
|
'boxPleatWidth',
|
|
|
|
'boxPleatFold',
|
2019-09-25 18:01:17 +02:00
|
|
|
'backDartShaping',
|
2021-08-15 18:41:38 +02:00
|
|
|
'ffsa',
|
2021-04-24 10:16:31 +02:00
|
|
|
],
|
2019-04-29 09:01:51 +02:00
|
|
|
},
|
2022-05-31 16:01:26 +02:00
|
|
|
measurements: [...Brian.config.measurements, 'waist', 'hips'],
|
2018-12-21 18:19:21 +01:00
|
|
|
dependencies: {
|
2020-11-18 20:12:14 +01:00
|
|
|
sleeveBase: ['frontBase', 'backBase', 'back'],
|
2021-04-24 10:16:31 +02:00
|
|
|
sleeve: ['sleeveBase', 'front', 'back'],
|
2021-11-08 19:02:15 +01:00
|
|
|
frontRight: ['back'],
|
|
|
|
frontLeft: ['back'],
|
2022-01-29 08:03:55 +01:00
|
|
|
sleevePlacketUnderlap: ['back'],
|
|
|
|
sleevePlacketOverlap: ['back'],
|
|
|
|
collar: ['back'],
|
|
|
|
collarStand: ['back'],
|
|
|
|
buttonPlacket: ['back'],
|
|
|
|
buttonholePlacket: ['back'],
|
2018-12-21 18:19:21 +01:00
|
|
|
},
|
|
|
|
inject: {
|
2019-09-06 15:57:30 +02:00
|
|
|
frontBase: 'base',
|
|
|
|
backBase: 'base',
|
|
|
|
back: 'backBase',
|
|
|
|
front: 'frontBase',
|
|
|
|
frontRight: 'front',
|
|
|
|
frontLeft: 'front',
|
|
|
|
buttonPlacket: 'front',
|
|
|
|
buttonholePlacket: 'front',
|
2021-06-20 09:01:37 +02:00
|
|
|
yoke: 'back',
|
2019-09-06 15:57:30 +02:00
|
|
|
sleeveBase: 'front',
|
2021-04-24 10:16:31 +02:00
|
|
|
sleeve: 'sleeveBase',
|
2018-12-21 18:19:21 +01:00
|
|
|
},
|
2019-09-06 15:57:30 +02:00
|
|
|
parts: ['collarStand', 'collar', 'sleevePlacketUnderlap', 'sleevePlacketOverlap', 'cuff'],
|
|
|
|
hide: ['base', 'frontBase', 'front', 'backBase', 'sleeveBase'],
|
2018-12-21 18:19:21 +01:00
|
|
|
options: {
|
2022-05-21 14:05:22 +02:00
|
|
|
...Brian.config.options,
|
|
|
|
|
|
|
|
// Constants | Cannot be changed
|
2018-12-21 18:19:21 +01:00
|
|
|
collarFactor: 5,
|
2018-12-27 13:08:30 +01:00
|
|
|
cuffOverlap: 0.15,
|
2018-12-23 17:25:53 +01:00
|
|
|
frenchCuffRoundFactor: 0.05,
|
2018-12-21 18:19:21 +01:00
|
|
|
|
2022-05-21 14:05:22 +02:00
|
|
|
// Back
|
|
|
|
backDarts: {
|
|
|
|
list: ['auto', 'never', 'always'],
|
|
|
|
dflt: 'auto',
|
|
|
|
},
|
|
|
|
backDartShaping: { pct: 25, min: 5, max: 75 },
|
|
|
|
boxPleat: { bool: false },
|
|
|
|
boxPleatFold: { pct: 15, min: 10, max: 20 },
|
|
|
|
boxPleatWidth: { pct: 7, min: 4, max: 10 },
|
|
|
|
roundBack: { pct: 0, min: 0, max: 10 },
|
2018-12-29 12:28:09 +01:00
|
|
|
|
2022-05-21 14:05:22 +02:00
|
|
|
// Buttons
|
|
|
|
buttonFreeLength: { pct: 2, min: 0, max: 15 },
|
|
|
|
buttonholePlacketStyle: {
|
|
|
|
list: ['classic', 'seamless'],
|
|
|
|
dflt: 'seamless',
|
2022-06-22 16:40:25 +02:00
|
|
|
hide: ({ options }) => options.seperateButtonholePlacket,
|
2018-12-21 18:19:21 +01:00
|
|
|
},
|
2022-05-21 14:05:22 +02:00
|
|
|
buttonholePlacketWidth: { pct: 8, min: 4, max: 12 },
|
|
|
|
buttonholePlacketFoldWidth: { pct: 16, min: 8, max: 24 },
|
2018-12-21 18:19:21 +01:00
|
|
|
buttonPlacketStyle: {
|
2019-09-06 15:57:30 +02:00
|
|
|
list: ['classic', 'seamless'],
|
2021-04-24 10:16:31 +02:00
|
|
|
dflt: 'classic',
|
2022-06-22 16:40:25 +02:00
|
|
|
hide: ({ options }) => options.seperateButtonPlacket,
|
2018-12-21 18:19:21 +01:00
|
|
|
},
|
2022-05-21 14:05:22 +02:00
|
|
|
buttonPlacketWidth: { pct: 5, min: 2, max: 8 },
|
|
|
|
extraTopButton: { bool: true },
|
|
|
|
seperateButtonPlacket: { bool: false },
|
|
|
|
seperateButtonholePlacket: { bool: false },
|
|
|
|
|
|
|
|
// Collar
|
|
|
|
collarAngle: { deg: 85, min: 60, max: 130 },
|
|
|
|
collarBend: { pct: 3.5, min: 0, max: 10 },
|
|
|
|
collarFlare: { deg: 3.5, min: 0, max: 10 },
|
|
|
|
collarGap: { pct: 2.5, min: 0, max: 6 },
|
|
|
|
collarRoll: { pct: 3, min: 0, max: 6 },
|
|
|
|
|
|
|
|
// Collar stand
|
|
|
|
collarStandBend: { deg: 3, min: 0, max: 5 },
|
|
|
|
collarStandCurve: { deg: 2, min: 0, max: 5 },
|
|
|
|
collarStandWidth: { pct: 8, min: 3, max: 13 },
|
|
|
|
|
|
|
|
// Cuffs
|
|
|
|
barrelCuffNarrowButton: { bool: true },
|
|
|
|
cuffButtonRows: { count: 1, min: 1, max: 2 },
|
|
|
|
cuffDrape: { pct: 5, min: 0, max: 10 },
|
|
|
|
cuffEase: { pct: 20, min: 10, max: 40 },
|
|
|
|
cuffLength: { pct: 10, min: 3, max: 15 },
|
2018-12-21 18:19:21 +01:00
|
|
|
cuffStyle: {
|
|
|
|
list: [
|
2019-09-06 15:57:30 +02:00
|
|
|
'roundedBarrelCuff',
|
|
|
|
'angledBarrelCuff',
|
|
|
|
'straightBarrelCuff',
|
|
|
|
'roundedFrenchCuff',
|
|
|
|
'angledFrenchCuff',
|
2021-04-24 10:16:31 +02:00
|
|
|
'straightFrenchCuff',
|
2018-12-21 18:19:21 +01:00
|
|
|
],
|
2021-04-24 10:16:31 +02:00
|
|
|
dflt: 'angledBarrelCuff',
|
2018-12-21 18:19:21 +01:00
|
|
|
},
|
|
|
|
|
2022-05-21 14:05:22 +02:00
|
|
|
// Hem & hips
|
2019-01-13 15:11:15 +01:00
|
|
|
hemCurve: { pct: 50, min: 25, max: 100 },
|
2022-05-21 14:05:22 +02:00
|
|
|
hemStyle: {
|
|
|
|
list: ['straight', 'baseball', 'slashed'],
|
|
|
|
dflt: 'straight',
|
|
|
|
},
|
2019-09-29 14:45:52 +02:00
|
|
|
hipsEase: { pct: 15, min: 10, max: 35 },
|
2018-12-29 15:35:27 +01:00
|
|
|
lengthBonus: { pct: 25, min: -4, max: 60 },
|
2022-05-21 14:05:22 +02:00
|
|
|
|
|
|
|
// Shoulders
|
2019-09-06 15:57:30 +02:00
|
|
|
shoulderEase: { pct: 2, min: 0, max: 15 },
|
2022-05-21 14:05:22 +02:00
|
|
|
splitYoke: { bool: false },
|
2021-06-20 09:36:39 +02:00
|
|
|
yokeHeight: { pct: 55, min: 10, max: 90 },
|
2022-05-21 14:05:22 +02:00
|
|
|
|
|
|
|
// Sleeve
|
|
|
|
sleeveLengthBonus: { pct: 3.5, min: -40, max: 10 },
|
2018-12-22 15:15:49 +01:00
|
|
|
sleevePlacketLength: { pct: 25, min: 15, max: 35 },
|
2022-05-21 14:05:22 +02:00
|
|
|
sleevePlacketWidth: { pct: 13, min: 8, max: 18 },
|
|
|
|
|
|
|
|
// Waist
|
|
|
|
buttons: { count: 7, min: 4, max: 12 },
|
2019-09-29 14:45:52 +02:00
|
|
|
waistEase: { pct: 15, min: 10, max: 35 },
|
2022-05-21 14:05:22 +02:00
|
|
|
|
|
|
|
// Various
|
|
|
|
ffsa: { pct: 150, min: 100, max: 200 }, // Flat-felled seam allowance
|
2021-04-24 10:16:31 +02:00
|
|
|
},
|
2019-09-06 15:57:30 +02:00
|
|
|
}
|
2022-05-21 14:05:22 +02:00
|
|
|
|
|
|
|
export default config
|