summaryrefslogtreecommitdiff
path: root/meme/plane.gp
blob: 735a41be5f6c1c295c9f13e2aba8f4a5c0fe58c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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.
#
#