• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

Circle Becomes Arc When Reopened

Scheduled Pinned Locked Moved SketchUp Bug Reporting
sketchup
13 Posts 5 Posters 1.5k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    freddig
    last edited by 22 Jun 2009, 12:33

    Hi All,

    Has anyone had this strange occurance with Circles. If I "push" a Circle, when I save and reopen the file the Circles (either side of the hole) have become an Arcs (see right side of attached pictures). The circle on the left stays a circle. I've had no problem with this yet, and only noticed it after my "Select Circle Entities" plugin didn't work!


    Entity (On Right) is Circle Before Reopen


    Entity is (On Right) Arc After Reopen

    1 Reply Last reply Reply Quote 0
    • G Offline
      Gaieus
      last edited by 22 Jun 2009, 12:55

      Interesting. I still have them as circles:


      ScreenShot001.png

      Gai...

      1 Reply Last reply Reply Quote 0
      • T Offline
        thomthom
        last edited by 22 Jun 2009, 12:57

        I can verify this behaviour on XP Pro - SU7 Pro.

        Thomas Thomassen — SketchUp Monkey & Coding addict
        List of my plugins and link to the CookieWare fund

        1 Reply Last reply Reply Quote 0
        • G Offline
          Gaieus
          last edited by 22 Jun 2009, 13:00

          How? See my screenshot; I don't have it. I tried to make the hole two different ways;

          1. punching the hole on a flat face and then PP'ing the surrounding rectangle
          2. first making the box then drawing the circle and PP'ing it back to the bottom
            Had the same result both times.

          Gai...

          1 Reply Last reply Reply Quote 0
          • T Offline
            thomthom
            last edited by 22 Jun 2009, 13:10

            @gaieus said:

            How? See my screenshot; I don't have it. I tried to make the hole two different ways;

            1. punching the hole on a flat face and then PP'ing the surrounding rectangle
            1. first making the box then drawing the circle and PP'ing it back to the bottom
              Had the same result both times.
            • I made a square.
            • Drew a circle on the square - deleted the circle face
            • Copied the square with hole in next to itself
            • Push-Pulled Up (Entity is Circle at this point)
            • Saved and closed the file
            • Reopened the file (Entity was now an Arc - The circle that wasn't push-pulled remained a Circle though.)

            Thomas Thomassen — SketchUp Monkey & Coding addict
            List of my plugins and link to the CookieWare fund

            1 Reply Last reply Reply Quote 0
            • R Offline
              remus
              last edited by 22 Jun 2009, 13:15

              I can reproduce it as well, SU7 vista 64.

              http://remusrendering.wordpress.com/

              1 Reply Last reply Reply Quote 0
              • G Offline
                Gaieus
                last edited by 22 Jun 2009, 13:23

                Sorry guys,although it was written in the first post,I didn't save > close > reopen. True, I can also reproduce it this way (in fact,you don't even need to copy the whole thing just do the PP)

                Gai...

                1 Reply Last reply Reply Quote 0
                • T Offline
                  thomthom
                  last edited by 22 Jun 2009, 13:25

                  The copy was just to reference to see if it happened to all circles.

                  Thomas Thomassen — SketchUp Monkey & Coding addict
                  List of my plugins and link to the CookieWare fund

                  1 Reply Last reply Reply Quote 0
                  • F Offline
                    freddig
                    last edited by 22 Jun 2009, 14:26

                    So is this likely to cause any problems? My only issue so far is my "select circles" plugin (just got to remember to "select arcs" instead).

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      thomthom
                      last edited by 22 Jun 2009, 14:58

                      Well that's strange:

                      Poking around with the API:
                      While the .start_angle is 0 for both - but the .end_angle is different:
                      Original Circle

                      
                      Sketchup.active_model.selection[0].curve.end_angle.radians
                      > 360.0
                      
                      

                      ArcCircle

                      
                      Sketchup.active_model.selection[0].curve.end_angle.radians
                      > 720.0
                      
                      

                      For some reason it loops around itself twice! o_O

                      Thomas Thomassen — SketchUp Monkey & Coding addict
                      List of my plugins and link to the CookieWare fund

                      1 Reply Last reply Reply Quote 0
                      • J Offline
                        Jim
                        last edited by 22 Jun 2009, 15:12

                        Could be because an Arc is 12-sided by default and a circle is 24-sided?

                        Hi

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          thomthom
                          last edited by 22 Jun 2009, 16:16

                          Dunno. But it's odd that a Circle entity turns into an Arc. Or in reality according to the API - Circles are ArcCurves that's 360 degrees.

                          Thomas Thomassen — SketchUp Monkey & Coding addict
                          List of my plugins and link to the CookieWare fund

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            thomthom
                            last edited by 8 Jul 2009, 10:31

                            FYI: I added support for bugged circles in my Selection Toys plugin. http://forums.sketchucation.com/viewtopic.php?f=180&t=14975 If you select all entities and then Right-click->Select Only->Circles it'll select all the circles - even those that SU claims are arcs and incorrectly reports as 720 degrees.

                            Thomas Thomassen — SketchUp Monkey & Coding addict
                            List of my plugins and link to the CookieWare fund

                            1 Reply Last reply Reply Quote 0
                            • 1 / 1
                            • First post
                              Last post
                            Buy SketchPlus
                            Buy SUbD
                            Buy WrapR
                            Buy eBook
                            Buy Modelur
                            Buy Vertex Tools
                            Buy SketchCuisine
                            Buy FormFonts

                            Advertisement