I think you can use the linked files to generate stls. The trick is a 3rd-party application called itk-SNAP. Here are the steps that worked for me just now:
install and open itk-SNAP
Download the annotation file and load it as a main image into itk-SNAP by using File->Open Main Image. Now I see:
To save meshes out, go to Segmentation->Export as Surface Mesh. This opens up a dialog, with options to export one or all meshes. I chose “separate files”, and on the next page of the dialog changed the file format to stl.
As a sanity check, I then imported these stls into blender. Looks alright!
Yikes! ^^^ Hopefully things have gotten better. This thread proves my point about the software ecosystem. In today’s world we should have something better than STL files, and on the other hand we shouldn’t have to download multi-gB h5 files just to get an astrocyte. We need to look ahead to what’s coming, we have an essential set of needs out of these files that aren’t being met. I should be able to take “any” neuron or astrocyte from “any” Allen or MICrONS database, and turn it into a watertight computational mesh on my PC by.pushing a button. This is absolutely possible with today’s technology and if it doesn’t exist let me know and I’ll build it. Quickly! Meshparty is lacking in basic functionality, it won’t heal a dirty mesh and it won’t even read OBJ files correctly. Finite elements on astrocytes are already here, there is a need to maintain compartments for ER and these formats aren’t giving us what we need. We need named separable objects and arbitrary data attached to each element (VTK can do that, kinda-sorta). These are basic needs for the workflow, the job can’t be done without them. (At least not in a reasonable time frame, without jumping through hoops and pulling teeth). It should be doable in Python without having to invoke a C compiler or download binaries.
Apparently this has been a well recognized problem for a long time.
These authors experienced the same silly set of problems I’m experiencing today (ten years later).
Pretty pictures don’t tell us very much, some of the power and popularity of what Allen’s doing is being mitigated by inconvenient software. Neuroscience and cell biology have peculiar issues, they don’t get addressed in other fields.
What is the purpose of having PyVista draw a mesh for you? It is computation, is it not? What else is a mesh good for? Surface extraction is computation, if you can do that you can get normals and boundaries and anything else you might need.