inspired by pyautocad