This question already has an answer here:

Searched a lot in python api of bgl and gpu modules.

Is there a way to get curves (lines) separated by types of shading from camera projection of 3d Viewport gpengl?

For example on image bleow exists edge, outline, intersection and dotted shaded lines: 3d viewport preview

I know how to get bitmap from OffScreen buffer, but I need curves. I can make it from the objects date, but 3D viewport already has this.


marked as duplicate by Duarte Farrajota Ramos May 7 at 14:08

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Browse other questions tagged or ask your own question.