forked from vhelio/vheliotech-freecad
Youen
2 years ago
3 changed files with 35 additions and 18 deletions
@ -1,4 +1,12 @@
|
||||
#!/bin/bash |
||||
|
||||
set -e |
||||
|
||||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) |
||||
cd $SCRIPT_DIR/.. |
||||
~/dev/FreeCAD-asm3-Daily-Conda-Py3.10-20221128-glibc2.12-x86_64.AppImage tools/export-all-parts.py |
||||
|
||||
# Check script syntax before starting freecad |
||||
python3 -m py_compile tools/export-all-parts.py |
||||
|
||||
# Start freecad to run the script. We must start freecad with GUI (otherwise we can't export colors). We start it hidden in a virtual framebuffer (xvfb) so that it can run cleanly in the background. |
||||
xvfb-run ~/dev/FreeCAD-asm3-Daily-Conda-Py3.10-20221128-glibc2.12-x86_64.AppImage tools/export-all-parts.py |
||||
|
Loading…
Reference in new issue