Constructed Circle Problem

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

  • Constructed Circle Problem

    Can anyone tell me why the Cir8 is way out in space?

    Code:
    CIR7       =AUTO/CIRCLE,SHOWALLPARAMS = NO,SHOWHITS = YES
                THEO/0,0,-0.3,0,0,1,0.313,0.2
                [COLOR="red"]ACTL/0.0056,0.0011,-0.3,0,0,1,0.3054,0.2[/COLOR]
                TARG/0,0,-0.3,0,0,1
                MEAS/CIRCLE
                HIT/BASIC,0.1144,0.1068,-0.3,0.7308,0.6826,0,0.1148,0.1079,-0.3
                HIT/BASIC,0.1291,0.0885,-0.3,0.8246,0.5657,0,0.1297,0.0899,-0.2999
                HIT/BASIC,0.1408,0.0682,-0.3,0.8999,0.436,0,0.1421,0.0694,-0.2999
                HIT/BASIC,0.1495,0.0464,-0.3,0.955,0.2965,0,0.1509,0.0475,-0.2999
                HIT/BASIC,0.1547,0.0235,-0.3,0.9886,0.1504,0,0.1564,0.0242,-0.2999
                HIT/BASIC,0.1565,0.0001,-0.3,1,0.0009,0,0.1581,0.0004,-0.2999
                HIT/BASIC,0.1548,-0.0233,-0.3,0.9889,-0.1487,0,0.1564,-0.0242,-0.2998
                HIT/BASIC,0.1495,-0.0461,-0.3,0.9555,-0.2949,0,0.1507,-0.0473,-0.2998
                HIT/BASIC,0.141,-0.068,-0.3,0.9007,-0.4344,0,0.1411,-0.0692,-0.2998
                HIT/BASIC,0.1292,-0.0883,-0.3,0.8256,-0.5642,0,0.1286,-0.089,-0.2999
                HIT/BASIC,0.1145,-0.1066,-0.3,0.7319,-0.6814,0,0.1138,-0.1067,-0.2999
                ENDMEAS/
    CIR9       =AUTO/CIRCLE,SHOWALLPARAMS = NO,SHOWHITS = YES
                THEO/0,0,-0.3,0,0,1,0.313,0.2
                [COLOR="red"]ACTL/-0.0052,0.001,-0.3,0,0,1,0.3053,0.2[/COLOR]
                TARG/0,0,-0.3,0,0,1
                MEAS/CIRCLE
                HIT/BASIC,-0.1145,0.1066,-0.3,-0.7319,0.6814,0,-0.1144,0.1073,-0.2997
                HIT/BASIC,-0.1292,0.0883,-0.3,-0.8256,0.5642,0,-0.1296,0.0893,-0.2997
                HIT/BASIC,-0.141,0.068,-0.3,-0.9007,0.4344,0,-0.1422,0.0688,-0.2996
                HIT/BASIC,-0.1495,0.0461,-0.3,-0.9555,0.2949,0,-0.151,0.047,-0.2997
                HIT/BASIC,-0.1548,0.0233,-0.3,-0.9889,0.1487,0,-0.1566,0.0238,-0.2997
                HIT/BASIC,-0.1565,-0.0001,-0.3,-1,-0.0009,0,-0.1576,-0.0001,-0.2997
                HIT/BASIC,-0.1547,-0.0235,-0.3,-0.9886,-0.1504,0,-0.1554,-0.0242,-0.2997
                HIT/BASIC,-0.1495,-0.0464,-0.3,-0.955,-0.2965,0,-0.1499,-0.0471,-0.2997
                HIT/BASIC,-0.1408,-0.0682,-0.3,-0.8999,-0.436,0,-0.1407,-0.0689,-0.2998
                HIT/BASIC,-0.1291,-0.0885,-0.3,-0.8246,-0.5657,0,-0.1285,-0.0891,-0.2998
                HIT/BASIC,-0.1144,-0.1068,-0.3,-0.7308,-0.6826,0,-0.1135,-0.1069,-0.2998
                ENDMEAS/
    CIR8       =FEAT/CIRCLE,RECT,OUT,LEAST_SQR
                THEO/0,0,-0.3,0,0,1,0.313
                [COLOR="Red"]ACTL/4.43,-0.9019,-0.4021,-0.0027843,0.0009472,0.9999957,0.3146[/COLOR]
                CONSTR/CIRCLE,BF,CIR7.HIT[1..11],CIR9.HIT[1..11],,
                OUTLIER_REMOVAL/OFF,3
                FILTER/OFF,UPR=0
    This is an existing program which I presume worked properly at some point in the past.

  • #2
    workplane?
    sigpic
    Originally posted by AndersI
    I've got one from September 2006 (bug ticket) which has finally been fixed in 2013.

    Comment


    • #3
      Are you in the proper work plane when CIR8 was constructed.
      Global Status 12-22-10
      Global Performance 9-15-8
      CAD++ 2015.1_SP7

      Comment


      • #4
        Yep, same workplane as circles 7 and 9 were measured in.

        Comment


        • #5
          Here's something else that is odd. I tabbed to BF in the edit window to try BFRE and see if that helped. When I change it to BFRE CIR8 automatically unmarks itself.

          Comment


          • #6
            delete circle 8 and redo it in the new software. It could be within the transition to new software, if it was wrote in an eariler ver.
            sigpichttp://npmichaels.com/ (My sons book)
            THANKS (CAD IS ALWAYS MASTER)
            4.3 & 4.2MR2/GLOBAL/PH10MQ/WINDOWS XP

            Comment


            • #7
              Originally posted by pniven View Post
              delete circle 8 and redo it in the new software. It could be within the transition to new software, if it was wrote in an eariler ver.
              good point, might be a migration issue.

              (applause)
              sigpic
              Originally posted by AndersI
              I've got one from September 2006 (bug ticket) which has finally been fixed in 2013.

              Comment


              • #8
                Originally posted by pniven View Post
                delete circle 8 and redo it in the new software. It could be within the transition to new software, if it was wrote in an eariler ver.
                Nope, written in 3.7mr3, running in 3.7mr3. It's only been maybe 6 months since it was written and last run. Maybe it didn't work then either and I just didn't catch it.

                Comment


                • #9
                  Originally posted by Goodluck View Post
                  Nope, written in 3.7mr3, running in 3.7mr3. It's only been maybe 6 months since it was written and last run. Maybe it didn't work then either and I just didn't catch it.
                  Well, I replaced cir7 and cir9 with vector points and constructed a circle from them. Seems to have worked. Can't say why the previous way didn't work. I would still like to know.

                  Comment


                  • #10
                    I got up this mornimg, washed up and shaved, got in my car and drove to work.

                    Then my alarm went off. I would like to know why I need to do this all over again in the same day. NightMare!!!!!!
                    sigpichttp://npmichaels.com/ (My sons book)
                    THANKS (CAD IS ALWAYS MASTER)
                    4.3 & 4.2MR2/GLOBAL/PH10MQ/WINDOWS XP

                    Comment


                    • #11
                      Interesting, I tried to duplicate your problem, but the math fails when trying to construct a circle from the 2 circles(or arcs)(. Basically I measured a ring gage 0-180 and then 180-360, using 10 points for each arc, then tried to construct a diameter from those 2 "circles". didn't work

                      mike
                      G&L 1808-M DCC MEA 4.3

                      Endeavor to Persevere

                      Comment


                      • #12
                        Originally posted by doo_hicky View Post
                        Interesting, I tried to duplicate your problem, but the math fails when trying to construct a circle from the 2 circles(or arcs)(. Basically I measured a ring gage 0-180 and then 180-360, using 10 points for each arc, then tried to construct a diameter from those 2 "circles". didn't work

                        mike
                        Yes, just selecting the circles from the construct circle dialog box will give you and error. My circle was constructed from the hits. Note the red stuff below.

                        Code:
                        CIR8       =FEAT/CIRCLE,RECT,OUT,LEAST_SQR
                                    THEO/0,0,-0.3,0,0,1,0.313
                                    ACTL/4.43,-0.9019,-0.4021,-0.0027843,0.0009472,0.9999957,0.3146
                                    CONSTR/CIRCLE,BF,[COLOR="Red"]CIR7.HIT[1..11],CIR9.HIT[1..11][/COLOR],,
                                    OUTLIER_REMOVAL/OFF,3
                                    FILTER/OFF,UPR=0

                        Comment


                        • #13
                          Is your hole axis parallel to the zaxis? If so, try rotating about zaxis 32.727° after circ7. This will place your circ9 hits at separate locations than circ7 hits. Just a shot in the dark.
                          sigpic
                          Global Advantage 12-22-10
                          TESASTAR M SP25 4.3mr2

                          Comment


                          • #14
                            Originally posted by keego View Post
                            Is your hole axis parallel to the zaxis? If so, try rotating about zaxis 32.727° after circ7. This will place your circ9 hits at separate locations than circ7 hits. Just a shot in the dark.
                            Yes, Cir7 is measured from 45º to -45º on a circular feature. Cir9 is measured from 135º to 225º on the same feature. There are tabs at 90º and 270º which prevent me from measuring 0-360º.

                            Comment


                            • #15
                              Originally posted by Goodluck View Post
                              Can anyone tell me why the Cir8 is way out in space?

                              Code:
                              CIR7       =CIR8       =FEAT/CIRCLE,RECT,OUT,LEAST_SQR
                                          THEO/[COLOR="Blue"](cir7.cir9,cir7.cir9,cir7.cir9)[/COLOR],0,0,1,0.313
                                          [COLOR="Red"]ACTL/4.43,-0.9019,-0.4021,-0.0027843,0.0009472,0.9999957,0.3146[/COLOR]
                                          CONSTR/CIRCLE,BF,CIR7.HIT[1..11],CIR9.HIT[1..11],,
                                          OUTLIER_REMOVAL/OFF,3
                                          FILTER/OFF,UPR=0
                              This is an existing program which I presume worked properly at some point in the past.
                              Just curious.
                              If you could enter CIR7 and CIR9 in THEO. What'ld the syntax look like?
                              (this is a question....not a suggestion)

                              Comment

                              Related Topics

                              Collapse

                              • Wingman
                                3.73 Still not right??
                                by Wingman
                                A while back I posted some weird issues with 3.73. I thought I had it solved by figuring out that 3.73 doesn't really like 3.72. Now it appears the...
                                07-26-2007, 09:39 AM
                              • #2#
                                Losing Alignment on Angle Change?
                                by #2#
                                Alright, here is my code. The first bit here is with A0B0. Just before the last move point it changes to A90B180.

                                Code:
                                 DATUM_B    =AUTO/CYLINDER,SHOWALLPARAMS
                                ...
                                06-07-2007, 03:34 PM
                              • mr500
                                Why Is My
                                by mr500
                                Why is my program stopping in the middle of the run. I have marked where it is stoping in the code. UGHHHHH

                                Code:
                                PLN2
                                ...
                                08-18-2008, 02:11 PM
                              • dwade
                                Feature construction help
                                by dwade
                                V3.7MR3 CAD++

                                Need some ideas.

                                I've got a part with 2 small surfaces (co-planar) designated as my primary datum. I used...
                                09-19-2007, 04:26 PM
                              • Underspec
                                Printing Variables!
                                by Underspec
                                I need to do some calculations and print them out from variables as dimensions or to the report. Never really messed with variables so any help will be...
                                08-09-2006, 12:51 PM
                              Working...
                              X