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

      Jeff

      Got it and thanks.

      dtr

      1 Reply Last reply Reply Quote 0
      • W Offline
        waltw
        last edited by

        Draw line on red axis, build and group a cube, draw an arc all on the same plane. Select tool.

        Can't seem to get by 'please select a single line on red axis' I don't know much about ruby but thought that the following info might be pertinent??Ruby console output.jpg

        Line 165 refers to code snippet: @line_pointer = UI.create_cursor(line_cursor_path, 15, 2)

        My cursor does not change in anyway. Supposed to??

        I thought there might be a conflict with other scripts so I removed them all (other than progress bar) to test - no avail.

        Using XP SP3, SU7

        OpenGL problem? Any suggestions as to what to tweak?

        Thanks, Walt

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

          That sounds like it did not get installed quite right. There should a file called clf_shape_bender.loader.rb in the main plugins folder. Then there should be a folder caled "clf_shape_bender" and inside that folder should exist the files:

          clf_shape_bender.png
          clf_shape_bender.rb
          clf_shape_bender_small.png
          curve_pointer.png
          default_pointer.png
          line_pointer.png

          I'm guessing you might have ended up with everything in the main plugins folder. So manually create the clf_shape_bender folder and move all those files above into it, leaving only clf_shape_bender_loader.rb in the main plugins folders.

          See if that is by chance the problem and let me know, 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

            I gotta admit, neither of those uses crossed my mind! They look great. I'm going to a cad manager meeting and I'm doing a presentation on Dynamic Components and Ruby. I'll be sure to include that example in my presentation!

            Chris

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

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

              Chris is there any solution to my problem yet?

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

                What I'd absolutely love (and don't get me wrong, Chris, this is a brilliant ruby in its kind anyway) is if the UV maps (say positioned texture and such) would keep their maps relative to the modified (bent) mesh. I.e. if the texture bent along with the mesh itself.

                Example: just imagine building perfectly textured arches in seconds.

                Gai...

                1 Reply Last reply Reply Quote 0
                • massimoM Offline
                  massimo Moderator
                  last edited by

                  Many thanks for the plugin, Chris.
                  It can make this...
                  bend tool.jpg
                  or this!!
                  bend tool 1.jpg

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

                    Hi Sepo, thanks for reminding me. At this point, no, I've got nothing for that. It is odd that its the same error that most people get when they have a conflicting script. But you said you unloaded all other scripts and the problem persisted, right?

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

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

                      Yes that is correct. I have installed it my quad desktop with vista and it is really fine. I have also loaded it up on my laptop xp and it fine. It is only on this xp desktop which is making error. I can't work out why. I will go again through the plugins, but these are the same ones which I have on the laptop. I must point out the first version worked fine on the xp desktop . It is the last version I have problem with. It seems it has something to do with progress.rb but I do not know where to look. BTW plugin is awesome and I see much more use for it than simple bending. Using form to do transformations seems to give a lot of possibilities.

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

                        ok, I have to ask again just to be sure - as this has bitten many many people in the passed - but did you look in "compatibility files" folder? This is a special new fun feature of Vista where it hides files to keep you safe. Navigate to the plugins folder and look for a button called compatibility files as shown in the picture I found on the internet:

                        DH5.jpg

                        Ignore the path and the "games" that is circled, just notice the compatibility files button that is circled. If you have that button showing, then you have hidden plugins installed. You need to click on that button to go to your Plugins "Compatibility Files" folder. Once in it, you'll find a bunch of plugin files. You can just move them all into your plugins folder. They still work just fine when in the compatibility folder, they just make troubleshooting challenging 😄 Now is there any chance that you have a copy of component spray in that folder? Move it over to the plugins folder and then make sure you have the updated version I linked to earlier. Or for testing purposes, you could even remove all the plugins from compatibility files location and the regular plugins location temporarily. Then put back clf_shape_bende_loader, the clf_shape_bender folder, and progressbar.rb.

                        If you are not having the compatibility files problem, then I'm really running low on ideas. There is no reason that just my script and progressbar.rb alone should not work. Unless you also have another location that is loading ruby scripts somehow....?

                        Chris

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

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

                          As I said I loaded it on Vista qaud desktop. It works no problem there.
                          It has problem on my other desktop which runs on XP.

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

                            😳 mis-read that bit. sorry about that. Could you send me a model that it is not working on? (which should be easy if it is every model). If I can't find anything, I'll just release a simulatenous version that does not call progressbar.

                            Chris

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

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

                              It seems it was component spray. When I removed plugins one by one I just upgraded to new compospray thinking that will do the job. I made a point to update it as you asked before but it seems it still clashes with other plugins. I removed it now completely and it works like charm. Also made my protrude work again. I am really sorry to have bothered you.


                              bend.jpg

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

                                Hey, thats great!

                                And not a bother at all. But the new version of component spray really should be compatible now.

                                Mind trying to upgrade it one more time? Here is the link to the newest compatible version:

                                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
                                • S Offline
                                  sepo
                                  last edited by

                                  😳 I do not know what happened when I upgraded. It works now. Thanks very much for your patience. BTW some of the forms which would have taken long time to model or were almost impossible now can be done in no time. I suggest you change the name from bend to morph because that is exactly the thing this plugin is capable of. BTW I showed the plugin to my students today. There was just one big woooow.
                                  Thanks once again for your patience.

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

                                    WooHoo! Glad its all working now.

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

                                    1 Reply Last reply Reply Quote 0
                                    • W Offline
                                      watkins
                                      last edited by

                                      Dear Chris,

                                      I have just installed your shape bender ruby and tried one of the shapes shown in Massimo's post. Amazing!! You really are a very clever chap.

                                      It struck me that we might begin a thread where people can post tutorial examples of using your ruby to solve tricky modelling problems. Perhaps Massimo could start the thread with his two examples. This could be useful to new users of Sketchup, and also to expand the use of your ruby. As it stands it is almost a loft tool which people have been asking for for a long time.

                                      Thank you for all your hard work.

                                      Regards,
                                      Bob

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

                                        I agree Bob.
                                        Seeing a few examples with explanations would be a big help to people.
                                        It seems this tool is far more poerful than it first seemed!

                                        http://dmdarchitecture.co.uk/

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

                                          Hi Chris,

                                          Not sure if I'm doing something wrong here.
                                          It shows up the right bending, but when I finally press enter, it just desapers!

                                          thanks for the plugin!


                                          bend problem...

                                          "eat well, stay fit, die anyway..."

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

                                            @Gaucho - Could you open the Ruby Console (Windows>Ruby Console) and then run the script. It should hopefully output a bunch of errors when you hit enter. Please copy and paste those here into the forum. That should help figure out the problem. Does it happen with every model, or just that specific example?

                                            @Bob and Dylan - I agree, I didn't think about my script doing those things quite honestly. I wouldn't mind seeing more examples to help my brain understand how the script is being used. Maybe its a gallery topic? Showing off the output from a script? I could see that. Or maybe in plugins - shape bender in action! I don't know. Or maybe I can include their images in the first post of this thread to show what the script does beyond my basic tutorial video.

                                            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
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 63
                                            • 64
                                            • 7 / 64
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement