support for internal AD module layers

This commit is contained in:
andreika-git 2022-10-20 20:56:31 +03:00
parent 7ef8c3fdd5
commit 8e1b36a771
1 changed files with 8 additions and 0 deletions

View File

@ -25,6 +25,14 @@ cp ${src_path}/${name}.GB* ${dst_path}
cp ${src_path}/${name}.GKO ${dst_path}
# copy "mechanical 15" module outline layer
cp ${src_path}/${name}.GM15 ${dst_path}
# copy internal layer G1
if [ -f "${src_path}/${name}.G1" ]; then
cp ${src_path}/${name}.G1 ${dst_path}
fi
# copy internal layer G2
if [ -f "${src_path}/${name}.G2" ]; then
cp ${src_path}/${name}.G2 ${dst_path}
fi
# copy NC drill
if [ -f "${src_path}/${name}-RoundHoles.TXT" ]; then
cp ${src_path}/${name}-RoundHoles.TXT ${dst_path}/${name}.DRL 2> /dev/null