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

41 lines
1.2 KiB
JavaScript
Raw Normal View History

import { version } from '../package.json'
2021-10-13 01:30:33 +01:00
import freesewing from '@freesewing/core'
const { pctBasedOn } = freesewing
2019-09-13 15:56:35 +01:00
// ?? 🤔 ?? --> https://en.freesewing.dev/packages/core/config
export default {
name: 'holmes',
2021-08-24 15:37:35 +01:00
version,
design: 'Erica Alcusa Sáez',
2021-10-13 01:30:33 +01:00
code: ['Erica Alcusa Sáez', 'bobgeorgethe3rd'],
department: 'accessories',
type: 'pattern',
2019-09-13 15:56:35 +01:00
difficulty: 3,
optionGroups: {
2021-10-13 01:30:33 +01:00
fit: ['headEase'],
style: ['lengthRatio', 'goreNumber', 'visorAngle', 'visorWidth','earLength','earWidth','buttonhole'],
advanced:['visorLength'],
2019-09-13 15:56:35 +01:00
},
measurements: ['head'],
2019-09-13 15:56:35 +01:00
dependencies: {},
inject: {},
hide: [],
2021-10-13 01:30:33 +01:00
parts: ['gore', 'visor', 'ear'],
2019-09-13 15:56:35 +01:00
options: {
2021-10-13 01:30:33 +01:00
headEase: { pct: 3, min: 0, max: 9,
snap: {
metric: [ 6, 13, 19, 25, 32, 38, 44, 50],
imperial: [ 6.35, 12.7, 19.05, 25.4, 31.75, 38.1, 44.45, 50.8],
},
...pctBasedOn('head')},
2019-09-13 15:56:35 +01:00
lengthRatio: { pct: 55, min: 40, max: 60 },
goreNumber: { count: 6, min: 4, max: 20 },
2021-10-13 01:30:33 +01:00
visorAngle: { deg: 45, min: 10, max: 90 },
visorWidth: { pct: 5, min: 1, max: 17, snap: 5, ...pctBasedOn('head')},
earLength: { pct: 100, min: 80, max: 150 },
earWidth: { pct: 100, min: 80, max: 150 },
visorLength: { pct: 100, min: 80, max: 150 },
buttonhole: {bool: false},
release: v2.18.0 ## 2.18.0 (2021-09-09) ### core #### Fixed - Handle path.offset() of very short curves with control points on the start or end point Closes [#1257](https://github.com/freesewing/freesewing/issues/1257) ### holmes #### Fixed - The `brimWidth` option is not a percent option, allowing the pattern to scale properly ### huey #### Fixed - Replace cut-on-fold indicator on pocket with a regular grainline indicator Closes [#1265](https://github.com/freesewing/freesewing/issues/1265) ### i18n #### Added - Added translations for Yuri #### Fixed - Added optional chaining so missing options always lead to clear error message ### simon #### Fixed - Avoid paperless depending on a complete pattern ### theo #### Fixed - Avoid paperless depending on a complete pattern ### wahid #### Fixed - Close Seam Allowance path of front lining Closes [#1267](https://github.com/freesewing/freesewing/issues/1267) - Support a zero value for the `backScyeDart` option ### yuri - Handle path.offset() of very short curves with control points on the start or end point Closes [#1257](https://github.com/freesewing/freesewing/issues/1257) - The `brimWidth` option is not a percent option, allowing the pattern to scale properly - Replace cut-on-fold indicator on pocket with a regular grainline indicator Closes [#1265](https://github.com/freesewing/freesewing/issues/1265) - Added translations for Yuri - Added optional chaining so missing options always lead to clear error message - Avoid paperless depending on a complete pattern - Avoid paperless depending on a complete pattern - Close Seam Allowance path of front lining Closes [#1267](https://github.com/freesewing/freesewing/issues/1267) - Support a zero value for the `backScyeDart` option
2021-09-09 20:25:59 +02:00
},
}