Exporting 3D rendering as SVG/PDF with occlusion

I have been using the HE_Mesh library quite a bit to make models, and modify scanned models to make them have contour lines. It’s pretty neat.

I recently bought an AxiDraw to plot some of these out, but I am running into trouble when exporting a viewpoint as an SVG drawing to use in inkscape (which drives the axidraw)

Is there a library which will generate an SVG line drawing of a 3d view of a model with occlusion (so hidden lines disappear) I tried exporting as PDF but you get ALL the lines, and not just the visible ones.

My attempts until now have included bringing the model into Blender and then using freestyle to output but it is a problematic workflow that feels like a house of cards,ready to fail at any moment.

so… export as svg/pdf with occlusion from a 3d scene…?

I don’t have personal experience in this, but it looks like HE_Mesh GUI had an occlusion shader – there might be some logic in that that could be useful?

https://discourse.processing.org/search?q=occlu*

Might also consider asking other Axidraw users…?

https://discourse.processing.org/search?q=axidraw