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

57 lines
1.3 KiB
JavaScript
Raw Normal View History

2019-07-16 16:17:47 +02:00
import { version } from "../package.json";
export default {
name: "theo",
version,
design: "Joost De Cock",
code: "Joost De Cock",
department: "menswear",
type: "pattern",
difficulty: 4,
tags: ["trousers", "bottom"],
optionGroups: {
fit: ["backRise", "wedge"],
style: ["waistbandWidth", "lengthBonus", "legWidth"]
},
measurements: [
"hipsCircumference",
"seatCircumference",
"inseam",
"seatDepth",
"kneeCircumference"
],
dependencies: {},
inject: {
front: "back",
waistbandLeft: "waistbandInterfacingLeft",
waistbandRight: "waistbandInterfacingRight",
waistbandLiningLeft: "waistbandInterfacingLeft",
waistbandLiningRight: "waistbandInterfacingRight",
flyPiece: "front",
flyShield: "flyPiece",
sidePiece: "front",
frontPocketBag: "front",
backOuterPocketBag: "backInnerPocketBag",
backPocketInterfacing: "backPocketFacing"
},
hide: [],
parts: [
"waistbandInterfacingLeft",
"waistbandInterfacingRight",
"backPocketFacing",
"beltLoop"
],
options: {
// Constants
// Millimeter
waistbandWidth: { mm: 40, min: 5, max: 80 },
// Percentages
legWidth: { pct: 10, min: 0, max: 30 },
backRise: { pct: 3.5, min: 0.5, max: 8 },
lengthBonus: { pct: 0, min: -10, max: 10 },
wedge: { pct: 0, min: -3, max: 3 }
}
};