Generate model on enter key press in CSG example.