Waino Blanda

Results 6 comments of Waino Blanda

Yes, I know this, but the rotation data read in the insert block is 0, probably it should be 180 degrees, is this the transformation matrix you are referring to?...

I get the correct directional result using the GetTreansformation method, and I notice that I'm ignoring the normal vector. Previously, I used the offset, rotate, and scale data to generate...

> > 插入旋转为零,因为这是存储在 DXF 中的值。您可以尝试使用 netDxf 加载和保存文件,您将获得相同的结果。插入变换矩阵可以通过GetTransformation方法得到,它会返回一个Matrix3,它是文档单位和块单位的关系,插入比例,旋转,法线的组合。此外,您必须将块内实体的坐标转换为插入位置。 > > 为什么你认为旋转应该是 180º? > > 嗨, 我已经得到了如下的转换矩阵。但是如何使用它来获得此插入的最终正确位置?非常感谢。 ![图片](https://user-images.githubusercontent.com/44011133/185309660-f6fdbdbc-924d-4ba2-919b-1ca8e6ab1045.png) ![图片](https://user-images.githubusercontent.com/44011133/185309685-e90ac5b0-b382-4880-9094-98111c4456a1.png) This is my code, hope it helps you. ![image](https://user-images.githubusercontent.com/24568654/185317881-51184bca-9c15-4d10-bcd7-d54080bf14cf.png)

> > > > 您可以通过一个矩阵的格式文件和格式来保存。您可以在存储DX中尝试使用转换格式。单位和块单位的关系,为什么插入,旋转,法线的组合。另外,你必须将块内实体的坐标转换为插入。 > > > > 你认为旋转的位置应该是180度? > > > > > > > > > 嗨,我已经得到了这样的转换矩阵。但是如何使用它来获得这个插件的最终正确位置?非常感谢。![图片](https://user-images.githubusercontent.com/44011133/185309660-f6fdbdbc-924d-4ba2-919b-1ca8e6ab1045.png) ![图片](https://user-images.githubusercontent.com/44011133/185309685-e90ac5b0-b382-4880-9094-98111c4456a1.png) > > > > > > 这是我的代码,希望对你有帮助。 > >...

> > > > > > 您可以通过一个矩阵的格式文件和格式来保存。您可以在存储DX中尝试使用转换格式。单位和块单位的关系,为什么插入,旋转,法线的组合。另外,你必须将块内实体的坐标转换为插入。 > > > > > > 你认为旋转的位置应该是180度? > > > > > > > > > > > > > > > 嗨,我已经得到了这样的转换矩阵。但是如何使用它来获得这个插件的最终正确位置?非常感谢。![图片](https://user-images.githubusercontent.com/44011133/185309660-f6fdbdbc-924d-4ba2-919b-1ca8e6ab1045.png)...

> Hi, > > I do not have the knowledge and experience to comment on most items here, and I am not sure I understand your problem properly, but it...