Clamp assemblies for mounting solar panels and accessories. Clamp assemblies can have geometric features, shaped apertures for fasteners, and measured protrusions for allowing clamp rotation, lateral adjustment, self-alignment, and angled surfaces for facilitating installation of a solar panel.