hexagon logo

Validate my method is fine please (programmers differ in opinion)

Good Morning Interweb,

So I have a simple alignment. Plane A, circle B, circle C. I Leveled to the plane A and origin Z to it. Translate XY to circle B. Rotate to a line made from B to C. Done.

A different programmer believes I must rotate before translating.... I totally disagree on this simple alignment. Using Legacy btw.

Without being degrading... please reply.
Parents
  • The reason we teach Level > Roate > Origin, is that for Level 1 (or 101 as you call it across the pond), is that if you do it that way it will always be correct. At the initial stage of programming, it's sometimes easier to teach a method that will produce the correct results, without having to teach the 'why'.

    In your case, Level Z, origin Z, Origin XY, then Rotate will also be fine.


    When we do a rotation, we rotate the specified axis to the vector of the selected feature, (or the vector of the line between the centers if you select two features) about the current origin.

    So for a plane-line-point (for example) you must rotate first.

    For a Plane>Circle>Circle it makes no difference.







Reply
  • The reason we teach Level > Roate > Origin, is that for Level 1 (or 101 as you call it across the pond), is that if you do it that way it will always be correct. At the initial stage of programming, it's sometimes easier to teach a method that will produce the correct results, without having to teach the 'why'.

    In your case, Level Z, origin Z, Origin XY, then Rotate will also be fine.


    When we do a rotation, we rotate the specified axis to the vector of the selected feature, (or the vector of the line between the centers if you select two features) about the current origin.

    So for a plane-line-point (for example) you must rotate first.

    For a Plane>Circle>Circle it makes no difference.







Children
No Data