aboutsummaryrefslogtreecommitdiff
path: root/convert.sh
diff options
context:
space:
mode:
authorFredrik Thulin <fredrik@thulin.net>2017-09-26 10:48:14 +0200
committerFredrik Thulin <fredrik@thulin.net>2017-09-26 10:48:14 +0200
commitd2121f1d6f1fcf8eddb3609da6bbee856a6f8d65 (patch)
treedfbf46c385d2062e56d2891c6d1d40a37ea84b93 /convert.sh
parent28289fb07a4d6e1bdce9cecce53e0f71e32c902f (diff)
more documentation
Diffstat (limited to 'convert.sh')
-rwxr-xr-xconvert.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/convert.sh b/convert.sh
index 904912b..2d52612 100755
--- a/convert.sh
+++ b/convert.sh
@@ -27,8 +27,15 @@ cd ${altiumdir}
rename 's/rev02_/rev02_0/' rev02_?.*
../altium2kicad/unpack.pl
+# Create WRL files using FreeCAD, unless wrl-files.tar.gz already exists
+# (and I've checked that file into the repository so that you do not have
+# to install FreeCAD).
+# Something is not 100% working in the step2wrl.FCMacro file, so you have
+# to close all the FreeCAD windows that are opened after they finish executing
+# the macro.
test -f ../wrl-files.tar.gz || ../make-wrl-files.sh
tar zxf ../wrl-files.tar.gz
+
time ../altium2kicad/convertschema.pl
time ../altium2kicad/convertpcb.pl
@@ -40,6 +47,7 @@ cp ${altiumdir}/*.{sch,lib} "${kicaddir}"/
rm ${kicaddir}/rev02*-cache.lib
cp ${altiumdir}/CrypTech-PcbDoc.kicad_pcb "${kicaddir}/Cryptech Alpha.kicad_pcb"
cp -rp ${altiumdir}/wrlshp ${kicaddir}/wrlshp
+# Install prepared KiCAD project file and top-level schematic sheet.
cp "Cryptech Alpha.pro.template" "${kicaddir}/Cryptech Alpha.pro"
cp "Cryptech Alpha.sch.template" "${kicaddir}/Cryptech Alpha.sch"