🚧 Pre-weekend commit
This commit is contained in:
parent
4f39c66381
commit
1cdba8de5f
2 changed files with 14 additions and 1 deletions
|
@ -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 {
|
||||
|
|
14
lib/part.ts
14
lib/part.ts
|
@ -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 {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue