2019-02-10 14:58:26 +01:00
|
|
|
import freesewing from "freesewing";
|
|
|
|
import plugins from "@freesewing/plugin-bundle";
|
|
|
|
import config from "../config";
|
|
|
|
// Parts
|
|
|
|
import draftTop from "./top";
|
|
|
|
|
|
|
|
// Create pattern
|
|
|
|
const Tamiko = freesewing.create(config, plugins);
|
2019-02-13 15:34:05 +01:00
|
|
|
console.log(config, new Tamiko());
|
2019-02-10 14:58:26 +01:00
|
|
|
// Part draft method
|
|
|
|
Tamiko.prototype.draftTop = part => draftTop(part);
|
|
|
|
|
|
|
|
export default Tamiko;
|