2019-08-03 15:03:33 +02:00
|
|
|
import freesewing from '@freesewing/core'
|
|
|
|
import plugins from '@freesewing/plugin-bundle'
|
|
|
|
import config from '../config'
|
2019-02-10 14:58:26 +01:00
|
|
|
// Parts
|
2019-08-03 15:03:33 +02:00
|
|
|
import draftTop from './top'
|
2019-02-10 14:58:26 +01:00
|
|
|
|
2019-02-16 11:47:41 +01:00
|
|
|
// Create design
|
2022-06-14 13:09:16 +02:00
|
|
|
const Tamiko = new freesewing.Design(config, plugins)
|
2019-02-13 15:55:14 +01:00
|
|
|
|
2019-02-10 14:58:26 +01:00
|
|
|
// Part draft method
|
2022-06-14 13:09:16 +02:00
|
|
|
Tamiko.prototype.draftTop = (part) => draftTop(part)
|
2019-02-10 14:58:26 +01:00
|
|
|
|
2022-06-14 13:09:16 +02:00
|
|
|
// Named exports
|
|
|
|
export { config, Tamiko }
|
|
|
|
|
|
|
|
// Default export
|
|
|
|
export default Tamiko
|