section命令
编程时用section命令进行剖切,为什么总显示“截面不与选定的实体相交”同样的坐标系为什么圆柱就可以而圆锥就不行了呢?(setq pc (getpoint "请输入中心点:"))
(setq r (getdist "请输入半径:"))
(setq h1 (getdist "请输入总高度:"))
(command "cylinder" pc r h1 "")
(setq e1 (entlast))
(command "ucs" "m" "z" 2)
(command "section" e1 "" "xy" "0,0,0" "")
这是对圆柱的剖切,将其改为圆锥cone后,就会出现“截面不与选定的实体相交”,将(command "ucs" "m" "z" 2)改为-2还是不行,哪位高手能帮帮呢?
页:
[1]