已知这四个参数
纵坐标平移参数X=59.279033
横坐标平移参数Y=59.191856
旋转角度T=0.0001852315256(度)
伸缩尺度K=0.999985766528
我可以写一个这样的程序来进行转换吗?因为转出来后几公分偏差,不知道写是不是正确的 - (defun c:xzb()
- (setq sicanshu (ssget) )
- (command"move" sicanshu "" "0,0" "59.279033,59.191856" "")
- (command"_scale" sicanshu "" "0,0" "0.999985766528" "")
- (command"_rotate" sicanshu "" "0,0" "0.0001852315256" "")
- )
|