2022-01-23 13:22:13 +01:00
|
|
|
import pkg from '../package.json'
|
2022-05-21 18:18:49 +02:00
|
|
|
import Brian from '@freesewing/brian'
|
2019-01-03 15:19:50 +01:00
|
|
|
|
|
|
|
export default {
|
2020-02-01 16:25:21 +01:00
|
|
|
name: 'sven',
|
2022-01-23 13:22:13 +01:00
|
|
|
version: pkg.version,
|
2020-02-01 16:25:21 +01:00
|
|
|
design: 'Joost De Cock',
|
|
|
|
code: 'Joost De Cock',
|
2021-05-29 14:04:56 +02:00
|
|
|
department: 'tops',
|
2020-02-01 16:25:21 +01:00
|
|
|
type: 'pattern',
|
2019-04-29 10:20:29 +02:00
|
|
|
difficulty: 3,
|
|
|
|
optionGroups: {
|
|
|
|
fit: [
|
2022-05-21 18:18:49 +02:00
|
|
|
...Brian.config.optionGroups.fit,
|
2022-01-19 17:41:26 +01:00
|
|
|
'hipsEase',
|
2019-04-29 10:20:29 +02:00
|
|
|
],
|
2022-05-21 18:18:49 +02:00
|
|
|
style: [
|
|
|
|
...Brian.config.optionGroups.fit,
|
|
|
|
'ribbing',
|
|
|
|
'ribbingHeight',
|
|
|
|
],
|
2019-04-29 10:20:29 +02:00
|
|
|
advanced: [
|
2022-05-21 18:18:49 +02:00
|
|
|
...Brian.config.optionGroups.advanced,
|
2020-02-01 16:25:21 +01:00
|
|
|
'ribbingStretch',
|
2021-04-24 10:16:31 +02:00
|
|
|
],
|
2019-04-29 10:20:29 +02:00
|
|
|
},
|
2019-01-03 15:19:50 +01:00
|
|
|
measurements: [
|
2022-05-21 18:18:49 +02:00
|
|
|
...Brian.config.measurements,
|
2020-06-28 12:59:47 +02:00
|
|
|
'hips',
|
|
|
|
'waist',
|
2019-01-03 15:19:50 +01:00
|
|
|
],
|
|
|
|
dependencies: {
|
2020-02-01 16:25:21 +01:00
|
|
|
frontBase: 'base',
|
|
|
|
backBase: 'base',
|
|
|
|
front: 'frontBase',
|
|
|
|
back: 'backBase',
|
2021-04-24 10:16:31 +02:00
|
|
|
sleeve: ['sleeveBase', 'front', 'back'],
|
2019-01-03 15:19:50 +01:00
|
|
|
},
|
|
|
|
inject: {
|
2020-02-01 16:25:21 +01:00
|
|
|
frontBase: 'base',
|
|
|
|
backBase: 'base',
|
|
|
|
front: 'frontBase',
|
|
|
|
back: 'backBase',
|
2021-04-24 10:16:31 +02:00
|
|
|
sleeve: 'sleeveBase',
|
2019-01-03 15:19:50 +01:00
|
|
|
},
|
2020-02-01 16:25:21 +01:00
|
|
|
parts: ['cuff', 'waistband'],
|
|
|
|
hide: ['base', 'frontBase', 'backBase', 'sleeveBase'],
|
2019-01-03 15:19:50 +01:00
|
|
|
options: {
|
2022-05-21 18:18:49 +02:00
|
|
|
...Brian.config.options,
|
|
|
|
|
2019-01-03 15:19:50 +01:00
|
|
|
// Constants
|
2022-01-19 17:41:26 +01:00
|
|
|
waistEase: 0.08,
|
2019-01-03 15:19:50 +01:00
|
|
|
|
2022-05-21 18:18:49 +02:00
|
|
|
// Sven specific
|
2019-01-03 15:19:50 +01:00
|
|
|
ribbing: { bool: true },
|
|
|
|
collarEase: { pct: 10, min: 5, max: 30 },
|
2020-05-31 12:48:20 +02:00
|
|
|
lengthBonus: { pct: 15, min: 0, max: 30 },
|
|
|
|
sleeveLengthBonus: { pct: 3, min: 0, max: 10 },
|
2019-01-03 15:19:50 +01:00
|
|
|
ribbingHeight: { pct: 8, min: 3, max: 15 },
|
|
|
|
ribbingStretch: { pct: 15, min: 0, max: 30 },
|
|
|
|
hipsEase: { pct: 8, min: -4, max: 20 },
|
2021-04-24 10:16:31 +02:00
|
|
|
},
|
2020-02-01 16:25:21 +01:00
|
|
|
}
|