I know there are some Python packages that aim to do this, but they far exceed the complexity of what I'm trying to do (which is basically draw what I would get out of h.PlotShape), and require the usage of GUI elements, which I'm trying to avoid.
Besides this line in the Python guide:
I have not been able to find any more information on how to get the geometry information for a model cell. When iterating over all the sections using h.allsec(), what method(s) actually return the values for the 3D points? If I can just get the geometry values I can figure it out from there, but I can't seem to figure out how to actually do that.Note Matplotlib and Mayavi can also be used to generate 3D pictures of neurons. To use this, use h.allsec() to iterate over all the sections, read their 3D points, and use those to define their geometries.