• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

[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.
  • C Offline
    charly2008
    last edited by 29 Jun 2011, 21:53

    With a little imagination you can create some interesting shapes.


    2011-06-29_232310.jpg

    He who makes no mistakes, makes nothing

    1 Reply Last reply Reply Quote 0
    • D Offline
      Dave R
      last edited by 29 Jun 2011, 22:02

      Reminds me of hook worms. πŸ˜„

      Etaoin Shrdlu

      %

      (THERE'S NO PLACE LIKE)

      G28 X0.0 Y0.0 Z0.0

      M30

      %

      1 Reply Last reply Reply Quote 0
      • C Offline
        charly2008
        last edited by 29 Jun 2011, 22:51

        Hi,

        by ShapeBender


        ShapeBender Art1.jpg


        ShapeBender Art.jpg

        He who makes no mistakes, makes nothing

        1 Reply Last reply Reply Quote 0
        • V Offline
          vidy
          last edited by 1 Jul 2011, 07:16

          surely nice try charly πŸ‘

          still so much to learn..

          1 Reply Last reply Reply Quote 0
          • C Offline
            Chris Fullmer
            last edited by 1 Jul 2011, 16:29

            What the up and down arrow keys do is reverse the start and end points of the shape and the line. They should always be to the "left" of the model. This is mostly due to my poor programming skills at the time I made this thing, this was afterall my 3rd plugin I'd ever written. When you press the up/down key, you should see the start and end tags flipping places. And when you press the left/right keys, the other start/end tags will flip places. Please align them to the "left" side. If you are looking straight down on the model, with the solid red line going out to the right, then both "start" tags should be on the left of the model. I don't know how to make it more clear unfortunately. Its a little bit of bad programming, and a lot of "the ruby script can't read your mind". It needs to know which end of the shape should match up to which end of the line. Choosing the wring thing will cause the results you are seeing.

            The reason it work once the model is closed and re-opened is because SketchUp does not remember the start and end positions of lines in between sessions - once the model is close, SU dumps its memmory of start and end. So often they come in backwards of what they were originally, meaning my script will interperet the start and end differently.

            Anyhow, just play with pressing up/down and left/right and get good at making the starts both line up on the "left" side of the model (also known as the more negative x value, if that makes more sense in your head).

            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
            • D Offline
              Dave R
              last edited by 1 Jul 2011, 17:02

              Thanks for the explanation Chris. Much appreciated.

              FWIW, on my computer, the Up arrow toggles the start and end positions on the curve and the Down Arrow toggles the start and end positions for the straight line. The Left and Right arrows don't do diddly.

              Etaoin Shrdlu

              %

              (THERE'S NO PLACE LIKE)

              G28 X0.0 Y0.0 Z0.0

              M30

              %

              1 Reply Last reply Reply Quote 0
              • S Offline
                SketchUpNoobie
                last edited by 1 Jul 2011, 17:24

                That helps a bunch! Thanks!

                @dave r said:

                FWIW, on my computer, the Up arrow toggles the start and end positions on the curve and the Down Arrow toggles the start and end positions for the straight line. The Left and Right arrows don't do diddly.

                Mine works the same way. πŸ˜•

                --

                SketchUpNoobie: the complete noob in all things SketchUp.

                1 Reply Last reply Reply Quote 0
                • C Offline
                  charly2008
                  last edited by 2 Jul 2011, 16:08

                  Hi,

                  This opens up many possibilities for jewelry or stucco designs. Who has other ideas.

                  Charly


                  2011-07-02_152703.jpg


                  shapes.jpg

                  He who makes no mistakes, makes nothing

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    d12dozr
                    last edited by 2 Jul 2011, 16:11

                    Those are some wild shapes, Charly πŸ‘

                    3D Printing with SketchUp Book
                    http://goo.gl/f7ooYh

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      Chris Fullmer
                      last edited by 2 Jul 2011, 19:59

                      Thanks for clarifying Dave - I have not used the plugin in a whle obviously!, I've forgotten how it works apparently.

                      Great shapes there Charly, looks like you're getting the hang of shapebender quite nicely now!

                      Chris

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

                      1 Reply Last reply Reply Quote 0
                      • C Offline
                        charly2008
                        last edited by 2 Jul 2011, 22:58

                        Thanks Chris

                        could be interesting also for wood working.

                        Charly


                        2011-07-03_005613.jpg

                        He who makes no mistakes, makes nothing

                        1 Reply Last reply Reply Quote 0
                        • L Offline
                          liviuroman
                          last edited by 2 Jul 2011, 23:06

                          Google SketchUp 8 - Windows 7 x64

                          Error; #<NoMethodError; undefined method `all_connected' for #<Sketchup;;ComponentInstance;0xaccf740>>
                          C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_shape_bender/clf_shape_bender.rb;307;in `line_picker'
                          C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_shape_bender/clf_shape_bender.rb;239;in `onLButtonUp'
                          C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_shape_bender/clf_shape_bender.rb;307
                          
                          1 Reply Last reply Reply Quote 0
                          • C Offline
                            Chris Fullmer
                            last edited by 2 Jul 2011, 23:19

                            That looks like a problenm with what you are selecting. I think you need to have just a single component selected when you begin the tool. Then click on a line.

                            Could you upload the model you tried it on? I could look at it and see what is wrong,

                            Chris

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

                            1 Reply Last reply Reply Quote 0
                            • C Offline
                              charly2008
                              last edited by 3 Jul 2011, 13:31

                              Hi,
                              I'm still experimenting with the different profiles and different paths.

                              In the example shown below,at the first step the profile is messed up. But that's not a problem. Press the up arrow key and then the down arrow key and the profile is then aligned.

                              Charly


                              1.jpg


                              2.jpg


                              4.jpg


                              5.jpg


                              7.jpg

                              He who makes no mistakes, makes nothing

                              1 Reply Last reply Reply Quote 0
                              • L Offline
                                liviuroman
                                last edited by 3 Jul 2011, 17:25

                                I solved the problem. I didn`t have any line parallel to x-axis (red axis).

                                1 Reply Last reply Reply Quote 0
                                • C Offline
                                  charly2008
                                  last edited by 4 Jul 2011, 11:10

                                  Hi,

                                  Another attempt.


                                  2011-07-04_130252.jpg


                                  shape.jpg


                                  temp_ppt.jpg

                                  He who makes no mistakes, makes nothing

                                  1 Reply Last reply Reply Quote 0
                                  • C Offline
                                    charly2008
                                    last edited by 4 Jul 2011, 21:30

                                    Hi,

                                    here again, the individual steps.

                                    Charly


                                    2011-07-04_231541.jpg


                                    ShapeBender1.skp

                                    He who makes no mistakes, makes nothing

                                    1 Reply Last reply Reply Quote 0
                                    • C Offline
                                      cancincon
                                      last edited by 5 Jul 2011, 02:16

                                      Hello,

                                      First of all I thank you a lot for the script, a great idea and a great work.

                                      However I am having trouble with making it work, probably because i am being a noob, but i would still appreciate some help.

                                      When I try to make the script work it tells me to "select something" even though I already selected the object.

                                      I tried many times but still get this error.

                                      Can anyone point me out what i am doing wrong?

                                      Thanks

                                      1 Reply Last reply Reply Quote 0
                                      • D Offline
                                        Dave R
                                        last edited by 5 Jul 2011, 02:39

                                        Did you select a component before trying to run the plugin?

                                        Etaoin Shrdlu

                                        %

                                        (THERE'S NO PLACE LIKE)

                                        G28 X0.0 Y0.0 Z0.0

                                        M30

                                        %

                                        1 Reply Last reply Reply Quote 0
                                        • C Offline
                                          cancincon
                                          last edited by 5 Jul 2011, 02:56

                                          @dave r said:

                                          Did you select a component before trying to run the plugin?

                                          yes i did 😐

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 38
                                          • 39
                                          • 40
                                          • 41
                                          • 42
                                          • 63
                                          • 64
                                          • 40 / 64
                                          40 / 64
                                          • First post
                                            790/1272
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement