fix(octoplushy): Monorepo integration and tests
This commit is contained in:
parent
68c49c64ae
commit
e7cb4f4f5a
3 changed files with 4 additions and 7 deletions
|
@ -2,7 +2,7 @@
|
||||||
"name": "@freesewing/octoplushy",
|
"name": "@freesewing/octoplushy",
|
||||||
"version": "2.21.3",
|
"version": "2.21.3",
|
||||||
"description": "A FreeSewing pattern for an octopus plushy toy",
|
"description": "A FreeSewing pattern for an octopus plushy toy",
|
||||||
"author": "woutervdub (https://github.com/woutervdub",
|
"author": "woutervdub (https://github.com/woutervdub)",
|
||||||
"homepage": "https://freesewing.org/",
|
"homepage": "https://freesewing.org/",
|
||||||
"repository": "github:freesewing/freesewing",
|
"repository": "github:freesewing/freesewing",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
export default function (partNumber, part) {
|
export default function (partNumber, part) {
|
||||||
console.log({ part: part })
|
|
||||||
const {
|
const {
|
||||||
options,
|
options,
|
||||||
Point,
|
Point,
|
||||||
|
@ -233,7 +232,6 @@ export default function (partNumber, part) {
|
||||||
points.legMiddle,
|
points.legMiddle,
|
||||||
points.legTopLeft.x
|
points.legTopLeft.x
|
||||||
)
|
)
|
||||||
console.log({ skirtLegLeft: points.skirtLegLeft })
|
|
||||||
points.skirtLegRight = points.skirtLegLeft.flipX(points.sectionTop)
|
points.skirtLegRight = points.skirtLegLeft.flipX(points.sectionTop)
|
||||||
paths.legLeftLine = new Path()
|
paths.legLeftLine = new Path()
|
||||||
.move(points.skirtLegLeft)
|
.move(points.skirtLegLeft)
|
||||||
|
|
|
@ -12,10 +12,9 @@ import { testPatternSampling } from '../../../tests/patterns/sampling.mjs'
|
||||||
|
|
||||||
const expect = chai.expect
|
const expect = chai.expect
|
||||||
|
|
||||||
|
|
||||||
// Test config
|
// Test config
|
||||||
testPatternConfig(
|
testPatternConfig(
|
||||||
"{{name}}",
|
"octoplushy",
|
||||||
new Pattern(),
|
new Pattern(),
|
||||||
expect,
|
expect,
|
||||||
models,
|
models,
|
||||||
|
@ -24,7 +23,7 @@ testPatternConfig(
|
||||||
|
|
||||||
// Test drafting
|
// Test drafting
|
||||||
testPatternDrafting(
|
testPatternDrafting(
|
||||||
"{{name}}",
|
"octoplushy",
|
||||||
Pattern,
|
Pattern,
|
||||||
expect,
|
expect,
|
||||||
models,
|
models,
|
||||||
|
@ -33,7 +32,7 @@ testPatternDrafting(
|
||||||
|
|
||||||
// Test sampling
|
// Test sampling
|
||||||
testPatternSampling(
|
testPatternSampling(
|
||||||
"{{name}}",
|
"octoplushy",
|
||||||
Pattern,
|
Pattern,
|
||||||
expect,
|
expect,
|
||||||
models,
|
models,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue