feat(core): Added new debug event type and debug system
This commit is contained in:
parent
b360359cf6
commit
03da84b824
52 changed files with 860 additions and 398 deletions
|
@ -16,15 +16,16 @@
|
|||
"@freesewing/plugin-i18n": "latest",
|
||||
"@freesewing/plugin-svgattr": "latest",
|
||||
"@freesewing/utils": "latest",
|
||||
"@material-ui/core": "^4.4.0",
|
||||
"@material-ui/icons": "^4.2.1",
|
||||
"@material-ui/lab": "^v4.0.0-alpha.25",
|
||||
"@material-ui/core": "^4.11.0",
|
||||
"@material-ui/icons": "^4.9.1",
|
||||
"@material-ui/lab": "^v4.0.0-alpha.56",
|
||||
"pattern": "link:..",
|
||||
"prismjs": "1.17.1",
|
||||
"react": "^16.9",
|
||||
"react-dom": "^16.9",
|
||||
"react-scripts": "^3.1.1",
|
||||
"prismjs": "1.20.0",
|
||||
"react": "^16.13",
|
||||
"react-dom": "^16.13",
|
||||
"react-scripts": "^3.4.1",
|
||||
"file-saver": "^2.0.2",
|
||||
"react-markdown": "4.3.1",
|
||||
"typeface-roboto-condensed": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
|
@ -43,6 +44,6 @@
|
|||
"not op_mini all"
|
||||
],
|
||||
"devDependencies": {
|
||||
"babel-plugin-prismjs": "1.1.1"
|
||||
"babel-plugin-prismjs": "2.0.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
export default part => {
|
||||
export default (part) => {
|
||||
let {
|
||||
measurements,
|
||||
Point,
|
||||
|
@ -299,10 +299,7 @@ export default part => {
|
|||
//
|
||||
// Now recreate the paths and let Simon take it from here
|
||||
//
|
||||
paths.dart = new Path()
|
||||
.move(points.dartBottom)
|
||||
.line(points.bustDartTip)
|
||||
.line(points.dartTop)
|
||||
paths.dart = new Path().move(points.dartBottom).line(points.bustDartTip).line(points.dartTop)
|
||||
paths.saBaseFromHips = new Path()
|
||||
.move(points.hips)
|
||||
.curve(points.hipsCp2, points.waistCp1, points.waist)
|
||||
|
@ -327,10 +324,7 @@ export default part => {
|
|||
points.bballEnd = points.hem.shiftFractionTowards(points.hips, options.hemCurve)
|
||||
points.bballCp1 = points.bballStart.shiftFractionTowards(points.hem, 0.5)
|
||||
points.bballCp2 = new Point(points.bballCp1.x, points.bballEnd.y)
|
||||
paths.saBase = new Path()
|
||||
.move(points.bballEnd)
|
||||
.line(points.hips)
|
||||
.join(paths.saBaseFromHips)
|
||||
paths.saBase = new Path().move(points.bballEnd).line(points.hips).join(paths.saBaseFromHips)
|
||||
paths.hemBase = new Path()
|
||||
.move(points.cfHem)
|
||||
.line(points.bballStart)
|
||||
|
@ -351,10 +345,7 @@ export default part => {
|
|||
.curve(points.slashCp2, points.slashCp1, points.slashStart)
|
||||
break
|
||||
default:
|
||||
paths.saBase = new Path()
|
||||
.move(points.hem)
|
||||
.line(points.hips)
|
||||
.join(paths.saBaseFromHips)
|
||||
paths.saBase = new Path().move(points.hem).line(points.hips).join(paths.saBaseFromHips)
|
||||
paths.hemBase = new Path().move(points.cfHem).line(points.hem)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue