I need to export a circle drawn in 3D with a specific point of view to a PDF file. This is easy to do. However, the exported circle is made of tons of non-connected small bits. I need the whole circle to be a single piece in vectorial form. How can we do this ? Take note that I also need the three axes to be exported too (they are not cutted into small parts, which is what I want).
Here's the code itself :
ParametricPlot3D[
{Cos[p], Sin[p], 0}, {p, 0, 2 Pi},
PlotStyle -> {Directive[AbsoluteThickness[1], GrayLevel[0.5]]},
PlotPoints -> 100,
PlotRange -> {{-1.5, 1.5}, {-1.5, 1.5}, {-0.5, 0.5}},
Boxed -> False,
Axes -> True,
Ticks -> None,
AxesStyle -> Directive[GrayLevel[0.5], Dashed],
AxesOrigin -> {0, 0, 0},
ImageSize -> {750, 750},
ViewAngle -> 25 Pi/180,
ViewPoint -> {1, 1, 1},
SphericalRegion -> True,
Method -> {"RotationControl" -> "Globe"}
]
Exporting to a PNG or JPG file is not an option here. I need the vectorial form of the curve, as a single piece (I'll also have to do the same with another curve, much more complicated than a simple circle).

Circle[]primitive is fundamentally different). – LLlAMnYP Mar 18 '16 at 16:20Export["graphics.pdf", graphics]. – Cham Mar 18 '16 at 16:28InputFormofGraphics3Dthe only hope may be a superposition of the primitives and an empty plot with axes. – LLlAMnYP Mar 18 '16 at 16:32ViewMatrixand friends, I've been looking at that not too long ago. I'll have another look, see if I can find it quickly. – LLlAMnYP Mar 18 '16 at 16:35ViewMatrixarticle is somewhat useful. Google search for projecting 3d to 2d gives useful results, such as Wiki and this SO question. The theory behind this is not too complicated, but implementing it may be tedious. In general you're probably going to end up with a 4x4 matrixmand will be doing something like(m.{x,y,z,1})[[;;2]]to get anx-yprojection of pointxyzthen/.Graphics3D->Graphics. – LLlAMnYP Mar 18 '16 at 16:49BSplineCurve[]instead. – J. M.'s missing motivation Mar 18 '16 at 18:25Graphics3DusesGraphicsComplexwhen rendering anything more complicated than primitives, I think it should be very easy, once you figured out the transformation and projection matrices. – LLlAMnYP Mar 19 '16 at 17:06wrapperfunction can convert lines fromGraphics3DtoGraphicswhich, when exported to PDF do not undergo depth-sorting and remain as single, grouped objects, as the OP desires. Hence, I mark this question as a duplicate. – LLlAMnYP May 09 '18 at 15:17