hexagon logo

Line Angle to Feature

Hello all!
I have a cylindrical part mounted on a rotary table.
The print calls out 4 different angles on 4 subsequent sets of notches (each set of 4 having a different angle).
To measure the angles, I create an alignment, rotating the axis by the angle (thus giving perfect vector hits of <0,0,1>Wink
I take one 7 point line per notch, and dimension the angle in relation to the cylinder.
I measure the cylinder in <0,1,0> as well as the line, <0,1,0>, however they are different from each other by the angle of the notch
####################################################################################################
- When I get the report, the angles are perfect. Too perfect. I have it dimension in decimals with a tolerance of ± .17°
I get a deviation of .0001 or less consistently, and this worries me. I want to make sure I'm outputting accurate data, and this seems too good.
The reason I have concern is the company I work for had purchased these programs from Hexagon (or something).
They would report in min/sec that the whole tolerance band was used on seemingly random notches in the same set. (1 at high, 1 at low, 1 at split, 1 in between, etc for the same set)
The IJK vectors for all of the hits were random (<0.999999675, .000347345, 0> or some such nonsense) so I more or less recreated it with perfect vectors and alignments.
The reports look much better with more consistancy.
$$$$$$$$$$$$$$$$$$$$$$$$
Is this the best way to do this? I always try to create perfect hit vectors because of the probe compensation error factor, and aligning directly to the angle to take the hits was the best way.
-------------
When I dimension the angle, it is the opposite of what I'm looking for (90-rule). If its a 22.70°, I'll get a dimension of 67.30° How would I reverse this?
I have tried to change the workplane and direction of the line itself, but then it just changes if its -22.70 or +22.70 away from 90°.
I have tried to construct a generic feature and flip the two vectors, which works, but is tedious and bloats the program. Could I assign variables or something so that it measures the line the same way (or a right way, or what have you) but flips the J,K vectors for the dimension? Or simply report the angle, but subtract 90 every time programmatically, which I would prefer so the reports say 22.70 instead of 67.30.
=======================
Hopefully this makes sense, I've been stuck on this for longer than I should be.
As always, any help is appreciated, and feel free to ask whatever questions necessary so we can come to the right answer.
Thanks!
Parents
  • Thanks louisd! I figured as much, having read through some things on probe compensation and vector errors.

    Due to the information received from this forum, on this thread and others, I was able to come up with this:

    I create a variable for the angle of the notch
    I load the part with a leveling feature pointing up (a notch)
    I take points along the OD, the face of the part, and the leveling feature, making a full alignment (all in DCC, I write my programs to be able to skip manual alignment)
    I create a new alignment, recalling the main part alignment.
    I first level to the OD (redundant, basically), THEN set the Y origin to the start of the notch, THEN rotate the alignment by 20.3° about XPLUS.
    I'm able to verify on the CAD model that the translation and rotation are correct. (If I don't align this way, and instead rotate first, the Y origin goes by the rotation, e.g. it's WAY out.)
    I report the dimension in the current alignment from the notch to the cylinder. For whatever reason if I reverse (align to cylinder, angle from cyl to notch) it becomes 90-(the angle).

    Hopefully this helps, and if my process can be improved (or is totally fricken' wrong!) please, let us know!
Reply
  • Thanks louisd! I figured as much, having read through some things on probe compensation and vector errors.

    Due to the information received from this forum, on this thread and others, I was able to come up with this:

    I create a variable for the angle of the notch
    I load the part with a leveling feature pointing up (a notch)
    I take points along the OD, the face of the part, and the leveling feature, making a full alignment (all in DCC, I write my programs to be able to skip manual alignment)
    I create a new alignment, recalling the main part alignment.
    I first level to the OD (redundant, basically), THEN set the Y origin to the start of the notch, THEN rotate the alignment by 20.3° about XPLUS.
    I'm able to verify on the CAD model that the translation and rotation are correct. (If I don't align this way, and instead rotate first, the Y origin goes by the rotation, e.g. it's WAY out.)
    I report the dimension in the current alignment from the notch to the cylinder. For whatever reason if I reverse (align to cylinder, angle from cyl to notch) it becomes 90-(the angle).

    Hopefully this helps, and if my process can be improved (or is totally fricken' wrong!) please, let us know!
Children
No Data