The one-dimensional, ordinary differential equation (ODE) by Huré & Hersant (2007) that satisfies the midplane gravitational potential of truncated, flat power-law disks is extended to the whole physical space. It is shown that thickness effects (i.e. non-flatness) can be easily accounted for by implementing an appropriate "softening length" $\lambda$. The solution of this "softened ODE" has the following properties: i) it is regular at the edges (finite radial accelerations), ii) it possesses the correct long-range properties, iii) it matches the Newtonian potential of a geometrically thin disk very well, and iv) it tends continuously to the flat disk solution in the limit $\lambda \rightarrow 0$. As illustrated by many examples, the ODE, ...