- 积分
- 557
- 明经币
- 个
- 注册时间
- 2012-4-16
- 在线时间
- 小时
- 威望
-
- 金钱
- 个
- 贡献
-
- 激情
-
|
楼主 |
发表于 2024-9-28 14:34:18
|
显示全部楼层
Dim oldPoint As Point3d = Curve.Ecs.CoordinateSystem3d.Origin
Dim oldx As Vector3d = Curve.Ecs.CoordinateSystem3d.Xaxis
Dim oldy As Vector3d = Curve.Ecs.CoordinateSystem3d.Yaxis
Dim oldz As Vector3d = Curve.Ecs.CoordinateSystem3d.Zaxis
Dim mm As Matrix3d = Matrix3d.AlignCoordinateSystem(oldPoint, oldx, oldy, oldz, Point3d.Origin, Vector3d.XAxis, Vector3d.YAxis, Vector3d.ZAxis)
Curve.TransformBy(mm)
这样转换后ECS和Normal都正常了,但图形的位置变动了,不知道后面怎么转换
|
|