**RE: [LDPartEditor] Problem with distance meter**

2016-10-24, 19:38 (This post was last modified: 2016-10-24, 19:51 by Philippe Hurbain.)

I think that deltax/y/z of diatance meter is somewhat buggy. The following code

shows a distance of 53.2529 (correct), dx=43.9985 (for me this is dy, dx should be 0), dy=-28.3195 (should be 43.9985) and dz=9.8999 (should be 30)

(edit): I now realize that it depends on manipulator orientation. But if I set the manipulator to the origin of the cylinder, then the two selected vertices of distance meter are aligned with manipulator Y axis so I should have dx=dz=0, dy=cylinder length=53.2529? But I read dx=-30, dy=-36.3524, dz=-24.7866 ?!?

Code:

`0 !LPE DISTANCE 24 4 39.9985 -46 4 -4 -76`

1 16 0 -4 -76 0 0 4 2.2532 43.9985 0 -3.3048 30 0 4-4cyli.dat

(edit): I now realize that it depends on manipulator orientation. But if I set the manipulator to the origin of the cylinder, then the two selected vertices of distance meter are aligned with manipulator Y axis so I should have dx=dz=0, dy=cylinder length=53.2529? But I read dx=-30, dy=-36.3524, dz=-24.7866 ?!?