This commit is contained in:
lovebird 2023-11-13 19:51:59 +01:00
parent 2306624c25
commit 3473f51241
6 changed files with 15 additions and 0 deletions

1
.gitignore vendored
View File

@ -9,6 +9,7 @@ lerna-debug.log*
~$*.SLDDRW
~$*.SLDPRT
~$*.SLDASM
osr-cad-report.json
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

View File

@ -0,0 +1,2 @@
osr-cad sw --src='./howtos/**/*.+(SLDASM)' --dst='${SRC_DIR}/${SRC_NAME}.+(x_t)' --verbose --debug --skip
osr-cad sw --src='./howtos/**/*.+(SLDASM|SLDPRT|step)' --dst='${SRC_DIR}/${SRC_NAME}.+(pdf|jpg|html|step)' --verbose --debug --skip

View File

@ -0,0 +1,2 @@
osr-cad sw --src='./$1/**/*.+(SLDASM|SLDPRT)' --dst='${SRC_DIR}/${SRC_NAME}.+(x_t)'
osr-cad sw --src='./$1/**/*.+(SLDASM|SLDPRT|step)' --dst='${SRC_DIR}/${SRC_NAME}.+(pdf|jpg|html|step)'

View File

@ -0,0 +1,2 @@
osr-cad sw --src='./moulds/**/*.+(SLDASM|SLDPRT)' --dst='${SRC_DIR}/${SRC_NAME}.+(x_t)' --verbose --debug --skip
osr-cad sw --src='./moulds/**/*.+(SLDASM|SLDPRT|step)' --dst='${SRC_DIR}/${SRC_NAME}.+(pdf|jpg|html|step)' --verbose --debug --skip

2
scripts/update-dir.sh Normal file
View File

@ -0,0 +1,2 @@
osr-cad sw --src="./$1/**/*.+(SLDASM)" --dst='${SRC_DIR}/${SRC_NAME}.+(x_t)' --verbose --debug
osr-cad sw --src="./$1/**/*.+(SLDASM)" --dst='${SRC_DIR}/${SRC_NAME}.+(pdf|jpg|html|step)' --verbose --debug

View File

@ -0,0 +1,6 @@
script_dir=$(dirname "$0")
$script_dir/update-dir.sh extrusion
$script_dir/update-dir.sh injection
$script_dir/update-dir.sh shredder
$script_dir/update-dir.sh sheetpress
$script_dir/update-dir.sh components