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

      Hey Bob, good to see you on the forum here. How are you doing? Nothing new really at the moment. I've got a few that I've started on and never really completed, but they are nothing that asmazing really.

      Most people recommend a book called "the pickaxe", I think because it has a pickaxe on the cover:

      http://pragprog.com/titles/ruby/programming-ruby

      But it is actually called "Programming Ruby (2nd edition): The Pragmatic Programmers' Guide" and you can get it online for free:

      301 Moved Permanently

      favicon

      (www.ruby-doc.org)

      But the online version does make references to page numbers which are lost in the online version. But the online version is searchable, making it inredibly valuable.

      Also, my favorite tutorial for learning ruby is by Chris Pine. The tutorial chapters are on the left of the webpage, chapters 0 - 11:
      http://pine.fm/LearnToProgram/

      That one was really nice for a quick intro into ruby. Then beyond that, I've put together a few different tutorials on beginning interfacing SketchUp through ruby - which to me was more confusing that it needed to be. Its really pretty simple once you get the hang of it. I'll have to see if I can find links to my tutorials. They wre posted on this website at one point, but I think they've gone offline 😞

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

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

        it dont seem to work on my computer i have scetchup pro 8 ?

        1 Reply Last reply Reply Quote 0
        • GaieusG Offline
          Gaieus
          last edited by

          Hi Suraj,

          Are you sure you are doing everything well? Are you bending starting from the red axis? Also, have you installed progressbar.rb (I think it is needed).

          Gai...

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

            @suraj1991 said:

            it dont seem to work on my computer i have scetchup pro 8 ?

            If after checking Gaieus's advice...
            What is the problem [if any] ?
            Does it load without errors.
            Is there a menu item?
            Are there any error-messages when you use it?
            If you try to use it with the Ruby Console open do you get error-messages shown in there ?

            If you give us some more information to help us we can help you help yourself...

            TIG

            1 Reply Last reply Reply Quote 0
            • charly2008C Offline
              charly2008
              last edited by

              Hi All,

              So far the plugin has worked without problems. I like it very much. Today I wanted to try something and the result was as shown in the photos. I do not know what's wrong. The problem is the same in both SKP 7 and 8.

              The problem has solved itself after a restart Sketchup

              Charly


              2011-06-28_190732.jpg


              2011-06-28_190748.jpg


              Untitled5.skp

              He who makes no mistakes, makes nothing

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

                Hi Charly, you've got the start and ends mixed up. The arrow keys will toggle which end of the shape and path are supposed to be where. I would line them up so that starts are on the "left" (if you are looking straight down on the drawing, with the red axis going out to the right). So try pressing the up and down and left and right arrow keys until you get both "starts" to be to the left and the "ends" to be to the right. Then hit enter.

                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
                  d12dozr
                  last edited by

                  It also looks like there is weird smoothing in Charly's original bar that may be messing it up.

                  This plugin is sooo useful, I really wish you had time to develop it further, Chris...I'd even pay for a completed version...whaddya think? 🤓

                  3D Printing with SketchUp Book
                  http://goo.gl/f7ooYh

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

                    +1

                    This thing is killer

                    Download the free D'oh Book for SketchUp 📖

                    1 Reply Last reply Reply Quote 0
                    • charly2008C Offline
                      charly2008
                      last edited by

                      Hi Chris, Marcus, Rich,

                      thanks for your quick response. In my experience the reverse of start - end has only the effect that the bended part is within or outside of the curve.

                      Charly


                      2011-06-29_002752.jpg


                      2011-06-29_002852.jpg


                      2011-06-29_003249.jpg

                      He who makes no mistakes, makes nothing

                      1 Reply Last reply Reply Quote 0
                      • charly2008C Offline
                        charly2008
                        last edited by

                        Hi All,

                        the error shown above occurs sporadically and over again. If I download the same file again the same error appears. After a restart SketchUp, and with a new model, the faulty behavior is gone. I've uploaded the file. Maybe one of you can open the file again and check whether the error also appears. Thanks in advance.

                        Charly


                        2011-06-29_215620.jpg


                        ShapeBender.skp


                        2011-06-29_222540.jpg

                        He who makes no mistakes, makes nothing

                        1 Reply Last reply Reply Quote 0
                        • Dave RD Offline
                          Dave R
                          last edited by

                          I was getting the same results you show in your first image. How did you get it to work?

                          Etaoin Shrdlu

                          %

                          (THERE'S NO PLACE LIKE)

                          G28 X0.0 Y0.0 Z0.0

                          M30

                          %

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

                            @dave r said:

                            How did you get it to work?

                            push the Down arrow
                            ↓

                            dotdotdot

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

                              Karlheinz, I've been having the same thing happen to me lately. Tap the down arrow key. That fixes it for me. 😄

                              Chris, out of curiosity, what does the down arrow key do exactly? 😕

                              Edit: I've been beat. Sorry. 😳

                              --

                              SketchUpNoobie: the complete noob in all things SketchUp.

                              1 Reply Last reply Reply Quote 0
                              • Dave RD Offline
                                Dave R
                                last edited by

                                I used the Up arrow to change swap ends on the curve. Didn't try the down arrow to swap ends on the straight line. Weird.

                                Etaoin Shrdlu

                                %

                                (THERE'S NO PLACE LIKE)

                                G28 X0.0 Y0.0 Z0.0

                                M30

                                %

                                1 Reply Last reply Reply Quote 0
                                • charly2008C Offline
                                  charly2008
                                  last edited by

                                  Hi Dave,

                                  I started sketchup again and made a new model then it worked. Strange!

                                  Charly

                                  He who makes no mistakes, makes nothing

                                  1 Reply Last reply Reply Quote 0
                                  • charly2008C Offline
                                    charly2008
                                    last edited by

                                    With a little imagination you can create some interesting shapes.


                                    2011-06-29_232310.jpg

                                    He who makes no mistakes, makes nothing

                                    1 Reply Last reply Reply Quote 0
                                    • Dave RD Offline
                                      Dave R
                                      last edited by

                                      Reminds me of hook worms. 😄

                                      Etaoin Shrdlu

                                      %

                                      (THERE'S NO PLACE LIKE)

                                      G28 X0.0 Y0.0 Z0.0

                                      M30

                                      %

                                      1 Reply Last reply Reply Quote 0
                                      • charly2008C Offline
                                        charly2008
                                        last edited by

                                        Hi,

                                        by ShapeBender


                                        ShapeBender Art1.jpg


                                        ShapeBender Art.jpg

                                        He who makes no mistakes, makes nothing

                                        1 Reply Last reply Reply Quote 0
                                        • V Offline
                                          vidy
                                          last edited by

                                          surely nice try charly 👍

                                          still so much to learn..

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

                                            What the up and down arrow keys do is reverse the start and end points of the shape and the line. They should always be to the "left" of the model. This is mostly due to my poor programming skills at the time I made this thing, this was afterall my 3rd plugin I'd ever written. When you press the up/down key, you should see the start and end tags flipping places. And when you press the left/right keys, the other start/end tags will flip places. Please align them to the "left" side. If you are looking straight down on the model, with the solid red line going out to the right, then both "start" tags should be on the left of the model. I don't know how to make it more clear unfortunately. Its a little bit of bad programming, and a lot of "the ruby script can't read your mind". It needs to know which end of the shape should match up to which end of the line. Choosing the wring thing will cause the results you are seeing.

                                            The reason it work once the model is closed and re-opened is because SketchUp does not remember the start and end positions of lines in between sessions - once the model is close, SU dumps its memmory of start and end. So often they come in backwards of what they were originally, meaning my script will interperet the start and end differently.

                                            Anyhow, just play with pressing up/down and left/right and get good at making the starts both line up on the "left" side of the model (also known as the more negative x value, if that makes more sense in your head).

                                            Good luck!

                                            Chris

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

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

                                            Advertisement