A man who threatened a woman at her home whilst brandishing a 30cm-long machete is today beginning a jail sentence of more than three years.