I need draw an ellipse in 3D (for time being, consider $z$ constant), Lets say I have center $O = (x_{0},y_{0},z_{0})$ of ellipse is at $(0,0,0)$ and radii $q_{1}, q_{2}, q_{3}, q_{4}$ of ellipse i have as shown in image. How do I obtain $N$ Coordinates $(x,y,z)$ to draw the ellipse circumference (highlighted by blue color line in the image)?
The Image shows the complete concept I'm working on( you may ignore the image). In case if the parameters shown in other part of the image are useful, we can use them. Where the 3D irregular cone apex is at $P_{c}$ and base origin is at $O$.

We can get $N$ Coordinates to draw 2D ellipse circumference whose center is at $(0,0)$ using:
$x_{k} = a \ \cos(2k\pi/N)$
$y_{k} = b \ \cos(2k\pi/N)$
where $k= 0,.....N-1$.

In my case the radii from center $O$ are $q_{1}, q_{2}, q_{3}, q_{4}$ and they are not equal unlike $a$ and $b$. Any help please?