summaryrefslogtreecommitdiff
path: root/meme/plane.gp
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2015-03-15 08:46:01 (GMT)
committerWerner Almesberger <werner@almesberger.net>2015-03-15 09:09:49 (GMT)
commit34b96cf74c0e550dea6024c47c2779ddb31819ca (patch)
tree0665d56a3095755191f3cdab2a029250e6d84da2 /meme/plane.gp
parent1e6ad8a5e648785e6ef0ce62055811aa46520bf5 (diff)
downloadmisc-34b96cf74c0e550dea6024c47c2779ddb31819ca.zip
misc-34b96cf74c0e550dea6024c47c2779ddb31819ca.tar.gz
misc-34b96cf74c0e550dea6024c47c2779ddb31819ca.tar.bz2
meme/plane.gp: example slicing plane for n900-pcb-unstacked-bottom-50um.stl
Diffstat (limited to 'meme/plane.gp')
-rw-r--r--meme/plane.gp61
1 files changed, 61 insertions, 0 deletions
diff --git a/meme/plane.gp b/meme/plane.gp
new file mode 100644
index 0000000..735a41b
--- /dev/null
+++ b/meme/plane.gp
@@ -0,0 +1,61 @@
+#
+# Example: slicing plane for n900-pcb-unstacked-bottom-50um.stl
+#
+# Setup:
+#
+# STL=../../scans/stl/n900-pcb-unstacked-bottom-50um.stl
+# PLANE=plane.gp
+#
+# Generate the outlines:
+#
+# ./meme -s $PLANE $STL >out.gp
+# ./meme -s $PLANE -n $STL >out2.gp
+#
+# To visualize:
+#
+# ./meme -o out.gp -o out2.gp $STL
+#
+
+# upper left
+13.050 -55.800 1.525
+12.800 -53.350 1.575
+
+# upper right
+98.850 -56.600 1.500
+99.850 -51.400 1.550
+
+# lower right
+107.950 -13.300 1.725
+105.550 -7.200 1.775
+100.250 -9.500 1.750
+
+# lower left
+3.800 -12.500 2.125
+11.750 -9.050 2.100
+9.950 -2.850 2.175
+
+# middle
+45.200 -21.400 1.750
+52.100 -18.200 1.775
+
+# middle right
+106.500 -41.000 1.650
+104.400 -40.700 1.650
+
+# global offset
+-0.30
+
+#
+# Global offset:
+#
+# -0.2 produces large errors (edge is found well within the PCB area) in the
+# lower right corner
+# -0.25 produces a few small errrors (a few small areas near the edge are
+# found to be below the surface) in the lower right corner
+# -0.3 resulted in visual inspection revealing only one artefact
+#
+# Note that going from -0.25 to -0.3 moves the interpolated edge by about
+# 20-30 um to the outside. If using the needle model, only insignificant
+# changes occur.
+#
+#