1
0
Fork 0
freesewing/packages/bruce/config/index.js

54 lines
1.3 KiB
JavaScript
Raw Normal View History

import { version } from '../package.json'
2018-09-04 16:51:39 +02:00
export default {
name: 'bruce',
version,
design: 'Joost De Cock',
code: 'Joost De Cock',
department: 'menswear',
type: 'pattern',
difficulty: 3,
tags: ['underwear', 'bottom', 'basics'],
optionGroups: {
fit: ['bulge', 'stretch', 'legStretch', 'backRise'],
style: ['rise', 'legBonus']
},
measurements: ['hips', 'upperLeg', 'waistToHips', 'waistToUpperLeg'],
2018-12-19 12:14:48 +01:00
dependencies: {
2021-02-07 15:54:56 +01:00
side: ['back', 'front'],
front: 'inset',
inset: 'back'
2018-12-19 12:14:48 +01:00
},
2018-09-04 16:51:39 +02:00
options: {
// Constants
2018-09-07 16:35:37 +02:00
/* Ratio of different parts at the hips */
2018-09-04 16:51:39 +02:00
hipRatioFront: 0.245,
hipRatioBack: 0.315,
2018-09-07 16:35:37 +02:00
/** Ratio of different parts at the legs */
2018-09-04 16:51:39 +02:00
legRatioInset: 0.3,
legRatioBack: 0.32,
/** Gusset widht in relation to waist = 6.66% */
gussetRatio: 0.0666,
/** Part of crotch seam length that is attached
* to the inset (rest goes in the tusks) */
gussetInsetRatio: 0.6,
/** Height distribution between inset and front */
heightRatioInset: 0.65,
// Degrees
bulge: { deg: 20, min: 0, max: 40 },
// Percentages
legBonus: { pct: 0, min: -10, max: 20 },
rise: { pct: 10, min: 0, max: 25 },
stretch: { pct: 15, min: 5, max: 25 },
legStretch: { pct: 40, min: 25, max: 45 },
backRise: { pct: 5, min: 0, max: 10 }
2018-09-04 16:51:39 +02:00
}
}