[Aj...] Posted Saturday at 01:10 PM Share Posted Saturday at 01:10 PM (edited) Hello community members, I have a part which has a repeating feature every 13,333° approximately, in total 27 features about 360°. I have to first construct a curve on this feature, which is the toleranced element. The curve is nothing but a tilted line w.r.t. to the Z-Axis. I want to then project this curve onto the YZ Plane and perform further calculations such as finding the angle of the regression line passing through it and so on. For the first element, since it is aligned with my X-Axis, when I project it onto the YZ Plane and get the coordinates, I correctly get the np array [X, Y, Z] with the X-coordinates being zero. For the remaining features I thought I can create individual coordinate systems and rotate them with the respective angle such that they are orthogonal to the respective features. After that I can project the lines onto their respective orthogonal coordinate systems. With this method I will avoid any projection errors. The problem is the following: When I access the element's coordinates array in the script editor, I always get the value in the global coordinate system. Is there a possibility to access the element's coordinates array in the individual coordinate systems? When this is possible, I should consistently get "0" for the X-value for all the np arrays of the lines evaluated in their respective coordinate systems. Thanks in advance, Ajay Edited Saturday at 01:10 PM Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in