hexagon logo

Feature Locations and Directions

I have a couple constructed features in my program and I want to set correct THEO values for them.

Concerning a cylinder, I understand the X and Y values are the center axis, but how does the Z value relate to the constructed cylinder? Is it located in the middle height-wise? Do the IJK vectors have any bearing on this (I assume the IJK vector is along the cylinder axis)?

Similar questions, but for a line feature. In my program, I have several vertical lines constructed on the outside of a cylinder. They are defined with polar coordinates, so they are at various angles, all at the same nominal radius, but how does the Z value relate (middle, top, or bottom of constructed line)? How do IJK vectors relate?

Thanks
  • For end points of these features, assign as variables.

    Assign/v1=
    Cyl1.sxyz start point xyz
    or
    cyl1.exyz end point xyz
    or
    lin1.sxyz start point xyz
    or
    lin1.exyz end point xyz

    the xyz values for a line or cylinder will be the barycenter. (Midpoint of feature)

    hope this helps.
  • For end points of these features, assign as variables.

    Assign/v1=
    Cyl1.sxyz start point xyz
    or
    cyl1.exyz end point xyz
    or
    lin1.sxyz start point xyz
    or
    lin1.exyz end point xyz

    the xyz values for a line or cylinder will be the barycenter. (Midpoint of feature)

    hope this helps.


    You're saying add these lines of code kind of as a double check to where my features are located?