Add Axes to Slabs Automatically

good morning could you help me with a script to add axes to slabs please