1
0
Fork 0

chore(walburga): Port to v3 stage 2

This commit is contained in:
Benjamin F 2022-09-11 07:52:48 -07:00
parent 1812f70f3f
commit 422052ec85
3 changed files with 41 additions and 35 deletions

View file

@ -1,7 +1,13 @@
import { base } from './base.mjs'
function walburgaBack(part) {
const { points, macro, complete, snippets, Snippet } = part.shorthand()
function walburgaBack({
points,
macro,
complete,
snippets,
Snippet,
part,
}) {
// Complete?
if (complete) {

View file

@ -1,7 +1,6 @@
import { pluginBundle } from '@freesewing/plugin-bundle'
function walburgaBase(part) {
const {
function walburgaBase({
Point,
points,
Path,
@ -16,7 +15,8 @@ function walburgaBase(part) {
paperless,
store,
utils,
} = part.shorthand()
part,
}) {
// define some variables
const hem_pos =

View file

@ -1,7 +1,6 @@
import { base, neckline, neckoRatio } from './base.mjs'
function walburgaFront(part) {
const {
function walburgaFront({
points,
Path,
paths,
@ -15,7 +14,8 @@ function walburgaFront(part) {
paperless,
store,
utils,
} = part.shorthand()
part,
}) {
const head = store.get('hhead') * 2
const goldenRatio = store.get('goldenRatio')