3 deleted 6 characters in body
source | link

Python 2, 135129 bytes

lambda f,n,j=''.join:map(j,zip(*[i/n*' '+'-\\'[i%n>n-2]+j(s[1:-1])+'-\\'[i%n>n-2]+' '*(len2]+len(f[0])/n-i/n)forn*' 'for i,s in enumerate(zip(*f))]))

Try it online!

Uses 1-indexing, I/O is list of linesTry it online!

Python 2, 135 bytes

lambda f,n,j=''.join:map(j,zip(*[i/n*' '+'-\\'[i%n>n-2]+j(s[1:-1])+'-\\'[i%n>n-2]+' '*(len(f[0])/n-i/n)for i,s in enumerate(zip(*f))]))

Try it online!

Uses 1-indexing, I/O is list of lines

Python 2, 129 bytes

lambda f,n,j=''.join:map(j,zip(*[i/n*' '+'-\\'[i%n>n-2]+j(s[1:-1])+'-\\'[i%n>n-2]+len(f[0])/n*' 'for i,s in enumerate(zip(*f))]))

Try it online!

2 deleted 31 characters in body
source | link

Python 2, 163135 bytes

lambda f,n:'\n',j=''.join(:map(''.joinj,zip(*[' '*(i*[i/n)+[s[0],'\\'][i%n>nn*' '+'-2]+''.join\\'[i%n>n-2]+j(s[1:-1])+[s[+'-1],'\\'][i%n>n\\'[i%n>n-2]+' '*(len(f[0])/n-i/n)for i,s in enumerate(zip(*f))])))

Try it online!Try it online!

Uses 1-indexing, I/O is list of lines

Python 2, 163 bytes

lambda f,n:'\n'.join(map(''.join,zip(*[' '*(i/n)+[s[0],'\\'][i%n>n-2]+''.join(s[1:-1])+[s[-1],'\\'][i%n>n-2]+' '*(len(f[0])/n-i/n)for i,s in enumerate(zip(*f))])))

Try it online!

Uses 1-indexing

Python 2, 135 bytes

lambda f,n,j=''.join:map(j,zip(*[i/n*' '+'-\\'[i%n>n-2]+j(s[1:-1])+'-\\'[i%n>n-2]+' '*(len(f[0])/n-i/n)for i,s in enumerate(zip(*f))]))

Try it online!

Uses 1-indexing, I/O is list of lines

1
source | link

Python 2, 163 bytes

lambda f,n:'\n'.join(map(''.join,zip(*[' '*(i/n)+[s[0],'\\'][i%n>n-2]+''.join(s[1:-1])+[s[-1],'\\'][i%n>n-2]+' '*(len(f[0])/n-i/n)for i,s in enumerate(zip(*f))])))

Try it online!

Uses 1-indexing