Is it possible to get Blender to display the actual source code for drawing the various primitives, such as “primitive_uv_sphere_add()”? I don’t want just the header information, that’s easy enough to display in the interactive Python window. What I need to do is find the actual algorithmic code that calculates and draws the vertices and faces of the mesh primitives, the full loops and data structures and mathematical steps, and I can’t I find it in any of the folders, nor can I find a way to print the contents in the interactive window. I am running the uninstalled version straight from the folder on the desktop.
You won’t find it there, it’s compiled into blender. Look in the source code in file source/blender/editors/mesh/editmesh_add.c on line 966.