• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ 30% Off | Artisan 2 on sale until April 30th Buy Now

[Plugin] Shape Bender Beta

Scheduled Pinned Locked Moved Plugins
1.3k Posts 331 Posters 1.7m Views
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.
  • V Offline
    viahe
    last edited by 8 Oct 2013, 13:37

    Thank you so much. Simple but yet, great ruby

    1 Reply Last reply Reply Quote 0
    • D Offline
      dancho
      last edited by 11 Oct 2013, 11:07

      Hi Chris,

      plugin don't work with FREDO's AdditionalPluginFolders.
      Is it possible to make it work with it?

      THX
      Dancho

      1 Reply Last reply Reply Quote 0
      • T Offline
        TIG Moderator
        last edited by 11 Oct 2013, 13:20

        Like I told you in another recent post... πŸ˜‰
        The code needs adjusting around lines #158-160 of the main code file clf_shape_bender/clf_shape_bender.rb...
        Use Notepad plain text editor...
        Change the lines:
        line_cursor_path = Sketchup.find_support_file("line_pointer.png", "Plugins/clf_shape_bender") curve_cursor_path = Sketchup.find_support_file("curve_pointer.png", "Plugins/clf_shape_bender") default_cursor_path = Sketchup.find_support_file("default_pointer.png", "Plugins/clf_shape_bender")
        to read:
        line_cursor_path = File.join(File.dirname(__FILE__), "clf_shape_bender", "line_pointer.png") curve_cursor_path = File.join(File.dirname(__FILE__), "clf_shape_bender", "curve_pointer.png") default_cursor_path = File.join(File.dirname(__FILE__), "clf_shape_bender", "default_pointer.png")
        Save the file and restart SketchUp...
        This approach will then work with any folder location. which is auto-loading a plugin like this, and which is looking for helper files in a subfolder within its folder...

        TIG

        1 Reply Last reply Reply Quote 0
        • C Offline
          Chris Fullmer
          last edited by 11 Oct 2013, 13:40

          Cool, thanks TIG.

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

          1 Reply Last reply Reply Quote 0
          • L Offline
            Lana
            last edited by 12 Oct 2013, 14:58

            Is very cool!!!Thank you!!! 😍

            1 Reply Last reply Reply Quote 0
            • J Offline
              janpaw_kei
              last edited by 14 Oct 2013, 11:57

              Hi Guys!

              I'm new in Sketchup and I just downloaded the shape bender tool for the curved car ramp that I'm making, and I can't seem to make it work.

              My reference would be:
              http://www.youtube.com/watch?v=tGHTIOMm_34

              I followed the video step by step.

              1. Click "grouped" shape.
              2. Click SHAPE BENDER TOOL.
              3. Click "straight" line.
              4. Click "arched" line.

              I have problems with step 3.
              I can't seem to click THAT separate straight line I made after I clicked on the shape bender tool icon. πŸŽ‰

              Is this a download error?

              Thanks a lot!!

              1 Reply Last reply Reply Quote 0
              • B Offline
                Box
                last edited by 14 Oct 2013, 12:47

                The straight line must follow the red axis, not be part of a group or attached to anything.

                1 Reply Last reply Reply Quote 0
                • J Offline
                  janpaw_kei
                  last edited by 14 Oct 2013, 13:19

                  Yeah, I've been doing that. I still can't click on that straight line on the red axis 😞

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    Dave R
                    last edited by 14 Oct 2013, 13:35

                    Upload the SKP file so we can see what you've got going on.

                    Etaoin Shrdlu

                    %

                    (THERE'S NO PLACE LIKE)

                    G28 X0.0 Y0.0 Z0.0

                    M30

                    %

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      janpaw_kei
                      last edited by 14 Oct 2013, 13:53

                      Here it is πŸ˜„


                      Bender tool.skp


                      curved ramp.pdf

                      1 Reply Last reply Reply Quote 0
                      • B Offline
                        Box
                        last edited by 14 Oct 2013, 14:05

                        It's three lines, it needs to be one line. Redraw it as one, and draw it along the length of your shape.
                        The length and position of all parts effect how it works.

                        1 Reply Last reply Reply Quote 0
                        • J Offline
                          janpaw_kei
                          last edited by 14 Oct 2013, 14:20

                          Alright, I just did that. Still can't click the straight line. I'm so sorry for this 😞


                          Bender tool.skp

                          1 Reply Last reply Reply Quote 0
                          • B Offline
                            Box
                            last edited by 14 Oct 2013, 14:24

                            It's behind the shape now, draw it at the front, or move it to the front. Also you have two shapes, one on top of the other.

                            1 Reply Last reply Reply Quote 0
                            • D Offline
                              Dave R
                              last edited by 14 Oct 2013, 14:38

                              Works fine once you get rid of one copy of the component.


                              Bender tool.skp

                              Etaoin Shrdlu

                              %

                              (THERE'S NO PLACE LIKE)

                              G28 X0.0 Y0.0 Z0.0

                              M30

                              %

                              1 Reply Last reply Reply Quote 0
                              • R Offline
                                rilian
                                last edited by 27 Oct 2013, 21:01

                                I have this plugin installed at work and it runs great. Very impressive. I installed in on my home computer and it doesn't seem to be working quite right.

                                I have progressbar.rb installed (I originally forgot, got the error then installed it). The plugin actually bends shapes but it pushes them away from the selected curve by what seems to be the distance between the straight line and the original object. I don't have sketchy-physics or Compspray installed which seem to be the plugins that conflict and have caused problems for this plugin.

                                In the first screenshot, you will note the blue preview mesh both on the curve and the original object. You can see on the original object that it is attached to the line I selected and the blue mesh runs from the curved line to the preview mesh in green.

                                It is my understanding that the tool is supposed to bend exactly on the selected curve, not push the curve back by the distance between the straight line and the object on the green axis. I measured after letting the tool complete and the curved line is exactly as far away from the final curved object as the straight line is from my starting object.

                                The 2nd screenshot shows the finished product after the plugin runs. I see no errors when running in the ruby console. I am fairly sure this is not happening on my work PC and it doesn't seem to happen in the videos in the original post.

                                I should note that my object is a simple 15/2'/1' box done w/ rectangle and push/pull then made into a group. Line was drawn left to right attaching to guides seen in the screenshots. Curve used the built-in arc tool also attaching to the guides and bulging an arbitrary distance.

                                What am I doing wrong or missing?
                                Thank you! Thanks for such a fantastic plugin!


                                bendtool_clip3.png


                                bendtool_clip4.png

                                1 Reply Last reply Reply Quote 0
                                • B Offline
                                  Box
                                  last edited by 27 Oct 2013, 22:02

                                  It is behaving as it is meant to. The relationship between the shape, the straight line and the curve are what determines the resultant bend.

                                  You can change the position when in preview by using the arrow keys.

                                  1 Reply Last reply Reply Quote 0
                                  • R Offline
                                    rilian
                                    last edited by 27 Oct 2013, 22:36

                                    @box said:

                                    It is behaving as it is meant to. The relationship between the shape, the straight line and the curve are what determines the resultant bend.

                                    You can change the position when in preview by using the arrow keys.

                                    I did use the arrow keys multiple times before posting. Based on your reply, I moved the straight line to match the back edge of my object and then the plugin behaved as I saw in the examples...perfectly matched to the curve. See first screenshot attached to this post. Pressing the down arrow key gives the 2nd screenshot...a bit wonky. Pressing down arrow again, returns back to first screenshot. Pressing up arrow moves the curve above and below the curved line as expected.

                                    These curves were generated from using the arc tool 2x. Once to draw an arc exactly 1/2 the distance between my guides and then a 2nd tangent arc the rest of the way to the guide.

                                    I thought I saw in the videos attached to the first post where the line was not attached to the object but floating in front or behind and the bent object still matched the curve rather than generate the results I saw. Very interesting.

                                    What do you make of that 2nd screenshot from pressing down arrow?

                                    Thank you again!


                                    bendtoo_clip_noarrow.png


                                    bendtool_clip_downarrow.png

                                    1 Reply Last reply Reply Quote 0
                                    • C Offline
                                      Chris Fullmer
                                      last edited by 27 Oct 2013, 23:02

                                      Looks at the words "start" and "end". When you have camera oriented the way you do, which is good, you want the starts to be on the left and the ends to be on the right.

                                      That is why the top one is good and the bottom one is weird. At one point, you used to be able to actually reverse the bending direction and it worked correctly. Somewhere along the way though I accidentally broke that I guess, so now you just end up with screenshot #2.

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

                                      1 Reply Last reply Reply Quote 0
                                      • EKOARTE Offline
                                        EKOART
                                        last edited by 6 Nov 2013, 20:01

                                        Hi Cris. Thank you for your work and sharring.

                                        My question is; Is it possible in a certain way to have our texture bended when using the shape bender tool ? Here is an example of what i get.

                                        http://i1198.photobucket.com/albums/aa441/ekoart/Sketchup/ShapeBenderTexture_zps550285d7.jpg

                                        1 Reply Last reply Reply Quote 0
                                        • C Offline
                                          Chris Fullmer
                                          last edited by 7 Nov 2013, 02:30

                                          Not at this point. It would be great if it would do it, but its more than I will be able to implement soon.

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

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 56
                                          • 57
                                          • 58
                                          • 59
                                          • 60
                                          • 63
                                          • 64
                                          • 58 / 64
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement