Example code to place electrical outlets in a studio apartment following some procedural rules. Used Rhino3dm, compute_rhino3d and shapely libraries for the geometric computations. The code is entirely independent of Rhino3D or any software, even though a grasshopper file has been added which can be used to visualize the results if desired.