rotate3d (AutoLISP/外部函数)
绕任意 3D 轴旋转对象 支持的平台:仅限适用于 Windows 和 Mac OS 的 AutoCAD;在 AutoCAD LT 中不可用 先决条件: 必须先加载 Geom3d ObjectARX 应用程序,然后才能调用该函数。(arxload "geom3d") 签名(rotate3d args ...)
返回值类型:T 或 nil 如果成功,则返回 ;否则返回 .rotate3dTnil 例子以下示例将所选对象绕点 p1 和 p2 指定的轴旋转 30 度。 (setq ss (ssget)) (setq p1 (getpoint "\nPoint1: ")) (setq p2 (getpoint "\nPoint2: ")) (rotate3d ss p1 p2 30) 对函数的 AutoLISP 支持是通过使用 SAGET 库实现的。rotate3d 相关参考 |
|Archiver|CAD开发者社区
( 苏ICP备2022047690号-1 苏公网安备32011402011833)
GMT+8, 2025-3-5 18:07
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.