calculate_creepage_isolation_slot
Checks IPC-2221B/IEC 62368-1 creepage compliance and plans a milled isolation slot for HV-LV conductors when surface distance is insufficient.
Instructions
Evaluate high-voltage electrical creepage compliance per IPC-2221B Table 6-1 and IEC 62368-1, and plan an air isolation milled slot (slot width, length, endpoints, and expanded effective creepage path) between high-voltage and low-voltage conductors when surface distance is insufficient.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| voltage_v | Yes | Operating voltage difference between conductors (e.g. 220.0). | |
| cond1_coords | Yes | Coordinates [x, y] of first conductor. | |
| cond2_coords | Yes | Coordinates [x, y] of second conductor. | |
| slot_width_mm | No | Width of milled isolation slot in mm (default: 1.2). | |
| slot_extension_mm | No | Slot extension past conductor edges in mm (default: 2.0). | |
| conductor_radius_mm | No | Conductor/pad radius in mm (default: 1.0). | |
| is_reinforced_insulation | No | Whether reinforced insulation (2x clearance) is required per IEC 62368-1 (default: false). |