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

256 lines
7.3 KiB
JavaScript
Raw Normal View History

import { version } from '../package.json'
2018-12-21 18:19:21 +01:00
export default {
name: 'simon',
version,
design: 'Joost De Cock',
code: 'Joost De Cock',
department: 'tops',
type: 'pattern',
difficulty: 4,
optionGroups: {
fit: [
'chestEase',
'collarEase',
'bicepsEase',
'cuffEase',
'shoulderEase',
'lengthBonus',
'sleeveLengthBonus',
'waistEase',
'hipsEase',
'roundBack',
],
style: [
'hemStyle',
'hemCurve',
'boxPleat',
2019-09-25 18:01:17 +02:00
'backDarts',
'splitYoke',
'yokeHeight',
's3Collar',
's3Armhole',
{
closure: [
'extraTopButton',
'buttons',
'seperateButtonPlacket',
'buttonPlacketStyle',
'seperateButtonholePlacket',
'buttonholePlacketStyle',
'buttonPlacketWidth',
'buttonholePlacketWidth',
'buttonholePlacketFoldWidth',
2021-04-24 10:16:31 +02:00
'buttonFreeLength',
],
},
{
cuffs: [
'cuffStyle',
'barrelCuffNarrowButton',
'cuffButtonRows',
'sleevePlacketWidth',
'sleevePlacketLength',
'cuffDrape',
2021-04-24 10:16:31 +02:00
'cuffLength',
],
},
{
collar: [
'collarAngle',
'collarStandBend',
'collarStandCurve',
'collarFlare',
'collarStandWidth',
'collarBend',
'collarGap',
2021-04-24 10:16:31 +02:00
'collarRoll',
],
},
],
advanced: [
'acrossBackFactor',
'armholeDepthFactor',
'backNeckCutout',
'frontArmholeDeeper',
'shoulderSlopeReduction',
'sleeveWidthGuarantee',
'boxPleatWidth',
'boxPleatFold',
2019-09-25 18:01:17 +02:00
'backDartShaping',
'ffsa',
{
sleevecap: [
'sleevecapEase',
'sleevecapTopFactorX',
'sleevecapTopFactorY',
'sleevecapBackFactorX',
'sleevecapBackFactorY',
'sleevecapFrontFactorX',
'sleevecapFrontFactorY',
'sleevecapQ1Offset',
'sleevecapQ2Offset',
'sleevecapQ3Offset',
'sleevecapQ4Offset',
'sleevecapQ1Spread1',
'sleevecapQ1Spread2',
'sleevecapQ2Spread1',
'sleevecapQ2Spread2',
'sleevecapQ3Spread1',
'sleevecapQ3Spread2',
'sleevecapQ4Spread1',
2021-04-24 10:16:31 +02:00
'sleevecapQ4Spread2',
],
},
],
},
2018-12-21 18:19:21 +01:00
measurements: [
'biceps',
'chest',
'hpsToWaistBack',
'waist',
'waistToHips',
'neck',
'shoulderSlope',
'shoulderToShoulder',
'hips',
'shoulderToWrist',
2021-04-24 10:16:31 +02:00
'wrist',
2018-12-21 18:19:21 +01:00
],
dependencies: {
sleeveBase: ['frontBase', 'backBase', 'back'],
2021-04-24 10:16:31 +02:00
sleeve: ['sleeveBase', 'front', 'back'],
2018-12-21 18:19:21 +01:00
},
inject: {
frontBase: 'base',
backBase: 'base',
back: 'backBase',
front: 'frontBase',
frontRight: 'front',
frontLeft: 'front',
buttonPlacket: 'front',
buttonholePlacket: 'front',
yoke: 'back',
sleeveBase: 'front',
2021-04-24 10:16:31 +02:00
sleeve: 'sleeveBase',
2018-12-21 18:19:21 +01:00
},
parts: ['collarStand', 'collar', 'sleevePlacketUnderlap', 'sleevePlacketOverlap', 'cuff'],
hide: ['base', 'frontBase', 'front', 'backBase', 'sleeveBase'],
2018-12-21 18:19:21 +01:00
options: {
// Constants
collarFactor: 5,
brianFitCollar: true,
2018-12-21 18:19:21 +01:00
brianFitSleeve: true,
2018-12-27 13:08:30 +01:00
cuffOverlap: 0.15,
2018-12-23 17:25:53 +01:00
frenchCuffRoundFactor: 0.05,
2018-12-21 18:19:21 +01:00
// Booleans
extraTopButton: { bool: true },
splitYoke: { bool: false },
barrelCuffNarrowButton: { bool: true },
seperateButtonPlacket: { bool: false },
seperateButtonholePlacket: { bool: false },
2018-12-21 18:19:21 +01:00
// Lists
hemStyle: {
list: ['straight', 'baseball', 'slashed'],
2021-04-24 10:16:31 +02:00
dflt: 'straight',
2018-12-21 18:19:21 +01:00
},
buttonPlacketStyle: {
list: ['classic', 'seamless'],
2021-04-24 10:16:31 +02:00
dflt: 'classic',
2018-12-21 18:19:21 +01:00
},
buttonholePlacketStyle: {
list: ['classic', 'seamless'],
2021-04-24 10:16:31 +02:00
dflt: 'seamless',
2018-12-21 18:19:21 +01:00
},
cuffStyle: {
list: [
'roundedBarrelCuff',
'angledBarrelCuff',
'straightBarrelCuff',
'roundedFrenchCuff',
'angledFrenchCuff',
2021-04-24 10:16:31 +02:00
'straightFrenchCuff',
2018-12-21 18:19:21 +01:00
],
2021-04-24 10:16:31 +02:00
dflt: 'angledBarrelCuff',
2018-12-21 18:19:21 +01:00
},
2019-09-25 18:01:17 +02:00
backDarts: {
list: ['auto', 'never', 'always'],
2021-04-24 10:16:31 +02:00
dflt: 'auto',
2019-09-25 18:01:17 +02:00
},
2018-12-21 18:19:21 +01:00
// Bool
boxPleat: { bool: false },
2018-12-21 18:19:21 +01:00
// 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 },
2018-12-24 14:17:55 +01:00
collarStandBend: { deg: 3, min: 0, max: 5 },
2018-12-24 15:53:34 +01:00
collarStandCurve: { deg: 2, min: 0, max: 5 },
collarFlare: { deg: 4, min: 0, max: 10 },
2018-12-21 18:19:21 +01:00
// Used to be millimeter (now pct)
buttonPlacketWidth: { pct: 5, min: 2, max: 8 },
buttonholePlacketWidth: { pct: 8, min: 4, max: 12 },
buttonholePlacketFoldWidth: { pct: 16, min: 8, max: 24 },
collarStandWidth: { pct: 8, min: 3, max: 13 },
sleevePlacketWidth: { pct: 13, min: 8, max: 18 },
boxPleatWidth: { pct: 7, min: 4, max: 10 },
boxPleatFold: { pct: 15, min: 10, max: 20 },
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: 10, max: 35 },
2019-09-06 16:00:30 +02:00
buttonFreeLength: { pct: 2, min: 0, max: 15 },
chestEase: { pct: 15, min: 10, max: 35 },
collarBend: { pct: 5, min: 0, max: 10 },
collarEase: { pct: 3.5, min: 2, max: 10 },
collarGap: { pct: 3, min: 0, max: 6 },
collarRoll: { pct: 3, min: 0, max: 6 },
2018-12-27 16:42:27 +01:00
cuffDrape: { pct: 5, min: 0, max: 10 },
cuffEase: { pct: 20, min: 10, max: 40 },
2018-12-27 13:08:30 +01:00
cuffLength: { pct: 10, min: 3, max: 15 },
frontArmholeDeeper: { pct: 0.5, min: 0, max: 1.5 },
2019-01-13 15:11:15 +01:00
hemCurve: { pct: 50, min: 25, max: 100 },
hipsEase: { pct: 15, min: 10, max: 35 },
2018-12-29 15:35:27 +01:00
lengthBonus: { pct: 25, min: -4, max: 60 },
roundBack: { pct: 0, min: 0, max: 10 },
shoulderEase: { pct: 2, min: 0, max: 15 },
shoulderSlopeReduction: { pct: 0, min: 0, max: 8 },
yokeHeight: { pct: 55, min: 10, max: 90 },
// s3 is short for Shoulder Seam Shift
s3Collar: { pct: 0, min: -100, max: 100 },
s3Armhole: { pct: 0, min: -100, max: 100 },
2021-08-30 11:40:16 +02:00
ffsa: { pct: 150, min: 100, max: 200 },
sleevecapEase: { pct: 0, min: 0, max: 3 },
sleevecapTopFactorX: { pct: 50, min: 25, max: 75 },
sleevecapTopFactorY: { pct: 100, min: 35, max: 165 },
sleevecapBackFactorX: { pct: 60, min: 35, max: 65 },
2020-03-14 15:04:45 +01:00
sleevecapBackFactorY: { pct: 33, min: 30, max: 65 },
sleevecapFrontFactorX: { pct: 55, min: 35, max: 65 },
2020-03-14 15:04:45 +01:00
sleevecapFrontFactorY: { pct: 33, min: 30, max: 65 },
sleevecapQ1Offset: { pct: 5, min: 3, 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: 15, min: 10, max: 35 },
2021-04-24 10:16:31 +02:00
backDartShaping: { pct: 25, min: 5, max: 75 },
},
}