sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] Shape Bender Beta

    Scheduled Pinned Locked Moved Plugins
    1.3k Posts 331 Posters 1.7m Views 329 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.
    • Chris FullmerC Offline
      Chris Fullmer
      last edited by

      oh bummer. I'm sure I can put in a workaround. It might take a little while though. I'll probably need to find a version of SU 5 to install to make the testing go faster.

      If I get it fixed, I'll try to remember to PM you directly too. And I'll put a note in the first post that its not currently compatible with version 5. Thanks!

      Chris

      Lately you've been tan, suspicious for the winter.
      All my Plugins I've written

      1 Reply Last reply Reply Quote 0
      • J Offline
        joergj
        last edited by

        Chris, you don´t have to pm me, I will be on the watch 😉. You have more important things on the list! Anyway, I can use the free version of SU 6 ore 7 to do the bending stuff.

        Thank you!!!
        Jörg

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

          here's my issue with certain rubies.. this one included.
          i understand that it probably has something to do sketchup being a polygon modeler and how its curves have segments/vertexes..

          scene 4 though -- that gives me hope 😄
          bending_reup.skp
          [EDIT] oops - the first one i uploaded had scene four drawn wrong (it was the same as scene 8).. it should be ok now

          i hope the skp is pretty explanatory.. i think it's less confusing than the 5 paragraphs i had type up 😄

          dotdotdot

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

            Chris

            Whatever is needed for the original to stay put would work.
            Drove me crazy until I looked at the Component pulldown.

            Selective icons would be perfect

            Maybe a universal script to access and integrate other's work???

            An aside:
            My wife heard your little one in the backgound on the video.
            Mother's ears never rest. ☀

            Cheers

            dtr

            1 Reply Last reply Reply Quote 0
            • Chris FullmerC Offline
              Chris Fullmer
              last edited by

              UPDATED v0.3 beta!

              0.3 Beta:: 2009-04-10

              • Added a check to disable the up and down keys until the correct selections have been made.
              • Added more checks to make sure that the line and curve being selected are acceptable selections. Pops up messageboxes letting you know if your selection was invalid.
              • Now it leaves a component where the original group/component was located. It remains mostly untouched, but it might get a name change, and if its a group it gets changed to a component.

              ok, a few more safety checks to help the selection process and now the original shape gets left in place.

              Chris

              Lately you've been tan, suspicious for the winter.
              All my Plugins I've written

              1 Reply Last reply Reply Quote 0
              • Chris FullmerC Offline
                Chris Fullmer
                last edited by

                I had accidentally uploaded my testing version. It was online for about 2 minutes. If you get an error something like "You must a single group/component before activating this plugin" when you start Sketchup, that means you got the bad copy. Just delete it and re-install with the copy that is up right now. Thanks!

                Chris

                Also, the idea of a universal script to control all plugin's toolbars has long been a dream of lots of people. so far it seems like a no go. I could probably get it working for just my scripts, but it would require a little bit of thinking. I know fredo has implemented something like it (plus lots more) for his scripts.

                Lately you've been tan, suspicious for the winter.
                All my Plugins I've written

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

                  You might not believe this, but on my first try, I managed to find what script was breaking it...
                  I don't know if it's for all versions, but I know that at least the version I have is breaking it...
                  (drumroll)...

                  SketchyPhysics3X. I still don't know which file in particular, but something in sketchyphysics seems to break the ability to toggle in your script.
                  ... 😞 bad luck for me...

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

                    The home and end keys don't seem to work either 😳
                    I'll try to figure out which script might be breaking it...
                    Picture 2.png
                    The good news: when all other rubies are removed, I don't get the problem, so it MUST be another script breaking it.

                    1 Reply Last reply Reply Quote 0
                    • Chris FullmerC Offline
                      Chris Fullmer
                      last edited by

                      Oh bummer! Well I just PM'ed Chris Phillips, we'll see if he has any thoughts about what the problem might be and if its fixable.

                      The alternative is to always draw the line from right to left, and if the arc is oriented the wrong direction, just cancel out of the shape bender and scale the arc manually on the red axis. Then re-run shape bender and the curve will be oriented correctly. a litle more time consuming, but its not bad.

                      Chris

                      Lately you've been tan, suspicious for the winter.
                      All my Plugins I've written

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

                        @chris fullmer said:

                        Oh bummer! Well I just PM'ed Chris Phillips, we'll see if he has any thoughts about what the problem might be and if its fixable.

                        The alternative is to always draw the line from right to left, and if the arc is oriented the wrong direction, just cancel out of the shape bender and scale the arc manually on the red axis. Then re-run shape bender and the curve will be oriented correctly. a litle more time consuming, but its not bad.

                        Chris

                        ...I just move the first line to the other side of my shape. it seems to do the same thing.

                        1 Reply Last reply Reply Quote 0
                        • gillesG Offline
                          gilles
                          last edited by

                          One word: GREAT

                          I attach here two files LIMON2-en.skp and LIMON3.skp.
                          The first one is a tuto I made for staircase stringer creation (translated by GreyHead).
                          The second is the same shape made with SHAPE BENDER.

                          The result is the same but you can imagine how much time the first one takes to do.

                          GREAT.
                          THANKS.


                          LIMON2-en.skp


                          LIMON3.skp


                          LIMON2.jpg

                          " c'est curieux chez les marins ce besoin de faire des phrases "

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

                            nice example of putting this ruby to use gilles.. great results and i can imagine it being one heck of a time saver.

                            dotdotdot

                            1 Reply Last reply Reply Quote 0
                            • Chris FullmerC Offline
                              Chris Fullmer
                              last edited by

                              UPDATED v0.5 beta!

                              You must delete the clf_chap_bender.rb in the plugins folder if you had an older version of this plugin installed.

                              0.5 Beta:: 2009-04-11

                              • Added a toolbar and icon
                              • Added new mouse pointers that sort of hint at what you should be trying to click on next
                              • Fixed the bug where the bent shape would not appear smoothed until you double clicked on it. Should look good now immediately after bending.
                              • Added extensions support so this plugin can be turned off through the extensions manager.
                              • Added Progressbar.rb support. It is now required. Get it at smustard.com

                              The icon is not great. I'd consider replacing it in the next release if anyone feels so motivated to design a better one.

                              Also, this plugin now requires progressbar.

                              ok, thanks!

                              Chris

                              Lately you've been tan, suspicious for the winter.
                              All my Plugins I've written

                              1 Reply Last reply Reply Quote 0
                              • Chris FullmerC Offline
                                Chris Fullmer
                                last edited by

                                Updated - minor. v0.51 beta

                                Ok, thanks Jeff. I got the code in place for the Mac please test it and let me know if I got it right. I also gave the icon a transparent background so it doesn't stand out so much. Its still ugly though 😄

                                And Jeff, why is your perpendicular face tool icon so tiny? That's kind of weird. It should be the normal size.

                                Chris

                                Lately you've been tan, suspicious for the winter.
                                All my Plugins I've written

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

                                  sweet.
                                  the toolbar works. thank you.

                                  i wouldn't necessarily say the icon looks ugly.. if anything, once you use the tool, the icon describes it perfectly.

                                  i'm not sure what's up with the tiny icon.
                                  they look good in their regular toolbar

                                  http://homepage.mac.com/jeffhammond/.Public/scf/perpicons.jpg

                                  all three of them are tiny with the custom toolbar though and they're the only 3 i've ever seen it happen with..

                                  BTM has perpendicular face and a mac.. i wonder if he's getting the same thing?

                                  dotdotdot

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

                                    hey chris..

                                    re: toolbar
                                    i'm wondering if you can add some lines in the future updates for the mac users.. supposedly macs don't remember if the toolbar is on or off in the same way pcs do and the scripts need a little something to help the macs along..

                                    i replaced line 993 with this:

                                    case toolbar.get_last_state
                                        when 1
                                           toolbar.restore
                                        when -1   
                                           toolbar.show
                                        end
                                    

                                    it's working well. i can have the toolbar off when i quit sketchup and it will stay closed upon a relaunch..

                                    fwiw, that code might as well be chinese.. i don't understand it but it's something fredo figured out..

                                    here's a copy of the modification for you to look at and see if there would be any problems with keeping it in the future releases.
                                    [edit - removed link -- no longer necessary]
                                    (with perpendicular face tools, i did the same thing at line 748 of release 1.2)

                                    thanks

                                    [edit] oh, two more things..

                                    1. the reasoning behind this for me is that i can customize the toolbar at the top of my SU window which can contain tools that only have one icon or for toolbars which contain more icons but i really only use one or two of them. if the toolbar doesn't let me turn it off, then have have two of the same icons in different places on my screen + the small toolbars (containing 1 or 2 icons) just seem a little lonely sitting amongst the bigger toolbars.

                                    2. yeah, you should get one of the icon makers around here to make some for this script and perpendicular face.. here's a screenshot of the customized toolbar:

                                    http://homepage.mac.com/jeffhammond/.Public/scf/toolbar.jpg

                                    the little tiny spec sitting between the view selections and 1001bit extrude icon is the perp.face icon 😄... the shape bender icon doesn't have a transparent background. i think it'd be cool to get the same person to do your whole suite just for a consistent CF look..

                                    and yeah, i hope i'm not bumming you out with these weird little nit-picks 😄

                                    dotdotdot

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

                                      oops.. this version dosen`t work for me. I have progressbar.rb
                                      I can select the first line and the endline. But it dosen´t show the object in wireframe mode and with enter dosen´t accept... so i can´t bend.

                                      Any idea what is happening?

                                      Daniel S


                                      problem.jpg

                                      1 Reply Last reply Reply Quote 0
                                      • Chris FullmerC Offline
                                        Chris Fullmer
                                        last edited by

                                        Boy, its giving a few errors there. But it sort of looks like I might have implemented the progressbar wrong in the exploding part of the program. Could you upload a model that is not working? Thanks,

                                        Chris

                                        Lately you've been tan, suspicious for the winter.
                                        All my Plugins I've written

                                        1 Reply Last reply Reply Quote 0
                                        • Chris FullmerC Offline
                                          Chris Fullmer
                                          last edited by

                                          Oh, I have another idea Daniel. Do you have component spray installed? If so, make sure you have the most recent version. Here's the link:

                                          301 Moved Permanently

                                          favicon

                                          (www.sketchucation.com)

                                          Chris

                                          Lately you've been tan, suspicious for the winter.
                                          All my Plugins I've written

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

                                            @chris fullmer said:

                                            Oh, I have another idea Daniel. Do you have component spray installed? If so, make sure you have the most recent version. Here's the link:

                                            301 Moved Permanently

                                            favicon

                                            (www.sketchucation.com)

                                            Chris

                                            I update the component spray plugin and now Shape Bender works fine. 😍

                                            Thank you,
                                            Daniel S

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

                                            Advertisement