chore(walburga): Port to v3 stage 2
This commit is contained in:
parent
1812f70f3f
commit
422052ec85
3 changed files with 41 additions and 35 deletions
|
@ -1,7 +1,13 @@
|
||||||
import { base } from './base.mjs'
|
import { base } from './base.mjs'
|
||||||
|
|
||||||
function walburgaBack(part) {
|
function walburgaBack({
|
||||||
const { points, macro, complete, snippets, Snippet } = part.shorthand()
|
points,
|
||||||
|
macro,
|
||||||
|
complete,
|
||||||
|
snippets,
|
||||||
|
Snippet,
|
||||||
|
part,
|
||||||
|
}) {
|
||||||
|
|
||||||
// Complete?
|
// Complete?
|
||||||
if (complete) {
|
if (complete) {
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
import { pluginBundle } from '@freesewing/plugin-bundle'
|
import { pluginBundle } from '@freesewing/plugin-bundle'
|
||||||
|
|
||||||
function walburgaBase(part) {
|
function walburgaBase({
|
||||||
const {
|
|
||||||
Point,
|
Point,
|
||||||
points,
|
points,
|
||||||
Path,
|
Path,
|
||||||
|
@ -16,7 +15,8 @@ function walburgaBase(part) {
|
||||||
paperless,
|
paperless,
|
||||||
store,
|
store,
|
||||||
utils,
|
utils,
|
||||||
} = part.shorthand()
|
part,
|
||||||
|
}) {
|
||||||
|
|
||||||
// define some variables
|
// define some variables
|
||||||
const hem_pos =
|
const hem_pos =
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
import { base, neckline, neckoRatio } from './base.mjs'
|
import { base, neckline, neckoRatio } from './base.mjs'
|
||||||
|
|
||||||
function walburgaFront(part) {
|
function walburgaFront({
|
||||||
const {
|
|
||||||
points,
|
points,
|
||||||
Path,
|
Path,
|
||||||
paths,
|
paths,
|
||||||
|
@ -15,7 +14,8 @@ function walburgaFront(part) {
|
||||||
paperless,
|
paperless,
|
||||||
store,
|
store,
|
||||||
utils,
|
utils,
|
||||||
} = part.shorthand()
|
part,
|
||||||
|
}) {
|
||||||
|
|
||||||
const head = store.get('hhead') * 2
|
const head = store.get('hhead') * 2
|
||||||
const goldenRatio = store.get('goldenRatio')
|
const goldenRatio = store.get('goldenRatio')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue