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.
    • 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
                          • D Offline
                            davidheim1
                            last edited by

                            Does the plug-in work with Mac OS? When I download the file, I get the code, not the usual files or folders.

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

                              @davidheim1 said:

                              Does the plug-in work with Mac OS? When I download the file, I get the code, not the usual files or folders.

                              that's something to do with your browser maybe ?.. (though this does happen to me when i get rubies from crai but not when getting them from scf (using safari btw)

                              right-click the download link and choose 'download linked file' (or something worded similarly) then the .rb should come in normal..

                              dotdotdot

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

                                Diggsey,

                                I just wanted to say: THANK YOU, THANK YOU, for this plug in. In the relatively short time since I have started using it, it has saved me countless hours of frustration !.. I would have to say, (at least for the way I model) that this is probably the most useful, and time/frustration, saving plugin, that I have used to date.

                                And a general shout out to all of you here that take the time to write, and share, such useful scripts!... You are way smarter than me, and you all deserve many accolades.. I don't know how I would get by without you all !

                                Thanks Again !

                                1 Reply Last reply Reply Quote 0
                                • W Offline
                                  Whaat
                                  last edited by

                                  Hey Diggsey,

                                  This looks like a great plugin. However, it doesn't seem to have the feature that I am most interested in.

                                  What would be very useful to me is if you could select two edges anywhere in a mesh and the plugin would try to find the shortest edge path in between them. A tool interface would be nice. You first select a single edge. Then, hold down 'shift' and click on another edge and all of the edges in between would be selected.

                                  This is actually the next plugin I was planning on writing but I haven't had the time to work on it yet. Is there any chance you could add this feature to your plugin?

                                  Thanks!

                                  SketchUp Plugins for Professionals

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

                                    @whaat said:

                                    What would be very useful to me is if you could select two edges anywhere in a mesh and the plugin would try to find the shortest edge path in between them. A tool interface would be nice. You first select a single edge. Then, hold down 'shift' and click on another edge and all of the edges in between would be selected.

                                    see this thread for ideas πŸ’š

                                    http://forums.sketchucation.com/viewtopic.php?f=323&t=30457

                                    (there's a video in the first post showing some sweet selecting)

                                    dotdotdot

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

                                      Tgi3D Amorph has a funky selection tool

                                      [flash=800,600:32tsmsqq]http://www.youtube.com/v/-0lmatxjuJM[/flash:32tsmsqq]

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

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

                                        @unknownuser said:

                                        Tgi3D Amorph has a funky selection tool

                                        doesn't that plugin cost like 5 million dollars or something?

                                        dotdotdot

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

                                          $150 for 2 licences.

                                          Ramps for XGames cost 5 million bucks πŸ˜‰

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

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

                                            Yo Diggsey
                                            Superb tool - thanks
                                            I will give more feedback when the work pressure drops a bit 😞

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

                                            Advertisement