- Replace scipy.spatial.Delaunay with Shewchuk's Triangle (PSLG-based) - Boundary conforming: PSLG constrains edges along inset contour + hole keepout rings - Quality: min angle 25°, no slivers - Per-triangle density-based area refinement (s_min=20, s_max=80) - Clean boundary plotting (no more crooked v1 line resampling) - Triangulation plot shows inset contour (red dashed) + keepout rings (orange dashed) - Add sandbox2_brain_input.json geometry file
100 lines
973 B
JSON
100 lines
973 B
JSON
{
|
|
"plate_id": "sandbox_2",
|
|
"units": "mm",
|
|
"thickness": 12.7,
|
|
"outer_boundary": [
|
|
[
|
|
0.0,
|
|
0.0
|
|
],
|
|
[
|
|
7.5,
|
|
-7.5
|
|
],
|
|
[
|
|
7.5,
|
|
-22.6
|
|
],
|
|
[
|
|
22.5,
|
|
-22.6
|
|
],
|
|
[
|
|
22.5,
|
|
-13.496098
|
|
],
|
|
[
|
|
74.5,
|
|
-13.496098
|
|
],
|
|
[
|
|
74.5,
|
|
-22.6
|
|
],
|
|
[
|
|
102.5,
|
|
-22.6
|
|
],
|
|
[
|
|
102.5,
|
|
-7.5
|
|
],
|
|
[
|
|
117.5,
|
|
-7.5
|
|
],
|
|
[
|
|
117.5,
|
|
-22.6
|
|
],
|
|
[
|
|
140.748693,
|
|
-22.6
|
|
],
|
|
[
|
|
140.748693,
|
|
124.4
|
|
],
|
|
[
|
|
117.5,
|
|
124.4
|
|
],
|
|
[
|
|
117.5,
|
|
102.5
|
|
],
|
|
[
|
|
102.5,
|
|
102.5
|
|
],
|
|
[
|
|
102.5,
|
|
124.4
|
|
],
|
|
[
|
|
7.5,
|
|
124.4
|
|
],
|
|
[
|
|
7.5,
|
|
102.5
|
|
],
|
|
[
|
|
0.0,
|
|
95.0
|
|
],
|
|
[
|
|
-13.5,
|
|
95.0
|
|
],
|
|
[
|
|
-13.5,
|
|
0.0
|
|
],
|
|
[
|
|
0.0,
|
|
0.0
|
|
]
|
|
],
|
|
"holes": []
|
|
} |