From 8e1b36a771a9aa729624ec3c0fa814337be354e8 Mon Sep 17 00:00:00 2001 From: andreika-git Date: Thu, 20 Oct 2022 20:56:31 +0300 Subject: [PATCH] support for internal AD module layers --- bin/copy_from_AD.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bin/copy_from_AD.sh b/bin/copy_from_AD.sh index 59f1a66..99f41b6 100755 --- a/bin/copy_from_AD.sh +++ b/bin/copy_from_AD.sh @@ -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