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

121 lines
3.8 KiB
JavaScript
Raw Normal View History

2019-03-25 18:20:15 +01:00
import { version } from "../package.json";
export default {
name: "carlton",
version: version,
measurements: [
"bicepsCircumference",
"centerBackNeckToWaist",
"chestCircumference",
"hipsCircumference",
"naturalWaist",
"naturalWaistToHip",
"neckCircumference",
"shoulderSlope",
"shoulderToElbow",
"shoulderToShoulder",
"shoulderToWrist",
"wristCircumference",
"naturalWaistToFloor",
"naturalWaistToSeat",
"seatCircumference"
],
dependencies: {
bentBack: "bentBase",
bentFront: "bentBack",
bentTopSleeve: "bentSleeve",
bentUnderSleeve: "bentSleeve",
front: "bentFront",
back: "bentBack",
tail: ["front", "back"],
topSleeve: "bentTopSleeve",
underSleeve: "bentUnderSleeve",
belt: "back",
collarStand: ["front", "back"],
collar: "collarStand",
cuffFacing: ["topSleeve", "underSleeve"],
pocket: "front",
pocketFlap: "front",
2019-03-30 19:01:32 +01:00
pocketLining: "pocket",
2019-03-25 18:20:15 +01:00
chestPocketWelt: "front",
2019-03-30 19:01:32 +01:00
chestPocketBag: "front",
2019-03-25 18:20:15 +01:00
innerPocketWelt: "front",
innerPocketBag: "front",
innerPocketTab: "front",
},
inject: {
bentBack: "bentBase",
bentFront: "bentBack",
bentTopSleeve: "bentSleeve",
bentUnderSleeve: "bentSleeve",
front: "bentFront",
back: "bentBack",
topSleeve: "bentTopSleeve",
underSleeve: "bentUnderSleeve",
collar: "collarStand",
2019-03-30 19:01:32 +01:00
pocketLining: "pocket",
2019-03-25 18:20:15 +01:00
},
hide: [
"bentBase",
"bentBack",
"bentFront",
"bentSleeve",
"bentTopSleeve",
"bentUnderSleeve",
],
options: {
// Constants
brianFitSleeve: true,
brianFitCollar: true,
collarFactor: 4.8,
chestShapingMax: 5,
backPleat: 0.048,
lengthBonus: 0,
collarEase: 0.145,
// Options inherited from Bent
acrossBackFactor: { pct: 97, min: 93, max: 100 },
armholeDepthFactor: { pct: 65, min: 50, max: 70 },
bicepsEase: { pct: 20, min: 0, max: 50 },
chestEase: { pct: 10, min: 5, max: 20 },
cuffEase: { pct: 60, min: 30, max: 100 },
shoulderEase: { pct: 0, min: -2, max: 6 },
sleeveBend: { deg: 10, min: 0, max: 20 },
sleevecapHeight: {pct: 45, min: 40, max: 60 },
sleevecapEase: { pct: 1, min: 0, max: 10 },
2019-03-30 14:38:31 +01:00
sleeveLengthBonus: { pct: 7, min: 0, max: 20 },
shoulderSlopeReduction: { pct: 2, min: 1, max: 5 },
2019-03-25 18:20:15 +01:00
backNeckCutout: { pct: 5, min: 2, max: 8 },
frontArmholeDeeper: { pct: 0.5, min: 0, max: 1.5 },
// Carlton options
waistEase: { pct: 14, min: 8, max: 25 },
seatEase: { pct: 14, min: 8, max: 25 },
length: { pct: 69, min: 35, max: 100 },
buttonSpacingHorizontal: {pct: 43.5, min: 15, max: 60 },
frontOverlap: { pct: 1.5, min: 1, max: 2},
lapelReduction: { pct: 5, min: 0, max: 10 },
pocketPlacementHorizontal: {pct: 11, min: 5, max: 60 },
pocketPlacementVertical: {pct: 6, min: 5, max: 60 },
2019-03-30 14:38:31 +01:00
pocketWidth: {pct: 95, min: 70, max: 120},
pocketHeight: {pct: 15, min: 0, max: 40},
2019-03-25 18:20:15 +01:00
pocketRadius: {pct: 20, min: 0, max: 50},
pocketFlapRadius: {pct: 15, min: 0, max: 50},
chestPocketHeight: {pct: 60, min: 40, max: 80},
2019-03-30 14:38:31 +01:00
chestPocketWidth: {pct: 25, min: 15, max: 50},
2019-03-25 18:20:15 +01:00
chestPocketPlacement: {pct: 55, min: 30, max: 65},
chestPocketAngle: {deg: 4, min: 0, max: 6},
innerPocketPlacement: {pct: 53, min: 42, max: 62 },
innerPocketWidth: { pct: 50, min: 45, max: 65 },
innerPocketDepth: { pct: 110, min: 75, max: 140 },
innerPocketWeltHeight: { pct: 3.5, min: 2.5, max: 5 },
beltWidth: { pct: 15, min: 10, max: 20 },
cuffLength: { pct: 15, min: 10, max: 20 },
collarHeight: {pct: 9.6, min: 8, max: 11 },
collarSpread: {deg: 4, min: 2, max: 6 },
collarFlare: {pct: 20, min: 0, max: 40 },
}
};