1
0
Fork 0
freesewing/packages/simon/config/config.js

157 lines
4.6 KiB
JavaScript
Raw Normal View History

import { version } from "../package.json";
2018-12-21 18:19:21 +01:00
export default {
name: "simon",
version,
2018-12-21 18:19:21 +01:00
measurements: [
"bicepsCircumference",
"centerBackNeckToWaist",
"chestCircumference",
"naturalWaist",
"naturalWaistToHip",
"neckCircumference",
"shoulderSlope",
"shoulderToShoulder",
"hipsCircumference",
"shoulderToElbow",
"shoulderToWrist",
"wristCircumference"
2018-12-21 18:19:21 +01:00
],
dependencies: {
frontBase: "base",
backBase: "base",
back: "backBase",
2018-12-21 19:38:05 +01:00
front: "frontBase",
2018-12-22 17:30:12 +01:00
frontRight: "front",
2018-12-23 12:13:37 +01:00
frontLeft: "front",
2018-12-23 13:57:40 +01:00
buttonPlacket: "front",
2018-12-23 14:54:34 +01:00
buttonholePlacket: "front",
yoke: "backBase"
2018-12-21 18:19:21 +01:00
},
inject: {
frontBase: "base",
backBase: "base",
back: "backBase",
2018-12-21 19:38:05 +01:00
front: "frontBase",
2018-12-22 17:30:12 +01:00
frontRight: "front",
2018-12-23 12:13:37 +01:00
frontLeft: "front",
2018-12-23 13:57:40 +01:00
buttonPlacket: "front",
2018-12-23 14:54:34 +01:00
buttonholePlacket: "front",
yoke: "backBase"
2018-12-21 18:19:21 +01:00
},
2018-12-23 12:13:37 +01:00
hide: ["base", "frontBase", "front", "backBase"],
2018-12-21 18:19:21 +01:00
options: {
// Constants
collarFactor: 5,
minimalDartShaping: 5,
brianFitSleeve: true,
// Toggles
// Lists
extraTopButton: {
list: ["yes", "no"],
dflt: "yes"
},
splitYoke: {
list: ["yes", "no"],
dflt: "no"
},
barrelcuffNarrowButton: {
list: ["yes", "no"],
dflt: "yes"
},
hemStyle: {
list: ["straight", "baseball", "slashed"],
dflt: "straight"
2018-12-21 18:19:21 +01:00
},
buttonPlacketType: {
list: ["cutOn", "seperate"],
dflt: "cutOn"
2018-12-21 18:19:21 +01:00
},
buttonPlacketStyle: {
list: ["classic", "seamless"],
dflt: "classic"
2018-12-21 18:19:21 +01:00
},
buttonholePlacketType: {
list: ["cutOn", "seperate"],
dflt: "cutOn"
2018-12-21 18:19:21 +01:00
},
buttonholePlacketStyle: {
list: ["classic", "seamless"],
dflt: "seamless"
2018-12-21 18:19:21 +01:00
},
cuffStyle: {
list: [
"roundedBarrelCuff",
"angledBarrelCuff",
"straightBarrelCuff",
"roundedFrenchcuff",
"angledFrenchCuff",
"straightFrenchCuff"
],
dflt: "angledBarrelCuff"
},
// Counters
buttons: { count: 7, min: 4, max: 12 },
2018-12-21 18:19:21 +01:00
cuffButtonRows: { count: 1, min: 1, max: 2 },
// Angles
collarAngle: { deg: 85, min: 60, max: 130 },
// Millimeter
buttonPlacketWidth: { mm: 20, min: 10, max: 30 },
buttonholePlacketWidth: { mm: 35, min: 20, max: 45 },
buttonholePlacketFoldWidth: { mm: 6, min: 3, max: 10 },
collarStandWidth: { mm: 35, min: 15, max: 60 },
sleevePlacketWidth: { mm: 25, min: 15, max: 35 },
2018-12-21 18:19:21 +01:00
// Percentages
acrossBackFactor: { pct: 97, min: 93, max: 100 },
armholeDepthFactor: { pct: 60, min: 50, max: 70 },
backNeckCutout: { pct: 5, min: 2, max: 8 },
bicepsEase: { pct: 15, min: 0, max: 50 },
buttonFreeLength: { pct: 2, min: 0, max: 15 },
chestEase: { pct: 8, min: -4, max: 20 },
collarBend: { pct: 5, min: 0, max: 10 },
collarEase: { pct: 3.5, min: 0, max: 10 },
collarFlare: { pct: 3, min: 0, max: 6 },
collarGap: { pct: 3, min: 0, max: 6 },
collarRoll: { pct: 3, min: 0, max: 6 },
collarStandBend: { pct: 5, min: 0, max: 10 },
collarStandCurve: { pct: 5, min: 0, max: 10 },
cuffDrape: { pct: 10, min: 0, max: 20 },
cuffEase: { pct: 20, min: 0, max: 200 },
cuffLength: { pct: 5, min: 3, max: 10 },
frontArmholeDeeper: { pct: 0.5, min: 0, max: 1.5 },
hemCurve: { pct: 75, min: 25, max: 100 },
hipsEase: { pct: 8, min: -4, max: 20 },
lengthBonus: { pct: 0, min: -4, max: 60 },
shoulderEase: { pct: 0, min: -2, max: 6 },
shoulderSlopeReduction: { pct: 0, min: 0, max: 8 },
sleevecapEase: { pct: 1, min: 0, max: 10 },
sleevecapBackFactorX: { pct: 60, min: 35, max: 65 },
sleevecapBackFactorY: { pct: 33, min: 35, max: 65 },
sleevecapFrontFactorX: { pct: 55, min: 35, max: 65 },
sleevecapFrontFactorY: { pct: 33, min: 35, max: 65 },
sleevecapQ1Offset: { pct: 3, min: 0, max: 7 },
sleevecapQ2Offset: { pct: 5.5, min: 0, max: 7 },
sleevecapQ3Offset: { pct: 4.5, min: 0, max: 7 },
sleevecapQ4Offset: { pct: 1, min: 0, max: 7 },
sleevecapQ1Spread1: { pct: 6, min: 4, max: 20 },
sleevecapQ1Spread2: { pct: 15, min: 4, max: 20 },
sleevecapQ2Spread1: { pct: 15, min: 4, max: 20 },
sleevecapQ2Spread2: { pct: 10, min: 4, max: 20 },
sleevecapQ3Spread1: { pct: 10, min: 4, max: 20 },
sleevecapQ3Spread2: { pct: 8, min: 4, max: 20 },
sleevecapQ4Spread1: { pct: 7, min: 4, max: 20 },
sleevecapQ4Spread2: { pct: 7, min: 4, max: 20 },
sleeveWidthGuarantee: { pct: 90, min: 25, max: 100 },
sleeveLengthBonus: { pct: 0, min: -40, max: 10 },
sleevePlacketLength: { pct: 25, min: 15, max: 35 },
waistEase: { pct: 8, min: -4, max: 20 },
yokeDart: { pct: 0, min: 0, max: 15 }
2018-12-21 18:19:21 +01:00
}
};