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

      I also can't quite tell what the image is showing. Mind uploading the model?

      chris

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

      1 Reply Last reply Reply Quote 0
      • hellnbakH Offline
        hellnbak
        last edited by

        This is my first try using Shape Bender, usually I use Radial Bending. As you can see, the results are less than what I was expecting πŸ˜†

        I don't know where the phantom green shape is coming from, or why the object is extruding to that instead of the desired red shape. Any suggestions?


        1.jpg


        4.jpg


        5.jpg

        "Politicians are just like diapers -- they need to be changed often, and for the same reason"

        1 Reply Last reply Reply Quote 0
        • J Offline
          jorge.cubells
          last edited by

          @dave r said:

          I can't tell from your screen shot but I wonder if you have the "curve" laying down on the ground plane or is it standing up. If it is standing up vertical to the ground plane, that would explain why it isn't working for you.

          The curve is in the blue-red plane. It works with the curve on the left, but not with the profile curve on the right.

          Here is a new picture and the model.

          Thank you both,
          Jorge.


          thank you chris - 2.jpg


          prueba.skp

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

            @hellnbak - the green shape is the preview of what Shape bender is planning on doing. It is trying to show you what it came up with on its own.

            I think the problem in your case is that Shape Bender really like the curve shape to lie flat on the ground (with certain exceptions). But in this case, I kind of think that if you rotate the bend to lie on its side, and the floormat to lie on its side, then try it again, you might get a better result.

            If all else failes, you can always upload the model here and I'll look at it.

            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

              @jorge, looking at your model, I think I got a good result from it. Please download my model and look at it. I flipped the component up, and then moved the line to be directly under it. Shape bender will offset the final shape from the bending shape by the same distance that the component is offset from the straight line. So since you want to bend exactly to the shape of the bent shape, then the component needs to be directly on top of the straight line.

              I can make a video that explains it better if the model came out right.

              Hope it helped,

              Chris

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

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

                I didn't have any trouble with the GTO mat. See here: http://forums.sketchucation.com/viewtopic.php?f=15&t=33033&p=291297#p291297

                http://farm5.static.flickr.com/4085/5223519926_1d4e3b2b5a.jpg

                Etaoin Shrdlu

                %

                (THERE'S NO PLACE LIKE)

                G28 X0.0 Y0.0 Z0.0

                M30

                %

                1 Reply Last reply Reply Quote 0
                • J Offline
                  jorge.cubells
                  last edited by

                  @chris fullmer said:

                  @jorge, looking at your model, I think I got a good result from it. Please download my model and look at it. I flipped the component up, and then moved the line to be directly under it. Shape bender will offset the final shape from the bending shape by the same distance that the component is offset from the straight line. So since you want to bend exactly to the shape of the bent shape, then the component needs to be directly on top of the straight line.

                  I can make a video that explains it better if the model came out right.

                  Hope it helped,

                  Chris

                  Thank you, Dave and Chris.

                  It works when the curve is parallel to the green-red plane (see snapshot).

                  But, why the curve on the left (parallel to the blue-red plane) did work?

                  The second and third pictures might give you a clue:
                  if the curve has angles > 90 degrees it bends ok.
                  Ignores if angles = 90 deg.
                  And changes directions if < 90.

                  My problem is solved. I will flip up the entire model (as it should have always been). Thanks again.


                  thank you - 3.jpg


                  thank you - 4.jpg


                  thank you - 5.jpg

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

                    Hi Jorge, I hope yougot it all sorted out (sorry I forgot to upload my model!). Yes, flipping up on its end is the solution. It is all in the way Shape bender works. You have to realize shape bender is only the 3rd or 4th piece of code I've ever really written. So it is pretty good, but it is not as smart as it could be. There are certain things it was designed to do a certain way. I wrote it to wrap text onto the face of a curved wall. So it always expects the curve to lie flat on the ground. Even if you're curve is should stand up, you need to rotate it to lie flat on the ground. Lots of the logic behind how shape bender bends things is actually based on a 2d groundplane. It can handle 3dpaths sometimes, but it really is meant for 2d bending.

                    Maybe the Pro version someday will be a bit more intelligent on how to follow any given bending path.

                    Chris

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

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

                      i have a problem with the tool. the bar was loaded, but it doesn't work selecting the first line and the second arc!! when selecting the group, then i click the shape bender tool but there must be a line appear under the arrow. but not.

                      what is the problem?

                      the error in ruby console

                      Error: #<TypeError: no implicit conversion from nil to integer>
                      C:/Program Files/Google/Google SketchUp 8/Plugins/clf_shape_bender.rb:168:in set_cursor' C:/Program Files/Google/Google SketchUp 8/Plugins/clf_shape_bender.rb:168:in onSetCursor'
                      C:/Program Files/Google/Google SketchUp 8/Plugins/clf_shape_bender.rb:176:in `onMouseMove'
                      C:/Program Files/Google/Google SketchUp 8/Plugins/clf_shape_bender.rb:168

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

                        I am just having a small problem. I only looked back a few pages, but I didn't see anybody else with the same issue. Basically, after selecting the line and curve, shapebender doesn't do anything. It puts the start/end on both ends of the line and curve, but wont bend the shape. The shape is a basic rectangular prism and is a component. Hopefully I am not overlooking a basic step!

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

                          After it places the start and end tags, you need to press enter. That might be all it is. Hope that solves it, if not, let me know!

                          Chris

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

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

                            Oh wow, after double checking I had forgotten I am on a different PC without Progress Bar. That was the reason πŸ˜’ Thanks for the quick response Chris!

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

                              I have downloaded bender and have used it a couple of times, however it does not curve the ends of the box as it shows on your video tutorial. I am actually bending text, but have used it on a rectangular box as well. Both curve but keep all of the vertical ends at 90 degrees to the original line and do not curve. Are there settings for this that I am not aware of? Also if it matters my straight text was already rotated vertically to be placed on a building facade. Does this matter?

                              diacovoni

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

                                I tried to post this earlier, but couldn't find it so sorry it it is in here twice. I have downloaded Shape bender and I have successfully used it on a rectangular box and text, however in both cases the ends of the box and text stay perfectly vertical and do not have a radial curve as shown in the video tutorial. Is there a setting that adjusts this?

                                diacovoni

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

                                  Hi there, sorry your post took so long to get approved. I think we (the moderators) are on vacation mode a little. We try to get them approved quickly, but today it is taking a quite a few hours.

                                  Well, I am not exactly sure what the problem is. Do you have an image to describe it? My guess is that you are experienceing a known fault with the plugin. It does not bend the first and last segments the same amount as the rest of the segments in the curve. It does this for a few technical reasons - sometiems it is the correct bending solution. But sometimes it is not. So if you post a picture of what you are experiencing, I'll look at it and I'll tell you if it is this same problem. IF it is, there is a bit of a workaround you can try that includes adding an extra segment to the arc in the beginning and the end.

                                  Chris

                                  PS I'm on vacation until Jan 3rd, so I might be slow-ish to respond.

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

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

                                    I think I figured it out. My text was already rotated vertically on the wall. I read some previous posts where it indicated the script was based on the horizontal red green axis. I placed my text flat on the ground and then had no problem with the curve. All I needed to do after that was rotate it vertically to place on the wall.

                                    Thanks for the response. Hope this helps others in the same situation.

                                    diacovoni πŸ˜„

                                    1 Reply Last reply Reply Quote 0
                                    • X Offline
                                      xtr3mx7
                                      last edited by

                                      Hello, I am a new user and while running the script, I am not able to select any line, be it single straight or curve.

                                      Pls find below the ruby console output:

                                      
                                      Error; #<TypeError; can't convert nil into String>
                                      C;/Program Files (x86)/Google/Google SketchUp 8/Tools/clf_shape_bender/clf_shape_bender.rb;161;in `create_cursor'
                                      C;/Program Files (x86)/Google/Google SketchUp 8/Tools/clf_shape_bender/clf_shape_bender.rb;161;in `make_cursors'
                                      C;/Program Files (x86)/Google/Google SketchUp 8/Tools/clf_shape_bender/clf_shape_bender.rb;131;in `activate'
                                      C;/Program Files (x86)/Google/Google SketchUp 8/Tools/clf_shape_bender/clf_shape_bender.rb;1017;in `select_tool'
                                      C;/Program Files (x86)/Google/Google SketchUp 8/Tools/clf_shape_bender/clf_shape_bender.rb;1017
                                      
                                      

                                      Thanks in advance.

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

                                        @xtr3mx7 said:

                                        Hello, I am a new user and while running the script, I am not able to select any line, be it single straight or curve.

                                        Pls find below the ruby console output:

                                        
                                        > Error; #<TypeError; can't convert nil into String>
                                        > C;/Program Files (x86)/Google/Google SketchUp 8/Tools/clf_shape_bender/clf_shape_bender.rb;161;in `create_cursor'
                                        > C;/Program Files (x86)/Google/Google SketchUp 8/Tools/clf_shape_bender/clf_shape_bender.rb;161;in `make_cursors'
                                        > C;/Program Files (x86)/Google/Google SketchUp 8/Tools/clf_shape_bender/clf_shape_bender.rb;131;in `activate'
                                        > C;/Program Files (x86)/Google/Google SketchUp 8/Tools/clf_shape_bender/clf_shape_bender.rb;1017;in `select_tool'
                                        > C;/Program Files (x86)/Google/Google SketchUp 8/Tools/clf_shape_bender/clf_shape_bender.rb;1017
                                        > 
                                        

                                        Thanks in advance.

                                        It seems it's not finding ../Plugins/clf_shape_bender/curve_pointer.png - you should have these files in the 'clf_shape_bender' subfolder inside Plugins...Capture.PNG

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • A Offline
                                          arjunmax09
                                          last edited by

                                          Hello everyone..
                                          I'm using Google SketchUp Pro 8 . I am unable to make a ramp using shape bender that is 34 metres long and has 1:10 slope. The Shape Bender doesn't bend the ramp as expected. I've attached a video and a model of the ramp.


                                          Ramp problem.rar

                                          when you fail at something....you haven't really failed...you've found one way the thing will not work out

                                          1 Reply Last reply Reply Quote 0
                                          • numbthumbN Offline
                                            numbthumb
                                            last edited by

                                            How about this?

                                            Comfortably numb...

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 33
                                            • 34
                                            • 35
                                            • 36
                                            • 37
                                            • 63
                                            • 64
                                            • 35 / 64
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement