{
 "name": "khatam_rub_el_hizb",
 "title": "Khatam outline (Rub el Hizb)",
 "origin": "The two-squares 8-point star with its central circle, the khatam / Rub el Hizb sign of Maghrebi manuscripts and zellij.",
 "construction": "Circle divided in 8; join every 2nd point (two squares, one turned 45 deg); keep the outline, notches where the squares' sides meet; a compass circle at the centre.",
 "units": "mm",
 "frame": "origin = LED centre; x right, y DOWN (KiCad board frame); the slider is toward -y",
 "envelope_mm": [
  11.0,
  11.0
 ],
 "max_chord_error_mm": 0.02,
 "winding": "outer contour positive shoelace area in (x, y) as given, holes negative",
 "layers": "each opening goes on F.Mask AND B.Mask, no copper, no drill",
 "params": {
  "size_mm": 6.0,
  "R_construction_mm": 2.7172,
  "line_mm": 0.4,
  "web_mm": 0.4,
  "detail_level": 0,
  "simplified": null
 },
 "metrics": {
  "glow_area_mm2": 9.2,
  "half_extent_mm": 3.0,
  "openings": 2,
  "holes": 2,
  "frac_within_r3.5": 1.0,
  "mean_E": 0.728,
  "dimmest_E": 0.543,
  "r_max_mm": 2.99,
  "min_web_between_openings_mm": 0.848,
  "black_narrower_than_0.3_mm2": 0.044,
  "glow_narrower_than_0.3_mm2": 0.044,
  "black_islands": 2,
  "smallest_island_inscribed_dia_mm": 1.175
 },
 "openings": [
  {
   "outer": [
    [
     -2.1213,
     -2.1213
    ],
    [
     -0.8787,
     -2.1213
    ],
    [
     0.0,
     -3.0
    ],
    [
     0.8787,
     -2.1213
    ],
    [
     2.1213,
     -2.1213
    ],
    [
     2.1213,
     -0.8787
    ],
    [
     3.0,
     -0.0
    ],
    [
     2.1213,
     0.8787
    ],
    [
     2.1213,
     2.1213
    ],
    [
     0.8787,
     2.1213
    ],
    [
     0.0,
     3.0
    ],
    [
     -0.8787,
     2.1213
    ],
    [
     -2.1213,
     2.1213
    ],
    [
     -2.1213,
     0.8787
    ],
    [
     -3.0,
     0.0
    ],
    [
     -2.1213,
     -0.8787
    ]
   ],
   "holes": [
    [
     [
      1.7213,
      -1.7213
     ],
     [
      0.713,
      -1.7213
     ],
     [
      -0.0,
      -2.4343
     ],
     [
      -0.713,
      -1.7213
     ],
     [
      -1.7213,
      -1.7213
     ],
     [
      -1.7213,
      -0.713
     ],
     [
      -2.4343,
      0.0
     ],
     [
      -1.7213,
      0.713
     ],
     [
      -1.7213,
      1.7213
     ],
     [
      -0.713,
      1.7213
     ],
     [
      0.0,
      2.4343
     ],
     [
      0.713,
      1.7213
     ],
     [
      1.7213,
      1.7213
     ],
     [
      1.7213,
      0.713
     ],
     [
      2.4343,
      -0.0
     ],
     [
      1.7213,
      -0.713
     ]
    ]
   ]
  },
  {
   "outer": [
    [
     -0.9379,
     -0.3885
    ],
    [
     -0.7178,
     -0.7178
    ],
    [
     -0.3885,
     -0.9379
    ],
    [
     0.0,
     -1.0151
    ],
    [
     0.3885,
     -0.9379
    ],
    [
     0.7178,
     -0.7178
    ],
    [
     0.9379,
     -0.3885
    ],
    [
     1.0151,
     -0.0
    ],
    [
     0.9379,
     0.3885
    ],
    [
     0.7178,
     0.7178
    ],
    [
     0.3885,
     0.9379
    ],
    [
     0.0,
     1.0151
    ],
    [
     -0.3885,
     0.9379
    ],
    [
     -0.7178,
     0.7178
    ],
    [
     -0.9379,
     0.3885
    ],
    [
     -1.0151,
     0.0
    ]
   ],
   "holes": [
    [
     [
      0.5683,
      -0.2354
     ],
     [
      0.435,
      -0.435
     ],
     [
      0.2354,
      -0.5683
     ],
     [
      0.0,
      -0.6151
     ],
     [
      -0.2354,
      -0.5683
     ],
     [
      -0.435,
      -0.435
     ],
     [
      -0.5683,
      -0.2354
     ],
     [
      -0.6151,
      0.0
     ],
     [
      -0.5683,
      0.2354
     ],
     [
      -0.435,
      0.435
     ],
     [
      -0.2354,
      0.5683
     ],
     [
      0.0,
      0.6151
     ],
     [
      0.2354,
      0.5683
     ],
     [
      0.435,
      0.435
     ],
     [
      0.5683,
      0.2354
     ],
     [
      0.6151,
      -0.0
     ]
    ]
   ]
  }
 ]
}