Basically, vtkSTLWriter only writes up to 3 points for each polygon, however, there is no limit to the number of points that can be input. This is how it is meant to function. The problem is that there is no alert to the user when not all of the input is being used. So, whenever the input exceeds 3 points, the user should be warned that the output does not reflect the input.
We then decided on a strategy for tackling the bug.
- Locate the vtkSTLWriter code.
- Incrementally count the number of points passed to the method in the points list.
- Implement a conditional statement to check the number of points (whether or not it exceeds 3).
- If True, display warning message via standard output to the user informing them that only the first 3 points were being used.
We also located the segment of code that handles vtkSTLWriter. The fix should not be too difficult, and hopefully we will be able to have our submitted code approved by the revision committee.
Overall, this was a very productive meeting.
No comments:
Post a Comment