2019-08-03 15:03:33 +02:00
|
|
|
import { frontDimensions } from './shared'
|
|
|
|
import frontLeftClassicSeperate from './frontleft-classic-seperate'
|
|
|
|
import frontLeftClassicCuton from './frontleft-classic-cuton'
|
|
|
|
import frontLeftSeamless from './frontleft-seamless'
|
2018-12-23 12:13:37 +01:00
|
|
|
|
2021-01-31 09:22:15 +01:00
|
|
|
export default (part) => {
|
2021-09-12 15:29:59 +02:00
|
|
|
const { sa, options, complete, paperless, points, macro } = part.shorthand()
|
2018-12-28 11:55:05 +01:00
|
|
|
|
2018-12-28 16:57:08 +01:00
|
|
|
if (complete && paperless) {
|
2019-08-03 15:03:33 +02:00
|
|
|
frontDimensions(part, 'left')
|
|
|
|
macro('ld', {
|
2021-06-19 12:50:46 +02:00
|
|
|
from: points.s3CollarSplit,
|
|
|
|
to: points.s3ArmholeSplit,
|
2021-04-24 10:16:31 +02:00
|
|
|
d: 15 + sa,
|
2019-08-03 15:03:33 +02:00
|
|
|
})
|
2018-12-28 11:55:05 +01:00
|
|
|
}
|
2018-12-23 12:13:37 +01:00
|
|
|
|
2019-08-03 15:03:33 +02:00
|
|
|
return options.buttonholePlacketStyle === 'seamless'
|
2018-12-23 12:13:37 +01:00
|
|
|
? frontLeftSeamless(part)
|
2018-12-29 15:01:46 +01:00
|
|
|
: options.seperateButtonholePlacket
|
2018-12-23 12:13:37 +01:00
|
|
|
? frontLeftClassicSeperate(part)
|
2019-08-03 15:03:33 +02:00
|
|
|
: frontLeftClassicCuton(part)
|
|
|
|
}
|