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

      Grate one ! THNX

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

        Hi all,

        Using the plugin with dynamic component it crashes.
        Has anyone successfully bent a DC?

        Otherwise, it works fine.

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

          Since the Component [DC] is copied to make the bent version it may well conflict with a DC as there is generally only one instance of each variant.
          You can copy the DC off to one side and explode it down to its raw geometry and then make a group of that, and then bend that group - it will have lost all of it's DC-ness, so those issues should be avoided...
          It's a good idea to do complex operations, like bending, on an object located in a relatively empty SKP, and recombine things into a combo-model afterwards - so exploding the DC in these circumstances seems quite possible.
          You can't expect a DC to retain its DC-ness/properties after bending it, as all of its axes etc will be messed up, even if it were to make it through the processing... πŸ˜’

          TIG

          1 Reply Last reply Reply Quote 0
          • gullfoG Offline
            gullfo
            last edited by

            grab TIG's "undc" script and run that before doing the bend.

            Glenn

            http://www.runnel.com

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

              @gullfo said:

              grab TIG's "undc" script and run that before doing the bend.

              I'd forgotten I made that πŸ˜’
              http://forums.sketchucation.com/viewtopic.php?p=382224#p382224

              TIG

              1 Reply Last reply Reply Quote 0
              • T Offline
                tonkolan
                last edited by

                it was awesome plugin tools
                thanks for sharing

                1 Reply Last reply Reply Quote 0
                • gullfoG Offline
                  gullfo
                  last edited by

                  @tig said:

                  I'd forgotten I made that πŸ˜’
                  http://forums.sketchucation.com/viewtopic.php?p=382224#p382224

                  it's one of my most important tools now β˜€ - i can use a huge number of DC in my models then "un-DC" them and ship the model out without worrying that my DC will be distributed...

                  Glenn

                  http://www.runnel.com

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

                    It's not even a 'tool'... just a 'code snippet'...
                    Glad it was useful πŸ˜„

                    TIG

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

                      Hey everyone? How do I run this script? I have no idea how to get this "tool" to show up in Sketchup to use it 😞

                      1 Reply Last reply Reply Quote 0
                      • thomthomT Offline
                        thomthom
                        last edited by

                        @maladzien said:

                        Hey everyone? How do I run this script? I have no idea how to get this "tool" to show up in Sketchup to use it 😞

                        See if this article helps you: http://www.thomthom.net/thoughts/2012/01/installing-plugins-for-google-sketchup/

                        Thomas Thomassen β€” SketchUp Monkey & Coding addict
                        List of my plugins and link to the CookieWare fund

                        1 Reply Last reply Reply Quote 0
                        • G Offline
                          Geveltje
                          last edited by

                          Hello all,

                          First I want to say that my english writing is not very good, so sorry for the mistakes.
                          I have a little help from google πŸ‘

                          I am very excited about the plugin, I just can not get it working properly.

                          I select my component.
                          Select the straight line
                          Select the curve line
                          I see that both lines a start and an end appears
                          but that's all, nothing further happened. I can use the up and down arrow keys to change the start and end.
                          Also when I press enter then nothing happens.

                          the straight line is equal to the red axis, the curved line i tried on all axes.
                          I really do not know what I'm doing wrong

                          I hope I have explained clearly
                          Thanks for the response

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

                            Roy

                            Have you installed the additional helper script progressbar.rb, which is download-able free from Smustard.com.
                            It's a common issue with less experienced members forgetting about addition helpers like this for the more complex tools - although it is clearly mentioned and linked in the tool's download page.
                            Also make sure that the 'line' is parallel to the X[red] axis and that it touches no other geometry, also note that the 'curve' must not touch other geometry either.
                            Also don't try to bend tiny or enormous objects [most day-to-day sized things should be OK, but tiny parts for swiss-watches or entire cities will create issues]...

                            If you are still getting issues then try running the tool after you've opened the Ruby Console. Post any error messages you get in it, this might give us a better clue as to what you have inadvertently done wrong πŸ˜’

                            TIG

                            1 Reply Last reply Reply Quote 0
                            • G Offline
                              Geveltje
                              last edited by

                              Hello TIG,

                              Sometimes is the solution so simple that you overlook them

                              I have the plugin and the progressbar removed and reinstalled and now it works perfectly πŸ˜„

                              Thanks you for your answer

                              1 Reply Last reply Reply Quote 0
                              • P Offline
                                pustko
                                last edited by

                                Hello everybody!first time posting.
                                Yesterday I installed some ruby plugins for sketchup (8)and tried out the Chris Fullmer Shape Bender. After a while, I managed to make it work succesfully, bending the rqmp Im working at (architecture digital model). Everything fine and happy as hell.
                                Then, this morning, same file, same computer, doing exactly the same steps, the bender tool doest work:
                                I draw the figure, group it up, draw the line along red axis, same length, and the single curve. select group, open the tool,select the line,select the curve. the signs "start" "end" appear, I can change their position, but thats it! no green shape, no final bended figure.

                                Maybe the answer is alreqdy somewhere in the forum, but theres a lot of posts, and i have so little time, i got a delivery today and have to finish the model as soon as possible.
                                thanx in advance

                                1 Reply Last reply Reply Quote 0
                                • P Offline
                                  pustko
                                  last edited by

                                  I got the progressbar installed, etc
                                  Yesterday it was working neatly!! that's what buggin me the most.

                                  found this:

                                  n draw' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_shape_bender/clf_shape_bender.rb:671 Error: #<NoMethodError: undefined method /' for nil:NilClass>
                                  C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_shape_bender/clf_shape_bender.rb:671:in draw' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_shape_bender/clf_shape_bender.rb:671 Error: #<NoMethodError: undefined method /' for nil:NilClass>
                                  C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_shape_bender/clf_shape_bender.rb:671:in `draw'
                                  C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_shape_bender/clf_shape_bender.rb:671

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

                                    Pustko.

                                    The important part of any error message is the beginning...
                                    Please don't trim them.
                                    OK let's assume that the progressbar.rb is installed and called by this tool.
                                    After which step does this error appear?
                                    After picking the line, the curve or other ?
                                    Are you doing the other steps correctly ?

                                    axis?

                                    Is it freestanding and not touching any other geometry - faces, edges, curves etc?
                                    Is the 'curve' freestanding and not touching any other geometry - faces, edges, curves etc?
                                    If you still have issues try attaching a simple SKP you are having issues with...
                                    Or even some images...
                                    A picture paints a thousand words.

                                    TIG

                                    1 Reply Last reply Reply Quote 0
                                    • P Offline
                                      pustko
                                      last edited by

                                      Hello TIG, thanx for the feed back:

                                      The error appears after selecting the curve. The process bar freezes at 2% or 5%
                                      The object is a "group", the line is in the red axis and doesnt touche anything, the curve doesn't either

                                      first time it worked perfectly πŸ‘ next dqy stopped working πŸ‘Ž
                                      the model is the simplest possible; I attach it.

                                      Yesterday I read the first 20 pages in this forum 😲 I think it might be a problem with compspray.rb or maybe SketchyFFD. At the office I have no "administrator acces" to remove them, but I will ask and try to remove them as soon as possible.

                                      Thank you.

                                      here' the beggining of the error message:

                                      Error: #<ArgumentError: comparison of Float with nil failed>
                                      (eval):44:in >' (eval):44:in update'
                                      C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_shape_bender/clf_shape_bender.rb:533:in exploder' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_shape_bender/clf_shape_bender.rb:526:in each'
                                      C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_shape_bender/clf_shape_bender.rb:526:in exploder' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_shape_bender/clf_shape_bender.rb:244:in onLButtonUp'
                                      Error: #<NoMethodError: undefined method /' for nil:NilClass> C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_shape_bender/clf_shape_bender.rb:671:in draw'
                                      (eval):44
                                      Error: #<NoMethodError: undefined method /' for nil:NilClass> C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_shape_bender/clf_shape_bender.rb:671:in draw'
                                      C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_shape_bender/clf_shape_bender.rb:671
                                      Error: #<NoMethodError: undefined method /' for nil:NilClass> C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_shape_bender/clf_shape_bender.rb:671:in draw'
                                      C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_shape_bender/clf_shape_bender.rb:671


                                      Sans titre.skp

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

                                        I have no issues except the 'bent object' is somewhat weird because of the chosen line and curve's relationship to the original, but it's a bit better if I toggle the shape 'direction'...
                                        However, I recommend that "everything" - i.e. the group, line and curve - is relocated in the 'positive' quadrant - i.e. where red/green/blue [x/y/z] are all 'positive values' [== solid axes lines]...
                                        It might be that your progressbar is not installed properly too ?
                                        Please double-check that its .rb file is definitely in the Plugins folder, as directed... and that you don't have any 'Compatibility Files' issues [link button showing in the Explorer Window's top bars...]. This can happen if you don't have FULL security permissions to folders like Plugins - Windows protects you from yourself by not fully installing items... To fix right-click context-menu on the Plugins folder icon and Properties > Security > Edit - even being an 'Admin' is not always sufficient to automatically get the right permissions... See thomthom's new helper too ... http://sketchucation.com/forums/viewtopic.php?p=434453#p434453 this checks if everything is installed OK...

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • P Offline
                                          pustko
                                          last edited by

                                          Eureka! πŸ˜†
                                          It works again. Finally I got one of the admin's to erase the compspray.rb plugin and shape bender works neatly again!
                                          Couldnt figure it out earlier; as I don't have access to make any change in the plugin folder...

                                          Thanks again for the help. This plugin is great!!! Its helping me so much with my architecture models!
                                          Thanks Chris!! thanks TIG!!


                                          RAMP.jpg

                                          1 Reply Last reply Reply Quote 0
                                          • thum8sT Offline
                                            thum8s
                                            last edited by

                                            OMG, Amazing work, like magic!!! πŸ˜„

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 52
                                            • 53
                                            • 54
                                            • 55
                                            • 56
                                            • 63
                                            • 64
                                            • 54 / 64
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement