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

168 lines
4.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,
design: ["Anneke Caramin", "Joost De Cock"],
code: "Joost De Cock",
department: "menswear",
type: "pattern",
difficulty: 5,
tags: ["top", "coat", "cosplay"],
optionGroups: {
fit: [
"acrossBackFactor",
"armholeDepthFactor",
"bicepsEase",
"chestEase",
"cuffEase",
"shoulderEase",
"sleeveBend",
"sleeveLengthBonus",
"waistEase",
"seatEase"
],
advanced: [
"backNeckCutout",
"frontArmholeDeeper",
"frontOverlap",
"lapelReduction",
"shoulderSlopeReduction",
"sleevecapHeight",
"sleevecapEase"
],
pockets: [
"pocketPlacementHorizontal",
"pocketPlacementVertical",
"pocketWidth",
"pocketHeight",
"pocketRadius",
"pocketFlapRadius",
"chestPocketHeight",
"chestPocketWidth",
"chestPocketPlacement",
"chestPocketAngle",
"innerPocketPlacement",
"innerPocketWidth",
"innerPocketDepth",
"innerPocketWeltHeight"
],
style: ["beltWidth", "buttonSpacingHorizontal", "cuffLength", "length"],
collar: ["collarHeight", "collarSpread", "collarFlare"]
},
2019-03-25 18:20:15 +01:00
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"
2019-03-25 18:20:15 +01:00
},
inject: {
bentBack: "bentBase",
bentFront: "bentBack",
bentTopSleeve: "bentSleeve",
bentUnderSleeve: "bentSleeve",
front: "bentFront",
back: "bentBack",
topSleeve: "bentTopSleeve",
underSleeve: "bentUnderSleeve",
collar: "collarStand",
pocketLining: "pocket"
2019-03-25 18:20:15 +01:00
},
hide: [
"bentBase",
"bentBack",
"bentFront",
"bentSleeve",
"bentTopSleeve",
"bentUnderSleeve"
2019-03-25 18:20:15 +01:00
],
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 },
2019-03-25 18:20:15 +01:00
sleeveBend: { deg: 10, min: 0, max: 20 },
sleevecapHeight: { pct: 45, min: 40, max: 60 },
sleevecapEase: { pct: 1, min: 0, max: 10 },
sleeveLengthBonus: { pct: 7, min: 0, max: 20 },
2019-03-30 14:38:31 +01:00
shoulderSlopeReduction: { pct: 2, min: 1, max: 5 },
backNeckCutout: { pct: 5, min: 2, max: 8 },
frontArmholeDeeper: { pct: 0.5, min: 0, max: 1.5 },
2019-03-25 18:20:15 +01:00
// 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 },
2019-03-25 18:20:15 +01:00
lapelReduction: { pct: 5, min: 0, max: 10 },
pocketPlacementHorizontal: { pct: 11, min: 5, max: 60 },
pocketPlacementVertical: { pct: 6, min: 5, max: 60 },
pocketWidth: { pct: 95, min: 70, max: 120 },
pocketHeight: { pct: 15, min: 0, max: 40 },
pocketRadius: { pct: 20, min: 0, max: 50 },
pocketFlapRadius: { pct: 15, min: 0, max: 50 },
chestPocketHeight: { pct: 60, min: 40, max: 80 },
chestPocketWidth: { pct: 25, min: 15, max: 50 },
chestPocketPlacement: { pct: 55, min: 30, max: 65 },
chestPocketAngle: { deg: 4, min: 0, max: 6 },
2019-03-25 18:20:15 +01:00
innerPocketPlacement: { pct: 53, min: 42, max: 62 },
2019-03-25 18:20:15 +01:00
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 }
2019-03-25 18:20:15 +01:00
}
};