21 lines
466 B
JavaScript
21 lines
466 B
JavaScript
![]() |
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,
|
||
|
goreNumber: options.goreGoreNumber,
|
||
|
extraLength: options.goreExtraLength,
|
||
|
render: true,
|
||
|
})
|
||
|
|
||
|
}
|
||
|
return part
|
||
|
}
|
||
|
|
||
|
export default draftDimension
|