Alignment option for a rotation

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Alignment option for a rotation

    I have a part that they want one program that measures one surface with zero rotation about the Y axis and options rotated every .125 degrees positive and negative.
    any help would be greatly appreciated.

  • #2
    So you have one surface at Y0 (I am assuming in the positive Y direction) and that surface is potentially going to be patterned at 125° positive and negative?

    I am confused, can you give more info?

    Comment


    • #3
      Can you make a sketch or a small snip of your part/Blueprint to help explain.

      Comment


      • #4
        sketch attached
        Attached Files

        Comment


        • #5
          I really don't understand what you are asking, but based on the title of the thread, I will say this.
          Level the Z+ to the top plane. Measure a line on left surface of sketch and rotate Y+ to that line. Type in the .125 value in the Rotate box. Set your origin accordingly.
          Measure and repeat alignment with new value in the rotate box.
          HTH
          153010 Global Advantage w/ LSPX1H_T Analog Probe
          7107 Global Classic TP20
          2019R1 SP1 CAD++

          Comment


          • #6
            what I want to do is at the beginning of the program have a comment asking what rotation? enter the rotation like [1] is .125 [2] is .250 and so on
            .

            Comment


            • #7
              I have never done a variable in an alignment but I am intrigued and it looks like it works

              try this

              Code:
              [B]C1 [/B]=COMMENT/[B]INPUT[/B],NO,FULL SCREEN=NO,
              Enter Rotation
              A1 =ALIGNMENT/START,RECALL:STARTUP,LIST=YES
              ALIGNMENT/ROTATE_OFFSET,[B]C1.INPUT[/B],ABOUT,ZPLUS
              ALIGNMENT/END

              Comment


              • #8
                Originally posted by LaserJay View Post
                I have never done a variable in an alignment but I am intrigued and it looks like it works

                try this

                Code:
                [B]C1 [/B]=COMMENT/[B]INPUT[/B],NO,FULL SCREEN=NO,
                Enter Rotation
                A1 =ALIGNMENT/START,RECALL:STARTUP,LIST=YES
                ALIGNMENT/ROTATE_OFFSET,[B]C1.INPUT[/B],ABOUT,ZPLUS
                ALIGNMENT/END
                Just type an exact number for your rotation and that should then go in to the alignment.
                I had to create the alignment with a random number in the "rotate" (So that it would populate the command) then just changed that number to C1.INPUT after it was created

                Comment


                • #9
                  thanks looks like it will work

                  Comment


                  • #10
                    I am worried about the operators typing the wrong number can I have them choose from 8 different options?

                    Comment


                    • Peter Fuller
                      Peter Fuller commented
                      Editing a comment
                      You could use case statements, assign a degree to each case statement, have operators pick a case number from an input comment.

                  • #11
                    can you show an example?

                    Comment


                    • R2ah1ze1l
                      R2ah1ze1l commented
                      Editing a comment
                      Look at the way most programs we worked on together operate.
                      You can control those 8 options by making it an A,B,C.. or 1,2,3 value option.
                      Then use the logic statement to have them type in a correct item from a list, or move on with an approved selection.

                  • #12
                    There is still a chance they type in the wrong number but this follows the logic that you wanted earlier and will make it less to to type. (therefore less possibility they screw it up? maybe?)
                    You can also go in to more detail in the comment for however many degrees of rotation you want. but the number typed is infinite with this argument (Obviously eventually the number would lap 360°)

                    Code:
                    [B]C1 [/B]=COMMENT/INPUT,NO,FULL SCREEN=NO,
                    Enter Rotation
                    -2 = -.250
                    -1 = -.125
                    0 = 0
                    1 = .125
                    2 = .250
                    ....etc...
                    ASSIGN/[B]DEGREE[/B]=[B]C1.INPUT*.125[/B]
                    A1 =ALIGNMENT/START,RECALL:STARTUP,LIST=YES
                    ALIGNMENT/ROTATE_OFFSET,[B]DEGREE[/B],ABOUT,ZPLUS
                    ALIGNMENT/END

                    Comment


                    • #13
                      Thanks this works great

                      Comment


                      • #14
                        Originally posted by MikeF View Post
                        Thanks this works great
                        No problem!

                        Comment


                        • #15
                          the alignment option works great but when the rotation changes so does the points, how can I get the points to stay the same?

                          Comment

                          Related Topics

                          Collapse

                          Working...
                          X