lint fixes
This commit is contained in:
parent
7ef3335212
commit
cc0f9e78a5
3 changed files with 2 additions and 11 deletions
|
@ -1,11 +1,5 @@
|
|||
const prefix = 'mirroredOnFold'
|
||||
|
||||
const redraft = ({ part }) => part
|
||||
const redraftAndFlip = ({ part, macro }) => {
|
||||
macro('flip')
|
||||
return part
|
||||
}
|
||||
|
||||
const opTypes = ['to', 'cp1', 'cp2']
|
||||
const getRotationAngle = (grainAngle, partGrain) => {
|
||||
let toRotate = Math.abs(grainAngle - partGrain)
|
||||
|
@ -102,7 +96,7 @@ export const cutLayoutPlugin = function (material, grainAngle) {
|
|||
points: mirrorPoints,
|
||||
mirror: fold,
|
||||
prefix,
|
||||
nameFormat: (path) => {
|
||||
nameFormat: () => {
|
||||
unnamed++
|
||||
return `${prefix}_${unnamed}`
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue