Rough-in electrical inspections fail more often on receptacle spacing geometry than on almost any other residential code item. A single 30"-wide wall section between a patio door and a corner left without a duplex outlet violates NEC 210.52(A)(2) , and a 50" stretch of kitchen countertop without a GFCI receptacle violates NEC 210.52(C)(1) — forcing costly drywall cuts after insulation and framing are already closed up.
In PlanCaliber , our free NEC 210.52 Electrical Outlet Placement Calculator and automatic Sheet E-101 Electrical Plans ( E-POWR AutoCAD layer) compute exact minimum receptacle counts, 6-ft/12-ft wall spacing, 24-in/48-in kitchen countertop spans, and required 15A / 20A GFCI and AFCI branch circuits. Here is the clean deterministic TypeScript engine behind it.
1.…