sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    [Debug] RoundCorner slow performance

    Scheduled Pinned Locked Moved Plugins
    11 Posts 4 Posters 1.6k 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.
    • fredo6F Offline
      fredo6
      last edited by

      NOTE:
      This thread is dedicated to find out the cause of the very slow performance of RoundCorner pluginwhich has been reported by some Mac users on SU8.

      The method relies on kind users to make some test with an updated code including some traces and report back.

      If you are NOT having performance problems with RoundCorner, you can safely ignore this thread.

      Thanks in advance

      Fredo

      1 Reply Last reply Reply Quote 0
      • fredo6F Offline
        fredo6
        last edited by

        ROUND #1
        Just use a simple model, like a cube.

        • Drop the attached file RoundCorner_tool.rb in the ROUNDCORNER_Dir_21 folder.
        • Restart Sketchup
        • Launch the RoundCorner plugin, with or without selection
        • A file Fredo6Trace.txt will be created in the SU plugin directory.
        • Just post it on the forum within this thread, possibly with some explanation on what you did.

        Thanks

        Fredo


        to drop in the ROUNDCORNER_Dir_21 folder

        1 Reply Last reply Reply Quote 0
        • thomthomT Offline
          thomthom
          last edited by

          Fredo: might it be related to Sketchup.status_text = ?
          See this thread: http://forums.sketchucation.com/viewtopic.php?f=180&t=34584&start=15#p305247
          We found that under OSX, updating the statusbar is taxing performance significantly compared to Windows.

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

          1 Reply Last reply Reply Quote 0
          • fredo6F Offline
            fredo6
            last edited by

            @thomthom said:

            Fredo: might it be related to Sketchup.status_text = ?
            See this thread: http://forums.sketchucation.com/viewtopic.php?f=180&t=34584&start=15#p305247
            We found that under OSX, updating the statusbar is taxing performance significantly compared to Windows.

            I wish it were, but the users affected with the problem were all mentioing endless waiting. So it must be something else, probably the synchronization of the opengl drawing (this is why I need the traces).

            Fredo

            1 Reply Last reply Reply Quote 0
            • S Offline
              SketchUpNoobie
              last edited by

              Round corner runs very slowly for me but I use Windows Xp. πŸ˜• It hangs on anything much more complicated than some boxes. Then SketchUp eventually crashes. It's probably my old machine. I don't know. Any other PC users having this problem?

              --

              SketchUpNoobie: the complete noob in all things SketchUp.

              1 Reply Last reply Reply Quote 0
              • fredo6F Offline
                fredo6
                last edited by

                @unknownuser said:

                Round corner runs very slowly for me but I use Windows Xp. πŸ˜• It hangs on anything much more complicated than some boxes. Then SketchUp eventually crashes. It's probably my old machine. I don't know. Any other PC users having this problem?

                Do you mean it is slow when you perform the calculation of the rounding shape (the performance problem on Mac is related to opening the plugin).

                By the way, can you check the number of segments you use for the rounding (by default it is '6s'). This is the number that drives perfromance, as the computing time is related to it exponentially.

                Fredo

                1 Reply Last reply Reply Quote 0
                • S Offline
                  SketchUpNoobie
                  last edited by

                  I can open the plugin fine. It just executes slowly. I usually have the segments set to 4 but sometimes that doesn't work and I have to bump it down to two for it to even work without crashing.

                  --

                  SketchUpNoobie: the complete noob in all things SketchUp.

                  1 Reply Last reply Reply Quote 0
                  • thomthomT Offline
                    thomthom
                    last edited by

                    @unknownuser said:

                    I can open the plugin fine. It just executes slowly. I usually have the segments set to 4 but sometimes that doesn't work and I have to bump it down to two for it to even work without crashing.

                    Got a sample model?

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

                    1 Reply Last reply Reply Quote 0
                    • H Offline
                      Headroom
                      last edited by

                      I just came across this thread today when browsing through the "normal" Round Corner thread.

                      I had posted about the sluggish behavior on my first iMac 2.4 GHz Core2Duo several months ago and then needed to divert my attention to other things.

                      The problem was not related to opening it but to using it. Selecting edges, changing fillet dimensions and number of segments took several seconds for the tool to react to.

                      Now with my newer 27" i7 quad core at 2.93GHz things are a bit quicker and I can use the tool, but performance is still sluggish and not even remotely comparable to the WinXP installation that I have running on VMware Fusion on this same machine.

                      I followed the instructions and a trace file is attached. I hope it provides you with useful information. Anyway, great plugin and very useful (in Windows πŸ˜‰


                      FredoTraceRoundCorner.txt

                      1 Reply Last reply Reply Quote 0
                      • fredo6F Offline
                        fredo6
                        last edited by

                        @headroom said:

                        The problem was not related to opening it but to using it. Selecting edges, changing fillet dimensions and number of segments took several seconds for the tool to react to.

                        At least, I see from the trace file that this is not related to the generation of the rounding (it took 3.67 seconds on your model, with 10 corners and 12 edges).
                        I still don't see where it could come from. I may have to modify the traces to understand it better.

                        By the way, if you open the Ruby console while selecting edges or changing the offset, do you see any message?

                        Fredo

                        1 Reply Last reply Reply Quote 0
                        • fredo6F Offline
                          fredo6
                          last edited by

                          Headroom

                          Here is an updated version with complementary traces

                          Just drop the two attached files into ROUNDCORNER_Dir_22.
                          Thanks to post back the trace file

                          Fredo

                          Note: please do NOT install these files if you are not concerned by slow perfromance on Mac


                          To drop into subfolder ROUNDCORNER_Dir_22


                          To drop into subfolder ROUNDCORNER_Dir_22

                          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