chore(simone): Port to v3 stage 2
This commit is contained in:
parent
9cdb29108f
commit
19cf0d46eb
1 changed files with 17 additions and 17 deletions
|
@ -1,22 +1,22 @@
|
||||||
import { front } from '@freesewing/simon'
|
import { front } from '@freesewing/simon'
|
||||||
import { bustPlugin } from '@freesewing/plugin-bust'
|
import { bustPlugin } from '@freesewing/plugin-bust'
|
||||||
|
|
||||||
function simoneFbaFront(part) {
|
function simoneFbaFront({
|
||||||
const {
|
measurements,
|
||||||
measurements,
|
Point,
|
||||||
Point,
|
points,
|
||||||
points,
|
Path,
|
||||||
Path,
|
paths,
|
||||||
paths,
|
macro,
|
||||||
macro,
|
options,
|
||||||
options,
|
Snippet,
|
||||||
Snippet,
|
snippets,
|
||||||
snippets,
|
utils,
|
||||||
utils,
|
sa,
|
||||||
sa,
|
complete,
|
||||||
complete,
|
log,
|
||||||
raise,
|
part,
|
||||||
} = part.shorthand()
|
}) {
|
||||||
/*
|
/*
|
||||||
* Simone is Simon with an FBA (Full Bust Adjustment)
|
* Simone is Simon with an FBA (Full Bust Adjustment)
|
||||||
* Which means that we draft simon with the high bust measurement instead
|
* Which means that we draft simon with the high bust measurement instead
|
||||||
|
@ -41,7 +41,7 @@ function simoneFbaFront(part) {
|
||||||
* return the original part from simon
|
* return the original part from simon
|
||||||
*/
|
*/
|
||||||
if (FBA < 0) {
|
if (FBA < 0) {
|
||||||
raise.info('No FBA required, using unaltered Simon front')
|
log.info('No FBA required, using unaltered Simon front')
|
||||||
return part
|
return part
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue