sketchucation logo sketchucation
    • Login
    โ„น๏ธ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] Recurve

    Scheduled Pinned Locked Moved Plugins
    68 Posts 24 Posters 43.8k Views 24 Watching
    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.
    • pilouP Offline
      pilou
      last edited by

      Sorry that works not ๐Ÿ˜ฎ
      I select the 2 lines + the arc then apply Right click "Recurve Edges"
      That only explode my arc in segments!
      Nothing is welded! ๐Ÿ˜ฒ
      This plug don't work with the V6 ?

      Edit: That works for the V7 ๐Ÿ˜’

      Frenchy Pilou
      Is beautiful that please without concept!
      My Little site :)

      1 Reply Last reply Reply Quote 0
      • Rich O BrienR Offline
        Rich O Brien Moderator
        last edited by

        And v8

        Is it time to upgrade? ๐Ÿ˜‰

        Download the free D'oh Book for SketchUp ๐Ÿ“–

        1 Reply Last reply Reply Quote 0
        • pilouP Offline
          pilou
          last edited by

          I have all versions but all my plugs (I am a Plug test pilot collector ๐Ÿ’š ) are on the V6! ๐Ÿ˜‰

          Frenchy Pilou
          Is beautiful that please without concept!
          My Little site :)

          1 Reply Last reply Reply Quote 0
          • simon le bonS Offline
            simon le bon
            last edited by

            Dear Pilou and Rich,

            You have certainly missed this discrete announcing from Freddo for his:
            Alternate directory for Plugins

            @unknownuser said:

            Hi,

            Till SU8, Sketchup relies on a 'hard-coded' location for the Plugins, which is typically in C:\Program Files\Google\Google SketchUp X\Plugins. This has tow main drawbacks:

            1. This Plugin folder being in the System area, it may be protected for write access. I have heard that schools and some companies usually have PCs where access to C:\ is disabled.

            2. The Plugin directory is attached to each version of Sketchup. So if you use several SU version, in particular for transition, you have to install and then update plugins in each application domain.

            Highlighted by me (simon)I have been using for a while now a small script to overcome this situation. My requirement was primarily to be able to have a single plugin directory where I could easily test SU6, SU7 and SU8 without updating files for each application..........

            (read next on his thread)......

            I think a lot of SketchUp users like us still use .. v6 v7 v8 (why do we keep them? that is an interesting question ๐Ÿ˜‰ ) . Maintain the plugins up to date in each SU plugin directory version is effectively confusing and tiring. So Freddo's Alternate Directory seems a good solution

            ๐Ÿ˜‰ simon.

            1 Reply Last reply Reply Quote 0
            • pilouP Offline
              pilou
              last edited by

              Not sure in this case that is this who makes fail the tool in the V6 ๐Ÿ˜„
              Waiting adivice of the author ๐Ÿ˜„

              Frenchy Pilou
              Is beautiful that please without concept!
              My Little site :)

              1 Reply Last reply Reply Quote 0
              • D Offline
                Diggsey
                last edited by

                I'm afraid I can't find out why it doesn't work in v6 because I only have versions 7 and 8 and google only host older downloads for sketchup pro.

                It could be that the method it uses simply doesn't work in v6. You can test this by making a curve and copying it. Explode the copy and then make it into a group and position it exactly over the original curve. Then explode the group. If you are left with a curve, the method should work.

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

                  @diggsey said:

                  I'm afraid I can't find out why it doesn't work in v6 because I only have versions 7 and 8 and google only host older downloads for sketchup pro.

                  Pro reverts into Free when the trial period of over.

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

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

                    I ran Recurve on SU6 - selected a set of connected edges.

                    Got the following error in the Ruby Console:
                    Error: #<NoMethodError: undefined methodbreak_edges=' for Sketchup:Module>
                    C:/Program Files (x86)/Google/Google SketchUp 6/Plugins/recurve.rb:213:in recurve' C:/Program Files (x86)/Google/Google SketchUp 6/Plugins/recurve.rb:247:in recurve_selection'
                    C:/Program Files (x86)/Google/Google SketchUp 6/Plugins/recurve.rb:361
                    C:/Program Files (x86)/Google/Google SketchUp 6/Plugins/recurve.rb:361:in call'

                    Sketchup.break_edges was added in SU7 - that's when SU started to automatically split edges. So you should be able to make a wrapper that only use these methods and still have the plugin functioning properly. Just test for Sketchup.respond_to?( :break_edges= ).

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

                    1 Reply Last reply Reply Quote 0
                    • pilouP Offline
                      pilou
                      last edited by

                      Free version of SU6 is here ๐Ÿ˜‰

                      Frenchy Pilou
                      Is beautiful that please without concept!
                      My Little site :)

                      1 Reply Last reply Reply Quote 0
                      • TIGT Offline
                        TIG Moderator
                        last edited by

                        I'm not even sure that using Sketchcup.break_edges=boolean has any affect inside a script...
                        It determines whether or not crossing edges formed manually will split automatically at their intersection... BUT crossing edges never split when made in code anyway ??

                        TIG

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

                          @tig said:

                          I'm not even sure that using Sketchcup.break_edges=boolean has any affect inside a script...
                          It determines whether or not crossing edges formed manually will split automatically at their intersection... BUT crossing edges never split when made in code anyway ??

                          I've wondered that myself! I find it confusing when making edges via the API, some times they seems to split - some times not. ๐Ÿ˜•

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

                          1 Reply Last reply Reply Quote 0
                          • D Offline
                            Diggsey
                            last edited by

                            I've updated the first post with a new version which will work with SketchUp 6.

                            1 Reply Last reply Reply Quote 0
                            • pilouP Offline
                              pilou
                              last edited by

                              Many thanks! You rocks ๐Ÿ‘

                              Frenchy Pilou
                              Is beautiful that please without concept!
                              My Little site :)

                              1 Reply Last reply Reply Quote 0
                              • jeff hammondJ Offline
                                jeff hammond
                                last edited by

                                hey diggsey

                                i'm curious about what angle you have the cut-off(?) set to when using 'select curve' (for instance, you can't use select curve on one side of a square and have the whole thing select)

                                i like that it acts the way it does but would like to know the # just so i have an idea of it.
                                i also use TT's select tool which will select everything regardless of angle until it hits a 3-way junction which comes in handy as well depending on the situation..

                                like i said though -- i'm just curious
                                not asking you to change anything etc. ๐Ÿ˜„
                                thanks

                                dotdotdot

                                1 Reply Last reply Reply Quote 0
                                • D Offline
                                  Diggsey
                                  last edited by

                                  It uses an angle of 1 radian (~57 degrees) as the cut-off.

                                  1 Reply Last reply Reply Quote 0
                                  • jeff hammondJ Offline
                                    jeff hammond
                                    last edited by

                                    ok, back again ๐Ÿ˜„

                                    so i found some discrepancies with the plugin.. i'm not sure if this behavior is desired by you (or anyone else?) but to me, i feel like recurve should work in all 5 of these instances:

                                    i hope this file is understandable -- i'm pretty sure it's at least 5x more understandable than if i were to try to type an explanation ๐Ÿ™‚

                                    so would you agree that all cases shown there should recurve? (or, if it's desired behavior, can you fill me in on the type of situation where it would be wanted?)

                                    thanks for looking at it..

                                    dotdotdot

                                    1 Reply Last reply Reply Quote 0
                                    • D Offline
                                      Diggsey
                                      last edited by

                                      I see what you mean. It seems that if you have two softened edges on the same side that it won't recurve properly. There is some code which divides the curve up if it intersects a hard edge, so maybe that's what's causing the problem. I'll have to look into it.

                                      1 Reply Last reply Reply Quote 0
                                      • D Offline
                                        Diggsey
                                        last edited by

                                        I've fixed the bug. It happened when faces touched the curve at just a corner. The code needs to do something for each face touching the curve, and it used to find all the faces connected to all the edges in the curve. Now it finds all the faces connected to all the vertices in the curve instead.

                                        1 Reply Last reply Reply Quote 0
                                        • jeff hammondJ Offline
                                          jeff hammond
                                          last edited by

                                          awesome. thank you!

                                          [and i hope i'm not coming across as a pest ๐Ÿ˜„.. it's just that i'm really into this plugin and will be using it very often]

                                          dotdotdot

                                          1 Reply Last reply Reply Quote 0
                                          • pilouP Offline
                                            pilou
                                            last edited by

                                            a necessary pest ๐Ÿ˜‰

                                            Frenchy Pilou
                                            Is beautiful that please without concept!
                                            My Little site :)

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

                                            Advertisement