2015-01-23 07:13 PM
2015-01-24 01:24 AM
David wrote:Hi.
Is there a way to extract the global coordinates of the local coordinate system in GDL.
Sometimes (after numerous ROT and ADD's) it would be nice to know to coordinates og the local coordinate system.
2015-01-24 08:15 AM
2015-01-24 10:20 AM
2015-01-24 10:22 AM
2015-01-24 10:53 AM
2015-01-24 09:52 PM
2015-01-26 03:58 PM
David wrote:Well... not exactly. It depends on how you are making the script work. Assuming that you control either the end point or the end of the pipe, you must be able to know or calculate each of the end positions. There is no "give me current axis position" command, but since you are moving the coordinate system to build your object, in essence, you always now the current position. Why don't you give the accumulated transformation values to a variable? It's a little difficult to provide more help without more information; and this is only if I'm understanding what you mean by being able to extract the global coordinates of the local coordinate system....
Well, to be more precise.
I'm working on a automated drain pipe model in 3D.
I have a start point i 3D and an end point in 3D.
The drain pipe goes from the start point to the end point following certain rules.
I would like to check the difference between the end of the pipe and the end point (if any🙂 , and being able to extract the global coordinates of the local coordinate system would make that a lot easier🙂 ....
...I think the conclusion is that you can't get the global coordinates of the local coordinate sytem.