How to add my designed survey grid on the basis of my calculation

When I add survey grid it automatically calculate survey lines on the basis of calculation but I want to add my calculation in survey grid
how I can do this ?

You want to control overlap and sidelap?
You should find that on grid options.

@Michael_Oborne I want to do coding in mission planner , how I can add new type of survey grid designed by me , How I can do this
Which programming language I should use ?

I know it my brother I asking about coding part