working principle of shaper machine with figure