2019-04-29 10:20:29 +02:00
|
|
|
import freesewing from "@freesewing/core";
|
2019-02-10 14:58:26 +01:00
|
|
|
import plugins from "@freesewing/plugin-bundle";
|
|
|
|
import config from "../config";
|
|
|
|
// Parts
|
|
|
|
import draftTop from "./top";
|
|
|
|
|
2019-02-16 11:47:41 +01:00
|
|
|
// Create design
|
2019-05-02 14:33:34 +02:00
|
|
|
const Pattern = new freesewing.Design(config, plugins);
|
2019-02-13 15:55:14 +01:00
|
|
|
|
2019-02-10 14:58:26 +01:00
|
|
|
// Part draft method
|
2019-05-02 14:33:34 +02:00
|
|
|
Pattern.prototype.draftTop = part => draftTop(part);
|
2019-02-10 14:58:26 +01:00
|
|
|
|
2019-05-02 14:33:34 +02:00
|
|
|
export default Pattern;
|