sparkles: First version of Carlton
This commit is contained in:
parent
cba913066c
commit
f7cefc3c76
3 changed files with 18 additions and 12 deletions
|
@ -81,29 +81,26 @@ export default {
|
||||||
sleeveBend: { deg: 10, min: 0, max: 20 },
|
sleeveBend: { deg: 10, min: 0, max: 20 },
|
||||||
sleevecapHeight: {pct: 45, min: 40, max: 60 },
|
sleevecapHeight: {pct: 45, min: 40, max: 60 },
|
||||||
sleevecapEase: { pct: 1, min: 0, max: 10 },
|
sleevecapEase: { pct: 1, min: 0, max: 10 },
|
||||||
sleeveLengthBonus: { pct: 0, min:-40, max: 10 },
|
sleeveLengthBonus: { pct: 7, min: 0, max: 20 },
|
||||||
shoulderSlopeReduction: { pct: 2, min: 0, max: 5 },
|
shoulderSlopeReduction: { pct: 2, min: 1, max: 5 },
|
||||||
// FIXME: Are these used?
|
|
||||||
backNeckCutout: { pct: 5, min: 2, max: 8 },
|
backNeckCutout: { pct: 5, min: 2, max: 8 },
|
||||||
frontArmholeDeeper: { pct: 0.5, min: 0, max: 1.5 },
|
frontArmholeDeeper: { pct: 0.5, min: 0, max: 1.5 },
|
||||||
|
|
||||||
// Carlton options
|
// Carlton options
|
||||||
waistEase: { pct: 14, min: 8, max: 25 },
|
waistEase: { pct: 14, min: 8, max: 25 },
|
||||||
seatEase: { pct: 14, min: 8, max: 25 },
|
seatEase: { pct: 14, min: 8, max: 25 },
|
||||||
/** Length as a factor from waist to floor */
|
|
||||||
length: { pct: 69, min: 35, max: 100 },
|
length: { pct: 69, min: 35, max: 100 },
|
||||||
/** Horizontal button spacing as a percentage of the quarter waist */
|
|
||||||
buttonSpacingHorizontal: {pct: 43.5, min: 15, max: 60 },
|
buttonSpacingHorizontal: {pct: 43.5, min: 15, max: 60 },
|
||||||
frontOverlap: { pct: 1.5, min: 1, max: 2},
|
frontOverlap: { pct: 1.5, min: 1, max: 2},
|
||||||
lapelReduction: { pct: 5, min: 0, max: 10 },
|
lapelReduction: { pct: 5, min: 0, max: 10 },
|
||||||
pocketPlacementHorizontal: {pct: 11, min: 5, max: 60 },
|
pocketPlacementHorizontal: {pct: 11, min: 5, max: 60 },
|
||||||
pocketPlacementVertical: {pct: 6, min: 5, max: 60 },
|
pocketPlacementVertical: {pct: 6, min: 5, max: 60 },
|
||||||
pocketWidth: {pct: 95, min: 40, max: 60},
|
pocketWidth: {pct: 95, min: 70, max: 120},
|
||||||
pocketHeight: {pct: 15, min: 0, max: 80},
|
pocketHeight: {pct: 15, min: 0, max: 40},
|
||||||
pocketRadius: {pct: 20, min: 0, max: 50},
|
pocketRadius: {pct: 20, min: 0, max: 50},
|
||||||
pocketFlapRadius: {pct: 15, min: 0, max: 50},
|
pocketFlapRadius: {pct: 15, min: 0, max: 50},
|
||||||
chestPocketHeight: {pct: 60, min: 40, max: 80},
|
chestPocketHeight: {pct: 60, min: 40, max: 80},
|
||||||
chestPocketWidth: {pct: 25, min: 10, max: 50},
|
chestPocketWidth: {pct: 25, min: 15, max: 50},
|
||||||
chestPocketPlacement: {pct: 55, min: 30, max: 65},
|
chestPocketPlacement: {pct: 55, min: 30, max: 65},
|
||||||
chestPocketAngle: {deg: 4, min: 0, max: 6},
|
chestPocketAngle: {deg: 4, min: 0, max: 6},
|
||||||
|
|
||||||
|
@ -117,6 +114,5 @@ export default {
|
||||||
collarHeight: {pct: 9.6, min: 8, max: 11 },
|
collarHeight: {pct: 9.6, min: 8, max: 11 },
|
||||||
collarSpread: {deg: 4, min: 2, max: 6 },
|
collarSpread: {deg: 4, min: 2, max: 6 },
|
||||||
collarFlare: {pct: 20, min: 0, max: 40 },
|
collarFlare: {pct: 20, min: 0, max: 40 },
|
||||||
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -35,8 +35,8 @@
|
||||||
//"hemStyle": "rounded",
|
//"hemStyle": "rounded",
|
||||||
},
|
},
|
||||||
//"embed": true,
|
//"embed": true,
|
||||||
"sa": 0,
|
"sa": 10,
|
||||||
//"paperless": true,
|
"paperless": true,
|
||||||
"measurements": {
|
"measurements": {
|
||||||
"bicepsCircumference": 350,
|
"bicepsCircumference": 350,
|
||||||
"centerBackNeckToWaist": 560,
|
"centerBackNeckToWaist": 560,
|
||||||
|
@ -55,10 +55,11 @@
|
||||||
"naturalWaistToSeat": 280,
|
"naturalWaistToSeat": 280,
|
||||||
"seatCircumference": 1130
|
"seatCircumference": 1130
|
||||||
},
|
},
|
||||||
|
//only: ["topSleeve"]
|
||||||
};
|
};
|
||||||
var pattern = new freesewing.patterns.carlton(settings);
|
var pattern = new freesewing.patterns.carlton(settings);
|
||||||
pattern.use(freesewing.plugins.theme);
|
pattern.use(freesewing.plugins.theme);
|
||||||
pattern.use(freesewing.plugins.designer);
|
//pattern.use(freesewing.plugins.designer);
|
||||||
pattern.use(freesewing.plugins.validate);
|
pattern.use(freesewing.plugins.validate);
|
||||||
pattern.draft();
|
pattern.draft();
|
||||||
//pattern.sampleOption("collarFlare");
|
//pattern.sampleOption("collarFlare");
|
||||||
|
|
|
@ -289,6 +289,15 @@ export default function(part) {
|
||||||
.close()
|
.close()
|
||||||
.attr("class", "fabric help");
|
.attr("class", "fabric help");
|
||||||
|
|
||||||
|
paths.innerPocket = new Path()
|
||||||
|
.move(points.innerPocketTopLeft)
|
||||||
|
.line(points.innerPocketBottomLeft)
|
||||||
|
.line(points.innerPocketBottomRight)
|
||||||
|
.line(points.innerPocketTopRight)
|
||||||
|
.line(points.innerPocketTopLeft)
|
||||||
|
.close()
|
||||||
|
.attr("class", "fabric help");
|
||||||
|
|
||||||
if (complete) {
|
if (complete) {
|
||||||
snippets.button1Left = new Snippet("button", points.button1Left).attr("data-scale", 2);
|
snippets.button1Left = new Snippet("button", points.button1Left).attr("data-scale", 2);
|
||||||
snippets.button1Right = new Snippet("button", points.button1Right).attr("data-scale", 2);
|
snippets.button1Right = new Snippet("button", points.button1Right).attr("data-scale", 2);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue