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

57 lines
1.3 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: "womenswear",
type: "pattern",
difficulty: 3,
tags: ["skirt", "top", "basics"],
optionGroups: {
2019-07-12 13:13:09 +02:00
fit: ["waistbandPosition", "waistbandShape"],
style: [
"lengthBonus",
"circleRatio",
"waistbandWidth",
"waistbandOverlap",
2019-07-12 13:13:09 +02:00
"gathering"
],
construction: ["seamlessFullCircle", "hemWidth"]
},
measurements: [
"naturalWaist",
"naturalWaistToFloor",
"naturalWaistToHip",
"hipsCircumference"
],
2019-07-12 10:04:42 +02:00
dependencies: {
waistband: "skirt"
},
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"],
dflt: "straight"
}
}
};