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.
    • thomthomT Offline
      thomthom
      last edited by

      @diggsey said:

      Yes, currently it only makes curves not arcs. The reverse curve command basically explodes the curve and then calls recurve on it in the opposite direction, so the arc information is lost in the process. I could try changing recurve so that it detects if the sequence of edges makes a perfect arc.

      why not just detect if you are exploding an arc?

      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

        That doesn't help solve the problem I mentioned though. The only way I know of to create an arc in sketchup is with Entities.add_arc, which is functionally equivalent to the arc tool. Arcs created by dividing another arc in two cannot be made this way. I would have to know the exact sequence of events which happened to create the arc in the first place to recreate it in the opposite direction.

        1 Reply Last reply Reply Quote 0
        • utilerU Offline
          utiler
          last edited by

          @dedmin said:

          I see - thanks for the explanation. Just noticed this and wanted to be sure it is not a bug.

          What is the difference? I thought an arc was a curve..... ๐Ÿ˜ฒ

          purpose/expression/purpose/....

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

            An 'Arc' IS a 'Curve'... BUT a 'Curve' is NOT necessarily an 'Arc'...
            Also remember that 'Circles' [a special 'Arc' that's 360 degrees] and 'Polygons' are also types of 'Curve' - as is any bound-set-of-edges that has been made as a 'Curve' [e.g. a Bezier Curve or a 'Welded' Curve made from edges]...........

            TIG

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

              probably my oldest plugin request has finally happened ๐Ÿ˜„
              weld with no dialog boxes.

              a few suggestions (if you're open to it, of course)

              say i have two lines with an arc fillet connecting them and i'd like to make them all a single polyline (ie- something i do a lot with weld.rb), the recurve function won't work (or it doesn't appear in the context menu).. in order to recurve that scenario, i have to first explode the arc (or any polyline segments) prior to being able to recurve.

              it'd be nice if i could weld a combination of edges/lines with curves (or arcs,polylines,etc.. what ever you want to call them ๐Ÿ˜„) using recurve.

              there's also a bit of weirdness in there as far as 'select curve' goes.. using the same scenario as above, if i right click on the arc fillet then the 'select curve' option doesn't show up.. but, if i right-click on either of the lines then 'select curve' does show up and if i choose it, all parts including the arc will be selected.

              and taking that a step further, it'd be nice to have an option for 'select curve then recurve' (or whatever) so i could select a bunch of broken segments and weld them together in one operation..

              ultimately, this will definitely replace weld for me as my W shortcut and the last request would be assigned to โ‡งW .

              thanks a bunch!

              dotdotdot

              1 Reply Last reply Reply Quote 0
              • K Offline
                kyyu
                last edited by

                @unknownuser said:

                probably my oldest plugin request has finally happened ๐Ÿ˜„
                weld with no dialog boxes.

                I never liked the 2 dialog boxes, either. Always answered "no". So I commented they out, in my modified version. ๐Ÿ˜Ž

                1 Reply Last reply Reply Quote 0
                • M Offline
                  mmscanlo
                  last edited by

                  Super helpful, thanks for sharing ๐Ÿ˜„

                  1 Reply Last reply Reply Quote 0
                  • utilerU Offline
                    utiler
                    last edited by

                    Thanks TIG.... ๐Ÿ‘

                    purpose/expression/purpose/....

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

                      Just updated the first post with update 1.3. It includes the changes suggested by Jeff.

                      1 Reply Last reply Reply Quote 0
                      • mitcorbM Offline
                        mitcorb
                        last edited by

                        Thanks, Diggsey:
                        I just downloaded it to give it a try.

                        I take the slow, deliberate approach in my aimless wandering.

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

                          Really like this plugin.

                          One suggestion is that the context-menu 'Select Only' is changed as it is already used by Thomthom's Selection Tools. So I've 2 'Select Only' options.

                          Maybe all menu items under 'Recurve'

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

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

                            I've uploaded a new version. It behaves the same as the last version, but if you open it in notepad you can change the line:
                            RECURVE_ALL_UNDER_RECURVE_MENU = false
                            to:
                            RECURVE_ALL_UNDER_RECURVE_MENU = true

                            That will put the Select Only menu under the Recurve menu.

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

                              Thank you ๐Ÿ‘

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

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

                                @diggsey said:

                                Just updated the first post with update 1.3. It includes the changes suggested by Jeff.

                                wow! that's great.
                                it's been added to my shortcuts and has replaced my most used ruby.. so long good friend (weld) ๐Ÿ˜„

                                [btw - the 'select curve and recurve' (โ‡งW) seems like magic ๐Ÿ˜„]

                                thanks so much!

                                dotdotdot

                                1 Reply Last reply Reply Quote 0
                                • B Offline
                                  Ben Ritter
                                  last edited by

                                  Thank you Diggsey.

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

                                    @unknownuser said:

                                    does this perform the same function as weld?
                                    

                                    yes and much more

                                    Sorry but I miss something ๐Ÿ˜ณ ๐Ÿ˜ณ ๐Ÿ˜ณ
                                    Where is the function "weld" or similar in this plug?
                                    How weld this with it?
                                    recurve.jpg

                                    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

                                      Recurve Edge = Weld

                                      Select edges - Right click - Recurve edge

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

                                      1 Reply Last reply Reply Quote 0
                                      • 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
                                            • 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