Machine-Tool-Simulator / Simulator-Web-Client

Frontend interactive client for the simulator
https://machine-tool-simulator.github.io/Simulator-Web-Client/
0 stars 0 forks source link

Show the user an error message when they try to cut without the spindle rotating forward #68

Open nickedwards109 opened 5 years ago

nickedwards109 commented 5 years ago

As a user

When I press the Spindle REV button and I operate the simulator to make a cut I should see an error message that says something like: "You tried to cut metal with the spindle rotating backward! The spindle should only be rotated in the forward direction. Please rotate the spindle in the forward direction and try again." I should then be able to click an 'OK' button and try again.

When I don't press the Spindle FWD button, or I press Spindle FWD then OFF, and I try to make a cut I should see an error message that says something like: "You tried to cut metal without the spindle on! This can break the cutting tool and damage the part you are working on. Please rotate the spindle in the forward direction and try again." I should then be able to click an 'OK' button and try again.