150 lines
4.3 KiB
JavaScript
150 lines
4.3 KiB
JavaScript
![]() |
import { version } from "../package.json";
|
||
|
|
||
|
export default {
|
||
|
name: "carlita",
|
||
|
version: version,
|
||
|
measurements: [
|
||
|
"bicepsCircumference",
|
||
|
"centerBackNeckToWaist",
|
||
|
"chestCircumference",
|
||
|
"hipsCircumference",
|
||
|
"naturalWaist",
|
||
|
"naturalWaistToHip",
|
||
|
"neckCircumference",
|
||
|
"shoulderSlope",
|
||
|
"shoulderToElbow",
|
||
|
"shoulderToShoulder",
|
||
|
"shoulderToWrist",
|
||
|
"wristCircumference",
|
||
|
"naturalWaistToFloor",
|
||
|
"naturalWaistToSeat",
|
||
|
"seatCircumference",
|
||
|
// For breasts
|
||
|
"highBust",
|
||
|
"bustSpan",
|
||
|
"highPointShoulderToBust"
|
||
|
],
|
||
|
dependencies: {
|
||
|
bentBack: "bentBase",
|
||
|
bentFront: "bentBack",
|
||
|
bentTopSleeve: "bentSleeve",
|
||
|
bentUnderSleeve: "bentSleeve",
|
||
|
carltonFront: "bentFront",
|
||
|
back: "bentBack",
|
||
|
tail: ["carltonFront", "back"],
|
||
|
topSleeve: "bentTopSleeve",
|
||
|
underSleeve: "bentUnderSleeve",
|
||
|
belt: "back",
|
||
|
collarStand: ["carltonFront", "back"],
|
||
|
collar: "collarStand",
|
||
|
cuffFacing: ["topSleeve", "underSleeve"],
|
||
|
pocket: "carltonFront",
|
||
|
pocketFlap: "carltonFront",
|
||
|
pocketLining: "pocket",
|
||
|
chestPocketWelt: "carltonFront",
|
||
|
chestPocketBag: "carltonFront",
|
||
|
innerPocketWelt: "carltonFront",
|
||
|
innerPocketBag: "carltonFront",
|
||
|
innerPocketTab: "carltonFront",
|
||
|
front: "carltonFront",
|
||
|
side: "front"
|
||
|
},
|
||
|
inject: {
|
||
|
bentBack: "bentBase",
|
||
|
bentFront: "bentBack",
|
||
|
bentTopSleeve: "bentSleeve",
|
||
|
bentUnderSleeve: "bentSleeve",
|
||
|
carltonFront: "bentFront",
|
||
|
back: "bentBack",
|
||
|
topSleeve: "bentTopSleeve",
|
||
|
underSleeve: "bentUnderSleeve",
|
||
|
collar: "collarStand",
|
||
|
pocketLining: "pocket",
|
||
|
front: "carltonFront",
|
||
|
side: "front"
|
||
|
},
|
||
|
hide: [
|
||
|
"bentBase",
|
||
|
"bentBack",
|
||
|
"bentFront",
|
||
|
"bentSleeve",
|
||
|
"bentTopSleeve",
|
||
|
"bentUnderSleeve",
|
||
|
"carltonFront"
|
||
|
],
|
||
|
parts: [
|
||
|
"back",
|
||
|
"tail",
|
||
|
"topSleeve",
|
||
|
"underSleeve",
|
||
|
"belt",
|
||
|
"collarStand",
|
||
|
"collar",
|
||
|
"cuffFacing",
|
||
|
"pocket",
|
||
|
"pocketFlap",
|
||
|
"pocketLining",
|
||
|
"chestPocketWelt",
|
||
|
"chestPocketBag",
|
||
|
"innerPocketWelt",
|
||
|
"innerPocketBag",
|
||
|
"innerPocketTab"
|
||
|
],
|
||
|
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 },
|
||
|
sleeveLengthBonus: { pct: 7, min: 0, max: 20 },
|
||
|
shoulderSlopeReduction: { pct: 2, min: 1, max: 5 },
|
||
|
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 },
|
||
|
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 },
|
||
|
|
||
|
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 },
|
||
|
|
||
|
contour: { pct: 50, min: 25, max: 75 }
|
||
|
}
|
||
|
};
|