Fixes crash in MeshResultRequest pulls on non-planar meshes, by making them use FEMesh objects instead of Panel.
Test files
A test file can be found on the issue page. I'd make Unit tests if I knew how they worked for adapter methods.
Additional comments
With this change the ObjectIds parameter in MeshResultRequests does nothing, results for all meshes are always returned. This seems to be, as far as I can tell, due to ReadMeshes() not using its List<string> ids input.
The new version is slightly slower, likely due to using the full ReadMeshes() method instead of ReadPanelsLight(). The difference is less than 5% though, so it's not a huge deal. Reading the actual results appears to be what takes the most time by far.
Issues addressed by this PR
Closes #452
Fixes crash in
MeshResultRequest
pulls on non-planar meshes, by making them useFEMesh
objects instead ofPanel
.Test files
A test file can be found on the issue page. I'd make Unit tests if I knew how they worked for adapter methods.
Additional comments
ObjectIds
parameter inMeshResultRequests
does nothing, results for all meshes are always returned. This seems to be, as far as I can tell, due toReadMeshes()
not using itsList<string> ids
input.ReadMeshes()
method instead ofReadPanelsLight()
. The difference is less than 5% though, so it's not a huge deal. Reading the actual results appears to be what takes the most time by far.