Updates to bring Shelly up to date with V3.
This commit is contained in:
parent
ed0cdd4b93
commit
6a8039c23c
7 changed files with 105 additions and 107 deletions
|
@ -389,7 +389,8 @@
|
||||||
"code": "Thrunic",
|
"code": "Thrunic",
|
||||||
"design": "Thrunic",
|
"design": "Thrunic",
|
||||||
"difficulty": 2,
|
"difficulty": 2,
|
||||||
"tags": ["tops", "swimwear"]
|
"tags": ["tops", "swimwear"],
|
||||||
|
"techniques": []
|
||||||
},
|
},
|
||||||
"shin": {
|
"shin": {
|
||||||
"lab": true,
|
"lab": true,
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
import { pluginBundle } from '@freesewing/plugin-bundle'
|
|
||||||
import { base } from './base.mjs'
|
import { base } from './base.mjs'
|
||||||
|
|
||||||
function draftBack({
|
function draftBack({
|
||||||
|
@ -139,7 +138,7 @@ function draftBack({
|
||||||
|
|
||||||
export const back = {
|
export const back = {
|
||||||
name: 'shelly.back',
|
name: 'shelly.back',
|
||||||
plugins: [pluginBundle],
|
plugins: [],
|
||||||
draft: draftBack,
|
draft: draftBack,
|
||||||
from: base,
|
from: base,
|
||||||
measurements: ['neck', 'chest', 'hips', 'waistToHips', 'hpsToWaistBack'],
|
measurements: ['neck', 'chest', 'hips', 'waistToHips', 'hpsToWaistBack'],
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
import { pluginBundle } from '@freesewing/plugin-bundle'
|
|
||||||
import { withCondition as bustPlugin } from '@freesewing/plugin-bust'
|
import { withCondition as bustPlugin } from '@freesewing/plugin-bust'
|
||||||
|
|
||||||
function draftBase({
|
function draftBase({
|
||||||
|
@ -185,7 +184,7 @@ function draftBase({
|
||||||
|
|
||||||
export const base = {
|
export const base = {
|
||||||
name: 'shelly.base',
|
name: 'shelly.base',
|
||||||
plugins: [pluginBundle, bustPlugin],
|
plugins: [bustPlugin],
|
||||||
draft: draftBase,
|
draft: draftBase,
|
||||||
hide: { self: true },
|
hide: { self: true },
|
||||||
measurements: ['neck', 'chest', 'hips', 'waistToHips', 'hpsToWaistBack', 'waistToArmhole'],
|
measurements: ['neck', 'chest', 'hips', 'waistToHips', 'hpsToWaistBack', 'waistToArmhole'],
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import { base } from './base.mjs'
|
import { base } from './base.mjs'
|
||||||
import { pluginBundle } from '@freesewing/plugin-bundle'
|
|
||||||
|
|
||||||
function draftFront({
|
function draftFront({
|
||||||
utils,
|
utils,
|
||||||
|
@ -115,7 +114,7 @@ function draftFront({
|
||||||
|
|
||||||
export const front = {
|
export const front = {
|
||||||
name: 'shelly.front',
|
name: 'shelly.front',
|
||||||
plugins: [pluginBundle],
|
plugins: [],
|
||||||
draft: draftFront,
|
draft: draftFront,
|
||||||
from: base,
|
from: base,
|
||||||
measurements: ['neck', 'chest', 'hips', 'waistToHips', 'hpsToWaistBack', 'waistToArmhole'],
|
measurements: ['neck', 'chest', 'hips', 'waistToHips', 'hpsToWaistBack', 'waistToArmhole'],
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
import { pluginBundle } from '@freesewing/plugin-bundle'
|
|
||||||
import { front } from './front.mjs'
|
import { front } from './front.mjs'
|
||||||
import { back } from './back.mjs'
|
import { back } from './back.mjs'
|
||||||
import { raglanSleeve } from './raglansleeve.mjs'
|
import { raglanSleeve } from './raglansleeve.mjs'
|
||||||
|
@ -92,7 +91,7 @@ function draftNeckband({
|
||||||
|
|
||||||
export const neckband = {
|
export const neckband = {
|
||||||
name: 'shelly.neckband',
|
name: 'shelly.neckband',
|
||||||
plugins: [pluginBundle],
|
plugins: [],
|
||||||
draft: draftNeckband,
|
draft: draftNeckband,
|
||||||
after: [front, back, raglanSleeve],
|
after: [front, back, raglanSleeve],
|
||||||
measurements: ['neck', 'chest', 'biceps', 'wrist'],
|
measurements: ['neck', 'chest', 'biceps', 'wrist'],
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
import { front } from './front.mjs'
|
import { front } from './front.mjs'
|
||||||
import { back } from './back.mjs'
|
import { back } from './back.mjs'
|
||||||
import { pluginBundle } from '@freesewing/plugin-bundle'
|
|
||||||
|
|
||||||
export function legFromHypotenuseLeg(hypotenuse, leg) {
|
export function legFromHypotenuseLeg(hypotenuse, leg) {
|
||||||
return Math.sqrt(hypotenuse * hypotenuse - leg * leg)
|
return Math.sqrt(hypotenuse * hypotenuse - leg * leg)
|
||||||
|
@ -289,7 +288,7 @@ function draftRaglanSleeve({
|
||||||
export const raglanSleeve = {
|
export const raglanSleeve = {
|
||||||
name: 'shelly.raglanSleeve',
|
name: 'shelly.raglanSleeve',
|
||||||
after: [front, back],
|
after: [front, back],
|
||||||
plugins: [pluginBundle],
|
plugins: [],
|
||||||
draft: draftRaglanSleeve,
|
draft: draftRaglanSleeve,
|
||||||
measurements: ['neck', 'chest', 'biceps', 'wrist', 'shoulderToWrist'],
|
measurements: ['neck', 'chest', 'biceps', 'wrist', 'shoulderToWrist'],
|
||||||
options: {
|
options: {
|
||||||
|
|
|
@ -1,101 +1,103 @@
|
||||||
/*
|
import { Aaron } from '@freesewing/aaron'
|
||||||
* This file is auto-generated.
|
import { Albert } from '@freesewing/albert'
|
||||||
* Any manual changes will be overwritten.
|
import { Bee } from '@freesewing/bee'
|
||||||
*/
|
import { Bella } from '@freesewing/bella'
|
||||||
import { Aaron as aaron } from '@freesewing/aaron'
|
import { Benjamin } from '@freesewing/benjamin'
|
||||||
import { Albert as albert } from '@freesewing/albert'
|
import { Bent } from '@freesewing/bent'
|
||||||
import { Bee as bee } from '@freesewing/bee'
|
import { Bob } from '@freesewing/bob'
|
||||||
import { Bella as bella } from '@freesewing/bella'
|
import { Breanna } from '@freesewing/breanna'
|
||||||
import { Benjamin as benjamin } from '@freesewing/benjamin'
|
import { Brian } from '@freesewing/brian'
|
||||||
import { Bent as bent } from '@freesewing/bent'
|
import { Bruce } from '@freesewing/bruce'
|
||||||
import { Bob as bob } from '@freesewing/bob'
|
import { Carlita } from '@freesewing/carlita'
|
||||||
import { Breanna as breanna } from '@freesewing/breanna'
|
import { Carlton } from '@freesewing/carlton'
|
||||||
import { Brian as brian } from '@freesewing/brian'
|
import { Cathrin } from '@freesewing/cathrin'
|
||||||
import { Bruce as bruce } from '@freesewing/bruce'
|
import { Charlie } from '@freesewing/charlie'
|
||||||
import { Carlita as carlita } from '@freesewing/carlita'
|
import { Cornelius } from '@freesewing/cornelius'
|
||||||
import { Carlton as carlton } from '@freesewing/carlton'
|
import { Diana } from '@freesewing/diana'
|
||||||
import { Cathrin as cathrin } from '@freesewing/cathrin'
|
import { Florence } from '@freesewing/florence'
|
||||||
import { Charlie as charlie } from '@freesewing/charlie'
|
import { Florent } from '@freesewing/florent'
|
||||||
import { Cornelius as cornelius } from '@freesewing/cornelius'
|
import { Hi } from '@freesewing/hi'
|
||||||
import { Diana as diana } from '@freesewing/diana'
|
import { Holmes } from '@freesewing/holmes'
|
||||||
import { Florence as florence } from '@freesewing/florence'
|
import { Hortensia } from '@freesewing/hortensia'
|
||||||
import { Florent as florent } from '@freesewing/florent'
|
import { Huey } from '@freesewing/huey'
|
||||||
import { Hi as hi } from '@freesewing/hi'
|
import { Hugo } from '@freesewing/hugo'
|
||||||
import { Holmes as holmes } from '@freesewing/holmes'
|
import { Jaeger } from '@freesewing/jaeger'
|
||||||
import { Hortensia as hortensia } from '@freesewing/hortensia'
|
import { Lucy } from '@freesewing/lucy'
|
||||||
import { Huey as huey } from '@freesewing/huey'
|
import { Lunetius } from '@freesewing/lunetius'
|
||||||
import { Hugo as hugo } from '@freesewing/hugo'
|
import { Magde } from '@freesewing/magde'
|
||||||
import { Jaeger as jaeger } from '@freesewing/jaeger'
|
//import { Naomiwu } from '@freesewing/naomiwu'
|
||||||
import { Lucy as lucy } from '@freesewing/lucy'
|
import { Noble } from '@freesewing/noble'
|
||||||
import { Lunetius as lunetius } from '@freesewing/lunetius'
|
import { Octoplushy } from '@freesewing/octoplushy'
|
||||||
import { Magde as magde } from '@freesewing/magde'
|
import { Paco } from '@freesewing/paco'
|
||||||
import { Noble as noble } from '@freesewing/noble'
|
import { Penelope } from '@freesewing/penelope'
|
||||||
import { Octoplushy as octoplushy } from '@freesewing/octoplushy'
|
import { Sandy } from '@freesewing/sandy'
|
||||||
import { Paco as paco } from '@freesewing/paco'
|
import { Shelly } from '@freesewing/shelly'
|
||||||
import { Penelope as penelope } from '@freesewing/penelope'
|
import { Shin } from '@freesewing/shin'
|
||||||
import { Sandy as sandy } from '@freesewing/sandy'
|
import { Simon } from '@freesewing/simon'
|
||||||
import { Shin as shin } from '@freesewing/shin'
|
import { Simone } from '@freesewing/simone'
|
||||||
import { Simon as simon } from '@freesewing/simon'
|
import { Sven } from '@freesewing/sven'
|
||||||
import { Simone as simone } from '@freesewing/simone'
|
import { Tamiko } from '@freesewing/tamiko'
|
||||||
import { Sven as sven } from '@freesewing/sven'
|
import { Teagan } from '@freesewing/teagan'
|
||||||
import { Tamiko as tamiko } from '@freesewing/tamiko'
|
import { Tiberius } from '@freesewing/tiberius'
|
||||||
import { Teagan as teagan } from '@freesewing/teagan'
|
import { Titan } from '@freesewing/titan'
|
||||||
import { Tiberius as tiberius } from '@freesewing/tiberius'
|
import { Trayvon } from '@freesewing/trayvon'
|
||||||
import { Titan as titan } from '@freesewing/titan'
|
//import { Unice } from '@freesewing/unice'
|
||||||
import { Trayvon as trayvon } from '@freesewing/trayvon'
|
//import { Ursula } from '@freesewing/ursula'
|
||||||
import { Uma as uma } from '@freesewing/uma'
|
import { Wahid } from '@freesewing/wahid'
|
||||||
import { Wahid as wahid } from '@freesewing/wahid'
|
import { Walburga } from '@freesewing/walburga'
|
||||||
import { Walburga as walburga } from '@freesewing/walburga'
|
import { Waralee } from '@freesewing/waralee'
|
||||||
import { Waralee as waralee } from '@freesewing/waralee'
|
import { Yuri } from '@freesewing/yuri'
|
||||||
import { Yuri as yuri } from '@freesewing/yuri'
|
|
||||||
|
|
||||||
const designs = {
|
const designs = {
|
||||||
aaron,
|
aaron: Aaron,
|
||||||
albert,
|
albert: Albert,
|
||||||
bee,
|
bee: Bee,
|
||||||
bella,
|
bella: Bella,
|
||||||
benjamin,
|
benjamin: Benjamin,
|
||||||
bent,
|
bent: Bent,
|
||||||
bob,
|
bob: Bob,
|
||||||
breanna,
|
breanna: Breanna,
|
||||||
brian,
|
brian: Brian,
|
||||||
bruce,
|
bruce: Bruce,
|
||||||
carlita,
|
carlita: Carlita,
|
||||||
carlton,
|
carlton: Carlton,
|
||||||
cathrin,
|
cathrin: Cathrin,
|
||||||
charlie,
|
charlie: Charlie,
|
||||||
cornelius,
|
cornelius: Cornelius,
|
||||||
diana,
|
diana: Diana,
|
||||||
florence,
|
florence: Florence,
|
||||||
florent,
|
florent: Florent,
|
||||||
hi,
|
hi: Hi,
|
||||||
holmes,
|
holmes: Holmes,
|
||||||
hortensia,
|
hortensia: Hortensia,
|
||||||
huey,
|
huey: Huey,
|
||||||
hugo,
|
hugo: Hugo,
|
||||||
jaeger,
|
jaeger: Jaeger,
|
||||||
lucy,
|
lucy: Lucy,
|
||||||
lunetius,
|
lunetius: Lunetius,
|
||||||
magde,
|
magde: Magde,
|
||||||
noble,
|
// naomiwu: Naomiwu,
|
||||||
octoplushy,
|
noble: Noble,
|
||||||
paco,
|
octoplushy: Octoplushy,
|
||||||
penelope,
|
paco: Paco,
|
||||||
sandy,
|
penelope: Penelope,
|
||||||
shin,
|
sandy: Sandy,
|
||||||
simon,
|
shin: Shin,
|
||||||
simone,
|
shelly: Shelly,
|
||||||
sven,
|
simon: Simon,
|
||||||
tamiko,
|
simone: Simone,
|
||||||
teagan,
|
sven: Sven,
|
||||||
tiberius,
|
tamiko: Tamiko,
|
||||||
titan,
|
teagan: Teagan,
|
||||||
trayvon,
|
tiberius: Tiberius,
|
||||||
uma,
|
titan: Titan,
|
||||||
wahid,
|
trayvon: Trayvon,
|
||||||
walburga,
|
// unice: Unice,
|
||||||
waralee,
|
// ursula: Ursula,
|
||||||
yuri,
|
wahid: Wahid,
|
||||||
|
walburga: Walburga,
|
||||||
|
waralee: Waralee,
|
||||||
|
yuri: Yuri,
|
||||||
}
|
}
|
||||||
|
|
||||||
export const useDesign = (design) => (designs[design] ? designs[design] : false)
|
export const useDesign = (design) => (designs[design] ? designs[design] : false)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue