Line objects in Library

Issue #154 resolved
Mike Bartholomew created an issue

There are two issues here. Both can be seen in my library file sectionLineTest.

1) - Line objects in the Library App appear to be drawn with their local x-axis in the wrong sense. The Line object is drawn between two points, X=0, Y=0, Z=0, and X=114, Y=0, Z=0. This file has an InsertionPoint object located at (0,0,0). The Line appears to be directed in the -Y direction. This seems to be part of the confusion in the coordinate systems.

2) - The Line object is an extrusion of a 2-D angle cross section that has the heel of the angle at X=0 and Y=0, with the legs pointing in the 2-D +X and +Y directions. I wanted this section to be oriented in the 3-D library so that the horizontal leg was at the top pointing in the -X direction, and the vertical leg is pointing down in the -Z direction. This should be a rotation of 180 degrees or PI. Also, the section should be offset in the library Z-direction by the distance from the heel to the center of gravity, or 1.5526. When I use a BetaAngle="PI", the rotation is correct, but the section seems to have translated a small amount in the library -X direction. Is there some interaction between the BetaAngle and the OffsetZ? Should there be? If I set OffsetZ="0", there is no X-translation.

Comments (3)

  1. Ali Koc

    1) that is because of the fact that library objects use an implicit alignment where the alignment transverse direction is opposite of the global. starting v3.160125, library axis labels now matches the implicit alignment object.

    2) line offsets are applied in local of the line.So the beta angle (which is used to determine the local axis of the line) do have an affect on the offset. I am not sure if the behaviour you are experiencing make sense though. I have to experiment with it to better understand the issue.

  2. Mike Bartholomew reporter

    I'm not sure I was intending for you to change the orientation of the library transverse direction to be opposite of the global transverse. Seems like they should both be the same to cause less confusion. Now that we can see the positive x, y, and z directions on the orientation cube, the library should match global.

  3. Log in to comment