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.
    • charly2008C Offline
      charly2008
      last edited by

      Hi TIG,

      thanks for your quick response it works now.

      Charly

      He who makes no mistakes, makes nothing

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

        Hello out there. I'm new to the forum, but have been using sketchup for many years now. I just discovered the bender script, but am not able to get it to work. The progress bar at the bottom stops either at 1% or 5% depending ont he complexity of the group. The ruby console shows the following text:

        Error: #<NoMethodError: undefined method /' for nil:NilClass> C:/Program Files/Google/Google SketchUp 7/Plugins/clf_shape_bender/clf_shape_bender.rb:676:in draw'
        C:/Program Files/Google/Google SketchUp 7/Plugins/clf_shape_bender/clf_shape_bender.rb:676

        As I am not a programmer, this is completely over my head. Can anyone help to get this script working?

        Many thanks.

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

          This sounds like you might be having a conflict with an old version of Component Spray plugin.

          If you have component spray installed, please uninstall it and re-install the newest version. THat should fix your problem. Let me know if works or not.

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

            That did the trick. Thank you very much. And by the way, this is an awesome plugin. Nice work, and thanks again.

            Mike

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

              I've almost given up. Ran Ruby console while trying to use this plugin and this is what i got:

              Error: #<NoMethodError: undefined method all_connected' for nil:NilClass> C:/Program Files (x86)/SketchUp 7/Plugins/clf_shape_bender/clf_shape_bender.rb:307:in line_picker'
              C:/Program Files (x86)/SketchUp 7/Plugins/clf_shape_bender/clf_shape_bender.rb:239:in `onLButtonUp'
              C:/Program Files (x86)/SketchUp 7/Plugins/clf_shape_bender/clf_shape_bender.rb:307

              WIN7 64bit

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

                Hmm, do you have component spray installed? If so, please update. There was a version that was around for a while that caused problems.

                If that does not work, please verify that you have the files in the right places. In the plugins folder you should have a file called clf_shape_bender_loader.rb and a folder called clf_shape_bender. All other shape bender files (another .rb file and a bunch of icons) should go inside the clf_shape_bender folder.

                So I guess verify those two things. If you do have the most current version of component spray instlled (please actually do re-download and install it again) and you do have your file structure set up correctly, then come back and we'll keep trying things.

                Chris

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

                1 Reply Last reply Reply Quote 0
                • Y Offline
                  yna
                  last edited by

                  im having problems with the plug in. in the video after i click both the curved line and the straight line the red highlight appeared but the green diddnt and when i pressed enter, nothing happened. what did i do wrong? please help me

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

                    The red and green highlight will not always appear at the same time. So if you get the red highlight, then you're doing pretty good - better than most who have initial problems with the script.

                    It could be that the thing you are trying to bend is too complex. Test it with a simple box or something. That should bend instantly. If that works, then you might just need more patience. If the box does not work, and it still hangs on the red/green highlight, then there might be bigger problems. If that is the case, please open the Ruby console (from the Windows menu). Then try running the plugin. It will probably write errors to the ruby console. Please copy and paste ALL of those errors back here. I'll dig through them and see what I can see. Thanks,

                    Chris

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

                    1 Reply Last reply Reply Quote 0
                    • Y Offline
                      yna
                      last edited by

                      i tried using it with a less complex shape and it did work. thank you. amazing plugin!!

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

                        Great! Now it should also work with complex groups. It just might take more time. I've run some shapes that took 3 hours to bend (it was a fairly detailed corvette model). So once you know its working, you can start experiemneting with more complex shapes. Kust let it run until its done.

                        Thanks for trying the plugin,

                        Chris

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

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

                          Hi Chris,

                          i have a Question. How can i control to get a exact Half circle. Please have look at the Image below. Thanks in advance.

                          Charly


                          Unbenannt.JPG


                          Half Pipe.skp

                          He who makes no mistakes, makes nothing

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

                            Sorry,

                            the problem is solved. There was a difference in the length between the model and the line.

                            Charly


                            Unbenannt.JPG

                            He who makes no mistakes, makes nothing

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              THX-1138
                              last edited by

                              Love this, though it's grovelling over my screw threads. 😄

                              One thing, though. My desktop lost power during the final stage (after pressing 'enter'), and when I restarted Sketchup I chose to recover from the last autosave. Unfortunately, the shape-bending context didn't save gracefully (shape to bend had weird alterations, there were multiple 'start'/'end' markers, etc.) and I had to throw things out and re-load from the last manual save.

                              I don't know if SU provides a mechanism for plugins to be notified when a save is about to happen, but if so I think there's room for some fixes there.

                              How often do you lose power, though..

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

                                Hehe, sorry about that. That is the unfortunate nature of plugins. And this one in particular is doing a LOT of stuff behind the scenes. If it gets interupted in the middle of processing, crazy things happen. Normally one can just undo them, but if power is lost simultaneously, that can cause trouble.

                                Hope you were able to get your file up and running again.

                                Chris

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

                                1 Reply Last reply Reply Quote 0
                                • atelierpaarA Offline
                                  atelierpaar
                                  last edited by

                                  Hi Chris,
                                  I just came across your shapebender-tool.
                                  It works great - so I thought i might try If the things would also work on Reverse - Why this ?
                                  Well, I got a historic church here that has curved Walls with curved Windows.
                                  In order to renew the Windows frameconstruction, I am planing to take a 3D Laserscan of the exsisting construction, than reconstruct the Windowframing using the point-Cloud. Once that is done, It would be of great help to stretch the curved Geometry onto a Flat plane in order to produce the Frameparts by use of a Lasercutter.

                                  Do You think that would be possible?
                                  Uli

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

                                    Hi Chris,

                                    I was not sure whether I have the latest version, I installed the plugin again (Sketchup 7.1.6087). The file structure is as it should be. The compo_spray I removed, but did not help. Before I had no problem with the plugin as you can see in the post above. Now I get this error message.

                                    Charly


                                    Unbenannt.JPG

                                    He who makes no mistakes, makes nothing

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

                                      The error message seems to relate to a missing 'menu' definition, that then can't have an 'item' added to it.
                                      Can you type the following in turn into the Ruby Console, and post the results...

                                      $submenu
                                      then
                                      $clf_tools_menu
                                      then
                                      $clf_youtube_menu

                                      This should then tell us what's missing/malfunctioning...

                                      TIG

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

                                        @atelierpaar said:

                                        Hi Chris,
                                        I just came across your shapebender-tool.
                                        It works great - so I thought i might try If the things would also work on Reverse - Why this ?
                                        Well, I got a historic church here that has curved Walls with curved Windows.
                                        In order to renew the Windows frameconstruction, I am planing to take a 3D Laserscan of the exsisting construction, than reconstruct the Windowframing using the point-Cloud. Once that is done, It would be of great help to stretch the curved Geometry onto a Flat plane in order to produce the Frameparts by use of a Lasercutter.

                                        Do You think that would be possible?
                                        Uli

                                        Hi Uli, that would be interseting, but at this point, the script does not do that. I'm not sure if there is some way you could make it do that with by bending to an arc that is exactly opposite of the original curve. That might be possible. But for now, the script was not built to do that natively. Sorry, but 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
                                        • Chris FullmerC Offline
                                          Chris Fullmer
                                          last edited by

                                          @Charly, that is odd. Do what TIG shows there. You might even just try re-downloading and installing it again. Perhaps the file itself got messed up.

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

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

                                            Hi Chris, hi TIG,

                                            I have only just come home. Here's the result:


                                            Unbenannt.JPG

                                            He who makes no mistakes, makes nothing

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 25
                                            • 26
                                            • 27
                                            • 28
                                            • 29
                                            • 63
                                            • 64
                                            • 27 / 64
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement