Circle construction

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

  • Circle construction

    I am trying to construct a circle out of 2 half circles, measured with adaptive scan strategy. Both half circles are measured in the same cross section. PC-DMIS just won`t let me! How can I do it?

  • #2
    Have you tried selecting the To Points box in the auto feature and then constructing your circle?
    153010 Global Advantage w/ LSPX1H_T Analog Probe
    7107 Global Classic TP20
    2019R1 SP1 CAD++

    Comment


    • #3
      You could try converting each scan to points then constructing a circle from all the points. Hexagon introduced a "to points" button in certain Auto Features a few version ago.
      CMMXYZ Applications Specialist: PC-DMIS Support and Training. Check out my PC-DMIS tutorial videos... https://blog.cmmxyz.com/blog/tag/cmm-tech-tips

      Comment


      • #4
        Originally posted by mitkos View Post
        i am trying to construct a circle out of 2 half circles, measured with adaptive scan strategy. Both half circles are measured in the same cross section. Pc-dmis just won`t let me! How can i do it?
        Do this:

        Code:
        CIR3       =FEAT/CIRCLE,CARTESIAN,IN,LEAST_SQR,NO
                    THEO/<0,0,-0.75>,<0,0,1>,4.5
                    ACTL/<0,0,-0.75>,<0,0,1>,4.5
                    CONSTR/CIRCLE,BF,2D,CIR1.HIT[1..CIR1.NUMHITS],CIR2.HIT[1..CIR2.NUMHITS],,
                    OUTLIER_REMOVAL/OFF,3
                    FILTER/OFF,UPR=0

        Comment


        • #5
          Actually, I just tried the "to points" button with adaptive scanning, it bounces you out of that measurement strategy and puts you back to touch trigger. Maybe you could use Vector Points for both half circles then do a series of constructions with the vector points.
          CMMXYZ Applications Specialist: PC-DMIS Support and Training. Check out my PC-DMIS tutorial videos... https://blog.cmmxyz.com/blog/tag/cmm-tech-tips

          Comment


          • #6
            What bfire85 said !!!!!!
            I wouldn't play with "to points", it make the program unreadable ! (and personnaly, I don't understand why it exists...)

            In addition, PC-DMIS wasn't let you consruct the circle because it was trying to construct from 2 points (circle centers - not "to points" - LOL !), so there was not enough information.
            Last edited by JEFMAN; 03-20-2019, 02:10 PM.

            Comment


            • Trevor McLaughlin
              Trevor McLaughlin commented
              Editing a comment
              Agreed. The Array option is probably best here. I believe the "To Points" came out of the Idea Center as a feature request. I haven't had the chance to use it much. Most programmer I know do it the opposite way - use vector points then construct features.

          • #7
            i'm running 2017R2 and i would like to know where the to points option is. i have looked and can not fine it. Was it added after this version?
            Time for the Trolls to leave.

            Comment


            • #8
              Originally posted by William Johnson View Post
              i'm running 2017R2 and i would like to know where the to points option is. i have looked and can not fine it. Was it added after this version?
              I think it was introduced in version 2018.

              Comment


              • #9
                In all versions it is possible to replace a reference to CIR1 with CIR1.HIT[1..CIR1.NUMHITS] in a construction, to adress the hits instead of the circle center. You can't do that in the dialog, only in the Edit Window, and I belive you must have the EW in Command Mode, not Summary Mode.
                AndersI
                SW support - Hexagon Metrology Nordic AB

                Comment


                • #10
                  Originally posted by bfire85 View Post

                  Do this:

                  Code:
                  CIR3 =FEAT/CIRCLE,CARTESIAN,IN,LEAST_SQR,NO
                  THEO/<0,0,-0.75>,<0,0,1>,4.5
                  ACTL/<0,0,-0.75>,<0,0,1>,4.5
                  CONSTR/CIRCLE,BF,2D,CIR1.HIT[1..CIR1.NUMHITS],CIR2.HIT[1..CIR2.NUMHITS],,
                  OUTLIER_REMOVAL/OFF,3
                  FILTER/OFF,UPR=0
                  How do I do that? I can not just copy your code in my program. Where to begin in constructions, variables? Please step by step.

                  Comment


                  • #11
                    First, create a feature set with CIR1 and CIR2. (for example SCN1)
                    Then, in the edit window, in the feature set, type .HIT[1..CIR1.NUMHITS] after cir1, and .HIT[1..CIR2.NUMHITS] after CIR2.
                    Then create a circle from SCN1.

                    Comment

                    Related Topics

                    Collapse

                    Working...
                    X