I'm trying to 3D plot the following cartesian equation in Blender 3.1:
$$ \left(x - x\left(\frac{z}a\right)\right)^2 + \left(y - y\left(\frac{z}a\right)\right)^2 = r^2$$
But in it's current Implicit form I cannot use it as input. I need the input to be of the Parametric form as shown in the following example:
I know that the term $ 1−z/a $ is not bounded and thus $z$ has infinite equations possibilities but one (1) possible solution will do. How do I convert that cartesian equation into parametric equations of the following forms?
$$ x = x(u, v)$$ $$ y = y(u, v)$$ $$ z = z(u, v)$$
What is the proper solution to derive at these parameterized equations using the original cartesian equation?



Equation (1):
$$ \left[x - x\left(\frac{z}{a}\right) \right]^{2} + \left[y - y\left(\frac{z}{a}\right) \right]^{2} = r^{2} $$
Equation (2):
$$ (x^2 + y^2)\, p(z) = r^2$$
where the function $p(z) = \left(1 - \frac{2z}{a} + \frac{z^2}{a^2} \right)$.
Note:
Equation (3):
We can now introduce the general solutions for $x$ and $y$, i.e., for circular-base solutions in the $xy$ plane, of the form:
$$ x = r \cos{u}\, \cdot q(v) $$ $$ y = r \sin{u}\, \cdot q(v) $$
where the function $q(v)$ can be any expression in terms of the parameter $v$.
Equation (4):
Using these forms of $x$ and $y$ given by Eq. (3), if we perform the operation $(x^2 + y^2)$, we get the following:
$$ (x^2 + y^2) = r^2 (\cos^{2}{u} + \sin^{2}{u})\, [q(v)]^{2} $$
Rearranging, and noting the trigonometric identity $\cos^{2}{u} + \sin^{2}{u} = 1$, we obtained:
$$ (x^2 + y^2)\, \frac{1}{q^{2}(v)} = r^2 $$
Equation (5):
In view of Eqs. (2) and (4), it can easily be observed that:
$$ p(z) = \frac{1}{q^{2}(v)} $$
Note:
Equation (6):
For the specific form of $p(z)$ indicated by the problem, we then have Eq. (5) in the following form:
$$ \left(1 - \frac{2z}{a} + \frac{z^2}{a^2} \right) = \frac{1}{q^{2}(v)}$$
Rearranging, we have:
$$ z^{2} - 2az + a^{2}\left(1 - \frac{1}{q^{2}(v)}\right) = 0$$
This is now a quadratic equation in terms of $z=z(v)$, which has the solution:
$$ z = a \pm \frac{a}{q(v)} $$
Collecting Results:
The following forms of $x$, $y$, and $z$ expressed explicitly in terms of parameters $u$ and $v$ are as follows:
$$ x = r \cos{u}\, \cdot q(v) $$ $$ y = r \sin{u}\, \cdot q(v) $$ $$ z = a \pm \frac{a}{q(v)} $$
Illustrative Examples:
$$ q(v) = \frac{(1 + 2v^2)(v^3 - v)^2}{(4v)^{3/2}\sqrt{v + 5v^2}} + \frac{\sqrt{1+2v}}{v + \sqrt{1 + v^2}}$$