Geometry Photoshoot - Batch Render Geometry to Images

Good Morning,

I’ve been asked to write a PDF with images of all the curves in a Rhino document - one curve per page.

I can handle the PDF part but how do I batch render curves to images?

I see that there are CreateMeshPreviewImages methods for meshes but not for curves.

I could zoom a view port to each curve in turn and use the ViewCapture Classes to capture an image. Is that the right approach?

But i think that would make the user dizzy - is there any way to render a curve offscreen? Can I use an offscreen View?
Finally can this be done with a headless document?

1 Like

Hi @david.birch.uk,

I’ve seen others use this technique, so it seems reasonable.

No. Headless document’s are not attached to any display (pipeline).

– Dale

1 Like