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.
    • N Offline
      nnguyen2288
      last edited by

      Hi guys

      I'm having a problem with the shape bender plugin and I can't seem to figure out what is going on. I am working with a file I downloaded off the 3d warehouse and whenever I try to use the shape bender plugin it rotates the object rather than bending it. The screenshot shows you what I am talking about. The plugin works fine on other files so it appears to be something about this particular file. I figured it could be something with the axes, but I can't find a solution. Any suggestions???screen.jpg

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

        Try placing the instance, line and curve in the +ve quadrant = solid red/green.
        And retry...
        Also is the object a reasonable size ??

        TIG

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

          Yeah, I think I agree. Rotate the whole bending setup 180 degrees and move it into the positive red and positive green quadrant. That will probably help.

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

          1 Reply Last reply Reply Quote 0
          • N Offline
            nnguyen2288
            last edited by

            It worked! How foolish of me. In terms of whether the piece is reasonably sized or not... it was just a test. Actually trying to do a coiled wire that runs along an arc. This will help greatly. Thank you for your help

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

              I'm getting this error from Ruby on this;
              Error: #<NoMethodError: undefined method `/' for nil:NilClass>
              I'm no Ruby guy, but this seems to be a method error.
              Any ideas?
              Mark P.

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

                Interesting, I need a little bit more. The other lines in the error are also helpful as they give the context of the problem - what line of code returned the error, and what method called it. So maybe could you post those extra lines of error code?

                Also, what are you doing when they error occurs? As soon as you press the icon? or when you try to select the line? Thanks!

                Chris

                PS - didn't you used to have a lot more than just 21 posts?

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

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

                  The tool's code only contains a / as an operator in the following five lines...
                  #458 @x_scale_factor = @arc_total_length / @line_total_length
                  #467 @p_fac = (@line_total_length.to_f / @arc_total_length.to_f) #This gets the percentage multiplier for each curve segment length to get scaled for the line
                  #676 @offset = @y_total / 6
                  #830 loop_times = (@preview_poss.length / 2 )
                  #931 first_weight = weight_point /@line_lengths[corresponding_edge]
                  So the reference that's unexpectedly nil has to be one of three
                  @line_total_length @arc_total_length.to_f @line_lengths[corresponding_edge]
                  I suspect faulty line/curve set up ?

                  TIG

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

                    I think that is a good guess TIG.

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

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      Corb
                      last edited by

                      This plugin is just great !
                      I am using it to make a curved structural cage in front of a building.
                      A bit like Prada building in Tokyo, by HdeM, but the cage is separated from the facade.
                      It does not work always on very complex shapes but it's incredibly useful !!!
                      Many thanks indeed !
                      cage_07.jpg

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

                        Woohoo! I love it when it works, thanks for sharing!

                        Chris

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

                        1 Reply Last reply Reply Quote 0
                        • K Offline
                          kagazwala
                          last edited by

                          Hello Everyone!!!

                          I have a little problem.

                          1. I select a Group shape then clicked the shape bender icon.
                          2. Selected a straight line along the red axis of the same size as the group.
                          3. Selected the curved path.

                          Wallah !!! it bent the shape as desired.

                          But now when I press Enter Key to commit changes everything goes back to point 0. nothing happens

                          What am I doing wrong.

                          Please help

                          Regards
                          Kagazwala

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

                            Press ENTER to confirm the bending.
                            Do you get any errors in the Ruby Console ?

                            TIG

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

                              Great plugin, I used it on a couple of my Star Trek models to bend the writing for the saucer ๐Ÿ˜„

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

                                I have troubles with bolt modeling tutorial.
                                See the screen shot below:

                                http://www.bizler.org/archive/ShapeBender.jpg

                                http://www.bizler.org/archive/ShapeBender1.jpg

                                1. Distribution occurs with error
                                2. It does not create all the required surfaces.
                                1 Reply Last reply Reply Quote 0
                                • E Offline
                                  esther_febriana
                                  last edited by

                                  hi,
                                  i want to install, but cant open the .rb file.
                                  please help me how to install it

                                  THannksssS

                                  1 Reply Last reply Reply Quote 0
                                  • F Offline
                                    fightingfishcustoms
                                    last edited by

                                    it's not working for me, i did the steps but i got stuck in step 2(where you select the straight line), the cursor does not change and i can't click on anything? what am i doing wrong? thanks

                                    1 Reply Last reply Reply Quote 0
                                    • Dave RD Offline
                                      Dave R
                                      last edited by

                                      @esther_febriana said:

                                      hi,
                                      i want to install, but cant open the .rb file.
                                      please help me how to install it

                                      THannksssS

                                      You don't need to open the .rb file. You need to extrct the ZIP file to the plugins directory. See the sticky post in the Plugins forum on installing zipped plugins.

                                      Etaoin Shrdlu

                                      %

                                      (THERE'S NO PLACE LIKE)

                                      G28 X0.0 Y0.0 Z0.0

                                      M30

                                      %

                                      1 Reply Last reply Reply Quote 0
                                      • Dave RD Offline
                                        Dave R
                                        last edited by

                                        @fightingfishcustoms said:

                                        it's not working for me, i did the steps but i got stuck in step 2(where you select the straight line), the cursor does not change and i can't click on anything? what am i doing wrong? thanks

                                        It could be pretty much anything. You don't give us enough info to help you. Post the SKP file so we can see what you are trying to do.

                                        Etaoin Shrdlu

                                        %

                                        (THERE'S NO PLACE LIKE)

                                        G28 X0.0 Y0.0 Z0.0

                                        M30

                                        %

                                        1 Reply Last reply Reply Quote 0
                                        • Dave RD Offline
                                          Dave R
                                          last edited by

                                          @maker said:

                                          I have troubles with bolt modeling tutorial.
                                          See the screen shot below:

                                          http://www.bizler.org/archive/ShapeBender.jpg

                                          http://www.bizler.org/archive/ShapeBender1.jpg

                                          1. Distribution occurs with error
                                          2. It does not create all the required surfaces.

                                          Do you hit Enter/Return after you get to the second screen shot? Post the SKP so we can see what's going on.

                                          Etaoin Shrdlu

                                          %

                                          (THERE'S NO PLACE LIKE)

                                          G28 X0.0 Y0.0 Z0.0

                                          M30

                                          %

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

                                            @esther_febriana said:

                                            hi,
                                            i want to install, but cant open the .rb file.
                                            please help me how to install it
                                            THannksssS
                                            You don't 'open' a .rb file you put it into the Plugins folder, restart Sketchup and follow the instruction on how to use it. It's an Extension so it needs activating from Preferences, it's toolbar then needs activating from View > Toolbars; then pick a group or component and follow the instructions about picking a premade line and curve - good luck ๐Ÿ˜„

                                            TIG

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

                                            Advertisement