2022-01-18 09:13:18 +01:00
|
|
|
const draftDimension = part => {
|
|
|
|
|
|
|
|
const { points, Point, paths, Path, snippets, Snippet, options, macro } = part.shorthand()
|
|
|
|
|
|
|
|
if (['gore', 'all'].indexOf(options.plugin) !== -1) {
|
|
|
|
|
|
|
|
points.start = new Point(10,10)
|
|
|
|
macro('gore', {
|
|
|
|
from: points.start,
|
|
|
|
radius: options.goreRadius,
|
2022-01-18 18:56:45 +01:00
|
|
|
gores: options.goreGoreNumber,
|
2022-01-18 09:13:18 +01:00
|
|
|
extraLength: options.goreExtraLength,
|
|
|
|
render: true,
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
return part
|
|
|
|
}
|
|
|
|
|
|
|
|
export default draftDimension
|