(๑•̀ㅂ•́)و✧雨文:
打开CAD,依次点击菜单“工具→Autolisp→viSUallisp编辑器”,新建文件,输入以下代码:(defunc:drawsin(/leftpointleftpointxleftpointynxstep)(initget1);1化为8位二进制是00000001,位0置1表示禁止用户仅按enter键来响应输入请求(setqleftpoint(getpoint"\nleftpoint:")leftpointx(carleftpoint)leftpointy(CADrleftpoint)....