1
0
Fork 0

🚧 Pre-weekend commit

This commit is contained in:
joostdecock 2018-07-19 14:43:45 +00:00
parent 4f39c66381
commit 1cdba8de5f
2 changed files with 14 additions and 1 deletions

View file

@ -2,7 +2,6 @@ import { Pattern } from './pattern'
import { Point } from './point'
import { Path } from './path'
import { Snippet } from './snippet'
import themes from './themes'
import * as utils from './utils'
export class Freesewing {

View file

@ -19,6 +19,20 @@ export class Part {
return this;
}
//macro(type: string, options: {}): void {
// switch(type) {
// case 'cof':
// this.points.cofFrom = options.from.shiftTowards(options.to, 10);
// this.points.cofTo = options.to.shiftTowards(options.from, 10);
// this.points.cofVia1 = options.from.rotate(-90, this.points.cofFrom);
// this.points.cofVia2 = options.to.rotate(-90, this.points.cofTo);
// this.paths.cof = new Path().move(cofFrom).line(cofVia1).line(cofVia2).line(cofTo);
// break;
// }
//}
// purge = {
// points = function(prefix: string): void {}
// paths = function(prefix: string): void {}