When I export manually I get the full STL but when I try using the Python API I get 1k (ie empty) files.
The code is quite complex (which I'm not a liberty to share at the moment) but its final piece is called
I execute the following lines of code to export the STL,
bpy.context.scene.objects.active = Boundary bpy.ops.export_mesh.stl(filepath="C:/Users/User/Documents/Pyticle/Volume Blender/Bob.stl")
I saw some previous questions asking this but they all suggested that the geometry was not selected which is not the case here. That is unless I'm not selecting it properly?
(An aside, a decent NURBS interpreter, that is all)