I have added a sphere to a vertex I have chosen in the scene and I am trying to locate a AIS_Trihedron at the origin of this sphere. The direction information is correct, but its position is far from where I set it and it is drawn. I've added the image about this issue and I am sharing my method below:
I haven't figured out where I went wrong yet. If you have any suggestions for a solution about this issue, I'm looking forward to hearing.
Thank you in advance!
Discussion
1 archived reply
Posts are displayed in their archived order.
01Commenter-1
i have the same problem, i try to set the location of my trihedron according to the active grid origin, they end up with an offset somehow, here is the debug:
displayCurrentTrihedron: placement.Location() = 5 5 10
newPlacement Location: 5 5 10
newPlacement Direction: 0 0 1
newPlacement XDir: 1 0 0
GridPlane Origin: 5 5 10
GridPlane Normal: 0 0 1
GridPlane XDir: 1 0 0
GridPlane YDir: 0 1 0
Trihedron Origin: 5 5 10
Trihedron Direction: 0 0 1
Trihedron XDir: 1 0 0
so the position is setup correctly within the trihedron, but it is placed somewhere else somehow.