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

45 lines
1.2 KiB
JavaScript
Raw Normal View History

import { version } from '../package.json'
export default {
name: 'sandy',
version,
design: 'Erica Alcusa Sáez',
code: ['Erica Alcusa Sáez', 'Joost De Cock'],
department: 'bottoms',
type: 'pattern',
difficulty: 3,
optionGroups: {
fit: ['waistbandPosition', 'waistbandShape'],
style: ['lengthBonus', 'circleRatio', 'waistbandWidth', 'waistbandOverlap', 'gathering'],
2021-04-24 10:16:31 +02:00
construction: ['seamlessFullCircle', 'hemWidth'],
},
measurements: ['waist', 'waistToFloor', 'waistToHips', 'hips'],
2019-07-12 10:04:42 +02:00
dependencies: {
2021-04-24 10:16:31 +02:00
waistband: 'skirt',
2019-07-12 10:04:42 +02:00
},
options: {
2019-07-12 13:13:09 +02:00
// Constants
minimumOverlap: 15, // Lower than this and we don't draw a button
// Bool
seamlessFullCircle: { bool: false },
// Millimeter
waistbandWidth: { mm: 40, min: 5, max: 150 },
// Percentages
waistbandPosition: { pct: 50, min: 0, max: 100 },
lengthBonus: { pct: 50, min: 10, max: 100 },
circleRatio: { pct: 50, min: 20, max: 100 },
2019-07-12 10:04:42 +02:00
waistbandOverlap: { pct: 3, min: 0, max: 15 },
gathering: { pct: 0, min: 0, max: 200 },
2019-07-12 13:13:09 +02:00
hemWidth: { pct: 2, min: 1, max: 10 },
// Lists
waistbandShape: {
list: ['straight', 'curved'],
2021-04-24 10:16:31 +02:00
dflt: 'straight',
},
},
}