Your ball looks well parametrized to me, what kind of editing are you missing from it? Unless you want to change the shape of the locking mechanism altogether, which I think would be a chore in any format.
The issue with this scad file is that I built the geometry up with no functions. I tried and failed to get them working so I just pushed through, so now it is mind melting to try to refactor it. I'm hoping to one day melt a mechanical mind to get it done. Until then, it's a fun challenge prompt for these models.
concur otherwise that openscad is parameter friendly. the lightbulb moment for me was when i finally grasped its functional grammar and leaned into it, esp recursion instead of algebraic solutions. that should probably be the subject of a tutorial or several.