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

158 lines
2.6 KiB
JavaScript
Raw Normal View History

2019-02-17 17:21:39 +01:00
import { version } from "../package.json";
export default {
name: "wahid",
version,
measurements: [
"bicepsCircumference",
"centerBackNeckToWaist",
"chestCircumference",
"naturalWaistToHip",
"neckCircumference",
"shoulderSlope",
"shoulderToShoulder",
"hipsCircumference",
"naturalWaist",
"shoulderToWrist",
"wristCircumference"
],
dependencies: {
backBlock: "base",
frontBlock: "backBlock",
2019-02-17 20:42:05 +01:00
front: "frontBlock",
2019-02-17 21:26:39 +01:00
back: "backBlock",
2019-02-17 21:39:39 +01:00
frontFacing: "front",
frontLining: "front",
pocketBag: "front"
2019-02-17 17:21:39 +01:00
},
inject: {
backBlock: "base",
frontBlock: "backBlock",
2019-02-17 20:42:05 +01:00
front: "frontBlock",
2019-02-17 21:26:39 +01:00
back: "backBlock",
2019-02-17 21:39:39 +01:00
frontFacing: "front",
frontLining: "front"
2019-02-17 17:21:39 +01:00
},
2019-02-17 20:42:05 +01:00
hide: ["base", "frontBlock", "backBlock"],
parts: ["pocketWelt", "pocketFacing", "pocketInterfacing"],
2019-02-17 17:21:39 +01:00
options: {
// These are needed because Brian expects them
brianFitSleeve: false,
brianFitCollar: false,
collarFactor: 4.8,
backNeckCutout: 0.05,
shoulderSlopeReduction: 0,
collarEase: 0.035,
shoulderEase: 0,
bicepsEase: 0.15,
acrossBackFactor: 0.97,
frontArmholeDeeper: 0.005,
// Wahid options start here
frontOverlap: 0.01,
2019-02-17 20:42:05 +01:00
armholeDepthFactor: {
pct: 70,
min: 60,
max: 80
},
2019-02-17 17:21:39 +01:00
pocketLocation: {
pct: 35,
min: 25,
2019-02-17 20:42:05 +01:00
max: 55
2019-02-17 17:21:39 +01:00
},
pocketWidth: {
2019-02-17 20:42:05 +01:00
pct: 10,
max: 15,
min: 8
2019-02-17 17:21:39 +01:00
},
weltHeight: {
pct: 12.5,
2019-02-17 20:42:05 +01:00
max: 20,
2019-02-17 17:21:39 +01:00
min: 10
},
chestEase: {
pct: 2,
min: 1,
max: 10
},
waistEase: {
pct: 8,
min: 2,
max: 15
},
hipsEase: {
pct: 8,
min: 2,
max: 15
},
lengthBonus: {
pct: 1,
min: 0,
2019-02-17 20:42:05 +01:00
max: 8
2019-02-17 17:21:39 +01:00
},
backScyeDart: {
2019-02-17 20:42:05 +01:00
deg: 2,
2019-02-17 17:21:39 +01:00
min: 0,
max: 6
},
frontScyeDart: {
deg: 6,
min: 0,
max: 12
},
centerBackDart: {
pct: 2,
min: 0,
max: 5
},
necklineDrop: {
2019-02-17 20:42:05 +01:00
pct: 50,
min: 35,
max: 85
2019-02-17 17:21:39 +01:00
},
frontStyle: {
dflt: "classic",
list: ["classic", "rounded"]
},
hemStyle: {
dflt: "classic",
list: ["classic", "rounded"]
},
hemRadius: {
pct: 6,
min: 0,
2019-02-17 20:42:05 +01:00
max: 12
2019-02-17 17:21:39 +01:00
},
buttons: {
count: 6,
min: 4,
max: 12
},
backInset: {
2019-02-17 20:42:05 +01:00
pct: 15,
min: 10,
max: 20
2019-02-17 17:21:39 +01:00
},
frontInset: {
pct: 15,
2019-02-17 20:42:05 +01:00
min: 10,
max: 20
2019-02-17 17:21:39 +01:00
},
shoulderInset: {
2019-02-17 20:42:05 +01:00
pct: 10,
2019-02-17 17:21:39 +01:00
min: 0,
2019-02-17 20:42:05 +01:00
max: 20
2019-02-17 17:21:39 +01:00
},
neckInset: {
pct: 5,
min: 0,
2019-02-17 20:42:05 +01:00
max: 10
2019-02-17 17:21:39 +01:00
},
pocketAngle: {
deg: 5,
min: 0,
max: 5
}
}
};