bug: Fixed missing options. before option name and remove scalebox from sleeve
This commit is contained in:
parent
66749a5fe9
commit
1a07a6e5d4
7 changed files with 19 additions and 11 deletions
|
@ -110,7 +110,7 @@ let settings1 = { ...settings };
|
||||||
pattern1.settings.options.yokeDart = 0;
|
pattern1.settings.options.yokeDart = 0;
|
||||||
pattern1.settings.options.lengthBonus = 0.2;
|
pattern1.settings.options.lengthBonus = 0.2;
|
||||||
pattern1.settings.options.hipsEase = 0.1;
|
pattern1.settings.options.hipsEase = 0.1;
|
||||||
pattern1.settings.options.hemStyle = "slashed";
|
pattern1.settings.options.hemStyle = "baseball";
|
||||||
pattern1.settings.options.buttonPlacketType = "cut-on";
|
pattern1.settings.options.buttonPlacketType = "cut-on";
|
||||||
pattern1.settings.options.buttonPlacketStyle = "classic";
|
pattern1.settings.options.buttonPlacketStyle = "classic";
|
||||||
pattern1.settings.options.buttonholePlacketType = "cut-on";
|
pattern1.settings.options.buttonholePlacketType = "cut-on";
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
"browserbuild": "rollup -c rollup.js -o dist/browser.js -f iife -m true -n freesewing_patterns_simon --footer 'freesewing.patterns.simon = freesewing_patterns_simon;'",
|
"browserbuild": "rollup -c rollup.js -o dist/browser.js -f iife -m true -n freesewing_patterns_simon --footer 'freesewing.patterns.simon = freesewing_patterns_simon;'",
|
||||||
"nodebuild": "rollup -c rollup.js -o dist/index.js -f cjs -m true",
|
"nodebuild": "rollup -c rollup.js -o dist/index.js -f cjs -m true",
|
||||||
"modulebuild": "rollup -c rollup.js -o dist/index.mjs -f es -m true",
|
"modulebuild": "rollup -c rollup.js -o dist/index.mjs -f es -m true",
|
||||||
|
"rebuild": "npm run nodebuild && npm run modulebuild",
|
||||||
"build": "npm run clean && npm run browserbuild && npm run nodebuild && npm run modulebuild"
|
"build": "npm run clean && npm run browserbuild && npm run nodebuild && npm run modulebuild"
|
||||||
},
|
},
|
||||||
"husky": {
|
"husky": {
|
||||||
|
|
|
@ -14,14 +14,14 @@ export default {
|
||||||
json(),
|
json(),
|
||||||
babel({
|
babel({
|
||||||
exclude: "node_modules/**"
|
exclude: "node_modules/**"
|
||||||
}),
|
|
||||||
terser({
|
|
||||||
output: {
|
|
||||||
preamble: `/**\n * ${name} | v${version}\n * ${description}\n * (c) ${new Date().getFullYear()} ${author}\n * @license ${license}\n */`
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
|
//terser({
|
||||||
|
// output: {
|
||||||
|
// preamble: `/**\n * ${name} | v${version}\n * ${description}\n * (c) ${new Date().getFullYear()} ${author}\n * @license ${license}\n */`
|
||||||
|
// }
|
||||||
|
//})
|
||||||
],
|
],
|
||||||
external: ["freesewing", "@freesewing/plugin-bundle"],
|
external: ["freesewing", "@freesewing/plugin-bundle", "@freesewing/brian"],
|
||||||
output: {
|
output: {
|
||||||
globals: {
|
globals: {
|
||||||
freesewing: "freesewing",
|
freesewing: "freesewing",
|
||||||
|
|
|
@ -76,7 +76,6 @@ export default part => {
|
||||||
.move(points.bballEnd)
|
.move(points.bballEnd)
|
||||||
.line(points.hips)
|
.line(points.hips)
|
||||||
.join(paths.saBaseFromHips);
|
.join(paths.saBaseFromHips);
|
||||||
|
|
||||||
paths.hemBase = new Path()
|
paths.hemBase = new Path()
|
||||||
.move(points.cfHem)
|
.move(points.cfHem)
|
||||||
.line(points.bballStart)
|
.line(points.bballStart)
|
||||||
|
@ -108,7 +107,7 @@ export default part => {
|
||||||
paths.saBase.render = false;
|
paths.saBase.render = false;
|
||||||
paths.saBaseFromHips.render = false;
|
paths.saBaseFromHips.render = false;
|
||||||
paths.saBaseFromArmhole.render = false;
|
paths.saBaseFromArmhole.render = false;
|
||||||
paths.hemBase.render = false;
|
aths.hemBase.render = false;
|
||||||
paths.seam = paths.hemBase
|
paths.seam = paths.hemBase
|
||||||
.join(paths.saBase)
|
.join(paths.saBase)
|
||||||
.join(paths.saBaseFromArmhole)
|
.join(paths.saBaseFromArmhole)
|
||||||
|
|
|
@ -17,7 +17,6 @@ export default part => {
|
||||||
macro,
|
macro,
|
||||||
options
|
options
|
||||||
} = part.shorthand();
|
} = part.shorthand();
|
||||||
|
|
||||||
let fold = options.buttonholePlacketFoldWidth;
|
let fold = options.buttonholePlacketFoldWidth;
|
||||||
let width = options.buttonholePlacketWidth;
|
let width = options.buttonholePlacketWidth;
|
||||||
points.placketCfNeck = points.cfNeck;
|
points.placketCfNeck = points.cfNeck;
|
||||||
|
|
|
@ -17,7 +17,7 @@ export default part => {
|
||||||
|
|
||||||
return options.buttonholePlacketStyle === "seamless"
|
return options.buttonholePlacketStyle === "seamless"
|
||||||
? frontLeftSeamless(part)
|
? frontLeftSeamless(part)
|
||||||
: seperateButtonholePlacket
|
: options.seperateButtonholePlacket
|
||||||
? frontLeftClassicSeperate(part)
|
? frontLeftClassicSeperate(part)
|
||||||
: frontLeftClassicCuton(part);
|
: frontLeftClassicCuton(part);
|
||||||
};
|
};
|
||||||
|
|
|
@ -2,6 +2,15 @@ import { calculateReduction } from "./shared";
|
||||||
|
|
||||||
export default part => {
|
export default part => {
|
||||||
part.paths = {}; // This removed paperless dimensions from brian block
|
part.paths = {}; // This removed paperless dimensions from brian block
|
||||||
|
for (let pid of [
|
||||||
|
"__scaleboxLead",
|
||||||
|
"__scaleboxMetric",
|
||||||
|
"__scaleboxImperial",
|
||||||
|
"__scaleboxText",
|
||||||
|
"__scaleboxTitle",
|
||||||
|
"__scaleboxLink"
|
||||||
|
])
|
||||||
|
delete part.points[pid];
|
||||||
let {
|
let {
|
||||||
store,
|
store,
|
||||||
measurements,
|
measurements,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue