2022-06-14 13:09:16 +02:00
|
|
|
import { version } from '../package.json'
|
|
|
|
import configHelpers from '@freesewing/config-helpers'
|
|
|
|
const { elastics, pctBasedOn } = configHelpers
|
2019-03-11 12:22:17 +01:00
|
|
|
|
|
|
|
export default {
|
2022-06-14 13:09:16 +02:00
|
|
|
version,
|
2020-06-07 14:00:09 +02:00
|
|
|
name: 'shin',
|
|
|
|
design: 'Joost De Cock',
|
|
|
|
code: 'Joost De Cock',
|
2021-05-29 14:04:56 +02:00
|
|
|
department: 'swimwear',
|
2020-06-07 14:00:09 +02:00
|
|
|
type: 'pattern',
|
2019-07-06 15:26:47 +02:00
|
|
|
difficulty: 2,
|
|
|
|
optionGroups: {
|
2020-06-07 14:00:09 +02:00
|
|
|
fit: ['bulge', 'backRise', 'legReduction', 'stretch'],
|
2021-10-08 18:57:19 +02:00
|
|
|
style: ['rise', 'elasticWidth'],
|
2019-07-06 15:26:47 +02:00
|
|
|
},
|
2020-06-28 13:04:02 +02:00
|
|
|
measurements: ['hips', 'upperLeg', 'waistToUpperLeg', 'waistToHips'],
|
2022-01-29 08:03:55 +01:00
|
|
|
dependencies: {
|
|
|
|
front: 'back',
|
|
|
|
},
|
2020-06-07 14:00:09 +02:00
|
|
|
parts: ['back', 'front', 'waistband'],
|
2019-03-11 12:22:17 +01:00
|
|
|
options: {
|
|
|
|
// Constants
|
|
|
|
frontFactor: 0.58,
|
|
|
|
legFrontFactor: 0.48,
|
|
|
|
gussetFactor: 0.0714,
|
|
|
|
angle: 10,
|
|
|
|
|
2021-10-08 18:57:19 +02:00
|
|
|
//elasticWidth: { mm: 35, min: 15, max: 60 },
|
2019-03-11 12:22:17 +01:00
|
|
|
|
|
|
|
// Percentages
|
2021-10-08 18:57:19 +02:00
|
|
|
elasticWidth: { pct: 10, min: 4, max: 20, snap: elastics, ...pctBasedOn('waistToUpperLeg') },
|
2019-03-11 12:22:17 +01:00
|
|
|
stretch: { pct: 20, min: 10, max: 30 },
|
|
|
|
bulge: { pct: 2.5, min: 0, max: 5 },
|
|
|
|
legReduction: { pct: 5, min: 0, max: 10 },
|
|
|
|
rise: { pct: 0, min: 0, max: 25 },
|
2021-04-24 10:16:31 +02:00
|
|
|
backRise: { pct: 5, min: 0, max: 10 },
|
|
|
|
},
|
2020-06-07 14:00:09 +02:00
|
|
|
}
|